Commit Graph

436 Commits

Author SHA1 Message Date
Alex Holliday 8bac81fb09 Add validation for certificate request 2024-09-03 15:11:17 -07:00
Alex Holliday cece932e45 Implement validation 2024-09-03 15:07:11 -07:00
Alex Holliday a6c3c56d0b add getMonitorStatsByIdValidation 2024-09-03 15:00:30 -07:00
Alexander Holliday 1bde8fdb86 Revert "Add indeterminate state to monitors, resolves #765" 2024-09-03 09:30:43 -07:00
Alexander Holliday 0c02fb47e1 Merge branch 'develop' into feat/indeterminate-state 2024-09-03 09:24:57 -07:00
Alexander Holliday 567d6ab6f3 Merge pull request #597 from mertssmnoglu/openapi-specs
chore: create openapi.json with openapi 3.1.0 format
2024-09-02 19:21:25 -07:00
Alex Holliday d2528a694e simplified conditionals for updating status and sending notifications 2024-09-02 11:00:59 -07:00
Alex Holliday 4d61ecfe35 Add error handling to notifications 2024-09-02 10:52:11 -07:00
Alex Holliday 071a7fc9cf Add indeterminate state to monitors 2024-09-02 10:45:07 -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 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
Mert Şişmanoğlu b6190728a0 feat(openapi): add /healthy route for health check 2024-08-31 13:51:36 +03:00
Mert Şişmanoğlu f680ed8af1 chore(openapi): add missing route groups to tags
- invite
- monitors
- checks
- alerts
- pagespeed
- maintenance-window
- healthy
- mail
2024-08-31 13:44:23 +03: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
Mert Şişmanoğlu 649cf68356 chore(openapi): remove remote development server 2024-08-30 21:12:08 +03:00
Mert Şişmanoğlu bdb293c181 fix(openapi): remove logout route from auth 2024-08-30 21:10:13 +03:00
Mert Şişmanoğlu 21ce46a29e feat(openapi): add request body to login and register routes 2024-08-30 21:09:16 +03: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