Tuan Dang
e1e2eb7c3b
Add SecretBlindIndexData for development user initialization
2023-05-25 16:07:08 +03:00
Sheen Capadngan
fac4968193
moved oauth controller endpoints to auth
2023-05-24 23:44:30 +08:00
Sheen Capadngan
6ca3b8ba61
handled error cases for external auth login
2023-05-18 00:39:20 +08:00
Sheen Capadngan
4b2e91da74
added proper error handling for user creation
2023-05-18 00:12:28 +08:00
Sheen Capadngan
addc849fa6
changed google-auth strategy and removed session use
2023-05-11 00:37:02 +08:00
Sheen Capadngan
32cef27e8e
Merge branch 'main' into feature/google-sign
2023-05-10 21:11:42 +08:00
Sheen Capadngan
4c434555a4
finalized signup/signin ux regarding redirects
2023-05-07 20:54:30 +08:00
Tuan Dang
87e047a152
Checkpoint finish preliminary support for ROOT_ENCRYPTION_KEY
2023-05-06 22:07:59 +03:00
Tuan Dang
5eeda6272c
Checkpoint adding crypto metadata
2023-05-04 20:35:06 +03:00
Tuan Dang
099cee7f39
Begin refactoring backfilling and preparation operations into setup and start adding encryption metadata to models
2023-05-03 14:21:42 +03:00
Sheen Capadngan
f703ee29e5
implemented comments
2023-05-03 18:58:32 +08:00
Spelchure
21eb1815c4
feat: remove try-catch blocks for handling errors in middleware
2023-05-01 17:14:39 +03:00
Tuan Dang
150eb1f5ee
Merge remote-tracking branch 'origin' into update-node-sdk
2023-04-26 11:51:21 +03:00
Maidul Islam
f0075e8d09
add folder controller
2023-04-25 16:15:18 -04:00
Tuan Dang
e1bf31b371
Update envars to new node SDK format
2023-04-22 16:20:33 +03:00
Tuan Dang
ad5852fe3a
Enable all auth clients for secrets v3, remove serviceTokenData .populate in middleware, make secret versions and rollbacks compatible with blind indexing
2023-04-19 15:38:13 +03:00
Tuan Dang
df83e8ceb9
Complete first iteration of CRUD secrets operations by name
2023-04-17 11:09:45 +03:00
Tuan Dang
3791ba2609
Merge remote-tracking branch 'origin' into improve-service-accounts
2023-04-12 22:41:41 +03:00
Tuan Dang
ed7dbb655c
Updated bot, integration, and integrationAuth middlewares to support multiple clients
2023-04-12 22:36:36 +03:00
Maidul Islam
bec80de174
add integ tests for fetching/secrets secrets with jwt/service token
2023-04-11 16:51:50 -07:00
Tuan Dang
9df8e8926d
Continue refactoring remaining middleware to be compatible with multiple clients
2023-04-11 23:58:29 +03:00
Tuan Dang
3a0ce7c084
Service account checkpoint
2023-03-19 17:01:36 +07:00
Tuan Dang
a6c8638345
Refactor infisical-node to config file for birds eye view of envars
2023-03-15 00:09:40 +07:00
Tuan Dang
7fd06e36bc
Complete preliminary addition of infisical-node to support service tokens
2023-03-14 16:38:30 +07:00
Maidul Islam
0794b6132a
auto create user for dev mode
2023-01-23 20:57:59 -08:00
Maidul Islam
b8fa5e8a89
add method to get channel from user agent
2023-01-15 23:55:13 -08:00
Tuan Dang
df7340e440
Fix merge conflicts
2023-01-04 21:31:58 +07:00
Tuan Dang
c7fb9209c4
Complete v1 support for API key auth mode
2023-01-04 20:27:16 +07:00
Tuan Dang
9727075b0b
Resolve merge conflicts
2023-01-03 15:59:37 +07:00
Tuan Dang
c7c5a947d2
Modify secret snapshots to point to secret versions
2023-01-03 15:53:06 +07:00
Tuan Dang
72a9343a02
Fix merge conflicts
2023-01-02 22:51:25 +07:00
Tuan Dang
0aff94cfb3
Add action error
2023-01-01 10:55:23 +07: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
Tuan Dang
0c6dfbe4b4
Fix commonjs import/export for patchRouterParam and make secret versioning/snapshots compatible with prev unversioned secrets
2022-12-26 17:52:13 -05:00
Hüseyin Berke Bütün
d72e113570
feat: Patch Router#handle to catch Promise Rejection
...
In order to catch Promise rejections inside and outside of middlewares
as well as in route logic we need to patch `Router#handle` and add
.catch() to the function. With that addition it is possible to
catch rejections and handle inside `requestErrorHandler` middleware.
2022-12-24 23:36:58 +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
bd9041a62c
feat: Add central error handler
...
Added:
- Added Midleware to capture and handle all errors
- will catch error from `throw ...` and `next(...)`
- Added RequestError base error class to build consistent error objects
- Added common errors like `UnauthorizedRequestError`, `BadRequestError`
- Added consistent Logging solution using `winston`
- Supports Loki Transporter using `winston-loki`
- Outputing Legal disclaimer to console when `TELEMETRY_ENABLED=true`
Changed:
- Changed console.log to getLogger() favor of using consistent logging
2022-12-22 00:55:41 +01:00
Tuan Dang
78a52422a2
Patch Netlify integration cases, add new docs for Heroku, Vercel, and Netlify
2022-12-21 01:55:23 -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