1829f4d009
Switch timestamp to timestamptz ( #4696 )
...
* Switch timestamps to timestamptz
* update standard/custom objects logic to use timestamptz
* fix test
2024-03-28 22:39:41 +01:00
27fdb00d07
4586 fix workspace member feature ( #4680 )
...
* Fix import
* Handle delete workspace member consequences
* Add a patch to request deleted workspace member's userId
* Remove useless relations
* Handle delete workspace + refactor
* Add missing migration
* Fix test
* Code review returns
* Add missing operation in migration file
* Fix code review return update
* Fix workspaceMember<>ConnectedAccount relation
2024-03-28 17:59:48 +01:00
3171d0c87b
feat: address composite field ( #4492 )
...
Added new Address field input type.
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-03-28 16:50:38 +01:00
22d4af2e0c
Fix events being created for system objects ( #4694 )
...
* Fix events being created for system objects
* move the condition above to avoid unnecessary db calls
2024-03-28 16:15:14 +01:00
d687523e22
4643 create a pre hook for calendar events ( #4666 )
...
* copy message pre hook
* add CalendarQueryHookModule to workspace-pre-query-hook.module
* use CalendarChannelVisibility enum
* add calendarEvent to workspace-pre-query-hook.config
* fix pre-hook
* fix findOne prehook in config
* rename fragments
* fix import
* update findOne prehook and create can-access-calendar-event.provider
* replace provider with service
* fix type
* renaming
* remove unnecessary eslint skip
---------
Co-authored-by: Weiko <corentin@twenty.com >
2024-03-27 19:44:35 +01:00
5c40e3608b
[messaing] improve messaging import ( #4650 )
...
* [messaging] improve full-sync fetching strategy
* fix
* rebase
* fix
* fix
* fix rebase
* fix
* fix
* fix
* fix
* fix
* remove deletion
* fix setPop with memory storage
* fix pgBoss and remove unnecessary job
* fix throw
* fix
* add timeout to ongoing sync
2024-03-27 12:44:03 +01:00
9e70f5b650
Add endpoints to create and delete remote server ( #4606 )
...
* Build remote server
* Add getters
* Migrate to json inputs
* Use extendable type
* Use regex validation
* Remove acronymes
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-03-25 15:21:23 +01:00
161137e87a
Add events on Custom objects ( #4625 )
2024-03-22 20:02:00 +01:00
d876b40056
Logs show page ( #4611 )
...
* Being implementing events on the frontend
* Rename JSON to RAW JSON
* Fix handling of json field on frontend
* Log user id
* Add frontend tests
* Update packages/twenty-server/src/engine/api/graphql/workspace-query-runner/jobs/save-event-to-db.job.ts
Co-authored-by: Weiko <corentin@twenty.com >
* Move db calls to a dedicated repository
* Add server-side tests
---------
Co-authored-by: Weiko <corentin@twenty.com >
2024-03-22 14:01:16 +01:00
e5c1309e8c
feat: wip server folder structure ( #4573 )
...
* feat: wip server folder structure
* fix: merge
* fix: wrong merge
* fix: remove unused file
* fix: comment
* fix: lint
* fix: merge
* fix: remove console.log
* fix: metadata graphql arguments broken
2024-03-20 16:23:46 +01:00
da12710fe9
feat: multi-workspace (frontend) ( #4232 )
...
* select workspace component
* generateJWT mutation
* workspaces state and hooks
* requested changes
* mutation fix
* requested changes
* user workpsace delete call
* migration to drop and createt user workspace
* revert select props
* add DropdownMenu
* seperate multi-workspace dropdown as component
* Signup button displayed accurately
* update seed data for multi-workspace
* lint fix
* lint fix
* css fix
* lint fix
* state fix
* isDefined check
* refactor
* add default workspace constants for logo and name
* update migration
* lint fix
* isInviteMode check on sign-in/up
* removeWorkspaceMember mutation
* import fixes
* prop name fix
* backfill migration
* handle edge cases
* refactor
* remove migration query
* delete user on no-workspace found condition
* emit workspaceMember.deleted
* Fix event class and unrelated fix linked to a previously missing dependency
* Edit migration (I did it in prod manually)
* Revert changes
* Fix tests
* Fix conflicts
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
2024-03-20 14:43:41 +01:00
4bfb90657f
Add JSON field type and Event object ( #4566 )
...
* Add JSON field type and Event object
* Simplify code
* Adress PR comments and add featureFlag
2024-03-19 21:54:08 +01:00
e579554d47
Add getters factory for attachements ( #4567 )
...
* Add getter factory for attachements
* Override guard in test
* Add secret in env variables
* Return custom message on expiration
* Rename to signPayload
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-03-19 16:39:53 +01:00
bdbd77c696
Cleanup default values and leftover methods in environmentService ( #4550 )
...
* Cleanup default values and leftover methods in environmentService
* Adress remainings configService calls
2024-03-18 17:09:39 +01:00
2c09096edd
Refactor backend folder structure ( #4505 )
...
* Refactor backend folder structure
Co-authored-by: Charles Bochet <charles@twenty.com >
* fix tests
* fix
* move yoga hooks
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-03-15 18:37:09 +01:00