Commit Graph

226 Commits

Author SHA1 Message Date
Alex Holliday
607b16d1cd Add tests for addDemoMonitors 2024-10-14 11:36:49 +08:00
Alex Holliday
bdde060f7f Add tests for deleteAllMonitors 2024-10-14 11:06:45 +08:00
Alex Holliday
a0b651fd24 Added getMoniotrsByTeamId tests 2024-10-14 09:43:47 +08:00
Alex Holliday
586b18d295 Add tests for getMonitorById 2024-10-11 15:07:37 +08:00
Alex Holliday
3e23d97930 Add tests for getMonitorCertificate 2024-10-11 14:59:55 +08:00
Alex Holliday
644363e3bb Add tests for getAllMonitors and getMonitorStatsById 2024-10-11 14:23:35 +08:00
Alex Holliday
9f1deb64d7 Add tests for deleteMaintenanceWindow 2024-10-11 14:01:19 +08:00
Alex Holliday
5d0029f6c7 Add tests for getMaintenanceWindowsByMonitorId 2024-10-11 13:58:11 +08:00
Alex Holliday
fb45761331 Add tests for getMaintenanceWindowsByTeamId 2024-10-11 13:53:22 +08:00
Alex Holliday
4ce08e05df Add tests for inviteController 2024-10-11 12:42:46 +08:00
Alex Holliday
606c799166 Add deleteUser tests 2024-10-10 21:26:43 +08:00
Alex Holliday
a46f5ae3ab Add tests for authController.registerUser and authController.loginUser 2024-10-10 11:42:33 +08:00
Alex Holliday
8578304ca4 refactor validation error and general error handling to reduce code duplicatoin 2024-10-10 08:59:44 +08:00
Alex Holliday
6e95d28e27 Implement pausing/resuming maintenance windows 2024-10-09 14:28:44 +08:00
Alex Holliday
ad9d735127 implement editing maintenance windows 2024-10-09 14:10:38 +08:00
Alex Holliday
e3c0944062 Add route, controller, and DB methods for fetching maintenance window by ID 2024-10-09 12:06:01 +08:00
Alex Holliday
114cfd6cb7 add put route, controller, and db method for maintenance window 2024-10-09 11:33:12 +08:00
Alex Holliday
335098e2a8 implement deleting maintenance window 2024-10-09 11:07:14 +08:00
Alex Holliday
7b65debed6 Populate table 2024-10-04 15:25:41 +08:00
Alex Holliday
68296eccc3 Add getMaintenanceWindowsByTeamId 2024-10-04 13:49:53 +08:00
Alex Holliday
8e87bdccd0 Add teamID to maintenance-window 2024-10-04 12:31:44 +08:00
Alex Holliday
47e051c2bb update backend for inserting maintenance windows 2024-10-04 12:24:40 +08:00
Alex Holliday
c1d1e0ad1d Refactor for clarity and correctness, add JS docs 2024-10-01 10:55:51 +08:00
Alex Holliday
e0e80dc9c7 Refactor method names, add improve JSdocs for monitorController 2024-10-01 10:29:32 +08:00
Alex Holliday
6268b2573c remove jwtSecret from settings 2024-09-30 11:14:53 +08:00
Alex Holliday
73ac91c201 Generate random JWT on first account signup if one is not supplied by env 2024-09-30 10:08:37 +08:00
Alex Holliday
b6a7cfa7cc refactor getAppSettings endpoint to user settingsService as source of truth 2024-09-30 09:56:39 +08:00
Alex Holliday
114f4ffb05 refactor reloadSettings 2024-09-30 09:52:47 +08:00
Alex Holliday
97419b436c Add reload settings method, reload settings when DB updated 2024-09-26 15:45:54 +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
edd9b5a6aa Update delete user to handle superadmin case 2024-09-26 11:50: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
09fb5595ab Fix proptype errors, remove old alert reference 2024-09-26 10:42:03 +08:00
Alex Holliday
ffd193437e add comments 2024-09-25 15:14:22 +08:00
Alex Holliday
5dbd8378e2 require invite token to register except for initial registration 2024-09-25 15:12:07 +08:00
Alex Holliday
d55119c28d Add job queue to docs 2024-09-25 12:55:31 +08:00
Alex Holliday
f2407ac5fa Remove unused pagespeed modules 2024-09-25 11:52:39 +08:00
Alex Holliday
115831ca34 Remove unsued alert module 2024-09-25 11:41:50 +08:00
Alex Holliday
bd03964ab6 Add get monitor stats by ID to docs 2024-09-24 15:20:45 +08:00
Alex Holliday
d2ab33492a Update auth endpoints 2024-09-24 13:56:58 +08:00
Alex Holliday
5c94229994 Merge branch 'develop' into fix/incidents-remove-checks 2024-09-17 08:35:53 +08:00
Alex Holliday
0d12798dd2 Remove checks from monitor query 2024-09-17 08:12:23 +08:00
Alex Holliday
afa5cf1fc0 Implement setting TTL on FE 2024-09-16 12:13:29 +08:00
Alex Holliday
b886a04f97 Add service name and method name to errors in queueController 2024-09-15 12:19:39 +08:00
Alex Holliday
ef83cc79f0 Add service name and method name to errors in pagespeedCheckController 2024-09-15 12:18:23 +08:00
Alex Holliday
d7e6019139 Add service name and method name to errors in monitorController 2024-09-15 12:16:20 +08:00
Alex Holliday
185751b6b6 Add service name and method name to errors in maintenanceController 2024-09-15 12:13:05 +08:00
Alex Holliday
de1bcd20be Add service name and method name to errors in inviteController 2024-09-15 09:26:57 +08:00
Alex Holliday
be0db003ad Add service name and method name to errors in authController 2024-09-15 09:25:35 +08:00