Arthur EICHELBERGER
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
Jérémy M
1aa0f86724
feat: use apollo playground in debug mode ( #3295 )
2024-01-11 10:21:51 +01:00
Weiko
22047fa2bf
Fix metadata exception handler #2 ( #3357 )
2024-01-10 17:02:54 +01:00
Charles Bochet
69b558e03d
Fix bug on relation on custom object ( #3336 )
2024-01-09 17:49:05 +01:00
Weiko
6c00aa92a4
Fix capture exception for metadata and core ( #3335 )
2024-01-09 17:46:16 +01:00
bosiraphael
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
bosiraphael
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
Thaïs
0b505288f2
feat: add Relation field card feature flag ( #3311 )
...
Related to #3123
2024-01-09 12:46:03 +01:00
martmull
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
Charles Bochet
67b14824a4
Implement select v1 ( #3312 )
...
* Implement select v1
* Implement select v1
2024-01-08 20:55:45 +01:00
Weiko
ea2cb8938f
Add fetch connected account job ( #3313 )
...
* Add fetch connected account job
* add featureFlag check
2024-01-08 18:24:39 +01:00
martmull
d2e8df52cf
Add doc link in env file ( #3277 )
2024-01-08 10:42:03 +01:00
martmull
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 3fb954f0ca
.
* 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
Charles Bochet
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
martmull
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
Thaïs
db46dd4497
feat: add RecordRelationFieldCardSection ( #3176 )
...
Closes #3123
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-01-05 11:02:02 +01:00
Lucas Bordeau
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
Charles Bochet
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
Weiko
4fddafceed
Fix Event core object ( #3232 )
2024-01-04 13:40:34 +01:00
bosiraphael
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
Thaïs
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
Aditya Pimpalkar
5413513554
fix: updatedAt parameter ( #3208 )
...
* fix: updatedAt param
* lint fix
2024-01-03 19:52:10 +01:00
martmull
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
bosiraphael
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
Charles Bochet
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
bosiraphael
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
martmull
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
bosiraphael
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
Félix Malfait
5ef5bbdc4d
Marketing website POC ( #3139 )
...
First website POC
2023-12-23 10:08:55 +01:00
Charles Bochet
68a6250757
Bump version
2023-12-21 23:52:45 +01:00
Deepak Kumar
46ab88cb9c
GH-2829 Add Sentry on frontend ( #3111 )
...
* GH-2829 pass sentry dsn key from backend in ClientConfig
* GH-2829 add Sentry library on frontend
* GH-2829 fetch dsnKey in GQL and add a state
* GH-2829 initialize Sentry on frontend
* GH-2829 fix linting issues
* Update yarn.lock
* GH-2829 update graphql schema for clientConfig
* GH-2829 remove Sentry comments
* GH-2829 rename sentry state
* GH-2829 rename dsnKey to dsn
* GH-2829 refactor to use componentEffect for sentry initialization
* GH-2829 fix linting issues
* GH-2829 update Graphql types
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-21 23:50:24 +01:00
Charles Bochet
756b30815e
Fix various bugs before 0.2.2 ( #3118 )
...
* Fix various bugs before 0.2.2 release
* Additional fixes
* More fixes
* Fixes
2023-12-21 23:48:52 +01:00
Cao Z.H
794cf87b43
feat: record batch deleteMany ( #3096 )
...
feat: support record batch deleteMany
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-21 19:55:40 +01:00
Jérémy M
d532f22fbb
feat: migration can be applied on a specific schema & some enhancements ( #2998 )
...
* fix: remove old metadata seed files
* feat: wip standard to core relation
* fix: lint
* fix: merge
* fix: remove debug files
* feat: add feature flag for core object metadata
* fix: remove debug
* feat: always disable the standard core relation
* fix: missing feature flag
* fix: remove debug
* fix: feature flag doesn't seems to disable relation
* fix: delete .vscode folder, change this in another PR
* Update packages/twenty-server/src/workspace/workspace-sync-metadata/reflective-metadata.factory.ts
Co-authored-by: Weiko <corentin@twenty.com>
* Update packages/twenty-server/src/workspace/workspace-sync-metadata/reflective-metadata.factory.ts
Co-authored-by: Weiko <corentin@twenty.com>
* Update packages/twenty-server/src/workspace/workspace-sync-metadata/workspace-sync.metadata.service.ts
Co-authored-by: Weiko <corentin@twenty.com>
* fix: remove optional fields from metadata entities
* fix: renamed variable
* fix: put back CursorScalarType
* fix: delete test command
* fix: remove unused workspace standard migration command
* fix: drop core object metadata declaration
* fix: rename variable
* fix: drop creation of core datasource
* fix: remove feature flag
* fix: drop support of standard to core relations
* feat: add user email field on workspace-member standard object
* fix: update seed accordingly
* fix: missing remove command file
* fix: datasource label should remain nullable
* fix: better asserts
* Remove unused code
* Remove unused code
---------
Co-authored-by: Weiko <corentin@twenty.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-21 19:15:05 +01:00
Jérémy M
3234134a30
fix: composite type migrations not well formatted ( #3088 )
2023-12-21 19:00:33 +01:00
bosiraphael
1b7580476d
2929 fetch emails from backend and display them in the UI ( #3092 )
...
* sending mock data from the resolver
* add sql raw query to the resolver
* improve query
* fix email component css
* fix query
* css adjustments
* create hard limit for mail display
* fix display name ellipsis
* add service
* fetching email on company page is working
* graphql generate
* move queries into separate files
* add types
* renaming
* add early return
* modified according to comments
* graphql data generate
* fix bug after renaming
* fix issue with mock data
2023-12-21 18:21:07 +01:00
Weiko
e67f6873d3
Fix missing isNullable for object creation activity target ( #3109 )
2023-12-21 16:32:04 +01:00
Weiko
0d00e3d62d
send pg graphql exception to sentry + fix missing nullable for relations ( #3101 )
...
* Send pg_graphql errors to sentry
* Send pg_graphql errors to sentry
* fix
* fix
* fix
* fix relation nullable
2023-12-21 16:07:25 +01:00
brendanlaschke
c4fecb0a1a
Upload image for use in blocknote editor ( #3044 )
...
* - upload image to use in blocknote editor
- fix local-storage not in gitignore
* fix lint
* fix runtime config
add tests for body parsing notes and tasks
* lint
2023-12-20 15:16:19 +01:00
Ruslan
351dc6488c
feat(workspace-resolver): prevent deletion of demo workspaces ( #2207 ) ( #3068 )
...
* feat(workspace-resolver): prevent deletion of demo workspaces (#2207 )
* ForbiddenException instead of Error
* Optimize user and workspace deletion checks and clarify exception messages (#2207 )
- ForbiddenException messages for attempts to delete users and workspaces associated with demo accounts
2023-12-20 14:52:44 +01:00
Lucas Bordeau
d70cb23f30
Added rimraf to yarn build ( #3089 )
2023-12-20 14:50:10 +01:00
Jérémy M
d59a37129f
fix: sentry doesn't catch exceptions from flexible backend ( #3074 )
...
* fix: sentry doesn't catch exceptions from flexible backend
* fix: send remaining errors to Sentry
* fix: missing debug
* feat: use an util exception handler instead of Nest.JS class
2023-12-20 12:04:59 +01:00
martmull
ed7bd0ba26
2914 graphql api documentation ( #3065 )
...
* Remove dead code
* Create playground component
* Remove useless call to action
* Fix graphiql theme
* Fix style
* Split components
* Move headers to headers form
* Fix nodes in open-api components
* Remove useless check
* Clean code
* Fix css differences
* Keep carret when fetching schema
2023-12-20 12:01:55 +01:00
Weiko
4637a92f09
Fix queue setup ( #3075 )
...
fix bullmq setup
2023-12-19 17:12:22 +01:00
bosiraphael
5afcab4e78
3011 fill the messagerecipient table when fetching messages ( #3073 )
...
* wip
* trying to parse display names and emails
* add nodemailer mailparser
* mail parsing is working
* add personId and workspaceMemberId
* add date to messages
* Fix PR
* Run tsc on bigger machine
* Fix lint
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-19 17:08:54 +01:00
Weiko
e799c84233
Add sync driver for queue messages ( #3070 )
...
* Add sync driver for queue messages
* rename moduleRef
* use switch instead
2023-12-19 13:30:40 +01:00
Félix Malfait
fff51a2d91
Basic data enrichment ( #3023 )
...
* Add Enrich to frontend
* Naive backend implementation
* Add work email check
* Rename Enrich to Quick Action
* Refactor logic to a separate service
* Refacto to separate IntelligenceService
* Small fixes
* Missing Break statement
* Address PR comments
* Create company interface
* Improve edge case handling
* Use httpService instead of Axios
* Fix server tests
2023-12-18 15:45:30 +01:00
martmull
576492f3c0
3035 improve rest api syntax ( #3047 )
2023-12-18 13:46:21 +01:00
Deepak Kumar
2507da1b25
feat: Add feature flags to Select & Rating custom fields ( #3037 )
...
* Add feature flag key for select and rating
* Use feature flag boolean to decide if select & rating are enabled
* Enable select and rating in demo & core
2023-12-18 08:38:25 +01:00
martmull
3ac4102c3c
2915 rest api documentation ( #3020 )
...
* Init rest-api page
* Add ugly form to fetch open api schema
* Clean code
* Make the form design more acceptable
* Update doc
* Use local storage
* Update design
* Add isLoading
* Fix typo
* Fix long lines
* Code review returns
* Remove staging and local url from servers
2023-12-15 18:13:13 +01:00