* feat: encryption added on onMuduleInit
* feat: encryption changes added on sh admin mutations and query
* chore: fetch minimum column from DB
* feat: data encryption added on account table
* test: infra config test case update
* chore: env example modified
* chore: update variable name
* chore: refactor the code
* feat: client-ids made encrypted
* chore: encrypted auth client id's
---------
Co-authored-by: Balu Babu <balub997@gmail.com>
* refactor: slim down the backend containers
* refactor: make containers run as non-root user in container
* chore: correct casing for the build stage definitions
* chore: remove docker compose version field as its obsolete
* chore: optimise chown and chmod into the COPY command itself
* chore: add package overrides for packages with reported vulns
* chore: add pnpm to containers + set workdir dir to the backend project
* fix: permission issues with the fe containers
* chore: define env variables on AIO
* feat: added route to delete users in user management api's
* chore: added lastLoggedOn and lastActiveOn fields to user response type
* chore: changed return type
* chore: changed target to prod for hopp-old-backend service
* feat: infra token module added
* feat: infra token guard added
* feat: token prefix removed
* feat: get pending invites api added
* docs: swagger doc added for get user invites api
* feat: delete user invitation api added
* feat: get users api added
* feat: update user api added
* feat: update admin status api added
* feat: create invitation api added
* chore: swagger doc update for create user invite
* feat: interceptor added to track last used on
* feat: change db schema
* chore: readonly tag added
* feat: get user by id api added
* fix: return type of a function
* feat: controller name change
* chore: improve token extractino
* chore: added email validation logic
---------
Co-authored-by: Balu Babu <balub997@gmail.com>
* chore: created new mutation for team-collection duplication
* feat: completed duplication function in TeamCollection module
* feat: user-collection duplication complete
* chore: changed duplicated title suffix for collections
* chore: added return type to argument for duplication mutation in user-collections
* chore: capitalized duplicate in duplicate collection service4 methods
* chore: changed target of hopp-old-backend service to prod
* feat: added new env variable
* feat: made http secure cookie conditional
* chore: added comments to env files
* chore: changed target of hopp-old-backend service to prod
* 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: 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
* chore: installed terminus package and scaffolded the health module
* feat: added healthcheck for database with prisma
* chore: renamed label from prisma to database in health check route
* chore: reverted target of hopp-old-backend service to prod