Thomas Trompette
b1eb0577bc
Build cron for data seed demo ( #4142 )
...
* Migrate command to cron
* Put back command using job as well
* Build service and module + move into folder
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com>
2024-02-24 12:30:12 +01:00
bosiraphael
06c4665a44
4150 i should be able to view my emails even if ive set my account visibility to metadata ( #4156 )
...
* improve timeline messaging to allow users to view the threads to which they participated
* working
* improvement
* improvements
* improvements
* fix
* remove unnecessary type
2024-02-23 17:07:49 +01:00
bosiraphael
35a2178cde
4020 timebox improve performances on messages read ( #4140 )
...
* adding console.time to monitor queries time
* improve query by removing unnecessary JOIN
* improve queries by removing unnecessary JOINs
* improve queries by removing unnecessary JOINs
* remove console.time
* remove logs
* use groupBy from lodash
* modify SELECT
* Revert "use groupBy from lodash"
This reverts commit 852fd3c193
.
* use WorkspaceDataSourceModule
2024-02-23 10:18:16 +01:00
Thomas Trompette
67e27a69ff
Handle relations between same objects ( #4137 )
...
* Handle relations between same objects
* Simplify conditions
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com>
2024-02-23 09:51:42 +01:00
martmull
679456e819
46 add stripe product endpoint ( #4133 )
...
* Add self billing feature flag
* Add two core tables for billing
* Remove useless imports
* Remove graphql decorators
* Rename subscriptionProduct table
* WIP: Add stripe config
* Add controller to get product prices
* Add billing service
* Remove unecessary package
* Simplify stripe service
* Code review returns
* Use nestjs param
* Rename subscription to basePlan
* Rename env variable
2024-02-22 20:11:26 +01:00
Weiko
d5e8844521
Fix referential_constraints health check ( #4139 )
2024-02-22 16:33:19 +01:00
Weiko
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
bosiraphael
4e798ba2a3
3933 filter non work email from auto contact creation ( #4131 )
...
* use isWorkEmail
* working
* improvement
* Refactor lodash import in create-companies-and-contacts.service.ts
* refactor lodash import
2024-02-22 15:25:14 +01:00
Charles Bochet
fa02a478a5
Fix server import case
2024-02-22 11:51:18 +01:00
Weiko
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
Jérémy M
e69c462b70
feat: allow backend to rename field of custom object ( #4097 )
...
* feat: allow backend to rename field of custom object
* feat: allow custom field label edition in Settings
Closes #4080
* fix: avoid renaming standard fields
---------
Co-authored-by: Thaïs Guigon <guigon.thais@gmail.com>
2024-02-21 18:59:51 +01:00
martmull
d4fac2ea70
45 create billing core tables ( #4096 )
...
* Add self billing feature flag
* Add two core tables for billing
* Remove useless imports
* Remove graphql decorators
* Rename subscriptionProduct table
2024-02-21 18:17:09 +01:00
Thomas Trompette
161d02620a
Fix developers url and remove webhook url error ( #4120 )
...
Fix developers url + remove webhook url error
Co-authored-by: Thomas Trompette <thomast@twenty.com>
2024-02-21 16:25:35 +01:00
Jérémy M
e3e940327e
fix: workspace health undefined relation ( #4107 )
2024-02-21 15:36:18 +01:00
bosiraphael
ee7c1fbf5c
4008 dont create a contact company if it matches the persons domain ( #4088 )
...
* Add SettingsAccountsEmailsBlocklistInput story
* prevent contact creation from the same company
* add todo
* improvements
* Delete packages/twenty-front/src/modules/settings/accounts/components/__stories__/SettingsAccountsEmailsBlocklistInput.stories.tsx
* refactor
* modify after review
* improve code
* create utils
* fix
* Fix getAllByWorkspaceId to throw NotFoundException when no workspace member found
* fix after merge
* use map
* modify after review
2024-02-21 13:22:01 +01:00
Thaïs
11581ca9c3
feat: create Settings/Accounts/Calendars page ( #4090 )
...
* feat: create Settings/Accounts/Calendars page
Closes #4059
* docs: add SettingsAccountsCalendars stories
* refactor: add SettingsNavigationDrawerItem component
2024-02-20 19:28:15 +01:00
Charles Bochet
4552e98b7f
Fix workspace enum migration bug
2024-02-20 18:48:10 +01:00
Jérémy M
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
Weiko
8c46e66cf5
Fix delete with no result should not throw ( #4091 )
...
* Fix delete with no result should not throw
* add logs
* Delete packages/twenty-server/src/database/typeorm/metadata/migrations/1708442904165-addOnDeleteActionToRelationMetadata.ts
2024-02-20 17:27:31 +01:00
Jérémy M
22e8a3ba77
fix: unwanted comment on graphQL input ( #4071 )
2024-02-20 16:13:18 +01:00
Aditya Pimpalkar
9d9ba97fb7
feat: REST endpoints for metadata API ( #3912 )
...
* parse metadata path
* metadata rest api
* add queryAction condition and return object singular/plural
* handle GET endpoint for metadata
* FindOne and FindMany query for metadata endpoint
* Request all objects and nest fields in object request
---------
Co-authored-by: martmull <martmull@hotmail.fr>
2024-02-20 15:17:41 +01:00
Thaïs
ec20117e80
chore: make twenty-server nest command scripts depend on twenty-email… ( #4055 )
...
chore: make twenty-server nest command scripts depend on twenty-emails build
Closes #4013
2024-02-20 14:35:09 +01:00
bosiraphael
09783912f3
4008 dont create a contact company if it matches the persons domain ( #4057 )
...
* Add SettingsAccountsEmailsBlocklistInput story
* prevent contact creation from the same company
* add todo
* improvements
* Delete packages/twenty-front/src/modules/settings/accounts/components/__stories__/SettingsAccountsEmailsBlocklistInput.stories.tsx
* refactor
* modify after review
* improve code
2024-02-19 18:46:49 +01:00
bosiraphael
e34e341ddc
3938 change email auto import to contact ive sent email to ( #3995 )
...
* done
* working
* wip
* merge main
* almost done
* improvement
2024-02-19 17:29:38 +01:00
Jérémy M
2f9e503a8b
fix: ignore enum options sync for now ( #4056 )
2024-02-19 17:29:30 +01:00
Jérémy M
e293abe332
Fix/workspace health type ( #4053 )
...
* fix: memory issue with truncate command
* fix: LINK doesn't have any default value
* fix: Cannot convert LINK to column type.
* fix: handle old column type and add a warn to fix them manually
2024-02-19 17:28:40 +01:00
Charles Bochet
ba050cd33d
Release 0.3.1 ( #4031 )
2024-02-16 20:11:38 +01:00
martmull
0ee512a983
3959 create a activationstatus in coreworkspace and use it in front to redirect properly ( #3989 )
...
* Add computed field to workspace entity
* Add activationStatus to front requests
* Update Selector
* Use activation status
* Stop using selector for mock values
* Remove isCurrentWorkspaceActiveSelector
* Use activation status
* Fix typo
* Use activation status
* Create hook for sign in up navigate
* Update hook to handle profile creation
* Use varaible
* Use more readable boolean function
2024-02-16 16:00:39 +01:00
Charles Bochet
6f2b0f2068
Resolve bugs tied to record creations on table ( #4011 )
...
* Resolve bugs tied to record creations on table
* Fix according to PR
* Fix tests
2024-02-16 15:03:57 +01:00
brendanlaschke
595b2f9e6f
Webhook Docs ( #3966 )
...
* add webhook docs, openapi v3.1, stoplight v8
* *.*
2024-02-16 15:01:37 +01:00
brendanlaschke
547145389c
Docs include field description ( #3973 )
...
- include field description
2024-02-16 14:38:39 +01:00
Charles Bochet
a5ecbf7df5
Integrations: design fixes and remove feature flag ( #4003 )
...
* Integrations: design fixes and remove feature flag
* Fix
2024-02-16 13:35:45 +01:00
Weiko
8e3723b88e
Fix update on delete record ( #3996 )
2024-02-16 13:08:24 +01:00
Jérémy M
44ac16c82e
fix: impact too many records ( #3993 )
...
* fix: impact too many records
* fix: change env name
* fix: remove env name from error
2024-02-16 11:17:37 +01:00
Jérémy M
c2c14d79a9
fix: workspace cache version ( #3999 )
2024-02-16 11:06:51 +01:00
Jérémy M
f47159d84d
fix: invalidate cache when no record inside workspace cache version ( #3994 )
...
* fix: invalidate cache when no record inside workspace cache version
* fix: use getVersion
2024-02-16 10:37:25 +01:00
Jérémy M
34d02cf4ed
feat: add default value for some type of fields ( #3991 )
...
feat: add default value for some kind of fields
2024-02-16 10:34:42 +01:00
Jérémy M
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
bosiraphael
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
Weiko
4b3eeac333
[messaging] add defaultValue to isContactAutoCreationEnabled ( #3992 )
2024-02-15 16:42:03 +01:00
Weiko
62058dd0e9
[worker] add more logs to queue-worker ( #3982 )
2024-02-14 21:28:17 +01:00
Weiko
49cc01d7d8
[messaging] fix add messageParticipant not in a transaction ( #3981 )
2024-02-14 19:28:25 +01:00
Weiko
2055f64acd
fix CreateCompaniesAndContactsAfterSyncJobData import ( #3979 )
2024-02-14 18:58:49 +01:00
bosiraphael
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
Weiko
0b2ffb0ee6
add rimraf to server dependencies ( #3977 )
2024-02-14 16:56:37 +01:00
bosiraphael
7d80610428
3814 create blocklist data model ( #3927 )
...
* wip
* wip
* wip
* working
2024-02-14 16:38:16 +01:00
Kanav Arora
7b88e5bdaf
3865-Add-Integrations ( #3870 )
...
* initial commit setup
* ui done
* added links
* changed brand logos
* Twenty logo fix
* Windmill logo fix
* Fix typo
* Add feature flag
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2024-02-13 23:11:05 +01:00
Thaïs
e011ecbd6f
POC: generate twenty-server package.json with Nx ( #3654 )
...
* POC: generate twenty-server package.json with Nx
* Re-add passport
* Fix instal
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2024-02-13 22:16:21 +01:00
Weiko
1afe8aecd0
Fix missing feature flag on messaging listeners ( #3952 )
...
* Fix missing feature flag on messaging listeners
* Update workspace-query-runner.service.ts
2024-02-13 20:23:09 +01:00
Jérémy M
8ce7020b12
feat: sync metadata can alter and update a field ( #3944 )
2024-02-13 19:36:58 +01:00