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
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
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
775b4c353d
Refactor login ( #748 )
...
* wip refactor login
* wip refactor login
* Fix lint conflicts
* Complete Sign In only
* Feature complete
* Fix test
* Fix test
2023-07-21 22:05:45 -07:00
ce3e023a00
feat: server lint import & order ( #750 )
2023-07-19 14:01:32 +02: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
2afe933055
Make google auth optional on server side ( #508 )
...
* Make google auth optional on server side
* fix lint
* Fix according to review
2023-07-04 23:53:53 +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