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
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
Aasim Attia
88438e8094
apply database:init ( #2079 )
2023-10-17 16:39:48 +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
Charles Bochet
77729e4d4b
Update installation doc ( #2019 )
...
* Update installation doc
* Update install scripts
* Update install scripts
2023-10-14 13:43:45 +02:00
Ruslan
77c88bda6e
Fix bug where "metadata" scheme was not created automatically ( #1971 ) and ( #1831 ) ( #2018 )
...
* Fix bug where "metadata" scheme was not created automatically (#1971 )
* logging on
* testing on render
* render upadte
* added setup-db.ts and updated package.json
2023-10-14 11:48:55 +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
7e8e3ac1de
fix: typeorm migration datasource directory change ( #1848 )
2023-10-03 17:44:58 +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
Weiko
19365f6639
Add metadata migration setup ( #1674 )
...
* Add metadata migration setup
* add migration generator
* fix missing 'mocks'
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-09-20 17:27:07 -07: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
Charles Bochet
e7eecd5b54
Fix server e2e tests on CI #4
2023-07-27 15:22:10 -07:00
Charles Bochet
61205c2cb0
Fix server e2e tests on CI #1
2023-07-27 11:53:00 -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
Deepak Singh
9c09da18db
fix: Create a client config function that is retrieved when app is loading ( #496 )
...
* fix: Create a client config function that is retrieved when app is loaded
* update index.tsx
* fixed linter issues
2023-07-05 00:28:59 +02: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
Félix Malfait
1c7980b270
Disable linter on generated code ( #363 )
2023-06-23 08:43:41 -07:00
Charles Bochet
ba1dd07e53
Fix mock mode transition to regular mode on login ( #361 )
2023-06-22 14:09:51 -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
Charles Bochet
7f25f16766
Fix some icon display size + fix padding issue on EditableChip component ( #314 )
...
* Fix some icon display size + fix padding issue on EditableChip component
* Fix according to PR
* Fix server generate and deploy scripts
* Fix image size on Opportunities board
* Fix lint
* Fix according to PR
2023-06-16 14:16:35 +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
Jérémy M
467a1618f0
Update doc & split prisma generate ( #299 )
...
* feat: split prisma generate
* fix: update doc
2023-06-15 12:15:57 +02:00
Charles Bochet
5381e28253
Add workspace scoping to pipeline progress and expose findManyPipelineeProgress on graphql ( #292 )
...
Add workspace scoping to pipeline progress and expose findManyPipelineProgress on graphql
2023-06-14 17:05:15 +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
Charles Bochet
2395f791c8
Add Pipelines models in server ( #182 )
...
* Hide workspace and refresh token from schema
* Add pipe models and migrations
* Add seeds
* Update FE graphql schema
2023-06-02 11:20:21 +02:00
Charles Bochet
e3402cc753
Two minor fixes on be ( #168 )
2023-05-31 18:33:26 +02:00
Lucas Bordeau
ed03111439
Fix linting after prisma generate ( #158 )
...
* fix: lint generated prisma files.
* Put lint command in server package.json
2023-05-31 08:39:47 +00:00
Charles Bochet
0f9c6dede7
Clean server post refactor to remove Hasura ( #156 )
...
* Clean BE post refactor to remove Hasura
* Add server CI
2023-05-29 22:42:24 +02:00
Charles Bochet
26d3716ae7
Implement scoping on be ( #144 )
2023-05-26 14:00:32 +02:00
Charles Bochet
34543b7fea
Simplify local dev ( #137 )
2023-05-25 15:56:28 +02:00