Commit Graph
100 Commits
Author SHA1 Message Date
Alexander Holliday b2540aee20 Merge pull request #1148 from bluewave-labs/fix/be/tests-missing-logger-test
Add missing logger test case
2024-11-13 23:05:56 -08:00
Alexander Holliday d34f45fa24 Merge pull request #1147 from bluewave-labs/feat/be/tests-user-module
feat/be/tests user module
2024-11-13 23:05:29 -08:00
Alexander Holliday dbf78082b4 Merge pull request #1146 from bluewave-labs/feat/be/tests-settings-module
feat/be/tests settings module
2024-11-13 23:05:13 -08:00
Alexander Holliday 674ef694c2 Merge pull request #1145 from bluewave-labs/feat/be/tests-recovery-module
feat/be/tests-recovery-module
2024-11-13 23:04:51 -08:00
Alexander Holliday b1bfd2a62f Merge pull request #1142 from bluewave-labs/fix/be/update-tests
Update tests for JobQueue and StatusService after chanages to hardwar…
2024-11-13 23:04:29 -08:00
Alexander Holliday 7ea4a25b80 Merge pull request #1143 from bluewave-labs/feat/be/hardware-check-module-tests
feat/be/hardware check module tests
2024-11-13 23:03:58 -08:00
Alexander Holliday f4c2777df1 Merge pull request #1144 from bluewave-labs/feat/be/tests-pagespeed-check-module
Remove unused DB method, add tests for pageSpeedCheckModule
2024-11-13 23:03:41 -08:00
Alexander Holliday e22476ee4a Merge pull request #1152 from bluewave-labs/refactor/theme
Refactor - Theme
2024-11-13 18:31:37 -08:00
Alexander Holliday f41f79174b Merge pull request #1151 from bluewave-labs/feat/fe/docker-monitors
Feat/fe/docker monitors, resolves #1139
2024-11-13 18:27:20 -08:00
Alexander Holliday 3f81d8f013 Merge pull request #1150 from bluewave-labs/feat/be/docker-monitors
feat/be/docker monitors, references #1139
2024-11-13 18:26:52 -08:00
Alex Holliday 9db3e0e6df Add docker type to getMonitorStatsById 2024-11-13 15:37:40 +08:00
Alex Holliday 20d84e0a18 Add docker to check map 2024-11-13 15:34:31 +08:00
Alex Holliday 8a407f61fe Update validation for docker types 2024-11-13 15:34:10 +08:00
Alex Holliday f05c46a8fe Add docker type to monitor table query 2024-11-13 15:33:48 +08:00
Alex Holliday 02b797244e Add docker type to uptime slice 2024-11-13 15:33:18 +08:00
Alex Holliday 206d1f3909 Add docker container to create monitor options. Add map for labels and placeholders 2024-11-13 15:18:03 +08:00
Alex Holliday a14e88ef29 Allow partial matches for docker IDs 2024-11-13 15:16:31 +08:00
Alex Holliday b5f67a83dd Add error message for docker container not found 2024-11-13 14:57:14 +08:00
Alex Holliday b8f99e3f1c Update tests 2024-11-13 14:56:32 +08:00
Alex Holliday b2c43955f8 Add more robust error handling to networkService 2024-11-13 14:56:15 +08:00
Alex Holliday 7639dd2e80 Refactored switch statement, extracted error building 2024-11-13 12:34:53 +08:00
Alex Holliday c17efe3d01 add tests 2024-11-13 12:34:11 +08:00
Alex Holliday 34ae35ea21 Add db operation type for Docker type checks to statusService 2024-11-13 11:07:36 +08:00
Alex Holliday 11b84610c5 safe object access 2024-11-13 11:07:03 +08:00
Alex Holliday 922c4d38d6 Build docker response 2024-11-13 11:00:16 +08:00
Alex Holliday 5285fd30a1 Add docker messages 2024-11-13 10:59:53 +08:00
Alex Holliday b079327296 remove console log 2024-11-13 10:59:40 +08:00
Alex Holliday 2548742f31 Inject dockerode, instantiate instance 2024-11-13 10:36:42 +08:00
Alex Holliday 61406be2a3 Add dockerode 2024-11-13 10:34:40 +08:00
Alex Holliday 2f4189382a Add hanlder for Docker types 2024-11-13 10:34:05 +08:00
Alex Holliday 41370c8d04 Add check to see if existing service/method exists to logger statement 2024-11-13 10:33:46 +08:00
Alex Holliday 59cbd1178b Add docker type to monitor model 2024-11-13 10:17:00 +08:00
Alex Holliday d9fdd5bd30 Add missing logger test case 2024-11-12 17:04:06 +08:00
Alex Holliday 1733918f08 Add tests for user module 2024-11-12 16:48:20 +08:00
Alex Holliday 4c7c4d3578 Add return type for deleteAllOtherUsers 2024-11-12 16:44:01 +08:00
Alex Holliday d9812a446b update function dependency injection 2024-11-12 16:42:49 +08:00
Alex Holliday 57cad8d31a Inject generateAvatarImage into insertUser 2024-11-12 16:16:20 +08:00
Alex Holliday 646de4f4ae Add tests for settings module 2024-11-12 15:54:34 +08:00
Alex Holliday 5d853c7f92 Add tests for recovery module 2024-11-12 15:42:28 +08:00
Alex Holliday a22132621f Remove unused DB method, add tests for pageSpeedCheckModule 2024-11-12 08:09:18 +08:00
Alex Holliday 6761056368 Add tests for hardwareCheckModule 2024-11-12 07:55:08 +08:00
Alex Holliday 98fb77aa3d Update tests for JobQUeue and StatusService after chanages to hardware module and JobQueue 2024-11-12 07:36:08 +08:00
Alexander Holliday b55407489b Merge pull request #1124 from bluewave-labs/feat/be/monitor-module-missing-tests
Add missing test cases for pagespeed and hardware monitor types
2024-11-11 15:18:40 -08:00
Alexander Holliday 617aba0a4d Merge pull request #1126 from bluewave-labs/feat/be/invite-module-tests
Feat/be/invite module tests
2024-11-11 15:18:23 -08:00
Alexander Holliday 64c5c62c78 Merge pull request #1127 from bluewave-labs/feat/be/maintenance-window-module-tests
Feat/be/maintenance window module tests
2024-11-11 15:18:04 -08:00
Alexander Holliday c864dba241 Merge pull request #1128 from bluewave-labs/feat/be/notification-module-tests
feat/be/notification-module-tests
2024-11-11 15:17:49 -08:00
Alexander Holliday 642e6b6170 Merge pull request #1137 from bluewave-labs/feat/be/hardware-monitor-update
feat/be/hardware monitor update
2024-11-11 15:17:34 -08:00
Alexander Holliday ff350f20fc Merge pull request #1138 from bluewave-labs/feat/be/status-page-model
feat/be/status page implementation
2024-11-11 15:17:15 -08:00
Alexander Holliday 404b1ca0ae Merge pull request #1140 from renovate-bot/renovate/vite-5.x-lockfile
chore(deps): update dependency vite to v5.4.11
2024-11-11 15:14:44 -08:00
Alexander Holliday 52ef18fc98 Merge pull request #1141 from renovate-bot/renovate/bullmq-5.x
fix(deps): update dependency bullmq to v5.25.6
2024-11-11 15:14:03 -08:00
Alex Holliday 1476e9da38 Update swagger docs 2024-11-11 14:48:44 +08:00
Alex Holliday a4a01b0b83 Remove urlIsUnqiue method, update tests 2024-11-11 14:39:30 +08:00
Alex Holliday 5817698105 Add unique contraint to URL 2024-11-11 14:38:59 +08:00
Alex Holliday 75ca6f3239 Add tests 2024-11-11 14:25:44 +08:00
Alex Holliday 54fca685c0 Add try/catch to 2024-11-11 14:25:34 +08:00
Alex Holliday a27cadc94f Add routes for status page 2024-11-11 12:18:05 +08:00
Alex Holliday 6b04f9a978 Create router for status page 2024-11-11 12:17:55 +08:00
Alex Holliday b6781a4945 Add success/error messages for status pages 2024-11-11 12:17:37 +08:00
Alex Holliday 8164ca2bfe Add validations for status page 2024-11-11 12:17:19 +08:00
Alex Holliday f3a29c3be7 Add controller for status page 2024-11-11 12:17:06 +08:00
Alex Holliday 285fbf2a42 Add DB methods to MongoDB 2024-11-11 12:16:44 +08:00
Alex Holliday 505de31fe0 Add db methods for statusPage 2024-11-11 12:16:34 +08:00
Alex Holliday cc0ecf2b12 Created model for StatusPage 2024-11-11 12:16:07 +08:00
Alexander Holliday 1b40f8f62e Merge pull request #1101 from bluewave-labs/feat/be/graceful-shutdown
Feat/be/graceful shutdown
2024-11-10 18:31:41 -08:00
Alex Holliday 3b8454b154 Update status service to handle new schema 2024-11-11 08:52:51 +08:00
Alex Holliday d1061be028 Updated hardware check schema to reflect new agent structure 2024-11-11 08:52:34 +08:00
Alexander Holliday 957eabef23 Merge pull request #1135 from renovate-bot/renovate/winston-3.x-lockfile
fix(deps): update dependency winston to v3.17.0
2024-11-09 19:09:20 -08:00
Alexander Holliday 8257336dc2 Merge pull request #1134 from renovate-bot/renovate/bullmq-5.x
fix(deps): update dependency bullmq to v5.25.4
2024-11-09 19:08:20 -08:00
Alexander Holliday fcf59e3ff0 Merge pull request #1120 from renovate-bot/renovate/bullmq-5.x
fix(deps): update dependency bullmq to v5.25.3
2024-11-09 00:45:18 -08:00
Alexander Holliday a80c111645 Merge pull request #1130 from renovate-bot/renovate/material-ui-monorepo
fix(deps): update material-ui monorepo to v7.22.2
2024-11-09 00:44:56 -08:00
Alexander Holliday b1c72d4f5c Merge pull request #1133 from renovate-bot/renovate/mongoose-8.x-lockfile
fix(deps): update dependency mongoose to v8.8.1
2024-11-09 00:44:32 -08:00
Alex Holliday 4c3eb826b2 Add tests 2024-11-08 12:28:25 +08:00
Alex Holliday 247c034dd7 Add tests for maintenance module 2024-11-08 12:10:13 +08:00
Alex Holliday 349646639c add missing await to 2024-11-08 12:08:08 +08:00
Alex Holliday c701caff93 Add tests for invite module 2024-11-08 11:28:17 +08:00
Alex Holliday dc73e00127 Correct getInviteTokenAndDelete error method name 2024-11-08 11:28:01 +08:00
Alex Holliday b5d9345659 Add missing test cases for pagespeed and hardware monitor types 2024-11-08 10:48:48 +08:00
Alexander Holliday ddb40bb56b Merge pull request #1117 from bluewave-labs/feat/be/uptime-percentage-stats
Feat/be/uptime percentage stats, references #1115
2024-11-07 18:30:18 -08:00
Alexander Holliday 1592523ae9 Merge pull request #1119 from bluewave-labs/feat/be/check-module-tests
Feat/be/check module tests
2024-11-07 18:29:57 -08:00
Alexander Holliday 605ec393f0 Merge pull request #1114 from bluewave-labs/feat/be/monitor-module-refactor
Feat/be/monitor module refactor
2024-11-07 18:29:41 -08:00
Alexander Holliday d3378f7320 Merge pull request #1123 from bluewave-labs/fix/be/monitor-module-typo
Fix typo in monitor type lookup
2024-11-07 18:00:06 -08:00
Alex Holliday 5129aca6c2 Fix typo in monitor type lookup 2024-11-08 09:46:30 +08:00
Alex Holliday 6a5ffdeb79 add tests for checkModule 2024-11-07 12:37:16 +08:00
Alex Holliday f9036f3614 fix undefined check, remove console.log 2024-11-07 12:36:56 +08:00
Alex Holliday 8e7619dd78 Add missing try/catch block to 2024-11-07 12:04:25 +08:00
Alex Holliday 91bacf976e isNaN -> Number.isNaN 2024-11-07 11:05:48 +08:00
Alexander Holliday a4944e84f0 Merge pull request #1087 from bluewave-labs/1063-fe-hardware-montioring-monitor-gauge
1063 fe hardware montioring monitor gauge
2024-11-06 19:01:21 -08:00
Alex Holliday da5ecb2b83 Add JSdoc, add underscores to variables 2024-11-07 10:52:19 +08:00
Alex Holliday 19c0632143 decoupled light and dark theme 2024-11-07 10:34:01 +08:00
Alexander Holliday 236831b6ea Merge pull request #1118 from renovate-bot/renovate/react-router-monorepo
fix(deps): update react-router monorepo to v6.28.0
2024-11-06 18:08:04 -08:00
Alex Holliday 42d83a68b5 update nyc configuration for DB tests 2024-11-06 11:18:43 +08:00
Alex Holliday b7923b882c Add new DB method to MongoDB 2024-11-06 11:18:34 +08:00
Alex Holliday 792de1105f Add tests for new controller and DB methods, add missing statusService test 2024-11-06 11:18:03 +08:00
Alex Holliday 22506efaef Update openapi docs for new route 2024-11-06 11:17:42 +08:00
Alex Holliday 21de95b89a Add route for getAllMonitorsWithUptimeStats 2024-11-06 11:17:26 +08:00
Alex Holliday 33e88642b3 Add db method for getAllMonitorsWithUptimeStats 2024-11-06 11:17:08 +08:00
Alex Holliday f613c5f19a Add controller method for getAllMonitorsWithUptimeStats 2024-11-06 11:16:45 +08:00
Alexander Holliday 2b68afe173 Merge pull request #1116 from renovate-bot/renovate/bullmq-5.x
fix(deps): update dependency bullmq to v5.25.0
2024-11-05 18:38:50 -08:00
Alex Holliday ba37fb3871 implement remaining tests 2024-11-06 10:38:16 +08:00
Alex Holliday abdd51802a remove redundant checks and console.log 2024-11-06 10:38:04 +08:00