Weiko
729e2dc651
[Messaging] Delete empty threads after message deletion import ( #3716 )
...
* [Messaging] Delete empty threads after message deletion import
* fix
2024-02-02 18:13:41 +01:00
Weiko
ae5f82df59
[messaging] add fallback if lastHistoryId has been invalidated ( #3782 )
2024-02-02 15:28:38 +01:00
Weiko
142affbeea
[messaging] reorder messages desc to asc ( #3755 )
2024-02-01 15:28:00 +01:00
Weiko
e787b4e3b8
[messaging] add more logs to gmail full-sync ( #3728 )
2024-01-31 17:03:11 +01:00
Weiko
82d99afe2f
Fix workspace-sync when alter with relation ( #3721 )
2024-01-31 15:50:54 +01:00
Weiko
03e5c792f0
[messaging] fix message-channel-message-association field name as dependencies ( #3712 )
2024-01-30 19:35:41 +01:00
Weiko
64b2ef3dc2
Delete message when no more association ( #3701 )
...
* Delete message when no more association
* remove unused injections
* rename methods
* fix after review
2024-01-30 17:58:36 +01:00
Weiko and Charles Bochet
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
Weiko
d66d8c9907
[Messaging] Gmail Full sync pagination ( #3664 )
2024-01-29 11:57:54 +01:00
Weiko
9053769616
[Messaging] Fix gmail connected account creation redirect url ( #3653 )
2024-01-26 18:28:06 +01:00
Weiko
6d997edabb
[Messaging] Fix duplicate messageChannelMessage ( #3616 )
...
* [Messaging] Fix duplicate channelMessageChannel
* add messageChannelMessage check before querying gmail
* rename messageChannelMessage to messageChannelMessageAssociation
2024-01-25 14:15:57 +01:00
Weiko
c811206c47
Fix message table plural name ( #3604 )
2024-01-24 14:33:08 +01:00
Weiko
c7ad6a0de7
[messaging] Rename body to text ( #3595 )
...
* Store HTML message
* remove console log
* [messaging] rename body to text
* use CoreObjectNameSingular
2024-01-23 19:56:42 +01:00
Weiko
d176ba95d3
Store HTML message ( #3594 )
...
* Store HTML message
* remove console log
* fix html label/description
2024-01-23 19:40:05 +01:00
Weiko
dc7fccb0a8
Merge messages and threads #1 ( #3583 )
...
* Merge messages and threads
* rename messageChannelSync to messageChannelMessage
* add merge logic
* remove deprecated methods
* restore enqueue GmailFullSyncJob after connectedAccount creation
2024-01-23 17:28:14 +01:00
Weiko
64110c591a
Add performance logs to object metadata query ( #3463 )
2024-01-17 17:04:16 +01:00
Weiko
f3c9854be3
Add select type to field metadata decorator ( #3471 )
...
* Add select type to field metadata decorator
* add option id generation for new field
2024-01-17 15:03:11 +01:00
Weiko
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
Weiko
0a77a376fd
Import messages after connected-account creation ( #3389 )
2024-01-11 20:05:08 +01:00
Weiko
22047fa2bf
Fix metadata exception handler #2 ( #3357 )
2024-01-10 17:02:54 +01:00
Weiko
6c00aa92a4
Fix capture exception for metadata and core ( #3335 )
2024-01-09 17:46:16 +01:00
Weiko
ea2cb8938f
Add fetch connected account job ( #3313 )
...
* Add fetch connected account job
* add featureFlag check
2024-01-08 18:24:39 +01:00
Weiko
4fddafceed
Fix Event core object ( #3232 )
2024-01-04 13:40:34 +01:00
Weiko
7f66eb9459
Filter out system object for relation object destination ( #3108 )
...
filter out system object for relation object destination
2023-12-21 16:32:49 +01:00
Weiko
e67f6873d3
Fix missing isNullable for object creation activity target ( #3109 )
2023-12-21 16:32:04 +01:00
Weiko
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
Weiko
4637a92f09
Fix queue setup ( #3075 )
...
fix bullmq setup
2023-12-19 17:12:22 +01:00
Weiko
e799c84233
Add sync driver for queue messages ( #3070 )
...
* Add sync driver for queue messages
* rename moduleRef
* use switch instead
2023-12-19 13:30:40 +01:00
Weiko
36164ab59b
Add pg-boss worker poc ( #2991 )
...
* Add pg-boss worker poc
* add Example job
* add retry limit
* rename MessageQueue
2023-12-14 18:57:25 +01:00
Weiko
f126bd95d6
Add featureFlag gateDecorator for sync-metadata ( #2956 )
...
* Add featureFlag gateDecorator for sync-metadata
* remove gate exampels
* gate messaging objects
* gate messaging recipient object
* add missing gate
2023-12-12 17:34:59 +01:00
Weiko
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
Weiko
a48c9293f6
Fix missing isNullable ( #2892 )
...
* Fix missing isNullable
* fix
2023-12-08 16:33:34 +01:00
Weiko
b68f5cda97
Fix relation between standard objects ( #2878 )
2023-12-08 15:50:12 +01:00
Weiko
53b6005d73
Improve Metadata sync setup ( #2874 )
...
* Improve Metadata sync setup
* add missing IsNullable()
* add composite fields types
2023-12-08 12:27:47 +01:00
Weiko
5efc2f00b9
Sync metadata generate migrations ( #2864 )
...
* Sync Metadata generates migrations
* add execute migrations
* fix relations + add isActive on creation
* fix composite fields migration
* remove dependency
* use new metadata setup for seed-dev
* fix rebase
* remove unused code
* fix viewField dev seeds
* fix isSystem
2023-12-07 19:22:34 +01:00
Weiko
6d4ad6ec18
Sync standard object metadata ( #2807 )
...
* Sync standard object metadata
* remove debug logging
* remove unused func
* fix comments
* fix empty objectsToDelete list
2023-12-05 14:10:50 +01:00
Weiko
65aa91c774
Allow field/object update if name/label are similar values ( #2709 )
2023-11-24 21:25:48 +01:00
Weiko
323c69948c
Fix check identical nameSingular/namePlural ( #2689 )
2023-11-24 11:30:22 +01:00
Weiko
cc526517b3
Add viewField creation to fieldMetadata creation service ( #2685 )
...
* Add viewField creation to fieldMetadata creation service
* fix reduce with no initial value
2023-11-24 10:02:37 +01:00
Weiko
c395955f12
Fix activity creation ( #2686 )
2023-11-24 10:01:29 +01:00
Weiko
851ce73609
Fix company update with accountOwner ( #2687 )
2023-11-24 10:00:45 +01:00
Weiko
5038c36df4
Update seed default values ( #2681 )
...
* Update seed default values
* Update seed default values
* Update seed default values
* remove allowImpersonation in workspaceMembers
* remove USD from currencyCode defaultValue
* fix tests
2023-11-23 23:30:53 +01:00
Weiko
c795db33b2
Add activityTarget relation after custom object creation ( #2670 )
...
* Add activityTarget relation after custom object creation
* add isCustom check for relations
2023-11-23 16:26:33 +01:00
Weiko
0fd823af21
Allow isActive to be updated for standard objects ( #2651 )
...
* Allow isActive to be updated for standard objects
* Allow isActive to be updated for standard objects/fields
2023-11-22 17:17:13 +01:00
Weiko
ccaa96bc58
Fix workspace/user deletion ( #2648 )
...
* Fix workspace/user deletion
* remove logs
* add defaultWorkspace check
2023-11-22 17:12:46 +01:00
Weiko
a6abe09163
Move Impersonate from User to Workspace ( #2630 )
...
* Fix impersonate
* align core typeorm config with metadata config + add allowImpersonation to workspace
* move allowImpersonation to workspace
* remove allowImpersonation from workspaceMember workspace table
2023-11-22 14:12:39 +01:00
Weiko
c74bde28b8
Add identifier fields to ObjectMetadata ( #2616 )
...
* Add indentifier fields to ObjectMetadata
* Add indentifier fields to ObjectMetadata
* Add indentifier fields to ObjectMetadata
* temporarily block name/label edition
2023-11-21 18:41:48 +01:00
Weiko
6f4a952381
Add [from/to]Description to CreateRelationInput ( #2613 )
2023-11-21 11:38:27 +01:00
Weiko
a33d4c8b8d
Rename DATE to DATETIME ( #2576 )
...
* Rename DATE to DATETIME
* rename DATE to DATE_TIME
* fix server tests
* rename date to datetime
* rename date to datetime
2023-11-21 00:16:42 +01:00
Weiko
1deb742ac9
Add deleteOneRelation resolver ( #2569 )
2023-11-17 19:13:42 +01:00
Weiko
ed71ef67af
Add Name defaultColumn for custom objects ( #2568 )
2023-11-17 19:13:07 +01:00
Weiko
f62108d539
Add missing default values ( #2567 )
...
* add missing default values
* add missing default values
2023-11-17 19:11:25 +01:00
Weiko
4870b0ac30
Add fullName field metadata type ( #2563 )
...
* Add fullName field metadata type
* update seeds
2023-11-17 16:52:51 +01:00
Weiko and Jérémy Magrin
bc579d64a6
Rename Money/Url to Currency/Link and remove snake_case from composite fields ( #2536 )
...
* Rename Money/Url to Currency/Link
* regenerate front types
* renaming money/url field types
* fix double text
* fix tests
* fix server tests
* fix generate-target-column-map
* fix currency convert
* fix: tests
---------
Co-authored-by: Jérémy Magrin <jeremy.magrin@gmail.com >
2023-11-17 10:31:17 +01:00
Weiko
ebd1ef5223
Add basic fields metadata ( #2523 )
...
* Add basic fields metadata
* add fieldmetadata dependency
* re-arrange modules
* fix
* fix seed
* set default fields nullable
* set default fields nullable
* fix tenantMigration order
* fix tenantMigration order
2023-11-15 19:21:51 +01:00
Weiko and Charles Bochet
7c229217be
Hide System Objects ( #2488 )
...
* Hide System Objects
* add filter isSystem: false in FIND_MANY_METADATA_OBJECTS
* add filter isSystem: false in FIND_MANY_METADATA_OBJECTS
* update generated gql
* add filter to useFindManyObjectMetadataItems
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-14 15:27:24 +01:00
Weiko
3de2fc72dc
Create Relation with Fields from both sides ( #2480 )
...
* Create relation with fields from both sides
* update metadata codegen schema
2023-11-13 17:22:15 +01:00
Weiko
f8a887e33e
Add is system flag to object metadata ( #2481 )
...
* Add isSystem flag to objectMetadata
* squash migrations and add dataSource->objects FK
* fix missing datasource enum type
2023-11-13 17:09:26 +01:00
Weiko
032e516a46
fix one to many relation dynamic query ( #2430 )
2023-11-10 18:20:36 +01:00
Weiko
04c618284f
Convert metadata tables to camel_case ( #2420 )
...
* Convert metadata tables to camelcase
* refactor folder structure
* rename datasourcemetadata
* regenerate metadata schema
* rename dataSourceMetadata to dataSource
2023-11-10 15:33:25 +01:00
Weiko and Charles Bochet
1cf08c797f
Convert metadata tables to camelCase ( #2400 )
...
* Convert metadata tables to camelCase
* datasourcemetadataid to datasourceid
* refactor metadata folders
* fix command
* move commands out of metadata
* fix seed
* rename objectId and fieldId in objectMetadataId and fieldMetadataId in FE
* fix field-metadata
* Fix
* Fix
* remove logs
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-09 20:06:10 +01:00
Weiko
0f7581acc3
Remove Tenant columns anonymisation ( #2404 )
...
* Remove Tenant columns anonymisation
* add tests
* use _ instead of custom_
* put _ on all custom fields
2023-11-09 12:19:33 +01:00
Weiko
cafffd973f
Add Relation Metadata ( #2388 )
...
* Add Relation Metadata
* remove logs
* fix migrations
* add one-to-many relation inside entities
* fix relation
* use enum for tenant migration column action type
2023-11-08 09:39:44 +01:00
Weiko and Charles Bochet
b56f6f3947
Fix seeds for local workspace and newly created workspaces ( #2333 )
...
* Update metadata/data seeds
* fix
* fix
* move seeding into a transaction
* add no-non-null-assertion
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-11-03 14:33:45 +01:00
Weiko and Charles Bochet
acbcd2f162
Standard migration command ( #2236 )
...
* Add Standard Object migration commands
* rebase
* add sync-tenant-metadata command
* fix naming
* renaming command class names
* remove field deletion and use object cascade instead
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-10-27 18:08:59 +02:00
Weiko
53e51aad52
Add prisma metadata seeds ( #2259 )
2023-10-27 13:57:11 +02:00
Weiko
c04e866de3
Remove Metadata SoftDelete and page limit size ( #2237 )
...
* Remove Metadata SoftDelete and page limit size
* add cascade deletion
* add missing queryRunner release
2023-10-26 17:32:27 +02:00
Weiko
781a1de8f4
Fix custom object requests pending ( #2240 )
...
* Fix custom object requests pending
* fix typo
2023-10-26 12:20:03 +02:00
Weiko
cc9ffb16ad
Add standardObject seeds ( #2140 )
...
* Add standardObject seeds
* use for of
2023-10-20 14:35:25 +02:00
Weiko
7fbef6d60d
Add Tenant initialisation service ( #2100 )
...
* Add Tenant initialisation service
* few fixes
* fix constraint
* fix tests
* update metadata json with employees and address
* add V2
* remove metadata.gql
2023-10-18 18:01:52 +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
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
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
Weiko
ca492808cf
Add metadata query resolvers ( #1929 )
...
* Add metadata queries resolvers
* remove hello field
* fix linter
2023-10-09 22:54:14 +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
Weiko
1e91c985df
Add a dedicated GQL server for metadata available on /meta ( #1820 )
2023-10-03 10:17:13 +02:00
Weiko
09684ef6cc
Fix docker setup with bcrypt ( #1783 )
2023-10-02 11:59:06 +02:00
Weiko
3851e0f992
Fix missing patches folder to deploy server ( #1771 )
...
* Fix missing patches folder to deploy server
* Fix missing patches folder to deploy server
* remove extra line
* add fix for twenty-dev
2023-09-29 15:41:09 +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
Weiko and Charles Bochet
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
Weiko
ec90c77ec1
Refactor tenant ORM integration ( #1650 )
...
* Refactor tenant ORM integration
* fix tests
2023-09-19 17:58:28 +02: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
corentin
27bb3a8126
switch back editable field hover from lighter to light
2023-08-28 12:03:07 +02:00
Weiko
ab9d7ddf7e
Fix tasks page ( #1325 )
...
* Fix tasks page
* remove console log
* use to-do instead
2023-08-28 11:57:00 +02:00
Weiko
0e5dcd7037
Fix confirmation modal style ( #1310 )
2023-08-25 21:26:27 +02:00
Weiko
8a3a176571
Add idealCustomerProfile to company show page ( #1312 )
...
* Add idealCustomerProfile to company show page
* remove editMode
* add xUrl
2023-08-25 21:11:43 +02:00
Weiko
f520a00909
Remove danger text from completed passed tasks ( #1309 )
2023-08-25 18:05:35 +02:00
Weiko
edff69b2f6
Add hotkeys to modals ( #1305 )
...
* Add hotkeys to modals
* fix
* fix
* remove unnecessary type
* restore type
* add handleEnter
* rename event props
2023-08-25 13:59:04 +02:00
corentin
75207b093b
fix missing property in companies optimistic response
2023-08-24 18:10:07 +02:00
Weiko
00f1d2b739
Fix color scheme update ( #1298 )
...
* Fix color scheme update
* remove as
* fix
2023-08-24 16:34:46 +02:00
corentin
6c418a63bc
move canPersistFiltersScopedState & canPersistSortsScopedState to selectors folder
2023-08-24 16:01:41 +02:00
Weiko and Charles Bochet
10b68618d3
New behavior for editable fields ( #1300 )
...
* New behavior for editable fields
* fix
* fix
* fix coverage
* Add tests on NotFound
* fix
* fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-08-24 15:56:43 +02:00
Weiko
76246ec880
Fix confirmation modal size ( #1295 )
2023-08-23 15:38:37 +02:00
Weiko
22dbe21bcd
Add Empty as value of empty fields inputs #1042 ( #1243 )
...
* Add Empty as value of empty fields inputs #1042
* rebase
2023-08-22 16:46:15 +02:00
Weiko
9b34a0ff3d
Add styled component rule ( #1261 )
...
* Add StyledComponent rule
* update doc
* update doc
* update doc
2023-08-17 20:58:02 -07:00
corentin
f4accc66fa
use ci-8-cores
2023-08-17 12:25:44 -07:00
Weiko
0cab6a11d2
Set 3 workers for storybook coverage ( #1255 )
...
* Set 3 workers for storybook coverage
* fix
* fix
* fix
* change ubuntu-latest to ci-4-cores
* fix
2023-08-17 12:00:45 -07:00
Weiko
1e277ba950
Fix Chip font-weight ( #1242 )
...
* Fix Chip font-weight
* fix ===
2023-08-16 16:28:16 -07:00