Commit Graph

32 Commits

Author SHA1 Message Date
Alex Holliday
c11d5f4d5a Added more logging, improved cleanup 2024-08-06 13:52:48 -07:00
Alex Holliday
907dcf4072 Add required stats to PagespeedCheck model 2024-08-02 12:32:08 -07:00
Alex Holliday
4be58cef17 Add instant check at create monitor time 2024-08-02 10:14:32 -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
Alexander Holliday
bdf8d6aaea Feat/maintenance window check, resolves #467 (#476)
* Added createMaintenanceWindow route

* Added getMaintenanceWindowsByUserId

* Added getMaintenaceWindowsByMonitorId method, updated routes

* Exported delete methods

* Add check for maintenance window before executing job
2024-07-30 10:02:04 -07:00
Alexander Holliday
9cba53f22c Feat/db/maintenance window (#472)
* Added comment to show where maintenance window should be applied

* Add maintenance window schema

* Added userID to model
2024-07-28 13:52:15 -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
4a5c201cbf Forgot to call longAndStoreCheck (#454) 2024-07-25 23:10:30 -07:00
Skorpios
a33750849a Connecting psc to db (#453)
* hooking up the PSC to the DB.

* Updated docs.
2024-07-25 19:11:24 -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
M M
0271109d95 Updated Axios GET request. 2024-07-24 15:59:50 -07:00
M M
7823eb5404 Use axios params object in the config. 2024-07-24 12:34:42 -07:00
M M
825ab73d82 Fixed the categories param for the page speed API endpoint. 2024-07-24 12:33:41 -07:00
M M
4e9551f777 Add docs. 2024-07-22 19:49:33 -07:00
M M
abad357bde implement a page speed service. 2024-07-22 19:49:05 -07:00
Alex Holliday
4703d1fa0c Fixed unawaited promise in email service 2024-07-21 20:36:03 -07:00
Alex Holliday
fdb59866b3 updated code for new package 2024-07-19 20:02:01 -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
Alex Holliday
1c3c7e115a Refactored email service for modernity and clarity 2024-07-19 14:35:50 -07:00
MuhammadKhalilzadeh
d541dfb57b emailService.js created, env variables added 2024-07-19 22:39:12 +03:30
Alex Holliday
d883898384 Refactored to deal with empty data set 2024-06-24 10:59:18 -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
0b52a5bdc7 Fixed error handling, refactored response time measurement 2024-06-17 11:33:55 -07:00
Alex Holliday
a0ca205d6a Added response time 2024-06-17 11:05:22 -07:00
Alex Holliday
14f68d58f7 Implemented network service 2024-06-17 10:47:36 -07:00
Alexander Holliday
caaf604c9f Merge branch 'master' into feat/ping 2024-06-15 20:05:14 -07:00
Alex Holliday
f9f73dbc47 Implemented ping type for monitors, added cleanup for job queue 2024-06-14 14:31:07 -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
276dadab66 Added recovery Request route, controller, and DB operations 2024-06-10 15:54:45 -07:00
Alex Holliday
88b0b0f97c Added queue service, Added controller for testing purposes 2024-06-05 12:29:01 -07:00