8fbad7d3ba
1043 timebox prepare zapier integration ( #1967 )
...
* Add create api-key route
* Import module
* Remove required mutation parameter
* Fix Authentication
* Generate random key
* Update Read ApiKeyAbility handler
* Add findMany apiKey route
* Remove useless attribute
* Use signed token for apiKeys
* Authenticate with api keys
* Fix typo
* Add a test for apiKey module
* Revoke token when api key does not exist
* Handler expiresAt parameter
* Fix user passport
* Code review returns: Add API_TOKEN_SECRET
* Code review returns: Rename variable
* Code review returns: Update code style
* Update apiKey schema
* Update create token route
* Update delete token route
* Filter revoked api keys from listApiKeys
* Rename endpoint
* Set default expiry to 2 years
* Code review returns: Update comment
* Generate token after create apiKey
* Code review returns: Update env variable
* Code review returns: Move method to proper service
---------
Co-authored-by: martmull <martmull@hotmail.com >
2023-10-12 18:07:44 +02:00
3b9ceade76
Fix token not being refreshed ( #1975 )
...
* Fix token not being refreshed
* Fix token not being refreshed
* v2
* Fix
2023-10-11 17:12:39 +02:00
017a0b1563
feat: refactor custom object ( #1887 )
...
* chore: drop old universal entity
* feat: wip refactor graphql generation custom object
* feat: refactor custom object resolvers
fix: tests
fix: import
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-10-10 10:50:54 +02:00
27eab82f19
Workaround for bug on token conflict with front and storybook ( #1843 )
...
* workound to preview token
* remote token itself
2023-10-04 15:46:41 +02:00
1e91c985df
Add a dedicated GQL server for metadata available on /meta ( #1820 )
2023-10-03 10:17:13 +02:00
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
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
ce3e023a00
feat: server lint import & order ( #750 )
2023-07-19 14:01:32 +02:00
a975935f49
Connect profile picture upload to backend ( #533 )
...
* Connect profile picture upload to backend
* Fix tests
* Revert onboarding state changes
2023-07-07 17:50:02 -07:00
9ea765fcfd
Make auth module optional to conditionnaly load auth providers ( #518 )
...
* Make auth module optional to conditionnaly load auth providers
* Fixes
2023-07-05 15:46:09 +02:00
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
cca36cf50f
fix: rename event module into analytics and clean ( #482 )
2023-06-30 09:24:05 +00:00
eb7fb2ba8e
Add Telemetry ( #466 )
...
* Telemetry v1
* Add package-lock.json to gitignore
2023-06-29 17:36:48 -07:00
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
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
bbc80cd543
Refactor backend and add exception handlers ( #189 )
2023-06-04 00:21:36 +02:00
112aa3720b
Fix graphql Queries ( #142 )
2023-05-26 08:33:33 +02:00
80f9cc8797
Re-implement authentication ( #136 )
...
* Remove hasura and hasura-auth
* Implement authentication
2023-05-25 11:51:15 +02:00
5d06398d2e
Remove hasura and hasura-auth ( #134 )
...
* Remove hasura and hasura-auth
* Move all models to prisma
* Start implementing graphql
* chore: clean package json
* chore: make the code build
* chore: get initial graphql.tsx file
* feature: use typegql as qgl server
* refactor: small refactoring
* refactor: clean tests
* bugfix: make all filters not case sensitive
* chore: remove unused imports
---------
Co-authored-by: Sammy Teillet <sammy.teillet@gmail.com >
2023-05-24 17:20:15 +02:00
9971da59a6
Fix server build
2023-04-24 18:04:55 +02:00
29b6109e54
Fix tests
2023-04-24 16:53:24 +02:00
6d2c8bbdf9
Assign user to workspace on signin
2023-04-24 14:53:48 +02:00
0d82751b9b
feat: register health controller
2023-04-14 16:56:18 +02:00
5468442d1e
chore: remove static server
2023-04-14 16:49:33 +02:00
d9ecc56787
Enable Health Check route
2022-12-28 16:59:22 +01:00
cfc3a37e1f
Setup Nest and React projects
2022-12-01 15:58:08 +01:00