Aasim Attia
88438e8094
apply database:init ( #2079 )
2023-10-17 16:39:48 +02:00
Weiko
1344e78acb
Remove singular/plural from field-metadata ( #2085 )
...
* Remove singular/plural from field-metadata
* revert removing id from create input
* remove console log
* remove console log
* codegen
* missing files
* fix tests
2023-10-17 15:21:58 +02:00
Jérémy M
4a96ae225e
feat: easier makefile commands ( #2077 )
...
* feat: easier makefile commands
* fix: cleaner command
2023-10-17 10:38:10 +02:00
Lucas Bordeau
d64f167b3b
Feat/front temp seed custom objects ( #2070 )
...
* wip
* Fixed bugs
* Added flexible backend test
2023-10-16 22:04:41 +02:00
Weiko
c06a8a9213
Add soft delete to metadata ( #2072 )
2023-10-16 22:04:17 +02:00
Weiko
525603227a
Add default db schema for seeded workspace ( #2061 )
...
* Add default db schema for seeded workspace
* fix
* add if not exists
* add metadata seeds
* use setup-db for e2e
* fix tests
2023-10-16 16:59:46 +02:00
brendanlaschke
0cd644266b
Add S3 endpoint env variable ( #2017 )
...
* - add s3 endpoint
* fix .lock
* new line
2023-10-15 17:36:44 +02:00
Charles Bochet
986082d7a7
Complete win script setup
2023-10-14 22:41:18 +02:00
Charles Bochet
77729e4d4b
Update installation doc ( #2019 )
...
* Update installation doc
* Update install scripts
* Update install scripts
2023-10-14 13:43:45 +02:00
Ruslan
77c88bda6e
Fix bug where "metadata" scheme was not created automatically ( #1971 ) and ( #1831 ) ( #2018 )
...
* Fix bug where "metadata" scheme was not created automatically (#1971 )
* logging on
* testing on render
* render upadte
* added setup-db.ts and updated package.json
2023-10-14 11:48:55 +02:00
Jérémy M
4e993316a6
feat: conditional schema based on column map instead of column field ( #1978 )
...
* feat: wip conditional schema based on column map instead of column field
* feat: conditionalSchema columnMap and singular plural
* fix: remove uuid fix
* feat: add name and label (singular/plural) drop old tableColumnName
2023-10-12 18:28:27 +02:00
martmull
8fbad7d3ba
1043 timebox prepare zapier integration ( #1967 )
...
* Add create api-key route
* Import module
* Remove required mutation parameter
* Fix Authentication
* Generate random key
* Update Read ApiKeyAbility handler
* Add findMany apiKey route
* Remove useless attribute
* Use signed token for apiKeys
* Authenticate with api keys
* Fix typo
* Add a test for apiKey module
* Revoke token when api key does not exist
* Handler expiresAt parameter
* Fix user passport
* Code review returns: Add API_TOKEN_SECRET
* Code review returns: Rename variable
* Code review returns: Update code style
* Update apiKey schema
* Update create token route
* Update delete token route
* Filter revoked api keys from listApiKeys
* Rename endpoint
* Set default expiry to 2 years
* Code review returns: Update comment
* Generate token after create apiKey
* Code review returns: Update env variable
* Code review returns: Move method to proper service
---------
Co-authored-by: martmull <martmull@hotmail.com>
2023-10-12 18:07:44 +02:00
Charles Bochet
3b9ceade76
Fix token not being refreshed ( #1975 )
...
* Fix token not being refreshed
* Fix token not being refreshed
* v2
* Fix
2023-10-11 17:12:39 +02:00
Weiko
f97228bfac
feat: add object/field create/update resolvers ( #1963 )
...
* feat: add object/field create/update resolvers
* fix tests
2023-10-11 12:03:13 +02:00
Jérémy M
017a0b1563
feat: refactor custom object ( #1887 )
...
* chore: drop old universal entity
* feat: wip refactor graphql generation custom object
* feat: refactor custom object resolvers
fix: tests
fix: import
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-10 10:50:54 +02:00
Weiko
ca492808cf
Add metadata query resolvers ( #1929 )
...
* Add metadata queries resolvers
* remove hello field
* fix linter
2023-10-09 22:54:14 +02:00
gitstart-twenty
2ff35083fb
chore: drop findMany and findUnique resolvers for custom objects ( #1897 )
...
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-10-06 10:49:54 +02:00
Jérémy M
047bb8014b
feat: add custom object create and update ( #1869 )
2023-10-05 14:33:13 +02:00
Tom Avalexing
27eab82f19
Workaround for bug on token conflict with front and storybook ( #1843 )
...
* workound to preview token
* remote token itself
2023-10-04 15:46:41 +02:00
Weiko
42e8869e0e
Add targetColumnMap to FieldMetadata ( #1863 )
...
* Add targetColumnMap to FieldMetadata
* fix
* remove console.log
* fix test
2023-10-04 15:17:53 +02:00
Aman
bc3fe59312
feat: added an enlint rule to enforce no-type-import ( #1838 )
...
* feat: added an enlint rule to enforce no-type-import
* Update style-guide.mdx
---------
Co-authored-by: aman1357 <101919821+aman1357@users.noreply.github.com>
2023-10-04 11:06:54 +02:00
Jérémy M
7e8e3ac1de
fix: typeorm migration datasource directory change ( #1848 )
2023-10-03 17:44:58 +02:00
Ayush Agrawal
77997674e5
Feat: Add "All assignees" in Task team member dropdown ( #1763 )
...
* implemented all select option FilterDropdownEntitySearchSelect and enabled it for tasks page filter
* created new filter operand IsNotNull for make a select all qraphql query, added internal state for tracking isAllEntitySelected
* used filterCurrentlyEdited to track if isAllEntitySelected is selected
* fixed filter button icon SelectAll Icon
2023-10-03 16:55:31 +02:00
Weiko
1e91c985df
Add a dedicated GQL server for metadata available on /meta ( #1820 )
2023-10-03 10:17:13 +02:00
Jérémy M
d3b39cad97
feat: add env security in dynamic resolvers ( #1812 )
...
* feat: add env security in dynamic resolvers
* fix: tests
2023-10-02 17:17:42 +02:00
Jérémy M
629bdbbf50
feat: dynamic graphQL schema generation based on user workspace ( #1725 )
...
* wip: refacto and start creating custom resolver
* feat: findMany & findUnique of a custom entity
* feat: wip pagination
* feat: initial metadata migration
* feat: universal findAll with pagination
* fix: clean small stuff in pagination
* fix: test
* fix: miss file
* feat: rename custom into universal
* feat: create metadata schema in default database
* Multi-tenant db schemas POC
fix tests and use query builders
remove synchronize
restore updatedAt
remove unnecessary import
use queryRunner
fix camelcase
add migrations for standard objects
Multi-tenant db schemas POC
fix tests and use query builders
remove synchronize
restore updatedAt
remove unnecessary import
use queryRunner
fix camelcase
add migrations for standard objects
poc: conditional schema at runtime
wip: try to create resolver in Nest.JS context
fix
* feat: wip add pg_graphql
* feat: setup pg_graphql during database init
* wip: dynamic resolver
* poc: dynamic resolver and query using pg_graphql
* feat: pg_graphql use ARG in Dockerfile
* feat: clean findMany & findOne dynamic resolver
* feat: get correct schema based on access token
* fix: remove old file
* fix: tests
* fix: better comment
* fix: e2e test not working, error format change due to yoga
* remove typeorm entity generation + fix jwt + fix search_path + remove anon
* fix conflict
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
Co-authored-by: corentin <corentin@twenty.com>
2023-09-28 16:27:34 +02:00
Jérémy M
a4cde44b13
feat: add cooldown to refresh token security ( #1736 )
2023-09-27 15:03:50 +02:00
Ronit Panda
8639cb921e
Chore: corrects syntax for type only imports ( #1716 )
...
* chore: removes replaces 'import type xxx from 'xxx'' with 'import { type xxx} from 'xxx'''
* chore: remove typed imports
* chore: remove typed imports
* chore: cleanup
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-09-26 11:47:35 +02:00
gitstart-twenty
26de4bab35
Chore(server): I should be able to define deal amount's currency ( #1724 )
...
I should be able to define deal amount's currency
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-09-26 11:40:23 +02:00
gitstart-twenty
f60c209e39
Chore(backend): Enable attaching attachments to companies and people (backend) ( #1726 )
...
Enable attaching attachments to companies and people (backend)
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-09-26 11:39:13 +02:00
Weiko
189bf4a627
Feature: add createCustomField resolver ( #1698 )
...
* Feature: add createCustomField resolver
* update mocks
* fix import
* invalidate workspace datasource cache after migration
* fix typo
2023-09-21 12:59:11 -07:00
Charles Bochet
2d758c990b
Fix merge issue flexible backend ( #1685 )
...
* Fix merge issue flexible backend
* Fix tests
* Try fix tests
* Try fix tests
2023-09-20 19:11:21 -07:00
Weiko
19365f6639
Add metadata migration setup ( #1674 )
...
* Add metadata migration setup
* add migration generator
* fix missing 'mocks'
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-09-20 17:27:07 -07:00
Jérémy M
fc820f47b2
Feat/disable flexible backend ( #1673 )
...
* wip: refacto and start creating custom resolver
* feat: findMany & findUnique of a custom entity
* feat: wip pagination
* feat: initial metadata migration
* feat: universal findAll with pagination
* fix: clean small stuff in pagination
* fix: test
* fix: miss file
* feat: rename custom into universal
* feat: enable/disable flexible backend from env
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-09-20 17:25:45 -07:00
Jérémy M
b1171e22a3
feat: add findAll and findUnique resolver for universal objects ( #1576 )
...
* wip: refacto and start creating custom resolver
* feat: findMany & findUnique of a custom entity
* feat: wip pagination
* feat: initial metadata migration
* feat: universal findAll with pagination
* fix: clean small stuff in pagination
* fix: test
* fix: miss file
* feat: rename custom into universal
* feat: create metadata schema in default database
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-20 17:24:13 -07:00
Charles Bochet
8c21dc8bba
Refactor fast follow on column move feature ( #1665 )
...
* Refactor fast follow on column move feature
* Fix lint
2023-09-19 16:42:11 -07:00
Aditya Pimpalkar
321488ad3c
feat: Column title menus ( #1616 )
...
* view field index to float
* gql codegen and package.json
* list implementation
* db call
* reposition logic
* lint fix
* edge case fix
* review changes
* handleColumnMove refactor
* dropdown recoil scope
* rename props
* Update server/src/database/migrations/20230727124244_add_view_fields_table/migration.sql
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-09-19 15:27:02 -07:00
Weiko
ec90c77ec1
Refactor tenant ORM integration ( #1650 )
...
* Refactor tenant ORM integration
* fix tests
2023-09-19 17:58:28 +02:00
Charles Bochet
dba6f93826
Fix tests server
2023-09-17 08:41:46 -07:00
Anik Dhabal Babu
84eaa45027
fix: Migrate all rules from eslint-plugin-twenty to eslint-plugin-twenty-ts ( #1618 )
...
* migrate rules
* fix
* final
* final
2023-09-17 08:13:05 -07:00
gitstart-twenty
00a3c8ca2b
Change to using arrow functions ( #1603 )
...
* Change to using arrow functions
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
* Add lint rule
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-15 18:41:10 -07:00
gitstart-twenty
549335054a
Chore: Duplicate certain user fields to workspaceMember ( #1514 )
...
* Move certain user fields to workspaceMember
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>
* Merge main
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>
* Update the generated GraphQL
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>
* Update hooks
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>
* Rework typing
* Fix tests
* Remove console logs
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-15 17:32:58 -07:00
Weiko
6462505a86
Fix CI: remove import for metadata POC ( #1577 )
...
Fix CI: remote import for metadata POC
2023-09-14 12:03:20 -07:00
Weiko
d98ddc3dbe
multi tenant schemas poc ( #1569 )
...
* Multi-tenant db schemas POC
* fix tests and use query builders
* remove synchronize
* restore updatedAt
* remove unnecessary import
* use queryRunner
* fix camelcase
* add migrations for standard objects
* Multi-tenant db schemas POC
* fix tests and use query builders
* remove synchronize
* restore updatedAt
* remove unnecessary import
* use queryRunner
* fix camelcase
* add migrations for standard objects
* add metadata
* add comments
* remove migrations for now
* do not allow connection to public schema for non-remote workspace connection
* rename getLastDataSourceMetadataFromWorkspaceIdOrFail
* remove schema creation
* remove module import
2023-09-14 14:39:37 +02:00
Charles Bochet
509ffddc57
Hotfix abusive throw
2023-09-11 15:23:32 -07:00
Charles Bochet
7621854d4b
Complete Sentry integration ( #1546 )
2023-09-11 15:07:30 -07:00
brendanlaschke
35bcef5090
Add Sentry for Backend ( #1403 )
...
* - added sentry
* - renamed env var
* - logger driver
* - add breadcrumb and category
* - fix driver
2023-09-11 12:22:30 -07:00
Charles Bochet
cfbeac9c56
Enable port to be overridden ( #1527 )
...
Enable port to be overriden
2023-09-09 17:59:56 -07:00
Thaïs
5c7660f588
feat: create default opportunities view on workspace creation + add seed data ( #1461 )
...
Closes #1314
2023-09-06 12:05:33 +02:00
Thaïs
d866c0e3bc
fix: fix table columns update ( #1435 )
...
Closes #1434
2023-09-05 09:50:53 +02:00