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
Charles Bochet
e72917c69c
Fix issues post merge
2023-11-17 22:59:10 +01:00
gitstart-twenty
a8b6edd4a8
chore(server): Migrate workspace ( #2530 )
...
* Migrate workspace
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Migrate workspace
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Migrate workspace to TypeORM
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Migrate workspace to TypeORM
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
2023-11-17 22:41:46 +01:00
Charles Bochet
aa2596c572
Update Seeds while pre-fi
...
lling a new workspace
2023-11-17 21:54:32 +01:00
Weiko
1deb742ac9
Add deleteOneRelation resolver ( #2569 )
2023-11-17 19:13:42 +01:00
Weiko
ed71ef67af
Add Name defaultColumn for custom objects ( #2568 )
2023-11-17 19:13:07 +01:00
bosiraphael
d481da183f
V2 opportunities ( #2565 )
...
* changed isSystem to false
* wip
* wip
* wip
* add amount viewfield seed
* seed other viewFields
* upate tenant seeds
* Remove calls to old pipelines
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-11-17 19:12:22 +01:00
Weiko
f62108d539
Add missing default values ( #2567 )
...
* add missing default values
* add missing default values
2023-11-17 19:11:25 +01:00
Weiko
4870b0ac30
Add fullName field metadata type ( #2563 )
...
* Add fullName field metadata type
* update seeds
2023-11-17 16:52:51 +01:00
Charles Bochet
f58e4263bc
Fix favorite seeds and prefill
2023-11-17 16:44:26 +01:00
Charles Bochet
baf1260443
Fix Activities and Tasks modules ( #2561 )
...
* Fix activities
* Fix Timeline
* Refactor useCreateOne and useUpdateOne records
* Fix seeds
2023-11-17 16:24:58 +01:00
Lucas Bordeau
a6d8cdb116
Fix context menu and favorites ( #2564 )
2023-11-17 16:24:43 +01:00
martmull
dea1555031
Improvements for migrations ( #2556 )
...
* Fix wrong var name
* Add is null is not null filtering on dates
* Simplify
2023-11-17 14:20:33 +01:00
Charles Bochet
e19e7a816f
Update seeds to take currency and link type into account
2023-11-17 12:01:56 +01:00
Jérémy M
b86ada6d2b
feat: rename tenant into workspace ( #2553 )
...
* feat: rename tenant into workspace
* fix: missing some files and reset not working
* fix: wrong import
* Use link in company seeds
* Use link in company seeds
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-17 11:26:33 +01:00
Weiko
bc579d64a6
Rename Money/Url to Currency/Link and remove snake_case from composite fields ( #2536 )
...
* Rename Money/Url to Currency/Link
* regenerate front types
* renaming money/url field types
* fix double text
* fix tests
* fix server tests
* fix generate-target-column-map
* fix currency convert
* fix: tests
---------
Co-authored-by: Jérémy Magrin <jeremy.magrin@gmail.com>
2023-11-17 10:31:17 +01:00
Jérémy M
e9827486c0
feat: add default value capability ( #2544 )
...
* feat: add default value capability
* feat: update seeds with default value
2023-11-16 18:25:11 +01:00
martmull
e8a1d0d6d5
Remove api keys from old world ( #2548 )
...
* Use apiKeyV2 for getApiKeys
* Use apiKeyV2 for createApiKey
* Use apiKeyV2 for getApiKey
* Use apiKeyV2 to deleteapikey
* Filter null revokedAt -> not working
* Use apiKeyV2 to regenerate
* Fix default values injected
* Remove useless stuff
* Fix type
2023-11-16 18:14:04 +01:00
bosiraphael
0ae9373532
V2 onboarding ( #2543 )
...
* fix cannot query avatarUrl
* create workspace working
* fix bugs related to refetch queries
* onboarding working
* updated dependency array
* improve error handling
* update types, remove as any, remove console logs
* small fix
2023-11-16 17:09:10 +01:00
Jérémy M
e026b2b6e9
feat: expose foreign key ( #2505 )
...
* fix: typo
* feat: expose foreign key
* fix: foreign key exposition
* fix: be able to filter by foreign key
* feat: add `isSystem` on field metadata
* feat: update all seeds
* fix: seed issues
* fix: sync metadata generated files
* fix: squash metadata migrations
* Fix conflicts
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-16 12:30:40 +01:00
brendanlaschke
e5caa7a5df
Eslint prevent duplicate import ( #2516 )
...
- eslint: prevent duplicate import
2023-11-16 12:26:43 +01:00
Weiko
ebd1ef5223
Add basic fields metadata ( #2523 )
...
* Add basic fields metadata
* add fieldmetadata dependency
* re-arrange modules
* fix
* fix seed
* set default fields nullable
* set default fields nullable
* fix tenantMigration order
* fix tenantMigration order
2023-11-15 19:21:51 +01:00
Lucas Bordeau
82142ab70e
Added working peopleV2 table ( #2527 )
2023-11-15 19:17:20 +01:00
Jérémy M
c02717c1e3
fix: schema builder use same type definitions storage across tenant ( #2525 )
2023-11-15 17:23:30 +01:00
bosiraphael
1fc3124d1e
Update favorites query and state to work with new backend ( #2520 )
...
* wip
* wip
* adding favorite works in the database
* favorites are showing in the left drawer
* update favoorite NavItem link
* wip
* adding favorite works
* everything seems to work
* fix delete bug
* fix update favorite position
* update Favorite type
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-15 16:17:50 +01:00
Charles Bochet
6129444c5c
[WIP] Whole FE migrated ( #2517 )
...
* Wip
* WIP
* Removed concole log
* Add relations to workspace init (#2511 )
* Add relations to workspace init
* remove logs
* update prefill
* add missing isSystem
* comment relation fields
* Migrate v2 core models to graphql schema (#2509 )
* migrate v2 core models to graphql schema
* Migrate to new workspace member schema
* Continue work
* migrated-main
* Finished accountOwner nested field integration on companies
* Introduce bug
* Fix
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
Co-authored-by: Weiko <corentin@twenty.com>
2023-11-15 15:46:06 +01:00
gitstart-twenty
1f49ed2acf
chore(server): convert User model to TypeORM entity ( #2499 )
...
* chore: convert basic RefreshToken model to TypeORM entity
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Fix import
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
2023-11-14 17:15:31 +01:00
Charles Bochet
01ccc13e36
Seed workspace member in workspace schema ( #2504 )
...
* Seed workspace member in workspace schema
* Fix
2023-11-14 15:48:03 +01:00
Weiko
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
gitstart-twenty
a69711429b
chore(backend): convert basic RefreshToken model to TypeORM entity ( #2401 )
...
* chore: convert basic RefreshToken model to TypeORM entity
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Fix import
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-11-14 13:09:04 +01:00
Charles Bochet
6eb4e00ce1
Migrate WorkspaceMemberSetting into WorkspaceMember ( #2501 )
2023-11-14 12:34:48 +01:00
Jérémy M
65af954671
fix: relations issues ( #2497 )
...
* fix: relations issues
one-to-one relation not working
alias should not be used on the foreignKey side
* fix: naming
2023-11-14 12:07:17 +01:00
Charles Bochet
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
Weiko
3de2fc72dc
Create Relation with Fields from both sides ( #2480 )
...
* Create relation with fields from both sides
* update metadata codegen schema
2023-11-13 17:22:15 +01:00
Charles Bochet
05dbde79cf
Add standard company table migrations ( #2484 )
2023-11-13 17:18:37 +01:00
Weiko
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
Charles Bochet
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