Alex Holliday
114f4ffb05
refactor reloadSettings
2024-09-30 09:52:47 +08:00
Alex Holliday
f4bbbc5fa9
fix conditional loadingof settings
2024-09-27 13:10:29 +08:00
Alex Holliday
c3edbb779a
Modify settingsService to load from env by default
2024-09-27 13:02:01 +08:00
Alex Holliday
97419b436c
Add reload settings method, reload settings when DB updated
2024-09-26 15:45:54 +08:00
Alex Holliday
0832e8438a
remove console log
2024-09-26 15:38:02 +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
992bf099fa
Add app settings model, routes, db ops, service, use settings for issueToken
2024-09-26 13:41:50 +08:00
Alex Holliday
38ee162f61
improve error handling in network service, fix username form errors
2024-09-26 11:01:38 +08:00
Alex Holliday
d55119c28d
Add job queue to docs
2024-09-25 12:55:31 +08:00
Alex Holliday
9381f842f3
Add service name and method name to errors in misc services and middleware
2024-09-15 12:28:11 +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
65cc70cbdd
remove unresponsive sites from demo list
2024-09-11 11:39:32 +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
3270d61624
Add period total checks
2024-09-04 12:00:01 -07:00
Alex Holliday
ffc132e19a
Add missing else block
2024-09-04 11:45:54 -07:00
Alex Holliday
f52285b32f
Restore job queue
2024-09-03 15:46:17 -07:00
Alex Holliday
c490722eae
restore netowrk service
2024-09-03 15:45:11 -07:00
Alexander Holliday
1bde8fdb86
Revert "Add indeterminate state to monitors, resolves #765 "
2024-09-03 09:30:43 -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
Alex Holliday
8ac53a9e16
Add safety check for monitor
2024-08-31 16:48:02 -07:00
Alex Holliday
535f3f571a
Add status codes and messages to checks
2024-08-28 09:42:02 -07:00
Alex Holliday
4e430547ab
Add error handling and logging to email service
2024-08-21 11:41:47 -07:00
Alex Holliday
bf336ce0a5
Add null monitor check to Network Service
2024-08-19 09:48:45 -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
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