Commit Graph

40 Commits

Author SHA1 Message Date
Alex Holliday
35ddd20dcc Merge branch 'develop' into feat/be/esm 2024-10-16 10:57:24 +08:00
Alex Holliday
f057807b56 migrate to esm 2024-10-15 11:57:37 +08:00
Caio Cabral
0c9bcd1bd5 chore: adding prettierrc file 2024-10-08 11:57:08 -04:00
Alex Holliday
c1d1e0ad1d Refactor for clarity and correctness, add JS docs 2024-10-01 10:55:51 +08:00
Alex Holliday
e0e80dc9c7 Refactor method names, add improve JSdocs for monitorController 2024-10-01 10:29:32 +08:00
Alex Holliday
6c598b976f Move db models to db folder 2024-10-01 10:01:25 +08:00
Alex Holliday
888f644c7c user -> User 2024-09-26 10:28:48 +08:00
Alex Holliday
5bd13a572e Add middleware for verifying roles, use middleware on appropriate routs 2024-08-27 10:39:55 -07:00
Alex Holliday
ac37211e32 refactor invite to its own route and controller 2024-08-26 17:43:56 -07:00
Alex Holliday
bad0039757 renamed verifyAdmin to verifySuperAdmin 2024-08-26 15:36:53 -07:00
Alex Holliday
ef02bd8078 Check for superadmin as opposed to admin 2024-08-26 09:46:23 -07:00
Alex Holliday
ae46527965 removed double login prevention 2024-08-15 11:39:45 -07:00
Alex Holliday
9f4d23b1b4 Add logout route and controller, remove JWT from user on logout 2024-08-09 13:33:13 -07:00
Alex Holliday
aed4881eac Fix rest verbs 2024-08-02 11:54:46 -07:00
Alex Holliday
c77414f2d7 Added check to verify and fetch token from server 2024-07-23 12:27:23 -07:00
Alex Holliday
8e6cd0de71 Added verifyAdmin middleware. Implemented getAllUsers route 2024-07-22 11:49:22 -07:00
Alex Holliday
4e56db368f Add invite route 2024-07-19 11:11:59 -07:00
Alex Holliday
5889e37bbd Add invite token 2024-07-19 10:59:04 -07:00
Alexander Holliday
d88ac3c5c4 Update authRoute.js
Added userID param back to delete route, needed for middleware functionality
2024-07-06 22:18:23 -07:00
MuhammadKhalilzadeh
e7fb6a9e60 small changes 2024-07-06 09:03:09 +03:30
MuhammadKhalilzadeh
4f8031a944 Leveraging JWT for Authenticated Access 2024-07-05 10:19:58 +03:30
MuhammadKhalilzadeh
17337d69b5 small error handling 2024-07-04 11:52:46 +03:30
MuhammadKhalilzadeh
a6ccb4d9ed verifyOwnership added on the route 2024-07-04 11:39:18 +03:30
Mohammad Khalilzadeh
a2e378f1dd Merge branch 'bluewave-labs:master' into backend-completion 2024-07-04 11:18:30 +03:30
Alex Holliday
da1e8ee5d9 Added image bytes to update user profile 2024-07-03 10:23:16 -07:00
MuhammadKhalilzadeh
b239aae4ed Merge branch 'backend-completion' of https://github.com/MuhammadKhalilzadeh/bluewave-uptime into backend-completion 2024-07-03 11:10:10 +03:30
MuhammadKhalilzadeh
41094171f4 error handling and protection 2024-07-03 08:51:53 +03:30
Alexander Holliday
75d16b749d Merge pull request #243 from bluewave-labs/feat/check-admin
Feat/check admin, resolves #241
2024-07-02 14:22:05 -07:00
Alex Holliday
d7d6effdda Add route and controller 2024-07-02 10:38:02 -07:00
MuhammadKhalilzadeh
af0ec810c9 delete functionality working 2024-07-02 12:16:33 +03:30
Alex Holliday
e8d4a5d868 Add profileImage to schema, controllers, and routes 2024-07-01 11:48:56 -07:00
MuhammadKhalilzadeh
81cd302acc modifications 2024-06-29 11:58:27 +03:30
MuhammadKhalilzadeh
704980045d fixes 2024-06-28 21:02:49 +03:30
Alex Holliday
e576514ff8 Added reset password endpoint, updated readme 2024-06-11 10:36:56 -07:00
Alex Holliday
0eda4ceb77 Added route for validating recovery token 2024-06-10 16:07:52 -07:00
Alex Holliday
276dadab66 Added recovery Request route, controller, and DB operations 2024-06-10 15:54:45 -07:00
Alex Holliday
7672cd5530 Removed password from returned user, updated readme 2024-05-27 12:27:57 -07:00
Alex Holliday
d84a0f9c87 Started update user route 2024-05-27 11:57:25 -07:00
Alex Holliday
e7a58f2756 Added login route, updated readme 2024-05-15 12:16:04 -07:00
veyselboybay
baba4ec540 Added user model, joi validation and register new user function 2024-05-09 17:06:00 -04:00