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
96d990e275
feat: set field as custom object label identifier in Object Detail ( #3360 )
...
* feat: set field as custom object label identifier in Object Detail
Closes #3302
* feat: prevent disabling Object label identitifer field in back-end
* refactor: review - extract isLabelIdentifier variable
2024-01-17 12:19:41 +01:00
4316950cf9
Bump version to 0.2.3 ( #3506 )
2024-01-17 11:57:13 +01:00
f3f20ad974
Improve opportunity behavior ( #3487 )
...
* Fix opportunity relation
* Fix
* Fix
* Fix tests
* Fix
* Fix
* Fix opportunities
* Fix Opportunity standard object and apply maxWidth to text ellipsis
* Update packages/twenty-front/src/modules/ui/field/display/components/EllipsisDisplay.tsx
Co-authored-by: Thaïs <guigon.thais@gmail.com >
* Fix
---------
Co-authored-by: Thaïs <guigon.thais@gmail.com >
2024-01-16 15:43:19 +01:00
bb91917ff8
Improve webhook ( #3459 )
...
* Add trigger record
* Merge triggers
* Merge creates
* Fix libraries
* Fix create merged key
* Rename file
* Remove list Record Ids
* Revert "Rename file"
This reverts commit 2e72e05793ced4553eec8d9f890d31beae594c85.
* Revert "Revert "Rename file""
This reverts commit e2d93fa02716093df6d4d6029af9cc324c06f06b.
* Revert "Remove list Record Ids"
This reverts commit 6653fb6ccd4307e3958b70923505034d92cf43bb.
* Remove namePlural field
* Use name singular for webhooks
* Send webhook metadata
* Extract resource from zapier webhook
* Fix package.json
* Fix package.json
* Update payload
* Fix package.json
* Update payload
* Update payload
* Rename file
* Use wildcard in webhook events
* Fix nameSingular
* Code review returns
* Code review returns
2024-01-16 15:31:09 +01:00
fb93bb69fb
Fix opportunity relation ( #3478 )
...
* Fix opportunity relation
* Fix
* Fix
* Fix tests
* Fix
* Fix
2024-01-16 14:39:48 +01:00
4695e99458
3369 rename messagerecipients table into messageparticipants ( #3457 )
...
* renaming
* renaming
2024-01-15 16:55:19 +01:00
8682f3c0c0
3441 modify message table change date to receivedat ( #3452 )
...
* changed date to receivedAt
* update saving messages
* update custom resolver
2024-01-15 14:48:25 +01:00
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
16a24c5f0c
Rework relations ( #3431 )
...
* Rework relations
* Fix tests
2024-01-15 12:07:23 +01:00
8893cbc05d
Stop switching to a different datasource per workspace ( #3425 )
...
* Stop switching to a different datasource per workspace
* Add console
* Remove call to metadata
2024-01-14 00:21:21 +01:00
a8efc17fff
Fix post merge conflict
2024-01-13 12:06:37 +01:00
49a9a2c2be
2252 build a script to cleanup inactive workspaces ( #3307 )
...
* Add cron to message queue interfaces
* Add command to launch cron job
* Add command to stop cron job
* Update clean inactive workspaces job
* Add react-email
* WIP
* Fix import error
* Rename services
* Update logging
* Update email template
* Update email template
* Add Base Email template
* Move to proper place
* Remove test files
* Update logo
* Add email theme
* Revert "Remove test files"
This reverts commit fe062dd05166b95125cf99f2165cc20efb6c275a.
* Add email theme 2
* Revert "Revert "Remove test files""
This reverts commit 6c6471273ad765788f2eaf5a5614209edfb965ce.
* Revert "Revert "Revert "Remove test files"""
This reverts commit f851333c24e9cfe3f425c9cbbd1e079efce5c3dd.
* Revert "Revert "Revert "Revert "Remove test files""""
This reverts commit 7838e19e88e269026e24803f26cd52b467b4ef36.
* Fix theme
* Reorganize files
* Update clean inactive workspaces job
* Use env variable to define inactive days
* Remove FROM variable
* Use feature flag
* Fix cron command
* Remove useless variable
* Reorganize files
* Refactor some code
* Update email template
* Update email object
* Remove verbose log
* Code review returns
* Code review returns
* Simplify handle
* Code review returns
* Review
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-13 12:03:41 +01:00
5a61e34f4c
3239 create a command to do a partial sync with the gmail api using the historyid ( #3405 )
...
* create utils service
* getLastSyncHistoryId
* getHistory
* add historyTypes messageAdded and messageDeleted
* getMessageIdsAndThreadIdsNotInDatabase
* wip
* fix messageThreadId null
* no need to fetch threads anymore
* get messagesAdded in partial sync
* adding errors
* save lastSyncHistoryId
* improve
* renaming
* create partial sync job
* improve partial sync
* adding messages with partial sync is working
* now adding messages with partial sync is working
* deleting messages and empty threads is working
* wip
* wip
* fix bug to delete threads
* update partial sync to cover edge cases
* renaming
* modify ambiguous naming
* renaming
2024-01-12 17:46:55 +01:00
3e8f4ec2c5
fix: auth user decorator cannot destruct property of undefined ( #3394 )
...
* fix: auth user decorator cannot destruct property of undefined
* fix: change naming
2024-01-12 12:12:33 +01:00
d0ed9ee2e0
feat: pagination with total count ( #3384 )
...
* feat: add totalCount
* feat: add command for production to fix existing tables
2024-01-12 10:41:38 +01:00
10fd67ba32
Fix relation creation bug + enable favorite for custom objects ( #3392 )
...
* Fix relation creation bug
* Fix vale CI
* Fix comment bug
2024-01-11 22:46:43 +01:00
b3d9bed91d
Enforce email templating ( #3355 )
...
* Add react-email
* WIP
* Fix import error
* Rename services
* Update logging
* Update email template
* Update email template
* Add Base Email template
* Move to proper place
* Remove test files
* Update logo
* Add email theme
* Revert "Remove test files"
This reverts commit fe062dd05166b95125cf99f2165cc20efb6c275a.
* Add email theme 2
* Revert "Revert "Remove test files""
This reverts commit 6c6471273ad765788f2eaf5a5614209edfb965ce.
* Revert "Revert "Revert "Remove test files"""
This reverts commit f851333c24e9cfe3f425c9cbbd1e079efce5c3dd.
* Revert "Revert "Revert "Revert "Remove test files""""
This reverts commit 7838e19e88e269026e24803f26cd52b467b4ef36.
* Fix theme
2024-01-11 20:29:20 +01:00
0a77a376fd
Import messages after connected-account creation ( #3389 )
2024-01-11 20:05:08 +01:00
5f0c9f67c9
feat: workspace health ( #3344 )
...
* feat: wip workspace health
* feat: split structure and metadata check
* feat: check default value structure health
* feat: check targetColumnMap structure health
* fix: composite types doesn't have default value properly defined
* feat: check default value structure health
* feat: check options structure health
* fix: verbose option not working properly
* fix: word issue
* fix: tests
* fix: remove console.log
* fix: TRUE and FALSE instead of YES and NO
* fix: fieldMetadataType instead of type
2024-01-11 16:41:25 +01:00
c6ae480856
feat(signup): allow to block signup ( #3209 )
...
* feat(signup): allow to block signup
* feat(signup): update environment variable documentation
* test: update auth service tests
* feat(signup): prevent user from reaching out the sign up page
* Fix lint
* Fixes
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-11 11:48:14 +01:00
1aa0f86724
feat: use apollo playground in debug mode ( #3295 )
2024-01-11 10:21:51 +01:00
22047fa2bf
Fix metadata exception handler #2 ( #3357 )
2024-01-10 17:02:54 +01:00
69b558e03d
Fix bug on relation on custom object ( #3336 )
2024-01-09 17:49:05 +01:00
6c00aa92a4
Fix capture exception for metadata and core ( #3335 )
2024-01-09 17:46:16 +01:00
4ebb487fa1
3236 add syncproviderconfig to connectedaccount model ( #3328 )
...
* add Last sync history ID
* add is nullable
* fix errors
* modification
2024-01-09 14:48:10 +01:00
bdd0a7ed95
3242 all message recipients should be stored ( #3320 )
...
* saveMessageRecipients
* update
* workspaceMemberId is working
* merge
* get direction of the message
* fix
* improve code
* modify GmailMessage type
2024-01-09 14:14:32 +01:00
0b505288f2
feat: add Relation field card feature flag ( #3311 )
...
Related to #3123
2024-01-09 12:46:03 +01:00
361446d79c
Add cron mechanism ( #3318 )
...
* Add cron to message queue interfaces
* Add command to launch cron job
* Add command to stop cron job
* Update clean inactive workspaces job
* Isolate cron mechanism
* Code review returns
* Remove useless object.assign
* Add MessageQueuCronJobData interface
* Rename cron job utils
* Fix typing
2024-01-09 12:23:45 +01:00
67b14824a4
Implement select v1 ( #3312 )
...
* Implement select v1
* Implement select v1
2024-01-08 20:55:45 +01:00
ea2cb8938f
Add fetch connected account job ( #3313 )
...
* Add fetch connected account job
* add featureFlag check
2024-01-08 18:24:39 +01:00
d2e8df52cf
Add doc link in env file ( #3277 )
2024-01-08 10:42:03 +01:00
ae5558d8b5
Add mail driver ( #3205 )
...
* Add node mailer packages
* Init mailer module
* Add logger transport
* Use env variable to get transport
* Revert "Add node mailer packages"
This reverts commit 3fb954f0caef94266f96ff5f08de750073ab3491.
* Add nodemailer
* Use driver pattern
* Use logger
* Fix yarn install
* Code review returns
* Add configuration examples for smtp
* Fix merge conflict
* Add missing packages
* Fix ci
2024-01-05 16:08:19 +01:00
f7034d6e7d
Embrace nx monorepo structure with root package.json ( #3255 )
...
* Upgrade to node 18.17.1 and regroup dependencies in root package.json
* Sort package.json
* Fix lint
* Migrate zapier
2024-01-05 14:59:58 +01:00
f35b40c428
Fix create trigger called twice ( #3243 )
...
* Fix create trigger called twice
* Add Zapier update action
* Add Zapier delete action
* Update description
* Add dropDown for ids
2024-01-05 11:44:47 +01:00
db46dd4497
feat: add RecordRelationFieldCardSection ( #3176 )
...
Closes #3123
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-01-05 11:02:02 +01:00
b112b74022
Feat/activities custom objects ( #3213 )
...
* WIP
* WIP - MultiObjectSearch
* WIP
* WIP
* Finished working version
* Fix
* Fixed and cleaned
* Fix
* Disabled files and emails for custom objects
* Cleaned console.log
* Fixed attachment
* Fixed
* fix lint
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-05 09:08:33 +01:00
c15e138d72
Fix nx lint setup ( #3234 )
...
* Fix nx lint setup
* Fixes
* Fixes
* Add missing metadata
Fixes
Fix
Fixes
* Fix
2024-01-04 16:39:57 +01:00
4fddafceed
Fix Event core object ( #3232 )
2024-01-04 13:40:34 +01:00
54c1d245ab
3218 make the function fetchworkspacememberthreads idempotent ( #3230 )
...
* wip
* fetch only the messages which are not in the db
* fetch only the messages and threads which are not in the db
* fix bugs
* merge
* remove eslint-plugins-twenty
* get saved message thread ids and message ids at the same time
2024-01-04 13:36:37 +01:00
8483cf0b4b
POC: chore: use Nx workspace lint rules ( #3163 )
...
* chore: use Nx workspace lint rules
Closes #3162
* Fix lint
* Fix lint on BE
* Fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-03 23:07:25 +01:00
5413513554
fix: updatedAt parameter ( #3208 )
...
* fix: updatedAt param
* lint fix
2024-01-03 19:52:10 +01:00
65250839fb
2248 zapier integration implement typeorm eventsubscribers ( #3122 )
...
* Add new queue to twenty-server
* Add triggers to zapier
* Rename webhook operation
* Use find one or fail
* Use logger
* Fix typescript templating
* Add dedicated call webhook job
* Update logging
* Fix error handling
2024-01-03 18:09:57 +01:00
4ebaacc306
3216 request a new access token for the gmail api when it expires ( #3224 )
...
* refresh access token
* refresh and save access token
* update module
* refreshing access token before fetching the emails
* remove log
2024-01-03 18:00:31 +01:00
90f89e31a6
Render on latest image ( #3223 )
...
* Update render setup to use latest images
* Update render setup to use latest images
* Fixes
* Migrate demo seeds to json
* Update plans
* Update plans
2024-01-03 16:17:35 +01:00
67fca68480
3202 fetch emails by threads ( #3214 )
...
* change fetchAllByBatches and fetchBatch to allow messages and threads to be fetched by batches
* wip
* format threads batches
* command is working
* command is working
* fix typing
* updates
2024-01-03 15:01:22 +01:00
ea06f04350
3207 fix render self deploy ( #3221 )
...
* Fix paths and commands for render deploy
* Remove breaking change
* Use twentycrm postgres image for postgres
* Fix render script
* Specify docker image version
* Fix postgres user
* Update setup command
2024-01-03 14:25:24 +01:00
526a3d7d9a
3019 timebox add typing and checks in workspacemessagingservices ( #3112 )
...
* throw error
* fetchWorkspaceMessages fetches messages and threads
* renaming
* improve typing
* improve typing and error handling
* improve typing and error handling
* improve typing and error handling
* improve fetch-batch
* fix bug
* replace return types
* imporving typing and error handling
* improve typing and error handling
* improve typing and error handling
* improve typing and error handling
* improve typing and error handling
* remove console log
2023-12-26 18:07:40 +01:00
5ef5bbdc4d
Marketing website POC ( #3139 )
...
First website POC
2023-12-23 10:08:55 +01:00
68a6250757
Bump version
2023-12-21 23:52:45 +01:00