Commit Graph

12 Commits

Author SHA1 Message Date
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
5860136494 Patch serviceTokenData workspace string comparison 2023-03-09 12:00:30 +07:00
Tuan Dang
6abbc1c54d Revise docs for working with CRUD secrets 2023-03-06 18:52:30 +07:00
Tuan Dang
54676c630e Remove accept statuses 2023-01-04 21:14:25 +07:00
Tuan Dang
e99ee94a7b Modify service token format 2023-01-02 22:43:00 +07: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
Tuan Dang
46fe724012 Begin developing bot, event, and integration pipeline 2022-12-06 00:23:16 -05:00
Maidul Islam
bea0ff6e05 Add frontend, backend and CLI 2022-11-17 17:54:35 -05:00