Commit Graph

53 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
Mohammad Khalilzadeh
9a9200c68e Merge branch 'bluewave-labs:master' into backend-completion 2024-07-06 08:50:43 +03:30
Alex Holliday
f5e4aa0b0c Fixed select error in getUserByEmail 2024-07-05 13:30:39 -07:00
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
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
ec63281202 Return admin account status on check 2024-07-02 10:45:38 -07:00
Alex Holliday
d7d6effdda Add route and controller 2024-07-02 10:38:02 -07:00
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
07ea9c590d add some backend code 2024-06-28 13:30:14 +03:30
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
Alex Holliday
771cce98b5 Checks now inserted into db during monitor status check 2024-06-17 13:52:20 -07:00
Alex Holliday
6801d066a1 Added delete cascade for Montiors. Alerts and Checks now also deleted 2024-06-17 12:08:41 -07:00
Alex Holliday
5da22f4403 Refactored hardcoded error messages to util file. Added logging to job queue 2024-06-14 13:45:45 -07:00
Alex Holliday
08565c9eda Simplified form control in Login and Register. Fixed registration bug. Throw better errors 2024-06-12 13:30:56 -07:00
Alex Holliday
80af000a0c ACheck for new password different than old password. Fixed typo in route. Updated error msg 2024-06-12 10:25:35 -07:00
Alex Holliday
a8af106606 Connected set new password to backend 2024-06-11 14:18:20 -07:00
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
d842d9c9a9 Merge branch 'master' into feat/alert-db 2024-05-29 12:18:18 -07:00
Alex Holliday
5fc4b018f9 Fixed return type for deleteChecks 2024-05-29 12:15:59 -07:00
Alex Holliday
879d2337b6 Added alert DB operations 2024-05-29 12:12:56 -07:00
Alex Holliday
6437e8e9bf implemented DB operations for Checks 2024-05-29 10:59:29 -07:00
Alex Holliday
fdb8c6b20a Finished routes, validation, and scaffold DB 2024-05-28 13:02:19 -07:00
Alex Holliday
bd4d442781 Merge branch 'master' into feat/check-routes 2024-05-27 15:38:12 -07:00
Alex Holliday
1e398d9153 Added route and DB scaffolds 2024-05-27 13:51:51 -07:00
Alex Holliday
7672cd5530 Removed password from returned user, updated readme 2024-05-27 12:27:57 -07:00
Alex Holliday
78abdd7f70 Fixed bug in error handler, finished implementing update user endpoint 2024-05-27 12:03:32 -07:00
Alex Holliday
d84a0f9c87 Started update user route 2024-05-27 11:57:25 -07:00
Alex Holliday
ef8867658e Removed package-lock.json from root 2024-05-24 13:44:42 -07:00
Alex Holliday
b1afdaa776 Added JWT to registration and login 2024-05-22 10:48:58 -07:00
Alex Holliday
4f934c0d69 Accidentally removed isActive filter from getAll, replaced it 2024-05-21 13:58:29 -07:00
Alex Holliday
c4dc57b9be Updated status codes, added edit monitor endpoint 2024-05-21 13:52:28 -07:00
Alex Holliday
face3339cd Updated getAllMonitors to only return active monitors 2024-05-21 11:28:36 -07:00
Alex Holliday
e7cd1ae6ab Added create and delete monitor routes, Added JSDocs to MongoDB 2024-05-21 11:23:39 -07:00
Alex Holliday
e7a58f2756 Added login route, updated readme 2024-05-15 12:16:04 -07:00
veyselboybay
ca33fcae91 update on joi schema, added logger docs, and updated user model 2024-05-14 23:15:29 -04:00
Alex Holliday
a4a61695b0 Updated gitignore to ignore log files, Refactored Authcontroller to use DB interface, Added Try/Catch to validation to catch uncaught error, Added username optional validation to Joi so it expects a username 2024-05-14 11:12:22 -07:00
Alex Holliday
4e12778f00 Remove seed data, not required 2024-05-13 15:22:35 -07:00
Alex Holliday
8cc92e6c40 Implemented MongoDB example db, updated documentation 2024-05-13 14:21:27 -07:00