01ccc13e36
Seed workspace member in workspace schema ( #2504 )
...
* Seed workspace member in workspace schema
* Fix
2023-11-14 15:48:03 +01:00
7c229217be
Hide System Objects ( #2488 )
...
* Hide System Objects
* add filter isSystem: false in FIND_MANY_METADATA_OBJECTS
* add filter isSystem: false in FIND_MANY_METADATA_OBJECTS
* update generated gql
* add filter to useFindManyObjectMetadataItems
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-14 15:27:24 +01:00
6eb4e00ce1
Migrate WorkspaceMemberSetting into WorkspaceMember ( #2501 )
2023-11-14 12:34:48 +01:00
5566e6fba8
Complete all standard object migration to the new workspace schema ( #2492 )
...
* Complete all standard object migration to the new workspace schema
* Fixes
2023-11-14 10:24:36 +01:00
05dbde79cf
Add standard company table migrations ( #2484 )
2023-11-13 17:18:37 +01:00
f8a887e33e
Add is system flag to object metadata ( #2481 )
...
* Add isSystem flag to objectMetadata
* squash migrations and add dataSource->objects FK
* fix missing datasource enum type
2023-11-13 17:09:26 +01:00
9a109758c8
Migrate standard objects ( #2439 )
...
* Migrate standard objects
* Add migrations
* fix relation
* fix: register RelationMetadataType enum
* fix: correctly fix null relation
---------
Co-authored-by: corentin <corentin@twenty.com >
Co-authored-by: Jérémy Magrin <jeremy.magrin@gmail.com >
2023-11-13 16:08:27 +01:00
130a68dd26
Add relation metadata seed ( #2431 )
...
* Add relation metadata seed
* Fix
* Add filtering by relation id on server
* Fix
2023-11-10 23:53:07 +01:00
54d7acd518
Split components into object-metadata and object-record ( #2425 )
...
* Split components into object-metadata and object-record
* Fix seed
2023-11-10 15:54:32 +01:00
04c618284f
Convert metadata tables to camel_case ( #2420 )
...
* Convert metadata tables to camelcase
* refactor folder structure
* rename datasourcemetadata
* regenerate metadata schema
* rename dataSourceMetadata to dataSource
2023-11-10 15:33:25 +01:00
618513afcd
Rename fieldId and objectId into fieldMetadataId and objectMetadataId ( #2421 )
...
* Rename fieldId and objectId into fieldMetadataId and objectMetadataId
* Fix tests
2023-11-10 14:35:18 +01:00
7b9175a4a4
Revert "Convert metadata tables to camelCase" ( #2419 )
...
Revert "Convert metadata tables to camelCase (#2400 )"
This reverts commit 1cf08c797f .
2023-11-10 11:48:44 +01:00
1cf08c797f
Convert metadata tables to camelCase ( #2400 )
...
* Convert metadata tables to camelCase
* datasourcemetadataid to datasourceid
* refactor metadata folders
* fix command
* move commands out of metadata
* fix seed
* rename objectId and fieldId in objectMetadataId and fieldMetadataId in FE
* fix field-metadata
* Fix
* Fix
* remove logs
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-09 20:06:10 +01:00
fe20be8487
0.2.0 cleaning script ( #2403 )
...
* Update cleaning script to run on old schema
* Add boundaries parameter
* Stop requesting data for each workspace/table
* Stop checking same as seed if not requested
* Minor update
* Minor update
* Minor update
* Minor update
* Minor update
* Simplify result
* Simplify result
* Simplify result
* Delete updates
* Fix issues
* Update logs
* Remove throw when schema does not exist
* Remove missing table in old schema
* Remove boundaries parameter
* Remove useless trycatch
2023-11-09 12:18:09 +01:00
462c7ebdc1
0.2.0 cleaning script ( #2379 )
...
* Move question to questions folder
* Aggregate update result functions
* Use lodash to compare list of objects
* Remove favorites from tables
* Add a workspace parameter
* Move question after result log
* Improve logging
* Code review returns
* Add only lodash.isequal
2023-11-07 11:10:14 +01:00
ba69435339
0.2.0 cleaning script ( #2342 )
...
* Display maxUpdatedAt for each workspace Schema
* Factorize functions
* Add max update for public workspaces
* Merge everything in a single json
* Enrich results
* Get from proper table
* Update
* Move to proper command file
* Add a dry-run option
* Remove workspaces from database
* Fix DeleteWorkspace method
* Add new option
* Remove proper data when deleting workspace
* Minor improvements
2023-11-06 23:15:02 +01:00
1ed4965a95
feat: refactor schema builder and resolver builder ( #2215 )
...
* feat: wip refactor schema builder
* feat: wip store types and first queries generation
* feat: refactor schema-builder and resolver-builder
* fix: clean & small type fix
* fix: avoid breaking change
* fix: remove util from pg-graphql classes
* fix: required default fields
* Refactor frontend accordingly
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-03 17:16:37 +01:00
b56f6f3947
Fix seeds for local workspace and newly created workspaces ( #2333 )
...
* Update metadata/data seeds
* fix
* fix
* move seeding into a transaction
* add no-non-null-assertion
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-11-03 14:33:45 +01:00
685d342170
Migrate view field to new data model - Part 2 ( #2270 )
...
* Migrate view field to new data model
* Migrate view fields to new model
2023-10-28 19:13:48 +02:00
b591023eb3
Fix/metadata object and settings post merge ( #2269 )
...
* WIP
* WIP2
* Seed views standard objects
* Migrate views to the new data model
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2023-10-28 12:25:43 +02:00
3c6ce75606
feat: activate standard objects in New Object page ( #2232 )
...
* feat: activate standard objects in New Object page
Closes #2010 , Closes #2173
* Pagination limit = 1000
* Various fixes
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2023-10-27 15:46:29 +02:00
53e51aad52
Add prisma metadata seeds ( #2259 )
2023-10-27 13:57:11 +02:00
d61511262e
2060 create a new api key ( #2206 )
...
* Add folder for api settings
* Init create api key page
* Update create api key page
* Implement api call to create apiKey
* Add create api key mutation
* Get id when creating apiKey
* Display created Api Key
* Add delete api key button
* Remove button from InputText
* Update stuff
* Add test for ApiDetail
* Fix type
* Use recoil instead of router state
* Remane route paths
* Remove online return
* Move and test date util
* Remove useless Component
* Rename ApiKeys paths
* Rename ApiKeys files
* Add input text info testing
* Rename hooks to webhooks
* Remove console error
* Add tests to reach minimum coverage
2023-10-24 16:14:54 +02:00
08772b4456
1721/feature/drag and drop favorites ( #2097 )
...
* prisma schema updated: added index in favorite
* update abilitiy added for favorite
* update one favorite resolver added
* update on favorite mutation added
* updateFavoriteOrder added
* Draglist added in favorite
* nav item convert to div from button: because it was not working dragable with button
* changed index to position
* position added in getFavorites query
* added recoil state for favorites
* reordering updated according to new method
* Use accurate type
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-10-19 23:35:23 +02:00
e9092162e0
2049 timebox 1j zapier integration 4 define and implement a first trigger for zapier app ( #2132 )
...
* Add create company trigger
* Refactor
* Add operation in subscribe
* Add create hook api endpoint
* Add import of hook module
* Add a test for hook subscribe
* Add delete hook api endpoint
* Add delete hook test
* Add findMany hook route
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-10-19 22:48:34 +02:00
7fbef6d60d
Add Tenant initialisation service ( #2100 )
...
* Add Tenant initialisation service
* few fixes
* fix constraint
* fix tests
* update metadata json with employees and address
* add V2
* remove metadata.gql
2023-10-18 18:01:52 +02:00
d64f167b3b
Feat/front temp seed custom objects ( #2070 )
...
* wip
* Fixed bugs
* Added flexible backend test
2023-10-16 22:04:41 +02:00
525603227a
Add default db schema for seeded workspace ( #2061 )
...
* Add default db schema for seeded workspace
* fix
* add if not exists
* add metadata seeds
* use setup-db for e2e
* fix tests
2023-10-16 16:59:46 +02:00
8fbad7d3ba
1043 timebox prepare zapier integration ( #1967 )
...
* Add create api-key route
* Import module
* Remove required mutation parameter
* Fix Authentication
* Generate random key
* Update Read ApiKeyAbility handler
* Add findMany apiKey route
* Remove useless attribute
* Use signed token for apiKeys
* Authenticate with api keys
* Fix typo
* Add a test for apiKey module
* Revoke token when api key does not exist
* Handler expiresAt parameter
* Fix user passport
* Code review returns: Add API_TOKEN_SECRET
* Code review returns: Rename variable
* Code review returns: Update code style
* Update apiKey schema
* Update create token route
* Update delete token route
* Filter revoked api keys from listApiKeys
* Rename endpoint
* Set default expiry to 2 years
* Code review returns: Update comment
* Generate token after create apiKey
* Code review returns: Update env variable
* Code review returns: Move method to proper service
---------
Co-authored-by: martmull <martmull@hotmail.com >
2023-10-12 18:07:44 +02:00
77997674e5
Feat: Add "All assignees" in Task team member dropdown ( #1763 )
...
* implemented all select option FilterDropdownEntitySearchSelect and enabled it for tasks page filter
* created new filter operand IsNotNull for make a select all qraphql query, added internal state for tracking isAllEntitySelected
* used filterCurrentlyEdited to track if isAllEntitySelected is selected
* fixed filter button icon SelectAll Icon
2023-10-03 16:55:31 +02:00
a4cde44b13
feat: add cooldown to refresh token security ( #1736 )
2023-09-27 15:03:50 +02:00
26de4bab35
Chore(server): I should be able to define deal amount's currency ( #1724 )
...
I should be able to define deal amount's currency
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
2023-09-26 11:40:23 +02:00
f60c209e39
Chore(backend): Enable attaching attachments to companies and people (backend) ( #1726 )
...
Enable attaching attachments to companies and people (backend)
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
2023-09-26 11:39:13 +02:00
8c21dc8bba
Refactor fast follow on column move feature ( #1665 )
...
* Refactor fast follow on column move feature
* Fix lint
2023-09-19 16:42:11 -07:00
321488ad3c
feat: Column title menus ( #1616 )
...
* view field index to float
* gql codegen and package.json
* list implementation
* db call
* reposition logic
* lint fix
* edge case fix
* review changes
* handleColumnMove refactor
* dropdown recoil scope
* rename props
* Update server/src/database/migrations/20230727124244_add_view_fields_table/migration.sql
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-09-19 15:27:02 -07:00
549335054a
Chore: Duplicate certain user fields to workspaceMember ( #1514 )
...
* Move certain user fields to workspaceMember
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Merge main
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Update the generated GraphQL
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Update hooks
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Rework typing
* Fix tests
* Remove console logs
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-15 17:32:58 -07:00
5c7660f588
feat: create default opportunities view on workspace creation + add seed data ( #1461 )
...
Closes #1314
2023-09-06 12:05:33 +02:00
ae072b6ce5
refactor: index ViewField by viewId and key ( #1416 )
...
* refactor: index ViewField by viewId and key
Closes #1413
* refactor: rename ViewField properties
2023-09-04 10:55:03 +02:00
4aae22ab34
feat: allow adding available pre-defined table columns to views ( #1371 )
...
* feat: allow adding available pre-defined table columns to views
Closes #1360
* fix: allow creating views with the same name for the same table
* refactor: code review
- rename things
- move handleColumnVisibilityChange to useTableColumns hook
2023-08-30 11:33:21 +02:00
209e8b64d9
feat: create default views on workspace creation + add views seed ( #1313 )
...
Closes #1311
2023-08-25 21:17:28 +02:00
baf92d6d65
Chore: New standard fields on Companies ( #1276 )
...
* New standard fields on Companies
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* New standard fields on Companies
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Add requested changes
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Make some fields hidden by default
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Add minor refactors
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
---------
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
2023-08-24 17:36:12 +02:00
74ab0142c7
feat: persist view filters and sorts on Update View button click ( #1290 )
...
* feat: add viewFilters table
Closes #1121
* feat: add Update View button + Create View dropdown
Closes #1124 , #1289
* feat: add View Filter resolvers
* feat: persist view filters and sorts on Update View button click
Closes #1123
* refactor: code review
- Rename recoil selectors
- Rename filters `field` property to `key`
2023-08-23 18:20:43 +02:00
a24e1e4dc9
feat: delete views from views dropdown ( #1234 )
...
Closes #1129
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-08-16 14:27:03 -07:00
7a330b4a02
Add foreign key constraints and perform on Cascade Delete ( #1219 )
2023-08-15 11:52:23 -07:00
35ea6b5a2f
Remove activityType and Id ( #1179 )
...
* Remove activityType and Id
* Fix tests
* Fix tests
2023-08-11 17:31:54 -07:00
007e42a2e6
Re-add constraints ( #1177 )
2023-08-11 15:04:01 -07:00
285bf773de
Integrate favorites into release ( #1168 )
2023-08-10 15:42:58 -07:00
0490c6b6ea
feat: Favorites ( #1094 )
...
* Adding the favorite button
* favorites services and resolvers
* favorites schema
* favorite ability handler
* favorite module export
* front end UI
* front end graphql additions
* server ability handlers
* server resolvers and services
* css fix
* Adding the favorite button
* favorites services and resolvers
* favorites schema
* favorite ability handler
* favorite module export
* front end UI
* front end graphql additions
* server ability handlers
* server resolvers and services
* css fix
* delete favorites handler and resolver
* removed favorite from index list
* chip avatar size props
* index list additions
* UI additions for favorites functionality
* lint fixes
* graphql codegen
* UI fixes
* favorite hook addition
* moved to ~/modules
* Favorite mapping to workspaceMember
* graphql codegen
* cosmetic changes
* camel cased methods
* graphql codegen
2023-08-10 15:24:45 -07:00
fb0f9b7807
Fixes before deploy ( #1167 )
2023-08-11 00:09:52 +02:00
5300952b1a
Remove breaking change foreign key
2023-08-10 12:55:40 -07:00