Commit Graph
10542 Commits
Author SHA1 Message Date
Hüseyin Berke Bütün 6216f70950 chore: Split error handler middleware to a seperate file 2022-12-24 21:43:02 +01:00
Tuan Dang 9bbf380741 Merge remote-tracking branch 'origin' into secret-versioning 2022-12-24 14:53:23 -05: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
Tuan Dang f7e3e48038 Merge branch 'secret-versioning' of https://github.com/Infisical/infisical into secret-versioning 2022-12-24 14:52:14 -05:00
Tuan Dang c4ebea7422 Finish get secret versions route 2022-12-24 14:51:09 -05:00
Tuan Dang dca3bd4fbb Complete v1 secret versioning and project secret snapshots 2022-12-24 14:51:09 -05:00
Tuan Dang 79333657ed Add parseInt to SMTP_PORT envar 2022-12-24 14:25:39 -05:00
Tuan Dang 3bcc4ead1f Correct SMTP_HOST default envar in docs 2022-12-24 14:22:14 -05:00
Tuan Dang 3341b08b22 Revamp contributing development docs 2022-12-24 14:21:21 -05:00
Tuan Dang d4bab09927 Add self-hosting email configuration docs + examples, correct SMTP setup for SendGrid/Mailgun-specific setup 2022-12-24 11:10:56 -05:00
Vladyslav Matsiiako 9d0efc5a22 Updated contributors and links 2022-12-23 23:26:25 -05:00
mv-turtle 34d7db5c1e Merge pull request #166 from naorpeled/feat/frontend/add-resend-code-to-signup
feat(frontend/signup): add resend code functionality
2022-12-23 23:22:31 -05:00
Vladyslav Matsiiako 205bf70861 Added overrides for secrets 2022-12-23 23:00:26 -05:00
Naor Peled 5eefe75dac initial commit 2022-12-24 04:00:13 +02:00
Naor Peled 417eddaeff cleanup 2022-12-24 03:43:03 +02:00
Naor Peled 6405e9f43f cleanup 2022-12-24 03:37:10 +02:00
Naor Peled 13e7883373 wip 2022-12-24 03:34:27 +02:00
Naor Peled d25f4ccc89 wip 2022-12-24 03:33:43 +02:00
Naor Peled 71a7497ea7 initial commit 2022-12-24 03:28:58 +02:00
snyk-bot 7e4454b2c7 fix: upgrade next from 12.3.1 to 12.3.4
Snyk has created this PR to upgrade next from 12.3.1 to 12.3.4.

See this package in npm:
https://www.npmjs.com/package/next

See this project in Snyk:
https://app.snyk.io/org/maidul98/project/53d4ecb6-6cc1-4918-aa73-bf9cae4ffd13?utm_source=github&utm_medium=referral&page=upgrade-pr
2022-12-23 21:45:05 +00:00
Tuan Dang e4e0370dad Complete v1 secret versioning and project secret snapshots 2022-12-23 10:06:37 -05:00
mv-turtle 5324355006 Merge pull request #158 from Infisical/snyk-upgrade-678d7b4eeea6a4d9172b69ed3febbea2
[Snyk] Upgrade posthog-node from 2.2.0 to 2.2.2
2022-12-23 08:28:20 -05:00
Vladyslav Matsiiako baba99e19b Added 404 page 2022-12-23 08:15:46 -05:00
mv-turtle 54f99f3db0 Added contributor to Readme 2022-12-23 07:50:09 -05:00
Tuan Dang fc32647201 Embed project id into exported service tokens 2022-12-22 22:42:45 -05:00
Vladyslav Matsiiako 87a9a587b9 Added state management to the dashboard sidebar 2022-12-22 21:42:24 -05:00
Maidul Islam 4c62783a8e Merge pull request #161 from wjhurley/patch-1
Fix typo in quickstart
2022-12-22 15:01:53 -05:00
Will Hurley ae6de31774 Fix typo in quickstart 2022-12-22 19:59:55 +00:00
Vladyslav Matsiiako 41f6255b7b updated the nopojects page design 2022-12-22 14:53:27 -05:00
Vladyslav Matsiiako e4c3db074d Added contributor 2022-12-22 14:32:17 -05:00
Vladyslav Matsiiako 13a650fb47 Merge branch 'main' of https://github.com/Infisical/infisical 2022-12-22 14:31:29 -05:00
Vladyslav Matsiiako d2c2ca89cb Added dragon to no projects and addec contributor to readme 2022-12-22 14:28:29 -05:00
Tuan Dang fd6b3e96a3 Update GitHub actions docs and README integrations 2022-12-22 14:22:45 -05:00
Vladyslav Matsiiako 092436b6a3 Finished the first ddraft of the dashboard sidebar 2022-12-22 14:15:12 -05:00
Tuan Dang 95ff1f185b Merge branch 'main' of https://github.com/Infisical/infisical 2022-12-22 14:09:43 -05:00
Tuan Dang ed2558a7ad Add GitHub Actions docs and remove GET Infisical public key route 2022-12-22 14:09:34 -05:00
Maidul Islam c20f63633b update k8 self hosting doc 2022-12-22 13:39:19 -05:00
Maidul Islam dc567b88ca update k8 self hosting doc 2022-12-22 13:39:19 -05:00
Tuan Dang 509a92a00d Merge branch 'main' of https://github.com/Infisical/infisical 2022-12-22 13:36:23 -05:00
Tuan Dang 3f2d011fba Update contributing dev docs and envars, remove PUBLIC_KEY, PRIVATE_KEY server envar requirement 2022-12-22 13:36:15 -05:00
Maidul Islam ca8bc212a3 update helm install command 2022-12-22 13:35:36 -05:00
Maidul Islam ec0313ffa0 update helm chart 2022-12-22 13:26:51 -05:00
Maidul Islam d8d3e02e92 Add ingress annotation as default value 2022-12-22 13:26:13 -05:00
snyk-bot ea5a758959 fix: upgrade posthog-node from 2.2.0 to 2.2.2
Snyk has created this PR to upgrade posthog-node from 2.2.0 to 2.2.2.

See this package in npm:
https://www.npmjs.com/package/posthog-node

See this project in Snyk:
https://app.snyk.io/org/maidul98/project/35057e82-ed7d-4e19-ba4d-719a42135cd6?utm_source=github&utm_medium=referral&page=upgrade-pr
2022-12-22 18:07:27 +00:00
Maidul Islam e0973f0b28 Delete close_inactive_issues.yml 2022-12-22 13:04:30 -05:00
Maidul Islam 06e6443225 Merge pull request #149 from arthurzenika/patch-1
fix(helm-charts/frontend): port listenning to 3000
2022-12-22 13:02:53 -05:00
Hüseyin Berke Bütün 843757fcf5 fix: Wrong error handler middleware position
Error handler is a middleware that captures errors from throw and
next(...), so in order to be able to handle it needs to come after
all of the routing and other middlewares. Previously it was before
routuing logic and wasn't working, now it works as intended.

Also added check for LogLevel to Sentry for not sending false-positive
errors like `BadRequestError`, `UnauthorizedRequestError` and etc.
2022-12-22 17:51:53 +01:00
Maidul Islam 1dc03399ce Update close_inactive_issues.yml 2022-12-22 10:52:09 -05:00
mv-turtle a939d98099 Update README.md 2022-12-22 00:50:05 -05:00
BlackMagiq 55996440da Merge pull request #155 from jonerrr/main
Update envars for SMTP for greater versatility.
2022-12-22 00:22:47 -05:00