Commit Graph
182 Commits
Author SHA1 Message Date
martmull 6c0e6b5119 Merge branch 'main' into 3628-timebox-separate-user-creation-from-workspace-creation 2024-02-08 15:28:00 +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 1701c30eb1.

* Fix

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-02-08 14:46:37 +01:00
martmull 478a37acc8 Add defaultAvatarUrl to core user
This reverts commit 1701c30eb1.
2024-02-08 12:44:28 +01:00
martmull 1701c30eb1 Remove defaultAvatarUrl from user 2024-02-08 12:43:33 +01:00
martmull fa466a4f64 Rename createWorkspaceSchema to activateWorkspace 2024-02-08 12:35:32 +01:00
Charles Bochet dad5bb6d6d Try without state 2024-02-08 11:25:02 +01:00
martmull b9b9f0a4be Merge branch 'main' into 3628-timebox-separate-user-creation-from-workspace-creation 2024-02-08 10:50:49 +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
Jérémy MandGitHub 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
bosiraphaelandGitHub 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
Jérémy MandGitHub 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
martmull dc792e830d Rename createWorkspace to createWorkspaceSchema 2024-02-06 10:12:27 +01:00
martmull 700bbfe5b1 Fix tests 2024-02-06 09:42:38 +01:00
martmull ada4522c0c Merge branch 'main' into 3628-timebox-separate-user-creation-from-workspace-creation 2024-02-05 18:06:23 +01:00
WeikoandGitHub 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
martmull d62ef74271 Simplify create workspace request 2024-02-05 15:29:25 +01:00
martmull 9e187eed02 Remove useless recoil set 2024-02-05 15:19:48 +01:00
brendanlaschkeandGitHub 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
Félix MalfaitandGitHub a5989a470c Improve Documentation (#3795)
* Begin docs improvement

* Keep improving documentation

* Upgrade Docusarus

* Fix broken links
2024-02-05 15:01:37 +01:00
martmull 887f002b6e Clean code 2024-02-05 14:56:54 +01:00
martmull 893cc46ba2 Fix create workspace 2024-02-05 14:32:06 +01:00
martmull d5341196a0 Merge branch 'main' into 3628-timebox-separate-user-creation-from-workspace-creation 2024-02-05 10:51:16 +01:00
Charles BochetandGitHub 8692e5d1ca Release 0.3.0 (#3793) 2024-02-03 09:05:11 +01:00
Charles BochetandGitHub 7b084ba46e Enable Rating Field (#3792) 2024-02-03 08:55:29 +01:00
WeikoandGitHub 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
WeikoandGitHub ae5f82df59 [messaging] add fallback if lastHistoryId has been invalidated (#3782) 2024-02-02 15:28:38 +01:00
Jérémy MandGitHub 5fd982b009 feat: execute pending migrations command (#3767) 2024-02-02 11:10:26 +01:00
Jérémy MandGitHub 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
Charles Bochet edeb824884 Fix record creation broken 2024-02-02 08:16:25 +01:00
martmull fa7480f3bb Create core.workspace at signup 2024-02-01 17:22:38 +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
Jérémy MandGitHub 9799326533 fix: logs folder doesn't exist (#3759) 2024-02-01 16:47:36 +01:00
Jérémy MandGitHub 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
Jérémy MandGitHub 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
WeikoandGitHub 142affbeea [messaging] reorder messages desc to asc (#3755) 2024-02-01 15:28:00 +01:00
Jérémy MandGitHub 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
Jérémy MandGitHub fc01c8cd4f fix: grapQL errors are not detailed enough (#3622) 2024-02-01 09:45:58 +01:00
martmull b801eddf7d Update createWorkspace return type 2024-01-31 17:26:02 +01:00
WeikoandGitHub e787b4e3b8 [messaging] add more logs to gmail full-sync (#3728) 2024-01-31 17:03:11 +01:00
martmull d62134f5f8 Update createWorkspace return type 2024-01-31 16:54:01 +01:00
martmull 369a459603 Create workspace after signup 2024-01-31 16:13:23 +01:00
WeikoandGitHub 82d99afe2f Fix workspace-sync when alter with relation (#3721) 2024-01-31 15:50:54 +01:00
martmull 0092211921 Move createWorkspace to workspace resolver 2024-01-31 14:38:29 +01:00
martmull 903d4c0f07 Handle null workspace in tokens 2024-01-31 09:56:40 +01:00
martmull e6c4b2dc2b Remove workspace creation 2024-01-30 19:35:56 +01:00
WeikoandGitHub 03e5c792f0 [messaging] fix message-channel-message-association field name as dependencies (#3712) 2024-01-30 19:35:41 +01:00
WeikoandGitHub 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