Commit Graph

114 Commits

Author SHA1 Message Date
Alex Holliday
09edaebd98 Implement inserting notifications when a monitor is created, update validation 2024-07-31 12:12:05 -07:00
Alexander Holliday
ec706d3d21 Merge pull request #494 from bluewave-labs/fix/be/controller-error-handling
Fix/be/controller error handling
2024-07-30 18:01:55 -07:00
Alex Holliday
aaa63a81cd MaintenanceWindowController error handling 2024-07-30 14:00:19 -07:00
Alex Holliday
c478298631 MaintenanceWindowController error handling 2024-07-30 13:56:38 -07:00
Alex Holliday
abf0b5856b CheckController error handling 2024-07-30 13:55:22 -07:00
Alex Holliday
5a1aaf5132 AuthController error handling, cleanup 2024-07-30 13:54:30 -07:00
Alex Holliday
8220fdce94 Add better error handling 2024-07-30 13:36:53 -07:00
Alex Holliday
03ee67cfca Add methods to MongoDB 2024-07-30 13:23:14 -07:00
Alexander Holliday
95dfc8d82c Feat/maintenance window controller (#475)
* Added createMaintenanceWindow route

* Added getMaintenanceWindowsByUserId

* Added getMaintenaceWindowsByMonitorId method, updated routes

* Exported delete methods
2024-07-30 10:01:52 -07:00
Alexander Holliday
477cad7cc9 Feat/monitor endpoint refactor (#463)
* Moved all methods to modules

* removed old mongoDB file

* Refactored endpoints to take query params, removed duplicate methods, updated routes, updated Client queries

* Added comment

* Add model differentiation

* Add sort order, fix minor bug, add validation for query params
2024-07-26 18:56:39 -07:00
Alexander Holliday
4071d6c97c Feat/handle pagespeed (#448)
* Initial commit

* Prepare for pagespeed Check

* removed unused code, updated JSdoc

* reverted controller
2024-07-25 14:59:31 -07:00
Alexander Holliday
9a477e9d13 Merge pull request #435 from bluewave-labs/feat/page-speed-service-controller
Page speed service controller services added.
2024-07-24 19:01:43 -07:00
M M
825ab73d82 Fixed the categories param for the page speed API endpoint. 2024-07-24 12:33:41 -07:00
Alex Holliday
d774f36b22 Updated validatio nand edit monitor 2024-07-24 12:08:42 -07:00
M M
cb67417152 Updated the page speed check controller with the proper services. 2024-07-23 19:13:46 -07:00
Alex Holliday
608153b461 Commented out admin check, unsure as to whether or not more than one admin can exist 2024-07-23 14:30:27 -07:00
Alex Holliday
c77414f2d7 Added check to verify and fetch token from server 2024-07-23 12:27:23 -07:00
Alex Holliday
0a8cb5f6bf Merge remote-tracking branch 'upstream/develop' into feat/incidents 2024-07-22 15:18:52 -07:00
Alex Holliday
e63d577fa5 Added endponts and routes for fetching monitors with incidents 2024-07-22 14:28:03 -07:00
Alex Holliday
a85ae41557 initial commit 2024-07-22 12:47:50 -07:00
Alex Holliday
8e6cd0de71 Added verifyAdmin middleware. Implemented getAllUsers route 2024-07-22 11:49:22 -07:00
Alex Holliday
610d9228da Issue invite token and send invitation email on invite request 2024-07-21 20:35:23 -07:00
Alexander Holliday
2c5dc85f81 Merge pull request #396 from bluewave-labs/feat/emails
Removed sendgrid, use emailService for all emails.  Updated env vars,…
2024-07-19 16:39:43 -07:00
Alex Holliday
12e23cb156 Removed sendgrid, use emailService for all emails. Updated env vars, updated scripts 2024-07-19 15:41:06 -07:00
Alexander Holliday
6ada5e08fe Merge pull request #390 from bluewave-labs/feat/user-invitation
Feat/user invitation
2024-07-19 15:10:13 -07:00
Alex Holliday
428e018aff Add invite endpoint, add validation to invit endpoint 2024-07-19 13:05:38 -07:00
M M
e1228a0143 updated validation schema for the controller. 2024-07-19 12:52:16 -07:00
Alex Holliday
4e56db368f Add invite route 2024-07-19 11:11:59 -07:00
M M
73ec86e6e3 Updated route handler function for the speed check controller. 2024-07-18 23:05:33 -07:00
M M
7f27fa2507 Updated controller with proper names. 2024-07-17 15:23:06 -07:00
M M
fc09aee094 Used validateAsync instead of validate. 2024-07-17 15:12:51 -07:00
M M
683006ae84 Used proper name for validation schema in speed check controller. 2024-07-17 15:11:58 -07:00
M M
4e659072f2 Fixed pagespeedcheck route. 2024-07-17 15:00:06 -07:00
Daniel Cojocea
cfc4590170 Added fix 2024-07-16 18:50:44 -04:00
Alex Holliday
f169809692 Fixed token issue 2024-07-16 14:40:37 -07:00
Alex Holliday
61d65f700e Add user to response 2024-07-16 14:23:42 -07:00
Alex Holliday
ce200eeb20 Reset password returns a token 2024-07-16 14:06:51 -07:00
M M
519ef1404f Added JS Docs. 2024-07-16 10:54:59 -07:00
M M
be7ff41b0e setup the controller module for the page speed check. 2024-07-16 10:53:19 -07:00
Alex Holliday
38102d1e7b Removed 404 error thrown when user has no monitors to display 2024-07-12 11:30:36 -07:00
Alex Holliday
b0cbea156c Add check for admin acount 2024-07-12 10:57:39 -07:00
Alex Holliday
5a6cbcd325 Implemented update password functionality 2024-07-10 11:51:27 -07:00
Alex Holliday
48ca591006 Added delete image profile functionality to update user 2024-07-09 10:23:22 -07:00
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
MuhammadKhalilzadeh
e7fb6a9e60 small changes 2024-07-06 09:03:09 +03:30
MuhammadKhalilzadeh
30a0cdd11c replace decode with verify 2024-07-06 08:48:58 +03:30
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
MuhammadKhalilzadeh
17337d69b5 small error handling 2024-07-04 11:52:46 +03:30