Commit Graph

559 Commits

Author SHA1 Message Date
Maidul Islam
dd7b2dc1ed Remove creating instance on PersistentPreRun 2022-12-25 14:58:51 -05:00
Maidul Islam
3b6b9d41d1 Remove creating instance on PersistentPreRun 2022-12-25 14:47:46 -05:00
Maidul Islam
859f4226ae update vault command Description 2022-12-25 14:16:45 -05:00
Maidul Islam
9d0c293600 Update vault docs and add cli FAQ 2022-12-25 14:08:34 -05:00
Maidul Islam
b454a0400a Merge pull request #170 from Infisical/cross-compile-cgo
split builds for cross compile
2022-12-25 13:31:49 -05:00
Maidul Islam
33805ad385 split builds for cross compile 2022-12-25 13:04:59 -05:00
Maidul Islam
7f51aaf451 Add vault docs 2022-12-25 00:04:52 -05:00
Tuan Dang
2513250993 Update package-lock 2022-12-24 20:45:35 -05:00
BlackMagiq
c3b2e08a23 Merge pull request #152 from Zamion101/feat/error-handling
Refactoring backend codebase to use central error handling and logging
2022-12-24 20:43:40 -05:00
BlackMagiq
a12ae350a7 Merge branch 'main' into feat/error-handling 2022-12-24 20:34:55 -05:00
Maidul Islam
f22d4277dc add support for multiple keyring 2022-12-24 19:11:29 -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
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
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
Naor Peled
5eefe75dac initial commit 2022-12-24 04:00:13 +02: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
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
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
mv-turtle
9643c75b42 Merge pull request #156 from Infisical/dependabot/npm_and_yarn/backend/jsonwebtoken-9.0.0
Bump jsonwebtoken from 8.5.1 to 9.0.0 in /backend
2022-12-21 23:42:45 -05:00