Weiko
cafffd973f
Add Relation Metadata ( #2388 )
...
* Add Relation Metadata
* remove logs
* fix migrations
* add one-to-many relation inside entities
* fix relation
* use enum for tenant migration column action type
2023-11-08 09:39:44 +01:00
Charles Bochet
4ca4f17897
Fix boolean fieldtype case
2023-11-07 14:03:44 +01:00
martmull
0ae56b055c
Clean metadata and schema ( #2382 )
2023-11-07 12:33:54 +01:00
martmull
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
martmull
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
Jérémy M
3432615a17
fix: small tenant refactor fixes ( #2375 )
2023-11-06 15:49:06 +01:00
Jérémy M
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
Charles Bochet
b4af15467f
Fix data not loading on recordTable
2023-11-03 14:53:11 +01:00
Weiko
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
Lucas Bordeau
cf8840dfec
Fix assert not null lint warning ( #2324 )
2023-11-03 11:08:14 +01:00
bosiraphael
2abcd97c92
Fix view fields seeds ( #2300 )
...
* fix view-fields seeds
* closeDate was duplicated
2023-10-31 16:34:28 +01:00
bosiraphael
dda911fea7
Remove three old env variables ( #2297 )
...
* remove three old env variables IS_DATA_MODEL_SETTINGS_ENABLED IS_DEVELOPERS_SETTINGS_ENABLED FLEXIBLE_BACKEND_ENABLED
* Fix database:reset script
* Removing unused variable
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-31 13:15:24 +01:00
Jérémy M
80a6223d7d
feat: custom objects delete one ( #2278 )
...
* feat: custom objects delete one
* fix: delete one issue
2023-10-30 12:05:03 +01:00
Charles Bochet
d38497c46a
Refactor ObjectDataTable to work with new views system ( #2274 )
...
Complete work
2023-10-29 23:50:59 +01:00
Charles Bochet
9bab28912d
Complete Fix view work ( #2272 )
...
* Fix views
* Make view sorts and view filters functional
* Complete Company table view fix
* Fix model creation
* Start fixing board
* Complete work
2023-10-29 16:29:00 +01:00
Charles Bochet
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
Charles Bochet
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
martmull
35237c05f3
Fix cache management ( #2264 )
2023-10-27 18:20:11 +02:00
Weiko
acbcd2f162
Standard migration command ( #2236 )
...
* Add Standard Object migration commands
* rebase
* add sync-tenant-metadata command
* fix naming
* renaming command class names
* remove field deletion and use object cascade instead
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-10-27 18:08:59 +02:00
Thaïs
e488a87ce4
feat: save edited custom field ( #2245 )
...
Closes #2161
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-10-27 18:06:31 +02:00
Lucas Bordeau
14ae8da424
Fix database experience ( #2263 )
2023-10-27 17:48:06 +02:00
Thaïs
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
Weiko
53e51aad52
Add prisma metadata seeds ( #2259 )
2023-10-27 13:57:11 +02:00
Weiko
c04e866de3
Remove Metadata SoftDelete and page limit size ( #2237 )
...
* Remove Metadata SoftDelete and page limit size
* add cascade deletion
* add missing queryRunner release
2023-10-26 17:32:27 +02:00
Weiko
781a1de8f4
Fix custom object requests pending ( #2240 )
...
* Fix custom object requests pending
* fix typo
2023-10-26 12:20:03 +02:00
martmull
fc4075b372
2062 view edit an api key ( #2231 )
...
* Add query to get api keys
* Add a link to apiKey detail page
* Reset generatedApiKey when leaving page
* Simplify stuff
* Regenerate key when clicking on button
* Simplify
* Fix test
* Refetch apiKeys when delete or create one
* Add test for utils
* Create utils function
* Enable null expiration dates
* Update formatExpiration
* Fix display
* Fix noteCard
* Fix errors
* Fix reset
* Fix display
* Fix renaming
* Fix tests
* Fix ci
* Fix mocked data
* Fix test
* Update coverage requiremeents
* Rename folder
* Code review returns
* Symplify sht code
2023-10-26 11:32:44 +02:00
Thaïs
2b1945a3e1
feat: create custom object and update edited object names ( #2220 )
...
Closes #2155 , Closes #2153
2023-10-26 11:04:16 +02:00
martmull
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
Ruslan
b6e8fabbb1
chore: added .dockerignore and fixed start:prod ( #2099 ) ( #2211 )
...
added .env to .dockerignore and fixed start:prod
2023-10-24 14:41:52 +02:00
Charles Bochet
42af74eb46
Build render ( #2188 )
...
* Build for arm and amd
* Add scripts
* Add scripts
2023-10-22 23:47:43 +02:00
Charles Bochet
e67b2d23ae
Fix port missing while building pg_database_url for render
2023-10-22 12:42:52 +02:00
Ruslan
a5fe256d7e
chore: inject enviroment at the ./front deployment phase ( #2174 ) ( #2179 )
...
* chore: inject enviroment at the deployment phase (#2174 )
* Dockerfile CMD env.sh
* env.sh generates env-config.js file
* index.html imports env-config.js
* front/src/config/index.ts imports REACT_APP_SERVER_BASE_URL
* Upgrade Dockerfiles
* Add compute pg_database_url for render
* fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-22 12:36:36 +02:00
Lucas Bordeau
f1670f0cf4
Feat/metadata datatable types ( #2175 )
...
* Handled new url v2 type
* Fixed refetch queries
* wip
* Ok delete but views bug
* Fix lint
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-21 14:07:18 +02:00
Weiko
cc9ffb16ad
Add standardObject seeds ( #2140 )
...
* Add standardObject seeds
* use for of
2023-10-20 14:35:25 +02:00
Charles Bochet
14a5a91499
Fix server typescript depth error
2023-10-20 00:20:47 +02:00
Abhishek Thory
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
martmull
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
Charles Bochet
d0df7e4d3b
Update version to 0.1.5 ( #2123 )
...
* Update version to 0.1.5
* Temporariliy lower code coverage
2023-10-19 16:21:09 +02:00
Jérémy M
3e83cb6846
feat: conditional filtering & aggregation support & data ordering support ( #2107 )
...
* feat: wip
* feat: add filter on findOne
* fix: tests & small bug
* feat: add test and support aggregation
* feat: add order by support
* fix: fix comments
* fix: tests
2023-10-19 15:24:36 +02:00
bosiraphael
2b8a81a05c
Created two new env variables ( #2120 )
...
* created the two env variables
* modify according to comments
2023-10-19 14:57:16 +02:00
martmull
b904397599
Fix api keys ( #2116 )
...
* Distinguish local env variables
* Remove api token secret
2023-10-19 11:07:40 +02:00
Weiko
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
Jérémy M
c4fa36402b
feat: add default filter types ( #2087 )
...
* feat: add default filter types
* fix: fields doesn't need to be a function
2023-10-17 17:57:02 +02:00
Aasim Attia
88438e8094
apply database:init ( #2079 )
2023-10-17 16:39:48 +02:00
Weiko
1344e78acb
Remove singular/plural from field-metadata ( #2085 )
...
* Remove singular/plural from field-metadata
* revert removing id from create input
* remove console log
* remove console log
* codegen
* missing files
* fix tests
2023-10-17 15:21:58 +02:00
Jérémy M
4a96ae225e
feat: easier makefile commands ( #2077 )
...
* feat: easier makefile commands
* fix: cleaner command
2023-10-17 10:38:10 +02:00
Lucas Bordeau
d64f167b3b
Feat/front temp seed custom objects ( #2070 )
...
* wip
* Fixed bugs
* Added flexible backend test
2023-10-16 22:04:41 +02:00
Weiko
c06a8a9213
Add soft delete to metadata ( #2072 )
2023-10-16 22:04:17 +02:00
Weiko
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
brendanlaschke
0cd644266b
Add S3 endpoint env variable ( #2017 )
...
* - add s3 endpoint
* fix .lock
* new line
2023-10-15 17:36:44 +02:00