7535c84e3d
2814 timebox create a poc to test the gmail api ( #2868 )
...
* create gmail strategy and controller
* gmail button connect
* wip
* trying to fix error { error: 'invalid_grant', error_description: 'Bad Request' }
* access token working
* refresh token working
* Getting the short term token from the front is working
* working
* rename token
* remove comment
* rename env var
* move file
* Fix
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-12-08 13:13:56 +01:00
9df83c9a5a
feat: better server lint ( #2850 )
...
* feat: add stylistic eslint plugin
* feat: add missing line return
* feat: secure line-break style
* feat: disallow break before else
* feat: line between class members
* feat: better new line lint rule
2023-12-06 12:19:00 +01:00
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
eb64baa62e
Fix api Keys ( #2583 )
2023-11-20 10:57:08 +01:00
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
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
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
ce3e023a00
feat: server lint import & order ( #750 )
2023-07-19 14:01:32 +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
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
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