Commit Graph

143 Commits

Author SHA1 Message Date
Alex Holliday
43bac259d7 Generate avatar image on register or update if an image is included 2024-07-08 10:26:56 -07:00
Alexander Holliday
ad26d1ba19 Update authController.js
Removed log statement
2024-07-06 22:19:02 -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
Mohammad Khalilzadeh
9a9200c68e Merge branch 'bluewave-labs:master' into backend-completion 2024-07-06 08:50:43 +03:30
MuhammadKhalilzadeh
30a0cdd11c replace decode with verify 2024-07-06 08:48:58 +03:30
Alex Holliday
f5e4aa0b0c Fixed select error in getUserByEmail 2024-07-05 13:30:39 -07:00
MuhammadKhalilzadeh
4f8031a944 Leveraging JWT for Authenticated Access 2024-07-05 10:19:58 +03:30
Mohammad Khalilzadeh
a7adb8c04b Merge branch 'bluewave-labs:master' into backend-completion 2024-07-05 09:20:24 +03:30
Alex Holliday
f97382c88d Removed profile image from user before returning it 2024-07-04 12:00:37 -07:00
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
fc6691e148 Added missing await 2024-07-03 23:19:12 -07:00
Alex Holliday
5d24f3136c Replace job in queue when monitor is edited 2024-07-03 13:55:44 -07:00
Alex Holliday
04ff74dcef Update monitor status 2024-07-03 13:19:47 -07:00
Alexander Holliday
be9e5884bf Merge pull request #251 from bluewave-labs/feat/monitor-status-change
Monitor now has a status, status will be updated on new check, #235
2024-07-03 13:09:31 -07:00
Alex Holliday
ceecf3427c Added JS doc 2024-07-03 12:34:57 -07:00
Alex Holliday
505d9f2890 Added error checking and fixed typo 2024-07-03 12:32:42 -07:00
Alex Holliday
f97aa1ca8c Return user and Token instead of decoding token. Added transform to not store image in redux store 2024-07-03 12:20:30 -07:00
Alex Holliday
59992b4ac8 Remove profileImage from returned user 2024-07-03 11:59:24 -07:00
Alex Holliday
031ae06d41 Add conditional to avoid extra db operatons 2024-07-03 11:46:30 -07:00
Alex Holliday
9ccf42fe55 Monitor now has a status, status will be updated on new check 2024-07-03 11:41:12 -07:00
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
Alexander Holliday
7d78d054ba Merge pull request #231 from bluewave-labs/feat/image-upload
Feat/image upload, resolves #221
2024-07-02 12:33:49 -07:00
Alexander Holliday
3760e6b5e7 Merge pull request #238 from bluewave-labs/fix/verify-ownership
Added special case for User document, resolves #237
2024-07-02 11:13:53 -07:00
Alexander Holliday
c545a704ac Merge branch 'master' into feat/image-upload 2024-07-02 11:00:48 -07:00
Alex Holliday
ec63281202 Return admin account status on check 2024-07-02 10:45:38 -07:00
Alex Holliday
c469a01ec5 Updated validation 2024-07-02 10:39:22 -07:00
Alex Holliday
d7d6effdda Add route and controller 2024-07-02 10:38:02 -07:00
Alex Holliday
898738e287 Added role field to User model 2024-07-02 10:24:06 -07:00
Alex Holliday
50f219249b Added special case for User document 2024-07-02 10:20:10 -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
MuhammadKhalilzadeh
e11ae4d460 complementary deletions on user delete 2024-06-28 20:13:07 +03:30
MuhammadKhalilzadeh
318b62cd3b fix commit 2024-06-28 13:46:05 +03:30
MuhammadKhalilzadeh
6205a3385e fix commit 2024-06-28 13:35:26 +03:30
MuhammadKhalilzadeh
07ea9c590d add some backend code 2024-06-28 13:30:14 +03:30
MuhammadKhalilzadeh
7b261fabc2 setting up my server 2024-06-28 13:01:43 +03:30
Alexander Holliday
74da41bf3b Merge pull request #188 from bluewave-labs/feat/full-app-docker
Full application docker compose set up, resolves #187
2024-06-26 02:02:08 -04:00
Alex Holliday
531eb0b857 Full application docker compose set up 2024-06-24 16:09:51 -07:00
Alex Holliday
61a059bf21 Added token TTL env variable with default of 2 hours 2024-06-24 14:12:23 -07:00
Alex Holliday
d883898384 Refactored to deal with empty data set 2024-06-24 10:59:18 -07:00
Alex Holliday
18df7d8fd5 Added checks to monitors for getMonitorsById and getMonitorsByUserId. Added TTL to checks (1 month) 2024-06-18 12:45:25 -07:00
Alex Holliday
59562b10c9 Improved network service error handling 2024-06-18 11:42:25 -07:00