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
Jérémy M
4e993316a6
feat: conditional schema based on column map instead of column field ( #1978 )
...
* feat: wip conditional schema based on column map instead of column field
* feat: conditionalSchema columnMap and singular plural
* fix: remove uuid fix
* feat: add name and label (singular/plural) drop old tableColumnName
2023-10-12 18:28:27 +02:00
Weiko
ca492808cf
Add metadata query resolvers ( #1929 )
...
* Add metadata queries resolvers
* remove hello field
* fix linter
2023-10-09 22:54:14 +02:00
Jérémy M
629bdbbf50
feat: dynamic graphQL schema generation based on user workspace ( #1725 )
...
* wip: refacto and start creating custom resolver
* feat: findMany & findUnique of a custom entity
* feat: wip pagination
* feat: initial metadata migration
* feat: universal findAll with pagination
* fix: clean small stuff in pagination
* fix: test
* fix: miss file
* feat: rename custom into universal
* feat: create metadata schema in default database
* Multi-tenant db schemas POC
fix tests and use query builders
remove synchronize
restore updatedAt
remove unnecessary import
use queryRunner
fix camelcase
add migrations for standard objects
Multi-tenant db schemas POC
fix tests and use query builders
remove synchronize
restore updatedAt
remove unnecessary import
use queryRunner
fix camelcase
add migrations for standard objects
poc: conditional schema at runtime
wip: try to create resolver in Nest.JS context
fix
* feat: wip add pg_graphql
* feat: setup pg_graphql during database init
* wip: dynamic resolver
* poc: dynamic resolver and query using pg_graphql
* feat: pg_graphql use ARG in Dockerfile
* feat: clean findMany & findOne dynamic resolver
* feat: get correct schema based on access token
* fix: remove old file
* fix: tests
* fix: better comment
* fix: e2e test not working, error format change due to yoga
* remove typeorm entity generation + fix jwt + fix search_path + remove anon
* fix conflict
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
Co-authored-by: corentin <corentin@twenty.com>
2023-09-28 16:27:34 +02:00
Jérémy M
b1171e22a3
feat: add findAll and findUnique resolver for universal objects ( #1576 )
...
* wip: refacto and start creating custom resolver
* feat: findMany & findUnique of a custom entity
* feat: wip pagination
* feat: initial metadata migration
* feat: universal findAll with pagination
* fix: clean small stuff in pagination
* fix: test
* fix: miss file
* feat: rename custom into universal
* feat: create metadata schema in default database
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-20 17:24:13 -07:00
Aditya Pimpalkar
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
Weiko
ec90c77ec1
Refactor tenant ORM integration ( #1650 )
...
* Refactor tenant ORM integration
* fix tests
2023-09-19 17:58:28 +02:00
Charles Bochet
dba6f93826
Fix tests server
2023-09-17 08:41:46 -07:00
Anik Dhabal Babu
84eaa45027
fix: Migrate all rules from eslint-plugin-twenty to eslint-plugin-twenty-ts ( #1618 )
...
* migrate rules
* fix
* final
* final
2023-09-17 08:13:05 -07:00
Weiko
d98ddc3dbe
multi tenant schemas poc ( #1569 )
...
* Multi-tenant db schemas POC
* fix tests and use query builders
* remove synchronize
* restore updatedAt
* remove unnecessary import
* use queryRunner
* fix camelcase
* add migrations for standard objects
* Multi-tenant db schemas POC
* fix tests and use query builders
* remove synchronize
* restore updatedAt
* remove unnecessary import
* use queryRunner
* fix camelcase
* add migrations for standard objects
* add metadata
* add comments
* remove migrations for now
* do not allow connection to public schema for non-remote workspace connection
* rename getLastDataSourceMetadataFromWorkspaceIdOrFail
* remove schema creation
* remove module import
2023-09-14 14:39:37 +02:00
brendanlaschke
35bcef5090
Add Sentry for Backend ( #1403 )
...
* - added sentry
* - renamed env var
* - logger driver
* - add breadcrumb and category
* - fix driver
2023-09-11 12:22:30 -07:00
dependabot[bot]
77d356f78a
Bump file-type from 13.0.0 to 16.5.4 in /server ( #1105 )
...
Bumps [file-type](https://github.com/sindresorhus/file-type ) from 13.0.0 to 16.5.4.
- [Release notes](https://github.com/sindresorhus/file-type/releases )
- [Commits](https://github.com/sindresorhus/file-type/compare/v13.0.0...v16.5.4 )
---
updated-dependencies:
- dependency-name: file-type
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 14:15:07 -07:00
Jérémy M
f111440e00
feat: implement user impersonation feature ( #976 )
...
* feat: wip impersonate user
* feat: add ability to impersonate an user
* fix: remove console.log
* fix: unused import
2023-07-31 15:47:29 -07:00
Jérémy M
157e5b9a2e
feat: implement e2e test for CompanyResolver ( #944 )
...
* feat: wip e2e server test
* feat: use github action postgres & use infra for local
* feat: company e2e test
* feat: add company e2e test for permissions
* Simplify server e2e test run
* Fix lint
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-27 09:48:40 -07:00
Jérémy M
e90f44bbfb
feat: increase upload size limit ( #962 )
2023-07-27 09:07:38 -07:00
Jérémy M
58530be78b
feat: upload profile picture from google ( #964 )
...
* feat: upload profile picture from google
* fix: only add profile picture if user don't have any
2023-07-27 09:06:50 -07:00
Jérémy M
51cfc0d82c
feat: refactoring casl permission checks for recursive nested operations ( #778 )
...
* feat: nested casl abilities
* fix: remove unused packages
* Fixes
* Fix createMany broken
* Fix lint
* Fix lint
* Fix lint
* Fix lint
* Fixes
* Fix CommentThread
* Fix bugs
* Fix lint
* Fix bugs
* Fixed auto routing
* Fixed app path
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-07-25 16:37:22 -07:00
Jérémy M
ce3e023a00
feat: server lint import & order ( #750 )
2023-07-19 14:01:32 +02:00
Jérémy M
1144bd13ed
feat: onboarding & profile edition ( #507 )
...
* feat: wip onboarding
* fix: generate graphql front
* wip: onboarding
* feat: login/register and edit profile
* fix: unused import
* fix: test
* Use DEBUG_MODE instead of STAGE and mute typescript depth exceed errors
* Fix seeds
* Fix onboarding when coming from google
* Fix
* Fix lint
* Fix ci
* Fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-06 17:05:15 -07:00
Jérémy M
6fc416da76
fix: displayName return undefined and drop displayName from user table ( #505 )
2023-07-04 20:08:15 +02:00
Jérémy M
5e1fc1ad11
feat: upload module ( #486 )
...
* feat: wip upload module
* feat: local storage and serve local images
* feat: protect against injections
* feat: server local and s3 files
* fix: use storage location when serving local files
* feat: cross field env validation
2023-07-04 14:02:44 +00:00
Jérémy M
cca36cf50f
fix: rename event module into analytics and clean ( #482 )
2023-06-30 09:24:05 +00:00
Jérémy M
433962321a
feat: onboarding ui flow ( #464 )
...
* feat: onboarding ui flow
* fix: route naming and auth
* fix: clean unused imports
* fix: remove react.fc
* fix: infra dev remove package.json
* fix: remove usefull memoization
* fix: button stories
* fix: use type instead of interface
* fix: remove debug
2023-06-30 06:26:06 +00:00
Félix Malfait
eb7fb2ba8e
Add Telemetry ( #466 )
...
* Telemetry v1
* Add package-lock.json to gitignore
2023-06-29 17:36:48 -07:00
Jérémy M
ca283a2196
feat: prisma typed select ( #347 )
...
* feat: wip prisma gql select
* feat: stronger api using decorator
* feat: add PrismaSelect everywhere
* fix: remove unused
* fix: remove seed debug
2023-06-22 11:17:31 +02:00
Jérémy M
b179d1f1f0
feat: wip casl policies ( #334 )
...
* feat: wip casl policies
* feat: add ability guard on pipeline resolvers
* fix: test
2023-06-20 19:31:11 -07:00
Jérémy M
299ca293a8
feat: refactoring auth & add email password login ( #318 )
...
* feat: wip
* fix: issues
* feat: clean controllers and services
* fix: test
* Fix auth
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-06-17 13:42:02 +02:00
Jérémy M
2cd081234f
chore: refacto NestJS in modules ( #308 )
...
* chore: wip refacto in modules
* fix: rollback port
* fix: jwt guard in wrong folder
* chore: rename folder exception-filter in filters
* fix: tests are running
* fix: excessive stack depth comparing types
* fix: auth issue
* chore: move createUser in UserService
* fix: test
* fix: guards
* fix: jwt guard don't handle falsy user
2023-06-16 10:38:11 +02:00
Charles Bochet
2a1804c153
Update graphql schema and upgrade yarn lock files ( #296 )
...
* Update graphql schema
2023-06-14 18:30:24 +02:00
Félix Malfait
31f3950439
Add a custom rule to prevent colors from being hardcoded outside of theme ( #288 )
...
* Add a custom rule to prevent colors from being hardcoded in ESLint
* Refactor colors
* Create packages folder and fix colors
* Remove external dependency for css alphabetical order linting
* Fix install with yarn
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-06-14 16:56:29 +02:00