73f6876641
feat: workspace sync ( #3505 )
...
* feat: wip workspace sync
* feat: wip lot of debugging
* feat: refactor and fix sync
* fix: clean
fix: clean
* feat: add simple comparator tests
* fix: remove debug
* feat: wip drop table
* fix: main merge
* fix: some issues, and prepare storage system to handle complex deletion
* feat: wip clean and fix
* fix: reflect issue when using array instead of map and clean
* fix: test & sync
* fix: yarn files
* fix: unecesary if-else
* fix: if condition not needed
* fix: remove debug
* fix: replace EQUAL by SKIP
* fix: sync metadata relation not applied properly
* fix: lint issues
* fix: merge issue
2024-01-30 14:40:55 +01:00
da8dd671d1
fix: rating type issues ( #3638 )
...
* fix: rating type issues
* fix: rebase
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-30 09:57:30 +01:00
a9349f9fea
Add deleteOneObject mutation ( #3682 )
...
* Add deleteOneObject mutation
* codegen
* move relationToDelete to dedicated file
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-30 09:47:58 +01:00
2cf4bd746a
Improve health check command ( #3553 )
...
* Improve health check command
* Fix health check
* Fix health check
2024-01-19 16:54:43 +01:00
4b7e42c38e
feat: workspace health relation ( #3466 )
...
feat: add check relation health
2024-01-17 17:05:35 +01:00
64110c591a
Add performance logs to object metadata query ( #3463 )
2024-01-17 17:04:16 +01:00
96d990e275
feat: set field as custom object label identifier in Object Detail ( #3360 )
...
* feat: set field as custom object label identifier in Object Detail
Closes #3302
* feat: prevent disabling Object label identitifer field in back-end
* refactor: review - extract isLabelIdentifier variable
2024-01-17 12:19:41 +01:00
ed6458e833
Fix: check if relation creates existing field name ( #3433 )
...
* Fix: check if relation creates existing field name
* fix rebase
* add object name to performance log
2024-01-15 14:13:57 +01:00
16a24c5f0c
Rework relations ( #3431 )
...
* Rework relations
* Fix tests
2024-01-15 12:07:23 +01:00
49a9a2c2be
2252 build a script to cleanup inactive workspaces ( #3307 )
...
* Add cron to message queue interfaces
* Add command to launch cron job
* Add command to stop cron job
* Update clean inactive workspaces job
* Add react-email
* WIP
* Fix import error
* Rename services
* Update logging
* Update email template
* Update email template
* Add Base Email template
* Move to proper place
* Remove test files
* Update logo
* Add email theme
* Revert "Remove test files"
This reverts commit fe062dd05166b95125cf99f2165cc20efb6c275a.
* Add email theme 2
* Revert "Revert "Remove test files""
This reverts commit 6c6471273ad765788f2eaf5a5614209edfb965ce.
* Revert "Revert "Revert "Remove test files"""
This reverts commit f851333c24e9cfe3f425c9cbbd1e079efce5c3dd.
* Revert "Revert "Revert "Revert "Remove test files""""
This reverts commit 7838e19e88e269026e24803f26cd52b467b4ef36.
* Fix theme
* Reorganize files
* Update clean inactive workspaces job
* Use env variable to define inactive days
* Remove FROM variable
* Use feature flag
* Fix cron command
* Remove useless variable
* Reorganize files
* Refactor some code
* Update email template
* Update email object
* Remove verbose log
* Code review returns
* Code review returns
* Simplify handle
* Code review returns
* Review
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-13 12:03:41 +01:00
10fd67ba32
Fix relation creation bug + enable favorite for custom objects ( #3392 )
...
* Fix relation creation bug
* Fix vale CI
* Fix comment bug
2024-01-11 22:46:43 +01:00
5f0c9f67c9
feat: workspace health ( #3344 )
...
* feat: wip workspace health
* feat: split structure and metadata check
* feat: check default value structure health
* feat: check targetColumnMap structure health
* fix: composite types doesn't have default value properly defined
* feat: check default value structure health
* feat: check options structure health
* fix: verbose option not working properly
* fix: word issue
* fix: tests
* fix: remove console.log
* fix: TRUE and FALSE instead of YES and NO
* fix: fieldMetadataType instead of type
2024-01-11 16:41:25 +01:00
1aa0f86724
feat: use apollo playground in debug mode ( #3295 )
2024-01-11 10:21:51 +01:00
22047fa2bf
Fix metadata exception handler #2 ( #3357 )
2024-01-10 17:02:54 +01:00
69b558e03d
Fix bug on relation on custom object ( #3336 )
2024-01-09 17:49:05 +01:00
6c00aa92a4
Fix capture exception for metadata and core ( #3335 )
2024-01-09 17:46:16 +01:00
4fddafceed
Fix Event core object ( #3232 )
2024-01-04 13:40:34 +01:00
8483cf0b4b
POC: chore: use Nx workspace lint rules ( #3163 )
...
* chore: use Nx workspace lint rules
Closes #3162
* Fix lint
* Fix lint on BE
* Fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-03 23:07:25 +01:00
65250839fb
2248 zapier integration implement typeorm eventsubscribers ( #3122 )
...
* Add new queue to twenty-server
* Add triggers to zapier
* Rename webhook operation
* Use find one or fail
* Use logger
* Fix typescript templating
* Add dedicated call webhook job
* Update logging
* Fix error handling
2024-01-03 18:09:57 +01:00
756b30815e
Fix various bugs before 0.2.2 ( #3118 )
...
* Fix various bugs before 0.2.2 release
* Additional fixes
* More fixes
* Fixes
2023-12-21 23:48:52 +01:00
d532f22fbb
feat: migration can be applied on a specific schema & some enhancements ( #2998 )
...
* fix: remove old metadata seed files
* feat: wip standard to core relation
* fix: lint
* fix: merge
* fix: remove debug files
* feat: add feature flag for core object metadata
* fix: remove debug
* feat: always disable the standard core relation
* fix: missing feature flag
* fix: remove debug
* fix: feature flag doesn't seems to disable relation
* fix: delete .vscode folder, change this in another PR
* Update packages/twenty-server/src/workspace/workspace-sync-metadata/reflective-metadata.factory.ts
Co-authored-by: Weiko <corentin@twenty.com >
* Update packages/twenty-server/src/workspace/workspace-sync-metadata/reflective-metadata.factory.ts
Co-authored-by: Weiko <corentin@twenty.com >
* Update packages/twenty-server/src/workspace/workspace-sync-metadata/workspace-sync.metadata.service.ts
Co-authored-by: Weiko <corentin@twenty.com >
* fix: remove optional fields from metadata entities
* fix: renamed variable
* fix: put back CursorScalarType
* fix: delete test command
* fix: remove unused workspace standard migration command
* fix: drop core object metadata declaration
* fix: rename variable
* fix: drop creation of core datasource
* fix: remove feature flag
* fix: drop support of standard to core relations
* feat: add user email field on workspace-member standard object
* fix: update seed accordingly
* fix: missing remove command file
* fix: datasource label should remain nullable
* fix: better asserts
* Remove unused code
* Remove unused code
---------
Co-authored-by: Weiko <corentin@twenty.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-12-21 19:15:05 +01:00
3234134a30
fix: composite type migrations not well formatted ( #3088 )
2023-12-21 19:00:33 +01:00
e67f6873d3
Fix missing isNullable for object creation activity target ( #3109 )
2023-12-21 16:32:04 +01:00
0d00e3d62d
send pg graphql exception to sentry + fix missing nullable for relations ( #3101 )
...
* Send pg_graphql errors to sentry
* Send pg_graphql errors to sentry
* fix
* fix
* fix
* fix relation nullable
2023-12-21 16:07:25 +01:00
ed7bd0ba26
2914 graphql api documentation ( #3065 )
...
* Remove dead code
* Create playground component
* Remove useless call to action
* Fix graphiql theme
* Fix style
* Split components
* Move headers to headers form
* Fix nodes in open-api components
* Remove useless check
* Clean code
* Fix css differences
* Keep carret when fetching schema
2023-12-20 12:01:55 +01:00
4637a92f09
Fix queue setup ( #3075 )
...
fix bullmq setup
2023-12-19 17:12:22 +01:00
064e47b59a
Fix CIs ( #3004 )
...
* Fix CIs
* Fix docs
* Fix eslint-build
* Move file
* Move back
* Fix server ci
* Fix server ci
* Fix server ci
* Fix server ci
* Deactivate e2e tests
* Fix front
* Fix front
* Fix front
* Add twenty-zapier and twenty-utils to the yarn project
* fix
* fix
* Remove pull_request trigger
2023-12-15 15:40:04 +01:00
44f1fe54e1
fix: use proper variable name ( #2938 )
2023-12-12 14:57:42 +01:00
d2a42c14d2
Add field create and delete migration to metadata sync ( #2942 )
...
add field create and delete migration to metadata sync
2023-12-11 17:42:09 +01:00
44baaee28e
Update scripts and documentation to use nx and new monorepo architecture ( #2912 )
...
* Update scripts and documentation to use nx and new monorepo architecture
* Start fixing docker
* Migrate eslint plugin and postgres setup
* Fix docker
* Fix patches
* Fix
* fix: wip try to fix the patches
* Apply patches
---------
Co-authored-by: Jérémy Magrin <jeremy.magrin@gmail.com >
2023-12-11 10:54:57 +01:00
5bdca9de6c
Migrate to a monorepo structure ( #2909 )
2023-12-10 18:10:54 +01:00