Commit Graph

84 Commits

Author SHA1 Message Date
Alexander Holliday
d29fcfbaf7 Merge pull request #1001 from bluewave-labs/feat/be/settings-service-tests
feat/be/settings service tests
2024-10-22 10:12:02 +08:00
Alex Holliday
6f358d297d Update service and tests to use new 2024-10-22 10:11:02 +08:00
Alex Holliday
351b7527ed Remove redundant check 2024-10-21 16:14:43 +08:00
Alex Holliday
7e0bc44ba6 Update networkService to handle hardware type monitors, add tests for full coverage 2024-10-21 11:55:44 +08:00
Alex Holliday
64d2d9b3ce Move opeartion back to 2024-10-18 14:21:22 +08:00
Alex Holliday
f5265b140c Minor refactor for correctness 2024-10-18 13:36:39 +08:00
Alex Holliday
1c30c309a7 Refactor network service to inject dependencies 2024-10-18 11:12:18 +08:00
Alex Holliday
f9495171b1 Fix merge conflict error 2024-10-18 11:00:46 +08:00
Alex Holliday
9a32362ab6 Merge branch 'develop' into feat/be/email-service-tests 2024-10-18 10:53:31 +08:00
Alex Holliday
b69d495206 Remove redundant try/catch block 2024-10-17 14:32:18 +08:00
Alex Holliday
17ed90f76b Refactor EmailService to inject dependencies 2024-10-17 14:00:22 +08:00
Alex Holliday
fd2d16cf78 Format all files on BE with perttier config 2024-10-17 12:07:30 +08:00
Alex Holliday
81f1fe4694 Merge branch 'develop' into feat/be/esm 2024-10-17 10:42:57 +08:00
Rushi Gandhi
05c051ae3a Generate refresh token & add it to response 2024-10-15 12:30:24 +05:30
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
1f2a19fb43 Merge upstream/develop 2024-10-01 11:02:46 +08:00
Alex Holliday
6c598b976f Move db models to db folder 2024-10-01 10:01:25 +08:00
Alex Holliday
f724997b02 Add JSdocs to SettingsService, add descriptions of services 2024-10-01 09:55:14 +08:00
Alex Holliday
6268b2573c remove jwtSecret from settings 2024-09-30 11:14:53 +08:00
Alex Holliday
806f530016 Merge branch 'feat/be/in-app-settings' into feat/fe/in-app-settings 2024-09-30 09:53:03 +08:00
Alex Holliday
114f4ffb05 refactor reloadSettings 2024-09-30 09:52:47 +08:00
Alex Holliday
43a56e1de1 Fix setting name 2024-09-27 13:17:28 +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