Ruslan
fd9467c54d
feat: Add seed people and companies data for demo environment ( #2207 ) ( #2307 )
...
* feat: seed companies and people data
* init DataSeedDemoWorkspaceCommand to handle:
- seedCoreSchema()
- seedMetadataSchema()
* feature: Seed workspace with demo data
- delete workspace
- initDemo() with prefillWorkspaceWithDemoObjects()
* added companies-demo.ts with data
* added people-demo.ts with data
* added workspaceId to seedFeatureFlags()
* delete previous CoreSchema before seedCoreSchema
* added workspaceMemberPrefillData
* getDemoWorkspaces() to get DEMO_WORKSPACES from config
* defined DemoSeedUserIds
- created core/demo/ to keep modified seedCoreSchema() there
- DemoSeedUserIds with new set of users and Ids
* generateOpportunities() to seed demo opportunities (limit = 50)
* Code review and fixes
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-02 18:37:45 +01:00
martmull
97f154ef2c
Add rest api ( #2757 )
...
* Add a wildcard get route
* Call api from api
* Add a query formatter
* Use headers to authenticate
* Handle findMany query
* Add limit, orderBy and lastCursor parameters
* Add filter parameters
* Remove singular object name from valid requests
* Update order_by format
* Add depth parameter
* Make /api/objects/ID requests work
* Fix filter
* Add INTERNAL_SERVER_URL env variable
* Remove useless comment
* Change bath api url to 'rest'
* Fix limit parser
* Handle full filter version
* Improve handle full filter version
* Continue rest api
* Add and(...) default behaviour on filters
* Add tests
* Handle 'not' conjunction for filters
* Check filter query
* Format values with field metadata item type
* Handle nested filtering
* Update parsing method
* Check nested fields
* Add delete query
* Add create query
* Rename methods
* Add update query
* Update get one object request
* Fix error handling
* Code review returns
2023-12-01 16:26:39 +01:00
Mahendra Kumar
f405b77cea
add message queue integration ( #2491 )
2023-12-01 16:09:04 +01:00
Jérémy M
474db1e142
fix: nested relations not working and relations not prefixed ( #2782 )
...
* fix: nested relations n+n
* fix: prefix custom relations
* fix: only apply targetColumnMap when it's a custom object
* fix: force workspaceId to be provided
* fix: toIsCustom -> isToCustom
* fix: remove console.log
2023-12-01 15:26:48 +01:00
Jérémy M
6e6f0af26e
feat: Adding support for new FieldMetadataType with Postgres enums ( #2674 )
...
* feat: add enum type (RATING, SELECT, MULTI_SELECT)
feat: wip enum type
feat: try to alter enum
feat: wip enum
feat: wip enum
feat: schema-builder can handle enum
fix: return default value in field metadata response
* fix: create fieldMedata with options
* fix: lint issues
* fix: rename abstract factory
* feat: drop `PHONE` and `EMAIL` fieldMetadata types
* feat: drop `VARCHAR` fieldMetadata type and rely on `TEXT`
* Revert "feat: drop `PHONE` and `EMAIL` fieldMetadata types"
This reverts commit 3857539f7d
.
2023-11-30 15:24:26 +01:00
gitstart-twenty
1822370389
feat: add missing updateMany and deleteMany resolvers on flexible backend ( #2758 )
...
* feat: add missing updateMany and deleteMany resolvers on flexible backend
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Update return types for `createMany`, `updateMany` and `deleteMany`
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-11-30 13:13:08 +01:00
Charles Bochet
8548d11126
Release 0.2.0 ( #2777 )
2023-11-30 12:51:07 +01:00
brendanlaschke
7e454d2013
Attachments ( #2716 )
...
* create attachment site
* add deletion
* - fix person create attachment
* - add presentation type
- add some more file endings
- various fixes
2023-11-29 16:58:58 +01:00
bosiraphael
04c7c1a334
Feature flags seeds, queries and hooks ( #2769 )
...
* seed is working
* allow graphql to retrieve feature flag data
* create useIsFeatureEnabled hook
* hook is working
* Update icons.ts
2023-11-29 16:40:44 +01:00
bosiraphael
18d30c45c4
Create feature flag table ( #2752 )
...
* feature flag working
* wip
* wip
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-28 20:19:39 +01:00
Félix Malfait
aeccc87ac5
Yarn upgrade ( #2749 )
...
* yarn upgrade front and docs
* upgrade yarn server
* Revert change not needed
2023-11-28 16:48:02 +01:00
Mohit Singh
875ba31a0a
refactor:Style "loading more" rows on tables (Issue #2498 ) ( #2717 )
2023-11-27 11:12:59 +01:00
Weiko
65aa91c774
Allow field/object update if name/label are similar values ( #2709 )
2023-11-24 21:25:48 +01:00
martmull
cefac8435b
Fix limit pagination ( #2692 )
...
* Fix limit parameter
* Increaze max_row for each workspaces
2023-11-24 17:02:41 +01:00
Jérémy M
2b597d817c
fix: empty string as default value for string types ( #2691 )
...
* fix: empty string as default value for string types
* Fixes
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-24 16:30:28 +01:00
Weiko
323c69948c
Fix check identical nameSingular/namePlural ( #2689 )
2023-11-24 11:30:22 +01:00
Weiko
cc526517b3
Add viewField creation to fieldMetadata creation service ( #2685 )
...
* Add viewField creation to fieldMetadata creation service
* fix reduce with no initial value
2023-11-24 10:02:37 +01:00
Weiko
c395955f12
Fix activity creation ( #2686 )
2023-11-24 10:01:29 +01:00
Weiko
851ce73609
Fix company update with accountOwner ( #2687 )
2023-11-24 10:00:45 +01:00
Charles Bochet
2d0f63219f
Fix workspace prefill and remove user allowImpersonation Boolean
2023-11-24 00:07:15 +01:00
Weiko
5038c36df4
Update seed default values ( #2681 )
...
* Update seed default values
* Update seed default values
* Update seed default values
* remove allowImpersonation in workspaceMembers
* remove USD from currencyCode defaultValue
* fix tests
2023-11-23 23:30:53 +01:00
Weiko
c795db33b2
Add activityTarget relation after custom object creation ( #2670 )
...
* Add activityTarget relation after custom object creation
* add isCustom check for relations
2023-11-23 16:26:33 +01:00
Charles Bochet
72421a39ea
Fix Activity Picker part 1 ( #2678 )
...
* Fix Activity Picker part 1
* Fix
2023-11-23 16:25:13 +01:00
Jérémy M
0da1a98021
fix: wrong file name ( #2676 )
2023-11-23 15:31:09 +01:00
martmull
59e53ba72d
Fix microAmount ( #2654 )
...
* Fix microAmount
* Code review returns
* Parse currency values as string
* Jeremy's returns
* fix: scalars not properly implemented
* fix: filters not working on big float scalar
---------
Co-authored-by: Jérémy Magrin <jeremy.magrin@gmail.com>
2023-11-23 15:26:59 +01:00
bosiraphael
8454dfc345
First generated viewField is now name ( #2671 )
...
fix-first-generated-viewField
2023-11-23 14:50:56 +01:00
Charles Bochet
9dabe44d0f
Fix KeyboardShortcut menu, person upload picture ( #2669 )
...
* Fix KeyboardShortcut menu, person upload picture
* Fixes
2023-11-23 13:44:54 +01:00
Charles Bochet
9c4f402102
Fix token cookie not being peristed on browser reboot ( #2667 )
2023-11-23 12:16:20 +01:00
Lucas Bordeau
01172d44dd
Fix/boolean field v2 ( #2664 )
...
* wip
* Revert "wip"
This reverts commit 517d460f6c
.
2023-11-23 11:35:32 +01:00
Charles Bochet
ec3cfe6fdb
Add back pickers on all pages, fix command menu ( #2662 )
...
* Add back pickers on all pages, fix command menu
* Fix lint
2023-11-22 22:32:25 +01:00
RobertoSimonini1
7eea150d16
remove unused packages:server ( #2650 )
2023-11-22 17:33:56 +01:00
Weiko
0fd823af21
Allow isActive to be updated for standard objects ( #2651 )
...
* Allow isActive to be updated for standard objects
* Allow isActive to be updated for standard objects/fields
2023-11-22 17:17:13 +01:00
Weiko
ccaa96bc58
Fix workspace/user deletion ( #2648 )
...
* Fix workspace/user deletion
* remove logs
* add defaultWorkspace check
2023-11-22 17:12:46 +01:00
Jérémy M
4c1c6a3407
fix: can't create fields of type UUID ( #2642 )
2023-11-22 14:58:13 +01:00
Jérémy M
5c8c141556
feat: workspace cache version instead of event emitter ( #2637 )
2023-11-22 14:51:26 +01:00
Weiko
a6abe09163
Move Impersonate from User to Workspace ( #2630 )
...
* Fix impersonate
* align core typeorm config with metadata config + add allowImpersonation to workspace
* move allowImpersonation to workspace
* remove allowImpersonation from workspaceMember workspace table
2023-11-22 14:12:39 +01:00
martmull
4a0e0ee386
Fix view seeds ( #2638 )
2023-11-22 12:29:44 +01:00
Charles Bochet
8f623ceb5c
Fix bug favorite optimistic rendering and opportunity prefill ( #2633 )
...
* Fix bug favorite optimistic rendering and opportunity prefill
* Fixes
2023-11-22 11:43:40 +01:00
Lucas Bordeau
a67199e0c3
Fix Tasks and Activities - Part 1 ( #2624 )
...
Fixed
2023-11-21 23:29:40 +01:00
Weiko
c74bde28b8
Add identifier fields to ObjectMetadata ( #2616 )
...
* Add indentifier fields to ObjectMetadata
* Add indentifier fields to ObjectMetadata
* Add indentifier fields to ObjectMetadata
* temporarily block name/label edition
2023-11-21 18:41:48 +01:00
Jérémy M
dd125ddfcc
feat: add memory cache to boost performance ( #2620 )
...
* feat: add memory cache to boost performance
* fix: tests
* fix: logging
* fix: missing commented stuff
2023-11-21 18:29:31 +01:00
bosiraphael
ad8331aa89
Board V2 - Part 1 ( #2619 )
...
* improve useComputeDefinitionsFromFieldMetadata to prevent infinit loops
* fix viewFields
* improve initial seeding
* fix height 100%
* fix filters and sorts
* allow filter on currency
* remove probability from filter
* fix opportunities count
* fix persist filters and sorts
2023-11-21 18:01:30 +01:00
Weiko
6f4a952381
Add [from/to]Description to CreateRelationInput ( #2613 )
2023-11-21 11:38:27 +01:00
Weiko
a33d4c8b8d
Rename DATE to DATETIME ( #2576 )
...
* Rename DATE to DATETIME
* rename DATE to DATE_TIME
* fix server tests
* rename date to datetime
* rename date to datetime
2023-11-21 00:16:42 +01:00
Charles Bochet
0ace17df82
Fix linter and remove console logs
2023-11-20 16:54:51 +01:00
Lucas Bordeau
189586830e
Refactored useFindOneObjectMetadataItem and useFindManyObjectMetadataItems ( #2600 )
...
* Refactored useFindOneObjectMetadataItem and useFindManyObjectMetadataItems to rely on a recoil family selector
* Removed console.log
* Cleaned
* Removed unused hook
* Fixed seeds
2023-11-20 16:34:06 +01:00
Jérémy M
3ad30a0498
fix: not able to filter by nullable values ( #2580 )
...
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-20 15:46:20 +01:00
martmull
eb64baa62e
Fix api Keys ( #2583 )
2023-11-20 10:57:08 +01:00
Charles Bochet
f5e1d7825a
Removing Prisma and Grapql-nestjs-prisma resolvers ( #2574 )
...
* Some cleaning
* Fix seeds
* Fix all sign in, sign up flow and apiKey optimistic rendering
* Fix
2023-11-19 18:25:47 +01:00
Thaïs
18dac1a2b6
feat: add Relation field form ( #2572 )
...
* feat: add useCreateOneRelationMetadata and useRelationMetadata
Closes #2423
* feat: add Relation field form
Closes #2003
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-17 23:38:39 +01:00