6f2b0f2068
Resolve bugs tied to record creations on table ( #4011 )
...
* Resolve bugs tied to record creations on table
* Fix according to PR
* Fix tests
2024-02-16 15:03:57 +01:00
8e3723b88e
Fix update on delete record ( #3996 )
2024-02-16 13:08:24 +01:00
44ac16c82e
fix: impact too many records ( #3993 )
...
* fix: impact too many records
* fix: change env name
* fix: remove env name from error
2024-02-16 11:17:37 +01:00
f47159d84d
fix: invalidate cache when no record inside workspace cache version ( #3994 )
...
* fix: invalidate cache when no record inside workspace cache version
* fix: use getVersion
2024-02-16 10:37:25 +01:00
990cb107a1
feat: workspace health target column map fix ( #3932 )
...
* feat: workspace health fix target column map
* fix: remove log
* feat: refactor health fixer
* fix: default-value issue and health check not working with composite
* fix: enhance target column map fix
* feat: create workspace migrations for target-column-map issues
* feat: enhance workspace-health issue detection
2024-02-15 18:04:12 +01:00
0b93a6785b
3815 blocklist connect frontend ( #3930 )
...
* wip
* wip
* move blocklist to connectedAccount
* wip
* format date
* fix styling
* renaming
* fix imports
* fix imports
* Rename BlockListItem.ts to BlocklistItem.ts
* Add IS_BLOCKLIST_ENABLED feature flag and remove IS_MESSAGING_ENABLED gate at model creation
* hide blocklist if feature flag is disabled
2024-02-15 17:18:04 +01:00
4b3eeac333
[messaging] add defaultValue to isContactAutoCreationEnabled ( #3992 )
2024-02-15 16:42:03 +01:00
49cc01d7d8
[messaging] fix add messageParticipant not in a transaction ( #3981 )
2024-02-14 19:28:25 +01:00
2055f64acd
fix CreateCompaniesAndContactsAfterSyncJobData import ( #3979 )
2024-02-14 18:58:49 +01:00
94ad0e33ec
3889 activate settingsaccountsemailsinboxsettings ( #3962 )
...
* update email visibility in settings
* improve styling
* Add contact auto creation toggle to inbox settings
* re
move soonpill
* update Icon
* create job
* Add logic to create contacts and companies for message participants without personId and workspaceMemberId
* add listener
* wip
* wip
* refactoring
* improve structure
* Add isContactAutoCreationEnabled method to MessageChannelService
* wip
* wip
* clean
* add job
* fix bug
* contact creation is working
* wip
* working
* improve code
* improve typing
* resolve conflicts
* fix
* create company repository
* move util
* wip
* fix
2024-02-14 17:30:17 +01:00
7d80610428
3814 create blocklist data model ( #3927 )
...
* wip
* wip
* wip
* working
2024-02-14 16:38:16 +01:00
1afe8aecd0
Fix missing feature flag on messaging listeners ( #3952 )
...
* Fix missing feature flag on messaging listeners
* Update workspace-query-runner.service.ts
2024-02-13 20:23:09 +01:00
8ce7020b12
feat: sync metadata can alter and update a field ( #3944 )
2024-02-13 19:36:58 +01:00
87fafae9be
[messaging] Removing TO requirement for email import ( #3949 )
2024-02-13 19:19:57 +01:00
458e8c839f
Add workspacePreQueryHook module ( #3879 )
...
* rebase
* reorganise messaging folders
* fix
* fix after review
* fix yarn lock
2024-02-13 18:23:29 +01:00
36b69a8625
[messaging] Fix messaging import with no person skipped email ( #3941 )
2024-02-13 16:55:06 +01:00
7f122a4671
[messaging] Remove ids from enqueued jobs ( #3936 )
...
* [messaging] Fix import message participant uppercase
* fix job not enqueuing
2024-02-13 16:13:34 +01:00
b6a86ebf96
[messaging] Fix import message participant uppercase ( #3934 )
2024-02-13 16:03:44 +01:00
ec48e66eeb
3921 delete messagethreads after deleting connectedaccount ( #3925 )
...
* created listener
* working
---------
Co-authored-by: Weiko <corentin@twenty.com >
2024-02-13 14:36:55 +01:00
1d1976ef22
3807 auto creation of contact when importing emails ( #3888 )
...
* Add CreateContactService to messaging services
* Add logic to create a contact if it doesn't exist
* Add name
* Improvements
* contact creation working
* fix bug
* Add IsPersonEmailService to check if an email is personal or not
* filter is working
* improve filter
* create companies and people
* Refactor createContactFromHandleAndDisplayName to createContactAndCompanyFromHandleAndDisplayName
* improve regex
* reorganizing services
* updates
* reorganize folders
* wip
* use transaction
* wip
* wip
* wip
* batch queries
* almost working
* working
2024-02-13 14:24:28 +01:00
35fce6a6b4
feat: health check enum ( #3913 )
...
* feat: health check enum
* fix: cleaner if condition
2024-02-12 17:32:05 +01:00
b0b033aec9
fix: workspace health ( #3916 )
...
* fix: workspace health applying migrations multiple times
* fix: remove log
* fix: use logger
2024-02-12 16:17:17 +01:00
c13e55a753
Fix bull-mq retry option and exceptions not being captured for jobs ( #3905 )
...
* Fix bull-mq retry option
* fix exception inside worker
* add logs
* fix after review
2024-02-12 15:12:52 +01:00
a15128df36
Remove virtual fieldType Relation from fieldMetadata sync
2024-02-11 10:23:37 +01:00
11d1c4c161
3808 auto creation of company when importing emails ( #3881 )
...
* create service
* wip
* use raw queries
* creating companies is working
* Fix participant handle domain name extraction
* Add HTTP service to fetch company info from domain name
* Handle 404
* Fix missing parameter in INSERT query
* wip
* renaming
* Add typing
2024-02-09 15:28:35 +01:00
9ceff84bbf
Set opportunity stage as editable ( #3838 )
...
* Set opportunity stage as editable
* Fix comments
* Add command for migration
* Fixes
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-09 14:44:11 +01:00
2560ce25e0
feat: workspace health default-value fix ( #3894 )
...
* feat: workspace health default-value fix
* fix: rename function regarding review
2024-02-09 14:16:11 +01:00
9299ad1432
Fix delete incomplete workspaces ( #3893 )
...
* Fix delete incomplete workspaces
* Add multiple workspace filtering option
2024-02-09 12:26:10 +01:00
7ec968d5a2
feat: workspace health type fix ( #3890 )
...
* feat: workspace health type fix
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-08 18:59:17 +01:00
d3fe1b9e31
feat: workspace:health nullable fix ( #3882 )
2024-02-08 18:22:29 +01:00
99e2dd6899
[messaging] Add messageParticipant matching once people emails are updated ( #3887 )
...
* poc nest event emitter
* add match message participant listener
* add workspacemember listener
* fix after review
* fix deep-equal
2024-02-08 17:42:33 +01:00
719da29795
Store compact view status ( #3850 )
...
* Store compact view status
* Rename to isCompact
* Fixes
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-08 16:33:52 +01:00
6ee179442a
Add one to many relation between opportunity and attachment ( #3866 )
...
* Add one to many relation between opportunity and attachment
* Fix opportunity type
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-02-08 15:22:52 +01:00
7001ca83d1
3491 launch cleaning cron ( #3872 )
...
* Add command to delete incomplete workspaces
* Inject command dependencies
* Fix command
* Do not delete core.workspace
* Reorganize files
* Delete src/workspace/cron
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-07 18:52:48 +01:00
6e3a8e3461
Feat/workspace health core fix ( #3863 )
...
* feat: add deletion support on sync metadata command
* fix: remove debug
* feat: wip workspace health command add --fix option
fix: remove test
* feat: core of --fix option for workspace-health
2024-02-07 18:27:35 +01:00
a908353955
feat: add deletion support on sync metadata command ( #3826 )
...
* feat: add deletion support on sync metadata command
* fix: remove debug
2024-02-07 15:38:23 +01:00
9f59ddc059
Rename recordPosition into position ( #3864 )
...
* Rename recordPosition into position
* Fix according to review
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-07 09:40:35 +01:00
0096e60489
[messaging] add cronjob for workspaces messages partial sync ( #3800 )
...
* [messaging] add cronjob for workspaces messages partial sync
* run cron every 10 minutes
* use logger
2024-02-05 17:15:11 +01:00
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
ae5f82df59
[messaging] add fallback if lastHistoryId has been invalidated ( #3782 )
2024-02-02 15:28:38 +01:00
5fd982b009
feat: execute pending migrations command ( #3767 )
2024-02-02 11:10:26 +01:00
edeb824884
Fix record creation broken
2024-02-02 08:16:25 +01:00
7b2b70e479
Create record position field ( #3739 )
...
* Create record field on non syst standard objects + on custom objects
* Create workspace migration
* Fix naming and add seed
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-02-01 16:56:38 +01:00
9799326533
fix: logs folder doesn't exist ( #3759 )
2024-02-01 16:47:36 +01:00
3c89a97a9f
feat: add dry-run option to sync-metadata command ( #3758 )
...
* feat: add dry-run option to sync-metadata command
* feat: save metadata logs in dry-run mode
2024-02-01 16:35:32 +01:00
cdc51add7d
feat: add user to sentry ( #3467 )
...
* feat: wip add user to sentry
* feat: wip interceptor
* feat: wip add user to sentry
* feat: add user into sentry errors
* fix: hide stack trace in production
* fix: properly log commands and handle exceptions
* fix: filter command exceptions
* feat: handle jobs errors
2024-02-01 16:14:08 +01:00
142affbeea
[messaging] reorder messages desc to asc ( #3755 )
2024-02-01 15:28:00 +01:00
8abd5be4b5
fix: sync metadata shouldn't remove non custom fields ( #3750 )
...
* fix: sync metadata shouldn't remove non custom fields
* fix: filter out custom relations
2024-02-01 14:25:50 +01:00
e787b4e3b8
[messaging] add more logs to gmail full-sync ( #3728 )
2024-01-31 17:03:11 +01:00
82d99afe2f
Fix workspace-sync when alter with relation ( #3721 )
2024-01-31 15:50:54 +01:00