Commit Graph
414 Commits
Author SHA1 Message Date
M M 8f58b6e438 Fix logic to get accurate results. 2024-08-31 22:46:28 -07:00
M M 44fd1f8898 Use more strict comparison operators. 2024-08-31 20:13:34 -07:00
M M 7866936d3a Store the percentage as a 0 and 1 instead of 0 - 100 for future calculations. 2024-08-31 19:59:27 -07:00
M M 654b9d2038 Add real percentages for the uptime of monitors to the main dashboard. 2024-08-31 17:58:23 -07:00
Alex Holliday cbd5a2ab86 uncommented out cleanup code' 2024-08-31 16:51:11 -07:00
Alex Holliday 8ac53a9e16 Add safety check for monitor 2024-08-31 16:48:02 -07:00
Alex Holliday 68b50a3059 Update getMonitorsByTeamid to use attached notifications 2024-08-30 18:00:04 -07:00
Alex Holliday 7e90b5f48b Notifications added to monitor object 2024-08-30 13:03:59 -07:00
Alexander Holliday 66efa39d37 Merge pull request #761 from bluewave-labs/feat/clear-checks
Feat/clear checks, resolves #759
2024-08-30 11:48:38 -07:00
Alex Holliday 233be4cbda Add notifications to single monitor 2024-08-30 10:46:51 -07:00
Alex Holliday ca7e06b8c5 change return type, set monitor status to default true value 2024-08-30 10:17:02 -07:00
Alex Holliday eedf2879ee finish implementation 2024-08-30 10:04:47 -07:00
Alex Holliday 6708027d66 Add route 2024-08-30 09:43:16 -07:00
Alex Holliday fd3985190b Add controller method and validation for deleting check by team 2024-08-30 09:41:42 -07:00
Alex Holliday 22770cc343 Add db method for deleting checks by team 2024-08-30 09:41:27 -07:00
Alexander Holliday 5c2d89018f Merge pull request #749 from bluewave-labs/feat/pause-monitors
Add pause routes and controller, implement functionality
2024-08-29 16:02:27 -07:00
Alex Holliday 43dff00cd6 Use axios directly for fetching file 2024-08-29 12:58:32 -07:00
Alex Holliday d4ed7f3f7a Add thunks for getting single monitor and pausing/resuming single monitor 2024-08-28 20:07:22 -07:00
Alex Holliday 17174ebe14 Add pause routes and controller, implement functionality 2024-08-28 15:21:59 -07:00
Alexander Holliday 355ca48061 Merge pull request #743 from bluewave-labs/fix/remove-unused-token
Removed unused token code
2024-08-28 10:23:09 -07:00
Alex Holliday a600ac30af Removed unused token code 2024-08-28 10:07:47 -07:00
Alex Holliday 535f3f571a Add status codes and messages to checks 2024-08-28 09:42:02 -07:00
Alexander Holliday f10ac975d1 Merge pull request #734 from bluewave-labs/fix/team-checks
Fix/team checks
2024-08-27 15:42:04 -07:00
Alexander Holliday add7756095 Update monitorModule.js 2024-08-27 15:33:43 -07:00
Alexander Holliday 457b23ba2d Merge pull request #732 from bluewave-labs/feat/verify-roles
Feat/verify roles, resovles #724, resolves #726
2024-08-27 14:04:49 -07:00
Alexander Holliday 7372449826 Merge pull request #731 from bluewave-labs/feat/monitor-team
Feat/monitor team, resolves #725
2024-08-27 13:02:28 -07:00
Alex Holliday eedc6bbed6 Refactor getChecksByUserId to getChecksByTeamId 2024-08-27 12:22:32 -07:00
Alex Holliday 5bd13a572e Add middleware for verifying roles, use middleware on appropriate routs 2024-08-27 10:39:55 -07:00
Alexander Holliday 87b5835c64 Merge pull request #728 from bluewave-labs/feat/team-table
Feat/team table, #725
2024-08-27 09:16:16 -07:00
Alex Holliday 465c1f9f9e Refactor getMonitorByUserID to getMonitorByTeamID 2024-08-26 19:38:24 -07:00
Alex Holliday e658b4759a Add teamID to monitor on creation 2024-08-26 19:25:19 -07:00
Alex Holliday a02f547b2c Add teamID to monitor model 2024-08-26 19:15:01 -07:00
Alex Holliday ac37211e32 refactor invite to its own route and controller 2024-08-26 17:43:56 -07:00
Alex Holliday 3e63a32669 Renamed variable 2024-08-26 16:57:30 -07:00
Alex Holliday bad0039757 renamed verifyAdmin to verifySuperAdmin 2024-08-26 15:36:53 -07:00
Alex Holliday 48bd6ec95a Updated verifyAdmin middleware 2024-08-26 15:34:50 -07:00
Alex Holliday 32101b4c2f Initialize User model to creat index 2024-08-26 15:27:05 -07:00
Alex Holliday 20b2b089a4 Removed awaits for emails, added redirect if invite verify fails 2024-08-26 15:21:06 -07:00
Alex Holliday c39eab49bd Add teams to a user when they are created 2024-08-26 13:29:11 -07:00
Alex Holliday a6f5c96f93 Create team on superadmin create 2024-08-26 10:23:05 -07:00
Alex Holliday 4c2cc6fb2c First user is superadmin instead of admin 2024-08-26 10:00:34 -07:00
Alex Holliday ef02bd8078 Check for superadmin as opposed to admin 2024-08-26 09:46:23 -07:00
Alex Holliday 4b2973e308 Add team schema 2024-08-26 09:39:45 -07:00
Alex Holliday 9149f3e103 add validation for backend login 2024-08-23 10:35:08 -07:00
Alex Holliday 73136545cc Add backend validation to check for lowercase 2024-08-23 10:33:37 -07:00
Alexander Holliday 0d7391d9ad Merge pull request #700 from bluewave-labs/feat/email-graceful-fail
Add error handling and logging to email service, resolves #691
2024-08-21 22:02:34 -07:00
Alex Holliday 6ce9e39425 Add validation for roles array 2024-08-21 11:50:26 -07:00
Alex Holliday 4e430547ab Add error handling and logging to email service 2024-08-21 11:41:47 -07:00
Alexander Holliday 97ef58534e Merge pull request #671 from bluewave-labs/fix/be/null-monitor-check
Add null monitor check to Network Service
2024-08-19 19:07:07 -07:00
Alexander Holliday 3ca76f9b48 Merge pull request #673 from bluewave-labs/fix/be/normalization
Parsed mongo doc correctly in Normalization function, resolves #672
2024-08-19 19:06:52 -07:00