Commit Graph

39 Commits

Author SHA1 Message Date
Alex Holliday
0c321cf484 Add optional authorization config to HTTP request. Delegate handleHardware to handleHttp as they are identical 2024-10-29 13:51:00 +08:00
Alex Holliday
9559e8178f Fix typo == -> === 2024-10-29 10:51:57 +08:00
Alex Holliday
2fda99dbef Update jobQueue JSdocs 2024-10-28 18:09:00 +08:00
Alex Holliday
5d6cfb16bc Refactor jobQueue to use new services 2024-10-28 14:20:40 +08:00
Alex Holliday
268ad695bf replace console.log statements with logger 2024-10-24 15:35:30 +08:00
Alex Holliday
a0248c81c2 standardize log statements 2024-10-24 15:28:13 +08:00
Alex Holliday
5066580441 add missing 'this' to logger 2024-10-23 11:11:22 +08:00
Alex Holliday
fc85d2b794 Minor refactor in worker loop for clarity 2024-10-22 15:26:55 +08:00
Alex Holliday
f5265b140c Minor refactor for correctness 2024-10-18 13:36:39 +08:00
Alex Holliday
fd2d16cf78 Format all files on BE with perttier config 2024-10-17 12:07:30 +08:00
Alex Holliday
f057807b56 migrate to esm 2024-10-15 11:57:37 +08:00
Alex Holliday
22a0caf919 Fix date/time error in JobQueue 2024-10-04 13:04:18 +08:00
Alex Holliday
c8418705b1 parse form for submission 2024-10-04 12:09:08 +08:00
Alex Holliday
5b3b78bd3f Scale workers on deleting job 2024-10-01 12:36:37 +08:00
Alex Holliday
f724997b02 Add JSdocs to SettingsService, add descriptions of services 2024-10-01 09:55:14 +08:00
Alex Holliday
11b97ab3b4 add update settings method, remove all env var references possible 2024-09-26 14:37:11 +08:00
Alex Holliday
d55119c28d Add job queue to docs 2024-09-25 12:55:31 +08:00
Alex Holliday
0d99f1ac8a Add service name and method name to errors in jobQueue 2024-09-15 12:24:13 +08:00
Alex Holliday
9c59330cb0 Fixed property name for check 2024-09-06 09:42:34 -07:00
Alex Holliday
91909ed350 Add check for monitor active state before adding jobs to queue on startup 2024-09-05 10:44:04 -07:00
Alex Holliday
f52285b32f Restore job queue 2024-09-03 15:46:17 -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
ea00cf07a1 Added metrics endpoint to queue, improved cleanup, improved logging 2024-08-15 14:13:12 -07:00
Alex Holliday
809e6ee58f Refactored notifications from Check model to NetworkService 2024-08-14 10:20:35 -07:00
Alex Holliday
c11d5f4d5a Added more logging, improved cleanup 2024-08-06 13:52:48 -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
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
Alex Holliday
771cce98b5 Checks now inserted into db during monitor status check 2024-06-17 13:52:20 -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