Commit Graph
26 Commits
Author SHA1 Message Date
Tuan Dang 142fcf0a01 Finish preliminary v2 audit logs 2023-08-05 16:55:06 +07:00
Tuan Dang 846e2e037f Update 2023-07-19 22:23:48 +07:00
Khoa Le 9d33e4756b Add eslint rule and fix as many issues as possible 2023-06-19 23:42:04 -04:00
Tuan Dang 5667e47b31 Add default rely on Cloudflare for IP addresses 2023-06-07 00:50:25 +01:00
Tuan Dang 846f5c6680 Upgraded JWT invalidation/session logic to separate TokenVersion model. 2023-06-06 16:36:52 +01:00
Sheen Capadngan e6027b3c72 removed try catch from requireAuth middleware 2023-05-29 18:14:16 +08:00
Sheen Capadngan 8e972c704a resolved error handling issue with requireAuth middleware 2023-05-28 23:06:20 +08:00
Tuan Dang 87e047a152 Checkpoint finish preliminary support for ROOT_ENCRYPTION_KEY 2023-05-06 22:07:59 +03:00
Tuan Dang 763ec1aa0f And workspace-environment specific integrations syncs to secrets v3 endpoints, add PostHog 2023-04-17 14:23:56 +03:00
Tuan Dang df83e8ceb9 Complete first iteration of CRUD secrets operations by name 2023-04-17 11:09:45 +03:00
Tuan Dang 5032450b1c Add service account support for organization endpoints and update docs images 2023-04-10 17:30:51 +03:00
Tuan Dang 5bbe09e4be Substitute hardcoded auth modes for variables 2023-04-07 16:50:05 +03:00
Tuan Dang aa53de9070 Begin refactoring middleware for service accounts 2023-04-04 11:08:03 +03:00
Tuan Dang 9c18adf35f Begin service account middleware 2023-03-30 23:55:24 +07:00
Tuan Dang 971ac26033 Fix lint errors 2023-03-07 15:23:10 +07:00
Tuan Dang 6abbc1c54d Revise docs for working with CRUD secrets 2023-03-06 18:52:30 +07:00
Tuan Dang 74b76eda7e Complete v1 API Key 2023-01-15 14:25:23 +07:00
Maidul Islam 7e026e82bb Merge crud cli api and cli changes 2023-01-04 10:43:57 -05:00
Tuan Dang c7fb9209c4 Complete v1 support for API key auth mode 2023-01-04 20:27:16 +07:00
Tuan Dang e99ee94a7b Modify service token format 2023-01-02 22:43:00 +07:00
Tuan Dang b8a64714d2 Refactor auth middleware to accept multiple auth modes 2023-01-01 09:24:20 +07:00
Maidul Islam 3c6b1e51b5 Add non try catch error handle and fix bulk patch 2022-12-31 20:43:49 -05:00
Tuan Dang 7e4bf7f44b Continue developing service token v2 2023-01-01 07:10:47 +07:00
Hüseyin Berke Bütün 28818db757 refactor: Prefer use of RequestError and next() function on middlewares
Added:
- New error types such as `IntegrationNotFoundError`,
  `WorkspaceNotFoundError`, `AccountNotFoundError' and more.

Refactored:
- Refactored most of the middlewares and very little number of helper
  functions to use RequestError
- Deleted unused imports

Changed:
- Some of the error types in middlewares changed to more related error
  types.
- Environment variable of 'VERBOSE_ERROR_OUTPUT' changed to more
  reliable validation method in `config/index.ts` as per @dangtony98
  requested.
2022-12-24 20:52:26 +01:00
Hüseyin Berke Bütün 6f5d7a831b refactor: Refactored middlewares to use RequestError
Refactored middlewares to use RequestError rather than using
`try {...}catch (err){...}`. With this change it's possible to manage
all error details within one place.

Added:
- Added Sentry.captureException to Error Handler
2022-12-22 01:42:02 +01:00
Maidul Islam bea0ff6e05 Add frontend, backend and CLI 2022-11-17 17:54:35 -05:00