-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/token-based-authentication #75
Feat/token-based-authentication #75
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here is some review on your pr , all tho I'm not sure if you tested this with e2e test
users/me - response after using the access token. {
"status": "success",
"data": {
"_id": "64bfc7432d3047bcf6db8fe9",
"name": "muttaqin",
"email": "test1112@gmail.com",
"authorities": [
"UPDATE_CALANDER"
],
"restrictions": [],
"roles": [
"USER"
],
"active": false,
"accessRestricted": false,
"githubOauthAccessToken": null,
"deleted": false,
"createdBy": "System",
"createdAt": "2023-07-25T12:59:47.862Z",
"updatedAt": "2023-07-25T12:59:47.862Z",
"__v": 0
}
} /login {
"tokens": {
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0YmZjNzQzMmQzMDQ3YmNmNmRiOGZlOSIsImlhdCI6MTY5MDMwOTkzOSwiZXhwIjoxNjkwMzk2MzM5fQ.FCpg4KQPSfyZ7FYjbkfBAMgzryDlf4ZmBClNG5LYPaQ",
"refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0YmZjNzQzMmQzMDQ3YmNmNmRiOGZlOSIsImlhdCI6MTY5MDMwOTkzOSwiZXhwIjoxNjkwMzk2MzM5fQ.FCpg4KQPSfyZ7FYjbkfBAMgzryDlf4ZmBClNG5LYPaQ"
},
"data": {
"user": {
"_id": "64bfc7432d3047bcf6db8fe9",
"name": "muttaqin",
"email": "test1112@gmail.com",
"authorities": [
"UPDATE_CALANDER"
],
"restrictions": [],
"roles": [
"USER"
],
"active": false,
"accessRestricted": false,
"deleted": false,
"createdBy": "System",
"createdAt": "2023-07-25T12:59:47.862Z",
"updatedAt": "2023-07-25T12:59:47.862Z",
"__v": 0
}
}
} I can add the test cases for this feature if you want. |
I will add the token refresh and logout controller soon. |
wait but why the refresh token is the same as access token |
where? |
ooh😂😂, exports.ACCESS_TOKEN_SECRET = process.env.ACCESS_TOKEN_SECRET || 'sdfsdf';
exports.ACCESS_TOKEN_EXPIRY_TIME = process.env.ACCESS_TOKEN_EXPIRY_TIME || '1d';
exports.REFRESH_TOKEN_SECRET = process.env.REFRESH_TOKEN_SECRET || 'sdfsdf';
exports.REFRESH_TOKEN_EXPIRY_TIME = process.env.REFRESH_TOKEN_EXPIRY_TIME || '1d'; |
ah 😂okay @muttaqin1 |
i think you missed this : jwt env variable already exist , should i remove the duplicated value ? |
yes. |
* 👌ensuring that Conterbute is working * 👌 ensuring that main branch is protected * add rate limit * test - add basic example of testing & fix imports * Fix ban and unban user. * 👌fix-swagger-autogen & endpoints & jwt,feat-tests * code cleaning * requested changes * resolve #52. * Refactor file names with underscore. * Update import paths. * Add user activation, metadata, routes, and soft delete logic; fix response path and server errors * requested changes * fix errors and add testing for activation * adding page for login with tailwind the part need is fix auth * enhe-app error clean up * Github integration. * Bump semver from 6.3.0 to 6.3.1 in /frontend-app Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md) - [Commits](npm/node-semver@v6.3.0...v6.3.1) --- updated-dependencies: - dependency-name: semver dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * dependencies update #65 Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md) - [Commits](npm/node-semver@v5.7.1...v5.7.2) --- updated-dependencies: - dependency-name: semver dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * dependencies update #68 Bumps [mongoose](https://github.com/Automattic/mongoose) from 6.10.4 to 6.11.3. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md) - [Commits](Automattic/mongoose@6.10.4...6.11.3) --- updated-dependencies: - dependency-name: mongoose dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * dependencies update #69 Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. - [Release notes](https://github.com/jonschlinkert/word-wrap/releases) - [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4) --- updated-dependencies: - dependency-name: word-wrap dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Implement Sign Up Component with Next.js (#67) * adding a login page but it need a auth * adding sign up componenet * Feat - token-based-authentication (#75) * Configure linter and formatter. * Add configurations for access & refresh token. * Add token model. * Add functionality to generate Access & refresh token and send it to user. * save exact version of dev-dependencies. * add count of closed pr (#76) * fix - rate limiter & duplicated methods & env variables (#74) * Update access to env * configure rate limiter to ignore the SSE requests * verify user authorities and restrictions * update access to env variables * Feat/configure pre-commit hook (#81) * configure pre-commit hooks. * Pre-commit hook test - lint & fix every .js & .json file. * Creating CONTRIBUTING.md (#79) * fix - Up date env variables : remove hard coded credentials (#83) * Update access to env * configure rate limiter to ignore the SSE requests * verify user authorities and restrictions * update access to env variables * fix - adapt testing to new functionalities * fix - env variables security * Update app_config.js (#84) * fix - eslint json roles -> js (#85) * Update access to env * configure rate limiter to ignore the SSE requests * verify user authorities and restrictions * update access to env variables * fix - adapt testing to new functionalities * fix - env variables security * extra fix * fix eslint json -> js * fix - add logo path to readme (#86) --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Khalid BOUSSAROUAL <102565973+Khalid1G@users.noreply.github.com> Co-authored-by: muttaqin1 <mdmuttaqin20@gmail.com> Co-authored-by: yassineboujrada <yassine.boujrada@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: boujrada yassine <63125972+yassineboujrada@users.noreply.github.com>
commit 3e0da0c Author: Muttaqin <MDMUTTAQIN20@GMAIL.COM> Date: Fri Aug 11 00:13:20 2023 +0600 Feat/token based authentication 2 (ISIL-ESTE#91) * Move .husky to the base dir. * Delete eslintrc.json. * Resolve ISIL-ESTE#71 & fix import paths for user_model . * token refresh & logout. * Add utility class auth_utils. * Configure cookie parser. commit d5ff984 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jul 28 12:49:05 2023 +0100 fix - add logo path to readme (ISIL-ESTE#86) commit 00c882e Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jul 28 12:47:07 2023 +0100 fix - eslint json roles -> js (ISIL-ESTE#85) * Update access to env * configure rate limiter to ignore the SSE requests * verify user authorities and restrictions * update access to env variables * fix - adapt testing to new functionalities * fix - env variables security * extra fix * fix eslint json -> js commit f0674fb Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jul 28 11:29:11 2023 +0100 Update app_config.js (ISIL-ESTE#84) commit b659237 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jul 28 11:21:01 2023 +0100 fix - Up date env variables : remove hard coded credentials (ISIL-ESTE#83) * Update access to env * configure rate limiter to ignore the SSE requests * verify user authorities and restrictions * update access to env variables * fix - adapt testing to new functionalities * fix - env variables security commit af609a1 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jul 28 10:41:55 2023 +0100 Creating CONTRIBUTING.md (ISIL-ESTE#79) commit 9254b1d Author: Muttaqin <MDMUTTAQIN20@GMAIL.COM> Date: Fri Jul 28 00:10:13 2023 +0600 Feat/configure pre-commit hook (ISIL-ESTE#81) * configure pre-commit hooks. * Pre-commit hook test - lint & fix every .js & .json file. commit fbb1537 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Wed Jul 26 17:47:48 2023 +0100 fix - rate limiter & duplicated methods & env variables (ISIL-ESTE#74) * Update access to env * configure rate limiter to ignore the SSE requests * verify user authorities and restrictions * update access to env variables commit c1894bc Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Tue Jul 25 19:59:30 2023 +0100 add count of closed pr (ISIL-ESTE#76) commit 8cf1209 Author: Muttaqin <MDMUTTAQIN20@GMAIL.COM> Date: Wed Jul 26 00:38:42 2023 +0600 Feat - token-based-authentication (ISIL-ESTE#75) * Configure linter and formatter. * Add configurations for access & refresh token. * Add token model. * Add functionality to generate Access & refresh token and send it to user. * save exact version of dev-dependencies. commit 0140aa1 Author: boujrada yassine <63125972+yassineboujrada@users.noreply.github.com> Date: Fri Jul 21 10:44:15 2023 +0100 Implement Sign Up Component with Next.js (ISIL-ESTE#67) * adding a login page but it need a auth * adding sign up componenet commit e2227f9 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri Jul 21 09:46:10 2023 +0100 dependencies update ISIL-ESTE#69 Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. - [Release notes](https://github.com/jonschlinkert/word-wrap/releases) - [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4) --- updated-dependencies: - dependency-name: word-wrap dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 19b5bf9 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri Jul 21 09:45:40 2023 +0100 dependencies update ISIL-ESTE#68 Bumps [mongoose](https://github.com/Automattic/mongoose) from 6.10.4 to 6.11.3. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md) - [Commits](Automattic/mongoose@6.10.4...6.11.3) --- updated-dependencies: - dependency-name: mongoose dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit c6c6d61 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri Jul 21 09:44:40 2023 +0100 dependencies update ISIL-ESTE#65 Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md) - [Commits](npm/node-semver@v5.7.1...v5.7.2) --- updated-dependencies: - dependency-name: semver dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit dd8c55a Merge: e2503a6 9b899d0 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Thu Jul 13 15:02:36 2023 +0100 Bump semver from 6.3.0 to 6.3.1 in /frontend-app ISIL-ESTE#64 Bump semver from 6.3.0 to 6.3.1 in /frontend-app ISIL-ESTE#64 commit e2503a6 Merge: 372d6ce 26702c0 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Thu Jul 13 15:01:06 2023 +0100 Github Oauth integration ISIL-ESTE#58 Github Oauth integration ISIL-ESTE#58 commit 9b899d0 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu Jul 13 05:00:30 2023 +0000 Bump semver from 6.3.0 to 6.3.1 in /frontend-app Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md) - [Commits](npm/node-semver@v6.3.0...v6.3.1) --- updated-dependencies: - dependency-name: semver dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> commit 26702c0 Author: Muttaqin <MDMUTTAQIN20@GMAIL.COM> Date: Fri Jul 7 10:12:04 2023 +0600 Github integration. commit 372d6ce Merge: 55be937 92eddd6 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Sat Jul 1 16:29:57 2023 +0100 Merge pull request ISIL-ESTE#61 from bellaabdelouahab/dev Enhance - appError & code cleanup & login page in frontend [ISIL-ESTE#61] commit 92eddd6 Merge: 2d3a5d3 d5b3b60 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sat Jul 1 16:26:43 2023 +0100 Merge commit 'd5b3b6057f88106099a3fd2a1095de400e767ff6' into dev commit 2d3a5d3 Merge: fbbdda1 55be937 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sat Jul 1 16:23:56 2023 +0100 Merge branch 'ISIL-ESTE:dev' into dev commit fbbdda1 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sat Jul 1 16:22:42 2023 +0100 enhe-app error clean up commit 55be937 Merge: a6fe803 dab86a2 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Sat Jul 1 16:20:07 2023 +0100 Merge pull request ISIL-ESTE#56 from bellaabdelouahab/dev Add user activation, metadata, routes, and soft delete logic; fix response path and server errors commit d5b3b60 Author: yassineboujrada <yassine.boujrada@gmail.com> Date: Wed Jun 28 23:29:42 2023 +0100 adding page for login with tailwind the part need is fix auth commit 1cdb4ae Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Tue Jun 27 18:57:46 2023 +0100 fix errors and add testing for activation commit dab86a2 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Mon Jun 26 19:49:14 2023 +0100 requested changes commit 41865dd Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Mon Jun 26 17:31:27 2023 +0100 Add user activation, metadata, routes, and soft delete logic; fix response path and server errors commit 8ebd680 Merge: 710ccbf a6fe803 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sun Jun 25 21:56:09 2023 +0100 trying to merge commit a6fe803 Merge: 0115fee 2c4d94c Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Sun Jun 25 21:49:23 2023 +0100 Merge pull request ISIL-ESTE#53 from muttaqin1/refactor/file-names Refactor - ISIL-ESTE#53 change file names commit 2c4d94c Author: muttaqin1 <mdmuttaqin20@gmail.com> Date: Mon Jun 26 02:18:51 2023 +0600 Update import paths. commit 7609c6b Author: muttaqin1 <mdmuttaqin20@gmail.com> Date: Mon Jun 26 01:32:02 2023 +0600 Refactor file names with underscore. commit 392b611 Author: muttaqin1 <mdmuttaqin20@gmail.com> Date: Mon Jun 26 01:08:59 2023 +0600 resolve ISIL-ESTE#52. commit 710ccbf Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sun Jun 25 19:17:42 2023 +0100 requested changes commit 0115fee Merge: dca09e4 c7b8464 Author: Khalid BOUSSAROUAL <102565973+Khalid1G@users.noreply.github.com> Date: Sun Jun 25 19:14:38 2023 +0100 Merge pull request ISIL-ESTE#51 from bellaabdelouahab/dev fix - testing role managment commit c7b8464 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sun Jun 25 12:43:24 2023 +0100 code cleaning commit 5b65a0f Merge: b2aa675 dca09e4 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sun Jun 25 12:21:08 2023 +0100 Merge remote-tracking commit b2aa675 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sun Jun 25 11:52:49 2023 +0100 👌fix-swagger-autogen & endpoints & jwt,feat-tests commit dca09e4 Merge: a97eeea 154d7ee Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jun 23 17:10:00 2023 +0100 Merge pull request ISIL-ESTE#45 from muttaqin1/bugFix/ban-user [ISIL-ESTE#45 ] issue - Bug fix/ban user commit 154d7ee Merge: 8d857ee a97eeea Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jun 23 16:58:37 2023 +0100 Merge branch 'dev' into bugFix/ban-user commit 8d857ee Author: muttaqin1 <mdmuttaqin20@gmail.com> Date: Fri Jun 23 21:34:32 2023 +0600 Fix ban and unban user. commit a97eeea Merge: d9ae2c6 17e53a5 Author: Khalid BOUSSAROUAL <102565973+Khalid1G@users.noreply.github.com> Date: Thu Jun 22 15:41:41 2023 +0100 Merge pull request ISIL-ESTE#40 from bellaabdelouahab/dev test - start code testing for login and sign up commit 17e53a5 Merge: be73f7d d9ae2c6 Author: Khalid BOUSSAROUAL <102565973+Khalid1G@users.noreply.github.com> Date: Thu Jun 22 15:39:57 2023 +0100 Merge branch 'dev' into dev commit d9ae2c6 Merge: 9d0bdd6 d6ebb36 Author: Khalid BOUSSAROUAL <102565973+Khalid1G@users.noreply.github.com> Date: Thu Jun 22 15:31:44 2023 +0100 Merge pull request ISIL-ESTE#38 from ISIL-ESTE/limiter add rate limit commit be73f7d Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Thu Jun 22 14:58:43 2023 +0100 test - add basic example of testing & fix imports commit d6ebb36 Author: Khalid BOUSSAROUAL <102565973+Khalid1G@users.noreply.github.com> Date: Thu Jun 22 13:46:01 2023 +0100 add rate limit commit 70bbe22 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Thu Jun 22 11:33:17 2023 +0100 👌 ensuring that main branch is protected commit 7301c3b Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Thu Jun 22 11:27:28 2023 +0100 👌ensuring that Conterbute is working
* fix - paths to user model * feat - api version control * fix - conf morgan to ignore redirected req * docs - base controller * feat - calendar model * Squashed commit of the following: commit 3e0da0c Author: Muttaqin <MDMUTTAQIN20@GMAIL.COM> Date: Fri Aug 11 00:13:20 2023 +0600 Feat/token based authentication 2 (#91) * Move .husky to the base dir. * Delete eslintrc.json. * Resolve #71 & fix import paths for user_model . * token refresh & logout. * Add utility class auth_utils. * Configure cookie parser. commit d5ff984 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jul 28 12:49:05 2023 +0100 fix - add logo path to readme (#86) commit 00c882e Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jul 28 12:47:07 2023 +0100 fix - eslint json roles -> js (#85) * Update access to env * configure rate limiter to ignore the SSE requests * verify user authorities and restrictions * update access to env variables * fix - adapt testing to new functionalities * fix - env variables security * extra fix * fix eslint json -> js commit f0674fb Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jul 28 11:29:11 2023 +0100 Update app_config.js (#84) commit b659237 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jul 28 11:21:01 2023 +0100 fix - Up date env variables : remove hard coded credentials (#83) * Update access to env * configure rate limiter to ignore the SSE requests * verify user authorities and restrictions * update access to env variables * fix - adapt testing to new functionalities * fix - env variables security commit af609a1 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jul 28 10:41:55 2023 +0100 Creating CONTRIBUTING.md (#79) commit 9254b1d Author: Muttaqin <MDMUTTAQIN20@GMAIL.COM> Date: Fri Jul 28 00:10:13 2023 +0600 Feat/configure pre-commit hook (#81) * configure pre-commit hooks. * Pre-commit hook test - lint & fix every .js & .json file. commit fbb1537 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Wed Jul 26 17:47:48 2023 +0100 fix - rate limiter & duplicated methods & env variables (#74) * Update access to env * configure rate limiter to ignore the SSE requests * verify user authorities and restrictions * update access to env variables commit c1894bc Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Tue Jul 25 19:59:30 2023 +0100 add count of closed pr (#76) commit 8cf1209 Author: Muttaqin <MDMUTTAQIN20@GMAIL.COM> Date: Wed Jul 26 00:38:42 2023 +0600 Feat - token-based-authentication (#75) * Configure linter and formatter. * Add configurations for access & refresh token. * Add token model. * Add functionality to generate Access & refresh token and send it to user. * save exact version of dev-dependencies. commit 0140aa1 Author: boujrada yassine <63125972+yassineboujrada@users.noreply.github.com> Date: Fri Jul 21 10:44:15 2023 +0100 Implement Sign Up Component with Next.js (#67) * adding a login page but it need a auth * adding sign up componenet commit e2227f9 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri Jul 21 09:46:10 2023 +0100 dependencies update #69 Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. - [Release notes](https://github.com/jonschlinkert/word-wrap/releases) - [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4) --- updated-dependencies: - dependency-name: word-wrap dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 19b5bf9 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri Jul 21 09:45:40 2023 +0100 dependencies update #68 Bumps [mongoose](https://github.com/Automattic/mongoose) from 6.10.4 to 6.11.3. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md) - [Commits](Automattic/mongoose@6.10.4...6.11.3) --- updated-dependencies: - dependency-name: mongoose dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit c6c6d61 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri Jul 21 09:44:40 2023 +0100 dependencies update #65 Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md) - [Commits](npm/node-semver@v5.7.1...v5.7.2) --- updated-dependencies: - dependency-name: semver dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit dd8c55a Merge: e2503a6 9b899d0 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Thu Jul 13 15:02:36 2023 +0100 Bump semver from 6.3.0 to 6.3.1 in /frontend-app #64 Bump semver from 6.3.0 to 6.3.1 in /frontend-app #64 commit e2503a6 Merge: 372d6ce 26702c0 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Thu Jul 13 15:01:06 2023 +0100 Github Oauth integration #58 Github Oauth integration #58 commit 9b899d0 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu Jul 13 05:00:30 2023 +0000 Bump semver from 6.3.0 to 6.3.1 in /frontend-app Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md) - [Commits](npm/node-semver@v6.3.0...v6.3.1) --- updated-dependencies: - dependency-name: semver dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> commit 26702c0 Author: Muttaqin <MDMUTTAQIN20@GMAIL.COM> Date: Fri Jul 7 10:12:04 2023 +0600 Github integration. commit 372d6ce Merge: 55be937 92eddd6 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Sat Jul 1 16:29:57 2023 +0100 Merge pull request #61 from bellaabdelouahab/dev Enhance - appError & code cleanup & login page in frontend [#61] commit 92eddd6 Merge: 2d3a5d3 d5b3b60 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sat Jul 1 16:26:43 2023 +0100 Merge commit 'd5b3b6057f88106099a3fd2a1095de400e767ff6' into dev commit 2d3a5d3 Merge: fbbdda1 55be937 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sat Jul 1 16:23:56 2023 +0100 Merge branch 'ISIL-ESTE:dev' into dev commit fbbdda1 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sat Jul 1 16:22:42 2023 +0100 enhe-app error clean up commit 55be937 Merge: a6fe803 dab86a2 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Sat Jul 1 16:20:07 2023 +0100 Merge pull request #56 from bellaabdelouahab/dev Add user activation, metadata, routes, and soft delete logic; fix response path and server errors commit d5b3b60 Author: yassineboujrada <yassine.boujrada@gmail.com> Date: Wed Jun 28 23:29:42 2023 +0100 adding page for login with tailwind the part need is fix auth commit 1cdb4ae Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Tue Jun 27 18:57:46 2023 +0100 fix errors and add testing for activation commit dab86a2 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Mon Jun 26 19:49:14 2023 +0100 requested changes commit 41865dd Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Mon Jun 26 17:31:27 2023 +0100 Add user activation, metadata, routes, and soft delete logic; fix response path and server errors commit 8ebd680 Merge: 710ccbf a6fe803 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sun Jun 25 21:56:09 2023 +0100 trying to merge commit a6fe803 Merge: 0115fee 2c4d94c Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Sun Jun 25 21:49:23 2023 +0100 Merge pull request #53 from muttaqin1/refactor/file-names Refactor - #53 change file names commit 2c4d94c Author: muttaqin1 <mdmuttaqin20@gmail.com> Date: Mon Jun 26 02:18:51 2023 +0600 Update import paths. commit 7609c6b Author: muttaqin1 <mdmuttaqin20@gmail.com> Date: Mon Jun 26 01:32:02 2023 +0600 Refactor file names with underscore. commit 392b611 Author: muttaqin1 <mdmuttaqin20@gmail.com> Date: Mon Jun 26 01:08:59 2023 +0600 resolve #52. commit 710ccbf Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sun Jun 25 19:17:42 2023 +0100 requested changes commit 0115fee Merge: dca09e4 c7b8464 Author: Khalid BOUSSAROUAL <102565973+Khalid1G@users.noreply.github.com> Date: Sun Jun 25 19:14:38 2023 +0100 Merge pull request #51 from bellaabdelouahab/dev fix - testing role managment commit c7b8464 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sun Jun 25 12:43:24 2023 +0100 code cleaning commit 5b65a0f Merge: b2aa675 dca09e4 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sun Jun 25 12:21:08 2023 +0100 Merge remote-tracking commit b2aa675 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sun Jun 25 11:52:49 2023 +0100 👌fix-swagger-autogen & endpoints & jwt,feat-tests commit dca09e4 Merge: a97eeea 154d7ee Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jun 23 17:10:00 2023 +0100 Merge pull request #45 from muttaqin1/bugFix/ban-user [#45 ] issue - Bug fix/ban user commit 154d7ee Merge: 8d857ee a97eeea Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jun 23 16:58:37 2023 +0100 Merge branch 'dev' into bugFix/ban-user commit 8d857ee Author: muttaqin1 <mdmuttaqin20@gmail.com> Date: Fri Jun 23 21:34:32 2023 +0600 Fix ban and unban user. commit a97eeea Merge: d9ae2c6 17e53a5 Author: Khalid BOUSSAROUAL <102565973+Khalid1G@users.noreply.github.com> Date: Thu Jun 22 15:41:41 2023 +0100 Merge pull request #40 from bellaabdelouahab/dev test - start code testing for login and sign up commit 17e53a5 Merge: be73f7d d9ae2c6 Author: Khalid BOUSSAROUAL <102565973+Khalid1G@users.noreply.github.com> Date: Thu Jun 22 15:39:57 2023 +0100 Merge branch 'dev' into dev commit d9ae2c6 Merge: 9d0bdd6 d6ebb36 Author: Khalid BOUSSAROUAL <102565973+Khalid1G@users.noreply.github.com> Date: Thu Jun 22 15:31:44 2023 +0100 Merge pull request #38 from ISIL-ESTE/limiter add rate limit commit be73f7d Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Thu Jun 22 14:58:43 2023 +0100 test - add basic example of testing & fix imports commit d6ebb36 Author: Khalid BOUSSAROUAL <102565973+Khalid1G@users.noreply.github.com> Date: Thu Jun 22 13:46:01 2023 +0100 add rate limit commit 70bbe22 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Thu Jun 22 11:33:17 2023 +0100 👌 ensuring that main branch is protected commit 7301c3b Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Thu Jun 22 11:27:28 2023 +0100 👌ensuring that Conterbute is working
* fix - paths to user model * feat - api version control * fix - conf morgan to ignore redirected req * docs - base controller * feat - calendar model * Squashed commit of the following: commit 3e0da0c Author: Muttaqin <MDMUTTAQIN20@GMAIL.COM> Date: Fri Aug 11 00:13:20 2023 +0600 Feat/token based authentication 2 (#91) * Move .husky to the base dir. * Delete eslintrc.json. * Resolve #71 & fix import paths for user_model . * token refresh & logout. * Add utility class auth_utils. * Configure cookie parser. commit d5ff984 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jul 28 12:49:05 2023 +0100 fix - add logo path to readme (#86) commit 00c882e Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jul 28 12:47:07 2023 +0100 fix - eslint json roles -> js (#85) * Update access to env * configure rate limiter to ignore the SSE requests * verify user authorities and restrictions * update access to env variables * fix - adapt testing to new functionalities * fix - env variables security * extra fix * fix eslint json -> js commit f0674fb Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jul 28 11:29:11 2023 +0100 Update app_config.js (#84) commit b659237 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jul 28 11:21:01 2023 +0100 fix - Up date env variables : remove hard coded credentials (#83) * Update access to env * configure rate limiter to ignore the SSE requests * verify user authorities and restrictions * update access to env variables * fix - adapt testing to new functionalities * fix - env variables security commit af609a1 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jul 28 10:41:55 2023 +0100 Creating CONTRIBUTING.md (#79) commit 9254b1d Author: Muttaqin <MDMUTTAQIN20@GMAIL.COM> Date: Fri Jul 28 00:10:13 2023 +0600 Feat/configure pre-commit hook (#81) * configure pre-commit hooks. * Pre-commit hook test - lint & fix every .js & .json file. commit fbb1537 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Wed Jul 26 17:47:48 2023 +0100 fix - rate limiter & duplicated methods & env variables (#74) * Update access to env * configure rate limiter to ignore the SSE requests * verify user authorities and restrictions * update access to env variables commit c1894bc Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Tue Jul 25 19:59:30 2023 +0100 add count of closed pr (#76) commit 8cf1209 Author: Muttaqin <MDMUTTAQIN20@GMAIL.COM> Date: Wed Jul 26 00:38:42 2023 +0600 Feat - token-based-authentication (#75) * Configure linter and formatter. * Add configurations for access & refresh token. * Add token model. * Add functionality to generate Access & refresh token and send it to user. * save exact version of dev-dependencies. commit 0140aa1 Author: boujrada yassine <63125972+yassineboujrada@users.noreply.github.com> Date: Fri Jul 21 10:44:15 2023 +0100 Implement Sign Up Component with Next.js (#67) * adding a login page but it need a auth * adding sign up componenet commit e2227f9 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri Jul 21 09:46:10 2023 +0100 dependencies update #69 Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. - [Release notes](https://github.com/jonschlinkert/word-wrap/releases) - [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4) --- updated-dependencies: - dependency-name: word-wrap dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 19b5bf9 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri Jul 21 09:45:40 2023 +0100 dependencies update #68 Bumps [mongoose](https://github.com/Automattic/mongoose) from 6.10.4 to 6.11.3. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md) - [Commits](Automattic/mongoose@6.10.4...6.11.3) --- updated-dependencies: - dependency-name: mongoose dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit c6c6d61 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri Jul 21 09:44:40 2023 +0100 dependencies update #65 Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md) - [Commits](npm/node-semver@v5.7.1...v5.7.2) --- updated-dependencies: - dependency-name: semver dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit dd8c55a Merge: e2503a6 9b899d0 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Thu Jul 13 15:02:36 2023 +0100 Bump semver from 6.3.0 to 6.3.1 in /frontend-app #64 Bump semver from 6.3.0 to 6.3.1 in /frontend-app #64 commit e2503a6 Merge: 372d6ce 26702c0 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Thu Jul 13 15:01:06 2023 +0100 Github Oauth integration #58 Github Oauth integration #58 commit 9b899d0 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu Jul 13 05:00:30 2023 +0000 Bump semver from 6.3.0 to 6.3.1 in /frontend-app Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md) - [Commits](npm/node-semver@v6.3.0...v6.3.1) --- updated-dependencies: - dependency-name: semver dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> commit 26702c0 Author: Muttaqin <MDMUTTAQIN20@GMAIL.COM> Date: Fri Jul 7 10:12:04 2023 +0600 Github integration. commit 372d6ce Merge: 55be937 92eddd6 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Sat Jul 1 16:29:57 2023 +0100 Merge pull request #61 from bellaabdelouahab/dev Enhance - appError & code cleanup & login page in frontend [#61] commit 92eddd6 Merge: 2d3a5d3 d5b3b60 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sat Jul 1 16:26:43 2023 +0100 Merge commit 'd5b3b6057f88106099a3fd2a1095de400e767ff6' into dev commit 2d3a5d3 Merge: fbbdda1 55be937 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sat Jul 1 16:23:56 2023 +0100 Merge branch 'ISIL-ESTE:dev' into dev commit fbbdda1 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sat Jul 1 16:22:42 2023 +0100 enhe-app error clean up commit 55be937 Merge: a6fe803 dab86a2 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Sat Jul 1 16:20:07 2023 +0100 Merge pull request #56 from bellaabdelouahab/dev Add user activation, metadata, routes, and soft delete logic; fix response path and server errors commit d5b3b60 Author: yassineboujrada <yassine.boujrada@gmail.com> Date: Wed Jun 28 23:29:42 2023 +0100 adding page for login with tailwind the part need is fix auth commit 1cdb4ae Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Tue Jun 27 18:57:46 2023 +0100 fix errors and add testing for activation commit dab86a2 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Mon Jun 26 19:49:14 2023 +0100 requested changes commit 41865dd Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Mon Jun 26 17:31:27 2023 +0100 Add user activation, metadata, routes, and soft delete logic; fix response path and server errors commit 8ebd680 Merge: 710ccbf a6fe803 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sun Jun 25 21:56:09 2023 +0100 trying to merge commit a6fe803 Merge: 0115fee 2c4d94c Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Sun Jun 25 21:49:23 2023 +0100 Merge pull request #53 from muttaqin1/refactor/file-names Refactor - #53 change file names commit 2c4d94c Author: muttaqin1 <mdmuttaqin20@gmail.com> Date: Mon Jun 26 02:18:51 2023 +0600 Update import paths. commit 7609c6b Author: muttaqin1 <mdmuttaqin20@gmail.com> Date: Mon Jun 26 01:32:02 2023 +0600 Refactor file names with underscore. commit 392b611 Author: muttaqin1 <mdmuttaqin20@gmail.com> Date: Mon Jun 26 01:08:59 2023 +0600 resolve #52. commit 710ccbf Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sun Jun 25 19:17:42 2023 +0100 requested changes commit 0115fee Merge: dca09e4 c7b8464 Author: Khalid BOUSSAROUAL <102565973+Khalid1G@users.noreply.github.com> Date: Sun Jun 25 19:14:38 2023 +0100 Merge pull request #51 from bellaabdelouahab/dev fix - testing role managment commit c7b8464 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sun Jun 25 12:43:24 2023 +0100 code cleaning commit 5b65a0f Merge: b2aa675 dca09e4 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sun Jun 25 12:21:08 2023 +0100 Merge remote-tracking commit b2aa675 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sun Jun 25 11:52:49 2023 +0100 👌fix-swagger-autogen & endpoints & jwt,feat-tests commit dca09e4 Merge: a97eeea 154d7ee Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jun 23 17:10:00 2023 +0100 Merge pull request #45 from muttaqin1/bugFix/ban-user [#45 ] issue - Bug fix/ban user commit 154d7ee Merge: 8d857ee a97eeea Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jun 23 16:58:37 2023 +0100 Merge branch 'dev' into bugFix/ban-user commit 8d857ee Author: muttaqin1 <mdmuttaqin20@gmail.com> Date: Fri Jun 23 21:34:32 2023 +0600 Fix ban and unban user. commit a97eeea Merge: d9ae2c6 17e53a5 Author: Khalid BOUSSAROUAL <102565973+Khalid1G@users.noreply.github.com> Date: Thu Jun 22 15:41:41 2023 +0100 Merge pull request #40 from bellaabdelouahab/dev test - start code testing for login and sign up commit 17e53a5 Merge: be73f7d d9ae2c6 Author: Khalid BOUSSAROUAL <102565973+Khalid1G@users.noreply.github.com> Date: Thu Jun 22 15:39:57 2023 +0100 Merge branch 'dev' into dev commit d9ae2c6 Merge: 9d0bdd6 d6ebb36 Author: Khalid BOUSSAROUAL <102565973+Khalid1G@users.noreply.github.com> Date: Thu Jun 22 15:31:44 2023 +0100 Merge pull request #38 from ISIL-ESTE/limiter add rate limit commit be73f7d Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Thu Jun 22 14:58:43 2023 +0100 test - add basic example of testing & fix imports commit d6ebb36 Author: Khalid BOUSSAROUAL <102565973+Khalid1G@users.noreply.github.com> Date: Thu Jun 22 13:46:01 2023 +0100 add rate limit commit 70bbe22 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Thu Jun 22 11:33:17 2023 +0100 👌 ensuring that main branch is protected commit 7301c3b Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Thu Jun 22 11:27:28 2023 +0100 👌ensuring that Conterbute is working * enhance - add base routes for Calendar * fix - add metadata to event model * fix - update calendar routes * fix add gitignore in base dir * feat - add bearer extractor * fix - api auto versioning and clean code * fix - swagger load after app starts * create jest config file * fix - access boolean in env * fix - * required account activation * add new impl of api version * config jest setup & teardown * add calendar participents routes * fix - jest command not found * update - unit tests * fix - keep db connection alive in all tests * inhen - signup tests working * fix - tests for signup login activate * fix - signup conflict * combine signip and login tests * fix - sanitize email input * fix - other sql inj vulnerabilities * help wanted - disable signup * fix - restructure controllers folders * fix - new importations * inhence - use package.json version as reference to backend api * fix - sentiseze updateMe route body * fix - user id parsing * fix - package importing
* fix - paths to user model * feat - api version control * fix - conf morgan to ignore redirected req * docs - base controller * feat - calendar model * Squashed commit of the following: commit 3e0da0c Author: Muttaqin <MDMUTTAQIN20@GMAIL.COM> Date: Fri Aug 11 00:13:20 2023 +0600 Feat/token based authentication 2 (#91) * Move .husky to the base dir. * Delete eslintrc.json. * Resolve #71 & fix import paths for user_model . * token refresh & logout. * Add utility class auth_utils. * Configure cookie parser. commit d5ff984 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jul 28 12:49:05 2023 +0100 fix - add logo path to readme (#86) commit 00c882e Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jul 28 12:47:07 2023 +0100 fix - eslint json roles -> js (#85) * Update access to env * configure rate limiter to ignore the SSE requests * verify user authorities and restrictions * update access to env variables * fix - adapt testing to new functionalities * fix - env variables security * extra fix * fix eslint json -> js commit f0674fb Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jul 28 11:29:11 2023 +0100 Update app_config.js (#84) commit b659237 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jul 28 11:21:01 2023 +0100 fix - Up date env variables : remove hard coded credentials (#83) * Update access to env * configure rate limiter to ignore the SSE requests * verify user authorities and restrictions * update access to env variables * fix - adapt testing to new functionalities * fix - env variables security commit af609a1 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jul 28 10:41:55 2023 +0100 Creating CONTRIBUTING.md (#79) commit 9254b1d Author: Muttaqin <MDMUTTAQIN20@GMAIL.COM> Date: Fri Jul 28 00:10:13 2023 +0600 Feat/configure pre-commit hook (#81) * configure pre-commit hooks. * Pre-commit hook test - lint & fix every .js & .json file. commit fbb1537 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Wed Jul 26 17:47:48 2023 +0100 fix - rate limiter & duplicated methods & env variables (#74) * Update access to env * configure rate limiter to ignore the SSE requests * verify user authorities and restrictions * update access to env variables commit c1894bc Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Tue Jul 25 19:59:30 2023 +0100 add count of closed pr (#76) commit 8cf1209 Author: Muttaqin <MDMUTTAQIN20@GMAIL.COM> Date: Wed Jul 26 00:38:42 2023 +0600 Feat - token-based-authentication (#75) * Configure linter and formatter. * Add configurations for access & refresh token. * Add token model. * Add functionality to generate Access & refresh token and send it to user. * save exact version of dev-dependencies. commit 0140aa1 Author: boujrada yassine <63125972+yassineboujrada@users.noreply.github.com> Date: Fri Jul 21 10:44:15 2023 +0100 Implement Sign Up Component with Next.js (#67) * adding a login page but it need a auth * adding sign up componenet commit e2227f9 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri Jul 21 09:46:10 2023 +0100 dependencies update #69 Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. - [Release notes](https://github.com/jonschlinkert/word-wrap/releases) - [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4) --- updated-dependencies: - dependency-name: word-wrap dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 19b5bf9 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri Jul 21 09:45:40 2023 +0100 dependencies update #68 Bumps [mongoose](https://github.com/Automattic/mongoose) from 6.10.4 to 6.11.3. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md) - [Commits](Automattic/mongoose@6.10.4...6.11.3) --- updated-dependencies: - dependency-name: mongoose dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit c6c6d61 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri Jul 21 09:44:40 2023 +0100 dependencies update #65 Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md) - [Commits](npm/node-semver@v5.7.1...v5.7.2) --- updated-dependencies: - dependency-name: semver dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit dd8c55a Merge: e2503a6 9b899d0 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Thu Jul 13 15:02:36 2023 +0100 Bump semver from 6.3.0 to 6.3.1 in /frontend-app #64 Bump semver from 6.3.0 to 6.3.1 in /frontend-app #64 commit e2503a6 Merge: 372d6ce 26702c0 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Thu Jul 13 15:01:06 2023 +0100 Github Oauth integration #58 Github Oauth integration #58 commit 9b899d0 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu Jul 13 05:00:30 2023 +0000 Bump semver from 6.3.0 to 6.3.1 in /frontend-app Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md) - [Commits](npm/node-semver@v6.3.0...v6.3.1) --- updated-dependencies: - dependency-name: semver dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> commit 26702c0 Author: Muttaqin <MDMUTTAQIN20@GMAIL.COM> Date: Fri Jul 7 10:12:04 2023 +0600 Github integration. commit 372d6ce Merge: 55be937 92eddd6 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Sat Jul 1 16:29:57 2023 +0100 Merge pull request #61 from bellaabdelouahab/dev Enhance - appError & code cleanup & login page in frontend [#61] commit 92eddd6 Merge: 2d3a5d3 d5b3b60 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sat Jul 1 16:26:43 2023 +0100 Merge commit 'd5b3b6057f88106099a3fd2a1095de400e767ff6' into dev commit 2d3a5d3 Merge: fbbdda1 55be937 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sat Jul 1 16:23:56 2023 +0100 Merge branch 'ISIL-ESTE:dev' into dev commit fbbdda1 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sat Jul 1 16:22:42 2023 +0100 enhe-app error clean up commit 55be937 Merge: a6fe803 dab86a2 Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Sat Jul 1 16:20:07 2023 +0100 Merge pull request #56 from bellaabdelouahab/dev Add user activation, metadata, routes, and soft delete logic; fix response path and server errors commit d5b3b60 Author: yassineboujrada <yassine.boujrada@gmail.com> Date: Wed Jun 28 23:29:42 2023 +0100 adding page for login with tailwind the part need is fix auth commit 1cdb4ae Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Tue Jun 27 18:57:46 2023 +0100 fix errors and add testing for activation commit dab86a2 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Mon Jun 26 19:49:14 2023 +0100 requested changes commit 41865dd Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Mon Jun 26 17:31:27 2023 +0100 Add user activation, metadata, routes, and soft delete logic; fix response path and server errors commit 8ebd680 Merge: 710ccbf a6fe803 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sun Jun 25 21:56:09 2023 +0100 trying to merge commit a6fe803 Merge: 0115fee 2c4d94c Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Sun Jun 25 21:49:23 2023 +0100 Merge pull request #53 from muttaqin1/refactor/file-names Refactor - #53 change file names commit 2c4d94c Author: muttaqin1 <mdmuttaqin20@gmail.com> Date: Mon Jun 26 02:18:51 2023 +0600 Update import paths. commit 7609c6b Author: muttaqin1 <mdmuttaqin20@gmail.com> Date: Mon Jun 26 01:32:02 2023 +0600 Refactor file names with underscore. commit 392b611 Author: muttaqin1 <mdmuttaqin20@gmail.com> Date: Mon Jun 26 01:08:59 2023 +0600 resolve #52. commit 710ccbf Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sun Jun 25 19:17:42 2023 +0100 requested changes commit 0115fee Merge: dca09e4 c7b8464 Author: Khalid BOUSSAROUAL <102565973+Khalid1G@users.noreply.github.com> Date: Sun Jun 25 19:14:38 2023 +0100 Merge pull request #51 from bellaabdelouahab/dev fix - testing role managment commit c7b8464 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sun Jun 25 12:43:24 2023 +0100 code cleaning commit 5b65a0f Merge: b2aa675 dca09e4 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sun Jun 25 12:21:08 2023 +0100 Merge remote-tracking commit b2aa675 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Sun Jun 25 11:52:49 2023 +0100 👌fix-swagger-autogen & endpoints & jwt,feat-tests commit dca09e4 Merge: a97eeea 154d7ee Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jun 23 17:10:00 2023 +0100 Merge pull request #45 from muttaqin1/bugFix/ban-user [#45 ] issue - Bug fix/ban user commit 154d7ee Merge: 8d857ee a97eeea Author: Abdelouahab Bella <abdobella977@gmail.com> Date: Fri Jun 23 16:58:37 2023 +0100 Merge branch 'dev' into bugFix/ban-user commit 8d857ee Author: muttaqin1 <mdmuttaqin20@gmail.com> Date: Fri Jun 23 21:34:32 2023 +0600 Fix ban and unban user. commit a97eeea Merge: d9ae2c6 17e53a5 Author: Khalid BOUSSAROUAL <102565973+Khalid1G@users.noreply.github.com> Date: Thu Jun 22 15:41:41 2023 +0100 Merge pull request #40 from bellaabdelouahab/dev test - start code testing for login and sign up commit 17e53a5 Merge: be73f7d d9ae2c6 Author: Khalid BOUSSAROUAL <102565973+Khalid1G@users.noreply.github.com> Date: Thu Jun 22 15:39:57 2023 +0100 Merge branch 'dev' into dev commit d9ae2c6 Merge: 9d0bdd6 d6ebb36 Author: Khalid BOUSSAROUAL <102565973+Khalid1G@users.noreply.github.com> Date: Thu Jun 22 15:31:44 2023 +0100 Merge pull request #38 from ISIL-ESTE/limiter add rate limit commit be73f7d Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Thu Jun 22 14:58:43 2023 +0100 test - add basic example of testing & fix imports commit d6ebb36 Author: Khalid BOUSSAROUAL <102565973+Khalid1G@users.noreply.github.com> Date: Thu Jun 22 13:46:01 2023 +0100 add rate limit commit 70bbe22 Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Thu Jun 22 11:33:17 2023 +0100 👌 ensuring that main branch is protected commit 7301c3b Author: Abdelouahab Bella <a.bella4246@uca.ac.ma> Date: Thu Jun 22 11:27:28 2023 +0100 👌ensuring that Conterbute is working * enhance - add base routes for Calendar * fix - add metadata to event model * fix - update calendar routes * fix add gitignore in base dir * feat - add bearer extractor * fix - api auto versioning and clean code * fix - swagger load after app starts * create jest config file * fix - access boolean in env * fix - * required account activation * add new impl of api version * config jest setup & teardown * add calendar participents routes * fix - jest command not found * update - unit tests * fix - keep db connection alive in all tests * inhen - signup tests working * fix - tests for signup login activate * fix - signup conflict * combine signip and login tests * fix - sanitize email input * fix - other sql inj vulnerabilities * help wanted - disable signup * fix - restructure controllers folders * fix - new importations * inhence - use package.json version as reference to backend api * fix - sentiseze updateMe route body * fix - user id parsing * fix - package importing * feat - create seed data * inhen - update calendar & event model field names * inhance - switching to Ts * fix - ci for nodejs api
1- Generate tokens.
2- Save tokens in db.
2 Configure eslint & prettier.
Partially resolved issue #46