Commit Graph

53 Commits

Author SHA1 Message Date
Alex Holliday
f88ca5ee2c fix more typos 2024-09-05 14:31:29 -07:00
Alex Holliday
9eaab0da1a Add network requests and validation 2024-09-05 12:16:29 -07:00
Alex Holliday
cec8ecd985 add DB and controller methods 2024-09-05 11:17:31 -07:00
Alexander Holliday
e2529612d9 Merge branch 'develop' into fix/missing-be-validation 2024-09-03 20:40:52 -07:00
Alexander Holliday
1c09b32128 Merge pull request #790 from bluewave-labs/fix/restore-indeterminate-status
Fix/restore indeterminate status
2024-09-03 16:40:43 -07:00
Alex Holliday
5af81c7291 restore controller 2024-09-03 15:43:12 -07:00
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
bc0df325d1 Add route, controller, db operations, and validation for aggregate monitor stats 2024-09-03 14:39:16 -07:00
Alexander Holliday
1bde8fdb86 Revert "Add indeterminate state to monitors, resolves #765" 2024-09-03 09:30:43 -07:00
Alex Holliday
071a7fc9cf Add indeterminate state to monitors 2024-09-02 10:45:07 -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
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
Alex Holliday
465c1f9f9e Refactor getMonitorByUserID to getMonitorByTeamID 2024-08-26 19:38:24 -07:00
Alex Holliday
3f0695d743 Updated config monitor controller 2024-08-16 15:26:26 -07:00
Alex Holliday
aa528722e1 Updated parameters passed to for certificate check 2024-08-14 19:02:11 -07:00
Alex Holliday
e533c94918 Implemented new stats for Monitor Details 2024-08-12 15:15:13 -07:00
Alex Holliday
d7251bfd81 Refactored monitor details 2024-08-12 12:05:57 -07:00
Alex Holliday
6c92dbe358 Delete pagespeed checks when user deleted 2024-08-02 11:38:38 -07:00
Alex Holliday
76f4143097 Notifications removed and readded on monitor edit 2024-07-31 13:59:14 -07:00
Alex Holliday
0c1af23f66 Fixed var name 2024-07-31 13:29:04 -07:00
Alex Holliday
9e51cffb67 JobQueue was not deleting jobs correctly due to incorrect lookup in monitor object 2024-07-31 13:24:38 -07:00
Alex Holliday
2a79264a9a Added safety check for accessing notifications before inserting 2024-07-31 13:11:20 -07:00
Alex Holliday
09edaebd98 Implement inserting notifications when a monitor is created, update validation 2024-07-31 12:12:05 -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
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
Alex Holliday
d774f36b22 Updated validatio nand edit monitor 2024-07-24 12:08:42 -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
38102d1e7b Removed 404 error thrown when user has no monitors to display 2024-07-12 11:30:36 -07:00
Alex Holliday
fc6691e148 Added missing await 2024-07-03 23:19:12 -07:00
Alex Holliday
5d24f3136c Replace job in queue when monitor is edited 2024-07-03 13:55:44 -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
a9ddb27218 Implemented HTTP(s) Request, added add and delete to and from job queue 2024-06-13 13:05:41 -07:00
Alex Holliday
950222f94e Implemented error handling middleware 2024-05-27 10:47:14 -07:00
Alex Holliday
ef8867658e Removed package-lock.json from root 2024-05-24 13:44:42 -07:00
Alex Holliday
54c94879d7 Changed delete status code to 200 to allow for consistent API response, Updated docs to reflect this 2024-05-22 14:43:07 -07:00
Alex Holliday
f4b0034281 Added new endpoints to readme, added cURL and Sample respones to existing endpoint docs, fixed minor bugs discovered during documentation 2024-05-22 14:38:47 -07:00
Alex Holliday
073f8b2e30 Added verification middleware, protected monitor routes 2024-05-22 11:38:36 -07:00
Alex Holliday
c4dc57b9be Updated status codes, added edit monitor endpoint 2024-05-21 13:52:28 -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
ddc4021232 Added JSDocs for monitor controller, Updated readme, Added DB_TYPE environtmental variable for switching between DB types 2024-05-21 10:11:16 -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
8cc92e6c40 Implemented MongoDB example db, updated documentation 2024-05-13 14:21:27 -07:00