* feat: env variable added in infra-config for smtp enable status
* feat: event emitter added
* feat: added advance mailer configurations from infra config
* test: fix test cases
* feat: added query to see is smtp enabled or not
* feat: email auth provider disabled on smtp disable
* chore: restrict on update directly instead of dedicated mutation
* fix: feedback resolved
* chore: modify mailer module
* chore: error handle in mailer functions
* chore: removed unused imports
* chore: remove event-emit
* chore: update env example
* test: fix broken test cases
* chore: feedback resolved
* chore: isSMTPEnabled moved to infra config resolver
* fix: email can not reenable if smtp not enabled
* feat: userLastActiveOnInterceptor added and update func added in userService
* chore: changed user model parameter description
* chore: commented out docker volume for hopp-old-service
* chore: changed backend to work with secure cookies
---------
Co-authored-by: Balu Babu <balub997@gmail.com>
* feat: allow ability for multiple headers with the same key to be shown
* chore: remove extension inspector in selfhost-desktop
* chore: cleanup
---------
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
* feat: new helper functions for better error management
* refactor: new i18n strings
* refactor: better error handling in invite modal and members component
* refactor: better user management
* refactor: better error handling in config handler
* refactor: updated logic of dynamic action row
* refactor: better naming for computed properties
* feat: new error message when an admin tries to invite himself
* refactor: updated error message when user is already invited
* refactor: reverted i18n string for user already invited back to the old string
* refactor: removed show prop from invite modal
* refactor: improved implementation for getting the compiled error messages
* feat: new error message when email inputted is of an invalid format
* refactor: minor optimization
---------
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
* fix: resolved an issue with server restart component
* refactor: early return if any mutation fails when initiating server restart
* fix: ensure further attempts go through after a failed reset configs action
---------
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
* feat: created a new table to store user PATs
* chore: renamed UserTokens table name to PersonalAccessToken
* chore: added unique property to token column
* chore: made expiresOn field optional
* chore: created access-token module
* feat: created access-token rest routes
* chore: created a new auth guard for PATs
* chore: scaffolded routes in team collection and environments modules for CLI
* chore: created method to update lastUsedOn property for accessTokens
* chore: created interceptor to update lastUsedOn property of PAT
* feat: interceptor to update lastUpdatedOn property complete
* chore: removed unused imports in access-token interceptor
* chore: moved routes to fetch collection and environment into access-token module
* feat: added routes to fetch collections and environments for CLI
* chore: modified access-token interceptor
* chore: removed log statement from interceptor
* chore: added team member checking logic to ForCLI methods in team collection and environments module
* chore: changed return error messages to those defined in spec
* chore: added comments to all service methods
* chore: removed unused imports
* chore: updated testcases for team-environments module service file
* chore: added and updated testcases
* chore: removed unneseccary SQL from auto-generated migration sql for PAT
* chore: remobed JWTAuthGuard from relevant routes in PAT controllers file
* chore: modified token for auth in PATAuthGuard
* chore: changed error codes in some certain service methods in access-token module
* feat: worked on feedback for PR review
* chore: renamed service method in access-token module
* chore: removed console log statements
* chore: modified cli error type
* test: fix broken test case
* chore: changed target of hopp-old-backend to prod
---------
Co-authored-by: mirarifhasan <arif.ishan05@gmail.com>
* feat: lastLoggedOn added in schema and service function
* feat: add lastLoggedOn logic for magic link
* test: update test cases
* feat: add lastLoggedOn in gql model
* fix: nullable allowed in model attribute
* fix: resolve feedback
* feat: user last login interceptor added