437 Commits

Author SHA1 Message Date
30e02b9dd6
Created the "verify" route in the auth.ts 2023-01-21 14:02:20 +01:00
ddeb5a5c7f
Created the verificationValidation in the auth.ts validation 2023-01-21 14:01:28 +01:00
fb1e2af67b
Created the verifySession method in the auth.ts controller 2023-01-21 14:01:06 +01:00
3ca2b5fb25
Added the types for the speakeasy dependency 2023-01-21 13:32:09 +01:00
655798b474
Implemented all totp endpoints in the account.ts router 2023-01-21 13:29:37 +01:00
9db62938b4
Created the totpSetup validation in the account.ts validation 2023-01-21 13:29:37 +01:00
20cd436321
Integrated the updateTOTP method into the account controller 2023-01-21 13:29:37 +01:00
d9f8447dd2
Added the totpEnabled field & added a default value for the totpSecret to the Account.ts 2023-01-21 13:29:37 +01:00
0139ac6f6b
Added the speakeasy dependency to the package.json 2023-01-21 13:29:37 +01:00
abb18ea19b
Merge pull request #4 from LicenseAPI/dependabot/npm_and_yarn/mongoose-6.8.4
Bump mongoose from 6.8.3 to 6.8.4
2023-01-20 13:21:36 +01:00
dependabot[bot]
69b578c291
Bump mongoose from 6.8.3 to 6.8.4
Bumps [mongoose](https://github.com/Automattic/mongoose) from 6.8.3 to 6.8.4.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/6.8.3...6.8.4)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-20 04:14:49 +00:00
ed2f2d81af
Merge pull request #3 from LicenseAPI/dependabot/npm_and_yarn/typescript-eslint/parser-5.48.2
Bump @typescript-eslint/parser from 5.48.1 to 5.48.2
2023-01-17 06:45:12 +01:00
dependabot[bot]
d7ae6251e1
Bump @typescript-eslint/parser from 5.48.1 to 5.48.2
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.48.1 to 5.48.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.48.2/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-17 05:43:25 +00:00
027ed81f5a
Merge pull request #2 from LicenseAPI/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-5.48.2
Bump @typescript-eslint/eslint-plugin from 5.48.1 to 5.48.2
2023-01-17 06:42:32 +01:00
dependabot[bot]
a5a52b68e1
Bump @typescript-eslint/eslint-plugin from 5.48.1 to 5.48.2
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.48.1 to 5.48.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.48.2/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-17 04:20:09 +00:00
629c9b7d6f
Merge pull request #1 from LicenseAPI/dependabot/npm_and_yarn/eslint-8.32.0 2023-01-16 07:44:09 +01:00
dependabot[bot]
0323ff0a98
Bump eslint from 8.31.0 to 8.32.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.31.0 to 8.32.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.31.0...v8.32.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-16 04:37:01 +00:00
65ccf40ae7
Created the index.d.ts override 2023-01-15 20:34:19 +01:00
da39af1888
Created the authentication middleware 2023-01-15 20:34:07 +01:00
76b2128320
Updated the paths & type roots 2023-01-15 20:33:47 +01:00
c3426e0fe7
Updated the file alias in the account.ts router 2023-01-15 20:31:45 +01:00
e2941eb850
Updated the id field in the Account.ts model 2023-01-15 20:31:01 +01:00
5b59f674ef
Updated the id field in the Session.ts model 2023-01-15 20:30:51 +01:00
a23f974f43
Updated the id field in the Project.ts model 2023-01-15 20:30:40 +01:00
fc1a6f7605
Migrated the License.ts model -> mongoose-field-encryption 2023-01-15 20:30:20 +01:00
f86683f34c
Commented out the verify route in the auth.ts router 2023-01-15 19:44:58 +01:00
db8fec5849
Integrated both routes into the v1 index.ts 2023-01-15 19:44:31 +01:00
2bae7005e5
Made the Session.ts model token double-quoted 2023-01-15 19:44:07 +01:00
ed21efd438
Created the auth.ts routes 2023-01-15 19:43:04 +01:00
08b7bd5373
Added a default token to the Session.ts model 2023-01-15 19:42:24 +01:00
379bbbcd9f
Created the auth.ts controller 2023-01-15 19:42:12 +01:00
a083935704
Created the account.ts routes 2023-01-15 19:41:52 +01:00
4bf0576032
Created the auth validation 2023-01-15 19:40:49 +01:00
06a917a5fd
Created the account.ts validation 2023-01-15 18:45:30 +01:00
eaf3d8b9bf
Created the Account.ts controller 2023-01-15 18:45:19 +01:00
f07187691d
Migrated the Session.ts model -> mongoose-field-encryption 2023-01-15 18:43:47 +01:00
bc68da563a
Added the verified & verificationSecret field to the Account model 2023-01-15 18:38:10 +01:00
2777aea903
Added the decryption util 2023-01-15 18:37:38 +01:00
3ce7b1941d
Fixed the error util 2023-01-15 18:35:49 +01:00
418a81dadb
Migrated from mongoose-encryption -> mongoose-field-encryption 2023-01-15 18:35:40 +01:00
a5bd9f1e95
Added the bcrypt dependency to the package.json 2023-01-15 17:56:12 +01:00
badd8d35fb
Updated the Session.ts model 2023-01-15 16:10:34 +01:00
e2f92c39d6
Made the server.ts prettier 2023-01-15 15:56:04 +01:00
34530e1682
Created the mail util 2023-01-15 15:55:50 +01:00
4afaa8ae32
Added the nodemailer dependency to the package.json 2023-01-15 15:55:16 +01:00
915ebc353a
Updated the .prettierrc.json 2023-01-15 15:54:10 +01:00
8e61f2f296
Updated the .prettierrc.json 2023-01-15 13:53:16 +01:00
18d3f8b0ba
Added the field name to the error 2023-01-15 03:33:47 +01:00
884e0be9aa
Added the double quotes rule in the .eslintrc.json 2023-01-15 03:31:24 +01:00
5564fac2ed
Made all quotes double 2023-01-15 03:31:01 +01:00