Skip to content

Commit

Permalink
release: v0.2.0-52
Browse files Browse the repository at this point in the history
  • Loading branch information
tks18 committed Feb 9, 2022
1 parent 63dd4c2 commit 5673b17
Show file tree
Hide file tree
Showing 4 changed files with 219 additions and 4 deletions.
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,46 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [0.2.0-52](https://github.com/zyndex-drive/server/compare/v0.2.0-51...v0.2.0-52) (2022-02-09)


### Bug Fixes 🛠

* **plugins/db:** fix db-hash plugin which hangs the server which using plugin ([a152836](https://github.com/zyndex-drive/server/commit/a15283667de967e56d8c053124b93724c65aeb3f))
* **plugins/sessionmanager:** move more redundant tasks to the main create session function ([386c928](https://github.com/zyndex-drive/server/commit/386c928665d187b64775dd8af2d9bc57e5fdde43))


### Code Refactoring 🖌

* **plugins/google:** fix google oauth helpers to update to latest changes ([1ed3083](https://github.com/zyndex-drive/server/commit/1ed308385727ddba568215a047805b66b703bfb1))
* **plugins/healthcheck:** refactor health-check.ts file ([ee8e594](https://github.com/zyndex-drive/server/commit/ee8e5943516bb45ed7d56c69b39528f568a59314))
* **routes/setup:** refactor all routes which require changes as per latest updates ([556c88e](https://github.com/zyndex-drive/server/commit/556c88e807c9d0a76275ce45ef5395b8f79e290b))
* **types:** move files inside types to a proper folder structure ([4492166](https://github.com/zyndex-drive/server/commit/4492166449f2e020dcf02ede2bc4c9cfefd098c1))


### Build System 🏗

* **packages:** add passport,google-oauth,twitter-oauth packages ([735b5a0](https://github.com/zyndex-drive/server/commit/735b5a062d65a2b26cd87cc4b26f1fb9d4b27aec))


### Tests 🧪

* **tests/rest:** add latest routes rest based tests ([05a4de1](https://github.com/zyndex-drive/server/commit/05a4de1b30538cbfe5b7d36e9e2c5e29658d8bbc))


### Features 🔥

* **app.ts:** add passport initialize function after db connects ([55fcb37](https://github.com/zyndex-drive/server/commit/55fcb37afbfeb4bb0860f2bb69e48d27a3659fa0))
* **model/credentials:** change credential schema to support more oauth features ([1f2b68f](https://github.com/zyndex-drive/server/commit/1f2b68f76aba3407509d751225e6b84807fa388a))
* **models/user:** change user schema to support oauth based logins ([cf13987](https://github.com/zyndex-drive/server/commit/cf13987a364cd5d2109192ebffd248cdf0412193))
* **oauth/google:** write oauth authenticate action for login with google function ([21b269a](https://github.com/zyndex-drive/server/commit/21b269a645c36e46ccd971bafdd1ad3fa51972e6))
* **oauth/helpers:** write passport authenticate tranform function for proper error handling ([79a1aff](https://github.com/zyndex-drive/server/commit/79a1affa1d0672af5f748098ca7e23da7f0b5fe0))
* **oauth/helpers:** write passport function for oauth user verification ([ab8921e](https://github.com/zyndex-drive/server/commit/ab8921ec107d1b9cfcd82a8853b4dc468eba0dfc))
* **oauth/helpers:** write passport initialize function that initializes all the clients ([78fab85](https://github.com/zyndex-drive/server/commit/78fab8529fab57c6d88b4f4948ab6a70f7f0a79d))
* **oauth/twitter:** write oauth authenticate action for login with twitter function ([c9f2172](https://github.com/zyndex-drive/server/commit/c9f2172f3c8355bf19dad97bab23ca68fe8096f8))
* **routes/login:** write router for google oauth login ([dffefe1](https://github.com/zyndex-drive/server/commit/dffefe179f3c8748d94567873fe66caee3c2bf08))
* **routes/login:** write router for twitter oauth login ([95cc509](https://github.com/zyndex-drive/server/commit/95cc5095e07f0f02087d3e87322928fb4a7a83d0))

## [0.2.0-51](https://github.com/zyndex-drive/server/compare/v0.2.0-50...v0.2.0-51) (2022-02-04)


Expand Down
2 changes: 1 addition & 1 deletion app.js

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zyndex-server",
"version": "0.2.0-51",
"version": "0.2.0-52",
"description": "Backend Server for Handling Zyndex Frontend Requests",
"main": "app.js",
"scripts": {
Expand Down Expand Up @@ -63,6 +63,9 @@
"nanoid": "^3.2.0",
"node-webcrypto-ossl": "^2.1.3",
"nodemailer": "^6.7.2",
"passport": "^0.5.2",
"passport-google-oauth20": "^2.0.0",
"passport-twitter": "^1.0.4",
"query-string": "^7.1.0",
"uuid": "^8.3.2",
"x-xss-protection": "^2.0.0"
Expand All @@ -83,6 +86,9 @@
"@types/morgan": "^1.9.3",
"@types/node": "^15.14.9",
"@types/nodemailer": "^6.4.4",
"@types/passport": "^0",
"@types/passport-google-oauth20": "^2",
"@types/passport-twitter": "^1",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
Expand Down
173 changes: 171 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ __metadata:
languageName: node
linkType: hard

"@types/express@npm:^4.17.13":
"@types/express@npm:*, @types/express@npm:^4.17.13":
version: 4.17.13
resolution: "@types/express@npm:4.17.13"
dependencies:
Expand Down Expand Up @@ -858,13 +858,72 @@ __metadata:
languageName: node
linkType: hard

"@types/oauth@npm:*":
version: 0.9.1
resolution: "@types/oauth@npm:0.9.1"
dependencies:
"@types/node": "*"
checksum: 5c079611b455eff58fba6358e028b191a1e65475600f8ed8d98c1696fedcfb0290aa6c6a19cf50f21a9e2d816ecb43a19f910900d91f8ba3727e33c48f97d7f3
languageName: node
linkType: hard

"@types/parse-json@npm:^4.0.0":
version: 4.0.0
resolution: "@types/parse-json@npm:4.0.0"
checksum: fd6bce2b674b6efc3db4c7c3d336bd70c90838e8439de639b909ce22f3720d21344f52427f1d9e57b265fcb7f6c018699b99e5e0c208a1a4823014269a6bf35b
languageName: node
linkType: hard

"@types/passport-google-oauth20@npm:^2":
version: 2.0.11
resolution: "@types/passport-google-oauth20@npm:2.0.11"
dependencies:
"@types/express": "*"
"@types/passport": "*"
"@types/passport-oauth2": "*"
checksum: 5e87a0bf40d77ce863dbcea4ae1cd6bccc663282593c9b6ce83b0e2d5d6c56ed9dc0275a04f5d81832f03b3a477fd47d17fd9b3ee22ceb69ca445ab0b0d326d7
languageName: node
linkType: hard

"@types/passport-oauth2@npm:*":
version: 1.4.11
resolution: "@types/passport-oauth2@npm:1.4.11"
dependencies:
"@types/express": "*"
"@types/oauth": "*"
"@types/passport": "*"
checksum: 09d047a6c09a05c036f7db0cf8f8c09bf5878fdd15949bb1baa09a35f439929d471048fa6595f09ea4a4ea25396ce3918b362136579cf4a2b2ee29a92c0dd1ce
languageName: node
linkType: hard

"@types/passport-twitter@npm:^1":
version: 1.0.37
resolution: "@types/passport-twitter@npm:1.0.37"
dependencies:
"@types/express": "*"
"@types/passport": "*"
checksum: 4212f96287b6623c151c40576470d0552db6dba773563ec7c66de0a34878d86d8acf824c7faebeaa5a87e684bdf3fcc91d7fa6ffdada5d80d05ebc0a8f0240f9
languageName: node
linkType: hard

"@types/passport@npm:*":
version: 1.0.7
resolution: "@types/passport@npm:1.0.7"
dependencies:
"@types/express": "*"
checksum: 1b78fbbb589774a2d9794449e039d590c21fefd6b3f0a5cc911e2a79bac85f363121cfdc330d15840879abeb4fb2d68d521111e595bded0f5dc4356bf8dba3ec
languageName: node
linkType: hard

"@types/passport@npm:^0":
version: 0.4.7
resolution: "@types/passport@npm:0.4.7"
dependencies:
"@types/express": "*"
checksum: c22a84226d763db30cc6d8b330022820d067ea4039dc625371825e0d2fb8e3d6e7387cf4619e79a4cc293e8c3f3420f3da3067c564da14c21fadb03b5f5c870f
languageName: node
linkType: hard

"@types/qs@npm:*":
version: 6.9.7
resolution: "@types/qs@npm:6.9.7"
Expand Down Expand Up @@ -1658,6 +1717,13 @@ __metadata:
languageName: node
linkType: hard

"base64url@npm:3.x.x":
version: 3.0.1
resolution: "base64url@npm:3.0.1"
checksum: a77b2a3a526b3343e25be424de3ae0aa937d78f6af7c813ef9020ef98001c0f4e2323afcd7d8b2d2978996bf8c42445c3e9f60c218c622593e5fdfd54a3d6e18
languageName: node
linkType: hard

"basic-auth@npm:~2.0.1":
version: 2.0.1
resolution: "basic-auth@npm:2.0.1"
Expand Down Expand Up @@ -6135,6 +6201,13 @@ __metadata:
languageName: node
linkType: hard

"oauth@npm:0.9.x":
version: 0.9.15
resolution: "oauth@npm:0.9.15"
checksum: 957c0d8d85300398dcb0e293953650c0fc3facc795bee8228238414f19f59cef5fd4ee8d17a972c142924c10c5f6ec50ef80f77f4a6cc6e3c98f9d22c027801c
languageName: node
linkType: hard

"object-inspect@npm:^1.11.0, object-inspect@npm:^1.9.0":
version: 1.11.0
resolution: "object-inspect@npm:1.11.0"
Expand Down Expand Up @@ -6421,6 +6494,66 @@ __metadata:
languageName: node
linkType: hard

"passport-google-oauth20@npm:^2.0.0":
version: 2.0.0
resolution: "passport-google-oauth20@npm:2.0.0"
dependencies:
passport-oauth2: 1.x.x
checksum: 1d34f4c2da059504b6a3c149b261b9063d0390c84d500fa314b3895d599d7f96ce9750e48a5b715df92fba57ef4ecb5e66d3ce99ded5cc9b17d201a06ba8701e
languageName: node
linkType: hard

"passport-oauth1@npm:1.x.x":
version: 1.2.0
resolution: "passport-oauth1@npm:1.2.0"
dependencies:
oauth: 0.9.x
passport-strategy: 1.x.x
utils-merge: 1.x.x
checksum: b38444da71bf3468a53599d908b45e4043c7dd04cce0ded3398a91f161ce076c5973f42ddad47e5012f8b1cccea71b60890b35560491921d0858c36b364ac471
languageName: node
linkType: hard

"passport-oauth2@npm:1.x.x":
version: 1.6.1
resolution: "passport-oauth2@npm:1.6.1"
dependencies:
base64url: 3.x.x
oauth: 0.9.x
passport-strategy: 1.x.x
uid2: 0.0.x
utils-merge: 1.x.x
checksum: 2a5b01a884ebade01770543d3b84fbdbc45c75ca13b320b88ae59e33388bb485a27c323c2d3904058dca57065bf0e2a78c645cbb62600ced2dcdd43094259f0e
languageName: node
linkType: hard

"passport-strategy@npm:1.x.x":
version: 1.0.0
resolution: "passport-strategy@npm:1.0.0"
checksum: 5086693f2508e538dffa55a338c89fe8192fb5f4478c71f80cd5890b8573419a098f4fec88b505374f60bbe9049f6f24b9f3992678612528a3370b4dc73354a2
languageName: node
linkType: hard

"passport-twitter@npm:^1.0.4":
version: 1.0.4
resolution: "passport-twitter@npm:1.0.4"
dependencies:
passport-oauth1: 1.x.x
xtraverse: 0.1.x
checksum: f53a8b9589a0368ce819683785f24b1ff8c6c80e63fdffd0d8408395956a307a9243a6e05a4d19a44ca7ce4f167cdfff98b199a8b42adb712655fca353958854
languageName: node
linkType: hard

"passport@npm:^0.5.2":
version: 0.5.2
resolution: "passport@npm:0.5.2"
dependencies:
passport-strategy: 1.x.x
pause: 0.0.1
checksum: be17a64a069f412299dea342fea1f4c755aea66fcd71e9422c5e254be18b069a39b00d141e4c63fb852f1bfea6030e8e170593d7f0db5c197fddec781e9e8de4
languageName: node
linkType: hard

"path-exists@npm:^3.0.0":
version: 3.0.0
resolution: "path-exists@npm:3.0.0"
Expand Down Expand Up @@ -6486,6 +6619,13 @@ __metadata:
languageName: node
linkType: hard

"pause@npm:0.0.1":
version: 0.0.1
resolution: "pause@npm:0.0.1"
checksum: e96ee581b68085e6f2ba5adbcb4d4a41fe88e5b514061e76df2fe1905f0f65f4fe5a843b538e9551122c6b9184ff4be266c2ee0ea4614702f9a3d04466d9f462
languageName: node
linkType: hard

"picocolors@npm:^1.0.0":
version: 1.0.0
resolution: "picocolors@npm:1.0.0"
Expand Down Expand Up @@ -8085,6 +8225,13 @@ __metadata:
languageName: node
linkType: hard

"uid2@npm:0.0.x":
version: 0.0.4
resolution: "uid2@npm:0.0.4"
checksum: e92325ce2e3b7be504b19e835dbb5a8b0495031f364b08ca46745468ed0ae0f202a4fdaf99a1a2715844156efc3ab410456ae24a0f7c0ae4b0a2e9f2784edfd9
languageName: node
linkType: hard

"unbox-primitive@npm:^1.0.1":
version: 1.0.1
resolution: "unbox-primitive@npm:1.0.1"
Expand Down Expand Up @@ -8173,7 +8320,7 @@ __metadata:
languageName: node
linkType: hard

"utils-merge@npm:1.0.1":
"utils-merge@npm:1.0.1, utils-merge@npm:1.x.x":
version: 1.0.1
resolution: "utils-merge@npm:1.0.1"
checksum: c81095493225ecfc28add49c106ca4f09cdf56bc66731aa8dabc2edbbccb1e1bfe2de6a115e5c6a380d3ea166d1636410b62ef216bb07b3feb1cfde1d95d5080
Expand Down Expand Up @@ -8497,13 +8644,29 @@ __metadata:
languageName: node
linkType: hard

"xmldom@npm:0.1.x":
version: 0.1.31
resolution: "xmldom@npm:0.1.31"
checksum: 3073ca4a096892f86991ad0fce9aa1e874f16a974aa2c0911b1a218922d80fe3762b56aa3a2d9fe4a46d61416193c6dc0839776748b24e0cfb56197babf77a94
languageName: node
linkType: hard

"xtend@npm:~4.0.1":
version: 4.0.2
resolution: "xtend@npm:4.0.2"
checksum: ac5dfa738b21f6e7f0dd6e65e1b3155036d68104e67e5d5d1bde74892e327d7e5636a076f625599dc394330a731861e87343ff184b0047fef1360a7ec0a5a36a
languageName: node
linkType: hard

"xtraverse@npm:0.1.x":
version: 0.1.0
resolution: "xtraverse@npm:0.1.0"
dependencies:
xmldom: 0.1.x
checksum: 50da955606472168d4aecfde9d47280814defa8686ccf8452c2c31d3fcd841c2f75c753ad2fc7c64bf9968fc23bcb902ab500e70158d8b006d924d15a66f7028
languageName: node
linkType: hard

"y18n@npm:^5.0.5":
version: 5.0.8
resolution: "y18n@npm:5.0.8"
Expand Down Expand Up @@ -8622,6 +8785,9 @@ __metadata:
"@types/morgan": ^1.9.3
"@types/node": ^15.14.9
"@types/nodemailer": ^6.4.4
"@types/passport": ^0
"@types/passport-google-oauth20": ^2
"@types/passport-twitter": ^1
"@types/uuid": ^8.3.4
"@typescript-eslint/eslint-plugin": ^4.33.0
"@typescript-eslint/parser": ^4.33.0
Expand Down Expand Up @@ -8661,6 +8827,9 @@ __metadata:
nanoid: ^3.2.0
node-webcrypto-ossl: ^2.1.3
nodemailer: ^6.7.2
passport: ^0.5.2
passport-google-oauth20: ^2.0.0
passport-twitter: ^1.0.4
query-string: ^7.1.0
standard-version: ^9.3.2
ts-loader: ^9.2.6
Expand Down

0 comments on commit 5673b17

Please sign in to comment.