Commit Graph

303 Commits

Author SHA1 Message Date
Alex Holliday cb425b2b3b Merge branch 'develop' into feat/be/hardware-details 2024-12-31 17:39:19 -08:00
Alex Holliday 2d9b4eaab6 write hardware monitor query 2024-12-31 17:39:02 -08:00
Alexander Holliday 350e560079 Merge pull request #1481 from bluewave-labs/fix/be/db-indices
fix: be/db indices
2024-12-31 17:38:29 -08:00
Alex Holliday 247bf44406 begin implementing aggregate query 2024-12-31 15:05:14 -08:00
Alex Holliday 0b5594f9c9 force index usage for getMonitorStatsById 2024-12-28 09:37:00 -08:00
Alex Holliday bdf23a45b7 Sync indices on startup 2024-12-28 09:35:34 -08:00
Alex Holliday ce3e7cf384 Add indices to HardwareCheck model 2024-12-28 09:35:00 -08:00
Alex Holliday 91e7229b23 Add indices to Check model 2024-12-28 09:34:27 -08:00
Alex Holliday 004184b0f4 add port types to monitor operations on BE 2024-12-27 11:16:09 -08:00
Alex Holliday 0a68611234 Add port type to Monitor 2024-12-27 10:48:44 -08:00
Alex Holliday 7f6e096491 refacgtor MongoDB to be class based 2024-12-24 11:59:18 -08:00
Alex Holliday 914217058b use to resolve concurrency issue 2024-12-19 11:52:27 -08:00
Alex Holliday f42bdddb7a add deleteHardwareChecksByMonitorId 2024-12-09 14:01:10 +08:00
Alex Holliday 8946c98a68 update tests for hardware check module 2024-12-03 11:35:43 +08:00
Alex Holliday d4312eef17 Add uptime percentage to Hardware Check 2024-11-30 17:01:38 +08:00
Alex Holliday 24d5a38527 Add pre save and preupdate functinality to set thresholds on alertThreshold change 2024-11-25 11:08:13 +08:00
Alex Holliday d1d19177bd Add alert threshold for temp 2024-11-25 11:04:18 +08:00
Alex Holliday 20513d5ae1 udpate db model for correct temp schema 2024-11-25 11:00:54 +08:00
Alex Holliday 930403af8c Update Notification model to include metric specific notification thresholds 2024-11-22 11:52:32 +08:00
Alex Holliday ec1563bba2 Add parameter for date ranges to return all checks 2024-11-22 09:49:32 +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 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
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 59cbd1178b Add docker type to monitor model 2024-11-13 10:17:00 +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 a22132621f Remove unused DB method, add tests for pageSpeedCheckModule 2024-11-12 08:09:18 +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 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
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 54fca685c0 Add try/catch to 2024-11-11 14:25:34 +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
Alex Holliday d1061be028 Updated hardware check schema to reflect new agent structure 2024-11-11 08:52:34 +08:00
Alex Holliday 349646639c add missing await to 2024-11-08 12:08:08 +08:00
Alex Holliday dc73e00127 Correct getInviteTokenAndDelete error method name 2024-11-08 11:28:01 +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 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
Alex Holliday 5129aca6c2 Fix typo in monitor type lookup 2024-11-08 09:46:30 +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
Alex Holliday b7923b882c Add new DB method to MongoDB 2024-11-06 11:18:34 +08:00
Alex Holliday 33e88642b3 Add db method for getAllMonitorsWithUptimeStats 2024-11-06 11:17:08 +08:00
Alex Holliday abdd51802a remove redundant checks and console.log 2024-11-06 10:38:04 +08:00