Commit Graph

162 Commits

Author SHA1 Message Date
Alex Holliday 6424a0436f Fixed incorrect assignment 2024-09-04 12:15:53 -07:00
Alex Holliday 3270d61624 Add period total checks 2024-09-04 12:00:01 -07:00
Alex Holliday be582edeeb add time 2024-09-04 11:54:20 -07:00
Alex Holliday ffc132e19a Add missing else block 2024-09-04 11:45:54 -07:00
Alex Holliday df16bf3db5 Moved http/ping specific data 2024-09-04 11:25:08 -07:00
Alex Holliday 5ccb85e755 remove unused methods 2024-09-04 11:09:08 -07:00
Alex Holliday 9edf5ba9f9 Refactor 2024-09-04 11:02:18 -07:00
Alex Holliday e22e374eef Added avgResponseTime to monitor stats, changed date grouping for aggregate stats 2024-09-03 20:28:12 -07:00
Alex Holliday 34ce3af412 Add 7 days uptime percentage stat 2024-09-03 15:04:29 -07:00
Alex Holliday 64fe1a3af5 Return raw value instead of formatted string 2024-09-03 14:52:00 -07:00
Alex Holliday 99b4da347f remove space 2024-09-03 14:47:37 -07:00
Alex Holliday bc0df325d1 Add route, controller, db operations, and validation for aggregate monitor stats 2024-09-03 14:39:16 -07:00
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 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 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 17174ebe14 Add pause routes and controller, implement functionality 2024-08-28 15:21:59 -07:00
Alexander Holliday add7756095 Update monitorModule.js 2024-08-27 15:33:43 -07:00
Alex Holliday eedc6bbed6 Refactor getChecksByUserId to getChecksByTeamId 2024-08-27 12:22:32 -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 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 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 ef02bd8078 Check for superadmin as opposed to admin 2024-08-26 09:46:23 -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
Alexander Holliday 4754a056fe Merge branch 'develop' into fix/safe-data-access 2024-08-19 19:06:30 -07:00
Alex Holliday 0ac2492e70 Add safe data access to monitorDetails 2024-08-19 13:33:50 -07:00
Alex Holliday 6d3ed27f31 Parsed mongo doc correctly in Normalization function 2024-08-19 10:02:12 -07:00
Alex Holliday 6d99002fd1 Finish refactoring auth slice, fixed several bugs 2024-08-17 20:23:34 -07:00
Alexander Holliday 0e3da7e17e Merge pull request #628 from bluewave-labs/fix/decouple-notifications
Refactored notifications from Check model to NetworkService, resolves #627
2024-08-14 14:14:51 -07:00
Alex Holliday 809e6ee58f Refactored notifications from Check model to NetworkService 2024-08-14 10:20:35 -07:00
Alex Holliday ac5385746a Justified URL, added placeholders 2024-08-13 15:54:23 -07:00
Alex Holliday 801f962af9 Add empty checks if there are less than 60 mins worth of cehcks 2024-08-13 15:33:07 -07:00
Alex Holliday 7336287a9c implement 60 min history chart 2024-08-13 12:36:19 -07:00
Alex Holliday 578eb33b91 Refactored getMonitorStats for clarity 2024-08-13 10:32:29 -07:00
Alex Holliday 9c980c103a Fixed spelling error, moved incident calculation to correct location 2024-08-12 15:39:48 -07:00
Alexander Holliday 25604e5467 Merge branch 'develop' into fix/spelling-error 2024-08-12 15:27:06 -07:00
M M 016a76b78f Fix spelling. 2024-08-12 15:07:03 -07:00