3caf860848
4285 timebox create google calendar full sync ( #4442 )
...
* calendar module
* wip
* creating a folder for common files between calendar and messages
* wip
* wip
* wip
* wip
* update calendar search filter
* wip
* working on full sync service
* reorganizing folders
* adding repositories
* fix typo
* working on full-sync service
* Add calendarQueue to MessageQueue enum and update dependencies
* start transaction
* wip
* add save and update functions for event
* wip
* save events
* improving step by step
* add calendar scope
* fix nest modules imports
* renaming
* create calendar channel
* create job for google calendar full-sync
* call GoogleCalendarFullSyncJob after connected account creation
* ask for scope conditionnally
* fixes
* create channels conditionnally
* fix
* fixes
* fix FK bug
* filter out canceled events
* create save and update functions for calendarEventAttendee repository
* saving messageParticipants is working
* save calendarEventAttendees is working
* add calendarEvent cleaner
* calendar event cleaner is working
* working on updating attendees
* wip
* reintroducing google-gmail endpoint to ensure smooth deploy
* modify callbackURL
* modify front url
* changes to be able to merge
* put back feature flag
* fixes after PR comments
* add feature flag check
* remove unused modules
* separate delete connected account associated job data in two jobs
* fix error
* rename calendar_v3 as calendarV3
* Update packages/twenty-server/src/workspace/calendar-and-messaging/utils/valueStringForBatchRawQuery.util.ts
Co-authored-by: Jérémy M <jeremy.magrin@gmail.com >
* improve readability
* renaming to remove plural
* renaming to remove plural
* don't throw if no connected account is found
* use calendar queue
* modify usage of HttpService in fetch-by-batch
* modify valuesStringForBatchRawQuery to improve api and return flattened values
* fix auth module feature flag import
* fix getFlattenedValuesAndValuesStringForBatchRawQuery
---------
Co-authored-by: Jérémy M <jeremy.magrin@gmail.com >
2024-03-14 11:23:31 +01:00
4e1e4e2c4c
Upgrade documentation UI component rendering ( #4445 )
...
Upgrade documenation UI component rendering
2024-03-13 13:26:46 +01:00
d8b370720c
feat: wip sync standard id ( #4373 )
...
* feat: wip sync standard id
feat: implement standardId for sync command
* fix: rebase
* fix: tests
* fix: deterministic uuid
* fix: sync custom not working
* fix: create custom not adding standardId
* fix: readability
2024-03-13 12:06:10 +01:00
1b485c2984
Hide favorites,MessageParticipant and calendareventattendees from datamodel ( #4392 )
...
hide favorites, MessageParticipant and calendareventattendees from datamodel
2024-03-12 11:47:27 +01:00
5287b7c4ab
Add icon, position and key on View ( #4413 )
...
* Add view key field
* Update Prefill demo, seed dev, prefill new workspace
2024-03-11 17:00:19 +01:00
0c17decfb9
4284 create calendarchanneleventassociation data model ( #4350 )
...
* create model
* add calendar channel relation
* add calendar event relation
* add to index.ts
* done
* updates
* update relation
* update relation
* updates after comments
2024-03-08 16:29:40 +01:00
5988891f5e
Fix companyId should be nullable on person standard object
2024-03-07 17:46:51 +01:00
af6ffbcc68
feat: standard fields on custom ( #4332 )
...
* feat: add ability to sync standard fields on custom object
* fix: clean
* fix: wrong compute during object creation
* fix: missing cascade delete
* fix: remove unused injected class
* fix: naming
* fix: rename factory to paramsFactory and clean
* fix: rename ExtendCustomObjectMetadata to BaseCustomObjectMetadata
* fix: partial fix inconsistent label and description
* Fixes
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-03-07 17:21:50 +01:00
c3a024b047
feat: sync all workspaces ( #4353 )
2024-03-07 15:40:09 +01:00
019c630686
Use new type position for standard objects and newly created objects ( #4349 )
...
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-03-06 18:34:10 +01:00
577de7240c
4283 create calendareventattendee data model ( #4333 )
...
* add person relation
* add workspaceMember relation
* done
* update channel
* update event data-model
* add relation
* done
* changes after review
* update model
2024-03-06 18:05:40 +01:00
0d231902f0
4281 create calendarevent data model ( #4317 )
...
* create model
* update model
* remove webLink
* done
* fix namePlural case
* Delete packages/twenty-server/src/workspace/workspace-sync-metadata/standard-objects/calendar-event-attendee.object-metadata.ts
* updates after comments
* add enum
2024-03-05 17:50:07 +01:00
9fc421876f
4282 create calendarchannel data model ( #4314 )
...
* create model
* add connected account relation
* fix import
* relation is working
* remove isNullable
2024-03-05 16:12:56 +01:00
0c2c57ab9b
Fix blocklist standard object being unhealthy ( #4255 )
...
Fix blocklist standard object unhealthy
2024-03-01 10:39:22 +01:00
72ae6e44b3
Remove Gate decorator IS_BLOCKLIST_ENABLED from BlocklistObjectMetadata ( #4250 )
...
* Remove Gate decorator from BlocklistObjectMetadata
* check if blocklist is enabled
* wip
* done
2024-02-29 19:25:11 +01:00
8c08f1b603
Remove html from messages ( #4229 )
...
* remove html
* remove html
* remove html from db
2024-02-29 12:01:01 +01:00
e0bf8e43d1
Update relation cascade on standard objects favorite, attachment, activityTargets ( #4227 )
2024-02-28 17:49:45 +01:00
214807588a
[messaging] clean orphan threads and messages after connected account deletion ( #4195 )
...
* [messaging] add connected account associated data delete
* add threadCleanerService
* fix
* fix import
* add thread cleaner import
* remove log
2024-02-26 21:29:44 +01:00
6a1abba9ea
Ignore defaultValue update for select fields ( #4193 )
...
* Ignore defaultValue update for select fields
* Fix tests
2024-02-26 18:41:29 +01:00
70511dc860
Add writeLog for relation update sync metadata ( #4136 )
...
* Add writeLog for relation update sync metadata
* fix health check
2024-02-22 16:02:13 +01:00
fa02a478a5
Fix server import case
2024-02-22 11:51:18 +01:00
8425ce4987
Add onDeleteAction to RelationMetadata ( #4100 )
...
* Add onDeleteAction to relationMetadata
* rename to SET NULL
* fix migration
* fix migration
* fix after review
2024-02-22 10:27:15 +01:00
3914e8d77c
fix: sync and health ( #4095 )
...
* fix: throw error if we try to create a migration without columnName
* fix: typeorm save for update breaking everything
2024-02-20 17:55:23 +01:00
2f9e503a8b
fix: ignore enum options sync for now ( #4056 )
2024-02-19 17:29:30 +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
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
8ce7020b12
feat: sync metadata can alter and update a field ( #3944 )
2024-02-13 19:36:58 +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
d3fe1b9e31
feat: workspace:health nullable fix ( #3882 )
2024-02-08 18:22:29 +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
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
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
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
82d99afe2f
Fix workspace-sync when alter with relation ( #3721 )
2024-01-31 15:50:54 +01:00
03e5c792f0
[messaging] fix message-channel-message-association field name as dependencies ( #3712 )
2024-01-30 19:35:41 +01:00
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
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
377fd23c90
Display columns on Record Board ( #3626 )
...
* Display columns on Record board
* Fix
* Fix according to review
* Fix
2024-01-25 18:21:15 +01:00
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
c811206c47
Fix message table plural name ( #3604 )
2024-01-24 14:33:08 +01:00
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