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
d016e5ff03
BUG FIX: Create workspace member if inviteHash exists ( #3917 )
...
Create workspace member if inviteHash exists
2024-02-12 17:43:26 +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
d28843bb85
feat: order board cards by record position ( #3902 )
...
* feat: order board cards by record position
Closes #3848
* Fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-09 18:09:13 +01:00
3cbf958a1c
GH-3652 Add forgot password on sign-in page ( #3789 )
...
* Remove auth guard from password reset email endpoint
* Add arg for GQL mutation and update its usage
* Add forgot password button on sign-in page
* Generate automated graphql queries
* Move utils to dedicated hook
* Remove useless hook function
* Split simple hook methods
* Split workspace hook
* Split signInWithGoogle hook
* Split useSignInUpForm
* Fix error in logs
* Add Link Button UI Component
* Add storybook doc
---------
Co-authored-by: martmull <martmull@hotmail.fr >
2024-02-09 17:37:44 +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
0185c2a36e
Fix logger behavior ( #3897 )
2024-02-09 14:43:36 +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
7425223f83
3628 timebox separate user creation from workspace creation ( #3737 )
...
* Remove workspace schema creation from signUp
* Set user workspaceMember nullable
* Remove workspace creation
* Handle null workspace in tokens
* Update onboarding status
* Generate types
* Move createWorkspace to workspace resolver
* Create workspace after signup
* Update createWorkspace return type
* Update createWorkspace return type
* Create core.workspace at signup
* WIP
* Fix create workspace
* Fix create workspace
* Clean code
* Remove useless recoil set
* Simplify create workspace request
* Set currentWorkspace at login
* Fix tests
* Create a recoil value for is workspaceSchema created
* Rename createWorkspace to createWorkspaceSchema
* Code review returns
* Use AppPath when possible
* Try without state
* Fix
* Fixes
* Rename createWorkspaceSchema to activateWorkspace
* Remove defaultAvatarUrl from user
* Add defaultAvatarUrl to core user
This reverts commit 1701c30eb18804558293cc42043aedf96ea888df.
* Add defaultAvatarUrl to core user
This reverts commit 1701c30eb18804558293cc42043aedf96ea888df.
* Fix ci
* Fix tests
* Fix storybook
* Fix test
* Remove useless query
* Fix test
* Fix test
* Fix mock data
* Fix test
* Clean Mock Requests
* Fix tentative
* Revert "Clean Mock Requests"
This reverts commit 8aa20a34363ffddfdee24f18fc80b27ea0ad5e1d.
* Fix
* Revert "Fix"
This reverts commit 2df7e9b6569b8bfb53f6a45391db725e28d16a18.
* Revert "Revert "Clean Mock Requests""
This reverts commit 3aefef8e9600d161434a047e845563d1b8e0692e.
* Revert "Fix tentative"
This reverts commit 13e7748d6f3b3858d30fb08adbc8ad347c5556ee.
* Update filename
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-09 12:06:11 +01:00
3d7b5902e6
Fix twenty-server build
2024-02-09 11:14:02 +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
c53b593ea6
Custom swagger endpoint for docs ( #3869 )
...
* custom swagger endpoint
metadata graphql
remove /rest from endpoint
* fixed pseudo scheme creation
* move graphql playground creation to own file, added navbar to change baseurl and token
* add schema switcher, fix changing url not applied, add invalid overlay
* fix link color
* removed path on Graphql Playground, naming fixes subdoc
* - fixed overflow issue Rest docs
* history replace & goBack
* Small fix GraphQL playground broken
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
2024-02-08 16:54:20 +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
bcc62596f6
Add defaultAvatarUrl to core user ( #3883 )
...
* Add defaultAvatarUrl to core user
This reverts commit 1701c30eb18804558293cc42043aedf96ea888df.
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-08 14:46:37 +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
850eab8f8f
Add rate limiting in the server using built in Nest.js capability ( #3566 )
...
* Add rate limiting in the server using built in Nest.js capability
* Generatekey based on ip address when an http request is sent
* Update env var types to number for ttl and limit
* Remove unused env variables
* Use getRequest utility function
* fix: remove dist from path
* fix: adding .env variables
* fix: remove unused functions
* feat: throttler plugin
* Fix according to review
---------
Co-authored-by: Jérémy Magrin <jeremy.magrin@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-07 18:11:32 +01:00
3831ddc002
3803 use email visibility to display only the shared information backend ( #3871 )
...
* update dto
* wip
* compute thread visibility
* fix bugs
* fix bug
* improve typing
* working
* update according to comments
* use string
2024-02-07 16:35:19 +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
3a9007b2d4
Member card fix email display ( #3555 )
...
* member card fix email display
* lint
* on signup save userEmail
2024-02-05 15:02:57 +01:00
7b084ba46e
Enable Rating Field ( #3792 )
2024-02-03 08:55:29 +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
25f4a80c7c
fix: exception handler ( #3768 )
...
* fix: user is not sent to sentry
* fix: too much exceptions thrown
2024-02-02 09:26:48 +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
fc01c8cd4f
fix: grapQL errors are not detailed enough ( #3622 )
2024-02-01 09:45:58 +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
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