Commit Graph
81 Commits
Author SHA1 Message Date
Tuan Dang 0c351c0925 Add Render, Fly.io integrations and reduce integrations page reloads 2023-01-22 00:09:37 +07:00
Maidul Islam 35f4d27ab0 Populate service token user 2023-01-15 21:40:19 -08:00
Tuan Dang 992357cbc4 Add new organization endpoints to API reference 2023-01-16 00:00:04 +07:00
Tuan Dang 74b76eda7e Complete v1 API Key 2023-01-15 14:25:23 +07:00
Tuan Dang 5085376f11 Check v2 workspace membership routes (currently not routed) 2023-01-14 21:07:17 +07:00
Tuan Dang 315810bd74 Complete v1 API reference docs, pre-launch 2023-01-14 19:02:12 +07:00
Tuan Dang 35d23cf55c Finish preliminary /v2/secrets routes for batch/single CRUD secrets endpoints 2023-01-09 01:03:40 +07:00
Maidul Islam 880f4d25a9 print all errors during backend dev 2023-01-04 17:35:40 -05:00
Maidul Islam fba40b5d4b print requestError logs in backend when in dev mode 2023-01-04 15:32:45 -05:00
Maidul Islam 7e026e82bb Merge crud cli api and cli changes 2023-01-04 10:43:57 -05:00
Tuan Dang 136fda37f2 Merge remote-tracking branch 'origin' into cleaning 2023-01-04 21:24:38 +07:00
Tuan Dang 54676c630e Remove accept statuses 2023-01-04 21:14:25 +07:00
Tuan Dang c7fb9209c4 Complete v1 support for API key auth mode 2023-01-04 20:27:16 +07:00
Tuan Dang 72a9343a02 Fix merge conflicts 2023-01-02 22:51:25 +07:00
Tuan Dang e99ee94a7b Modify service token format 2023-01-02 22:43:00 +07:00
Maidul Islam f2bd4aec39 Show full validation error 2023-01-01 13:13:03 -05:00
Maidul Islam f015e6be6e Add batch delete api and batch create api 2023-01-01 02:12:24 -05:00
Tuan Dang 6f054d8f2c Add requireSecretAuth middleware 2023-01-01 10:36:07 +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
Tuan Dang 01d969190b Begin service token data refactor 2022-12-30 23:57:21 +03:00
Tuan Dang 888d28d6b9 Continue work on API key 2022-12-25 19:19:56 -05:00
Hüseyin Berke Bütün 22d6aa8e46 fix: Fixed wrong naming for error handler middleware 2022-12-24 21:45:53 +01:00
Hüseyin Berke Bütün 6216f70950 chore: Split error handler middleware to a seperate file 2022-12-24 21:43:02 +01: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 547555591b Refactor integrations logic and replace hardcoded client ids with envars 2022-12-18 12:18:50 -05:00
Tuan Dang 1757f0d690 Complete v1 loop for bot-based integrations 2022-12-08 23:22:44 -05: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