Commit Graph
94 Commits
Author SHA1 Message Date
Tuan Dang 3b0bd362c9 Refactor requestErrorHandler, adjust request errors to appropriate pino log level 2023-11-01 10:10:39 +02:00
Tuan Dang ad4513f926 Replace winston with pino 2023-10-31 15:03:36 +02:00
Tuan Dang 058712e8ec Update JWT secret scheme, replace many secrets with one secret 2023-10-19 15:53:36 +01:00
Maidul Islam b921c376b2 Merge pull request #1071 from ragnarbull/improve-logging
Improve-logging
2023-10-12 10:08:39 -04:00
Maidul Islam b1ec59eb67 polish error handling 2023-10-12 15:06:37 +01:00
Joel Biddle b6ef55783e Fix: add stack trace errors in logging for prod 2023-10-09 13:37:16 +00:00
Tuan Dang 53856ff868 Make more progress on service token v3 2023-09-22 11:19:14 +01:00
Tuan Dang 82d4c8f000 Split requireBlindIndicesEnabled, E2EEOff, requireIPAllowlistCheck away from requireWorkspaceAuth 2023-09-08 21:22:36 +05:30
Tuan Dang 373dfff8e0 Remove print statement 2023-08-05 17:06:49 +07:00
Tuan Dang 142fcf0a01 Finish preliminary v2 audit logs 2023-08-05 16:55:06 +07:00
Tuan Dang 5899d7aee9 Complete trusted IPs feature 2023-07-26 13:34:56 +07:00
Tuan Dang 846e2e037f Update 2023-07-19 22:23:48 +07:00
Tuan Dang 53efdac0f0 Bring back catch TokenExpiredError in backend error-handling middleware 2023-07-07 13:01:38 +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 75acda0d7d Add option to attach accessId onto integration auth middleware 2023-06-17 10:35:42 +07:00
Tuan Dang 4616cffecd Add support for read/write non-e2ee secrets 2023-06-12 12:04:28 +01:00
Tuan Dang 631eac803e Finish preliminary v3/secrets/raw endpoints 2023-06-11 12:11:25 +01:00
Tuan Dang 00dfcfcf4e Finish preliminary Vault integration, made docs for Vault and Checkly 2023-06-09 15:36:37 +01: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
akhilmhdh 58d3f3945a feat(folders): removed old comments 2023-06-04 13:22:29 +05:30
akhilmhdh deaa85cbe7 feat(folders): added support for snapshot by env and folder 2023-06-04 13:18:05 +05:30
Sheen Capadngan e6027b3c72 removed try catch from requireAuth middleware 2023-05-29 18:14:16 +08:00
Sheen Capadngan 7f4db518cc Merge branch 'main' into feature/google-signin-signup-integration 2023-05-29 18:00:43 +08:00
Tuan Dang e90f63b375 Install and require express-async-errors earlier 2023-05-28 22:23:26 +03:00
Sheen Capadngan 8e972c704a resolved error handling issue with requireAuth middleware 2023-05-28 23:06:20 +08:00
Sheen Capadngan b975115443 Merge branch 'main' into feature/google-signin-signup-integration 2023-05-28 22:12:02 +08:00
Tuan Dang 200d9de740 Fix merge conflicts 2023-05-26 16:41:17 +03:00
Sheen Capadngan 4c41d279e9 Merge branch 'main' into feature/google-signin-signup-integration 2023-05-24 18:39:18 +08:00
Tuan Dang 899d46514c Add forwarding usedSeats and subscription quantity to license server on org member add/delete 2023-05-23 16:59:13 +03:00
Tuan Dang 8341faddc5 Add support for pulling plan details from license server with LICENSE_KEY, LICENSE_SERVER_KEY 2023-05-22 15:43:33 +03:00
Sheen Capadngan 32cef27e8e Merge branch 'main' into feature/google-sign 2023-05-10 21:11:42 +08:00
Tuan Dang 87e047a152 Checkpoint finish preliminary support for ROOT_ENCRYPTION_KEY 2023-05-06 22:07:59 +03:00
Spelchure 21eb1815c4 feat: remove try-catch blocks for handling errors in middleware 2023-05-01 17:14:39 +03:00
Sheen Capadngan 69472514af Merge branch 'main' into feature/google-signin-signup-integration 2023-04-27 01:46:26 +08:00
Sheen Capadngan 007e8c4442 initial setup for google signin signup integration 2023-04-25 23:47:46 +08:00
Tuan Dang e1bf31b371 Update envars to new node SDK format 2023-04-22 16:20:33 +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 b21a8b4574 Add supabase docs, modify integration docs wording, check integration middleware 2023-04-14 14:08:09 +03:00
Tuan Dang 99dd661c56 Update middleware for service token data 2023-04-13 10:18:37 +03:00
Tuan Dang ed7dbb655c Updated bot, integration, and integrationAuth middlewares to support multiple clients 2023-04-12 22:36:36 +03:00
Tuan Dang e2139882da Update middleware for requireSecretAuth 2023-04-12 14:17:20 +03:00
Tuan Dang 9df8e8926d Continue refactoring remaining middleware to be compatible with multiple clients 2023-04-11 23:58:29 +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 d54753289a Add required endpoints/functions for service account to create service tokens 2023-04-06 16:59:55 +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 88c0a46de3 Clean up and weave crypto into service account permissions 2023-03-29 18:07:15 +07:00