Commit Graph

871 Commits

Author SHA1 Message Date
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
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
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
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
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
Mend Renovate
b222cfb9a2 fix(deps): update dependency bullmq to v5.25.0 2024-11-06 02:33:32 +00:00
Alex Holliday
53fb79bbfb Add tests for monitor module 2024-11-05 16:03:37 +08:00
Mend Renovate
364c251455 fix(deps): update dependency bullmq to v5.23.1 2024-11-05 07:07:18 +00:00
Alex Holliday
f3ec84d36f Refactor for robustness 2024-11-05 14:09:32 +08:00
Alex Holliday
0fd84d5ad8 Fix spelling error, export functions, refactor to inject for ease of testing 2024-11-05 13:50:46 +08:00
Alex Holliday
8605b068ce Refactor for robustness 2024-11-05 13:36:31 +08:00
Alex Holliday
4ca3e3211f Export helper methods, add safe return to 2024-11-05 13:31:10 +08:00
Alex Holliday
2873f68868 reactor getMonitorsByTeamId for clarity 2024-11-05 12:39:35 +08:00
Alex Holliday
4601f95686 refactor getMonitorById for clarity 2024-11-05 12:27:13 +08:00
Alex Holliday
b5e8bdbdcd fix conditional inloop for uptime duration 2024-11-05 12:22:48 +08:00
Alex Holliday
401c3b83fe Refactor getMonitorStatsById for clarity 2024-11-05 12:08:19 +08:00
Alexander Holliday
de8e9a9f9d Merge pull request #1111 from bluewave-labs/fix/be/db-module-refactor
Minor refactoring in DB modules for readability
2024-11-04 18:16:54 -08:00
Alexander Holliday
2fe44e2ed2 Merge pull request #1104 from bluewave-labs/fix/PasswordRequirements
Fix/password requirements
2024-11-03 18:15:34 -08:00
Alex Holliday
e36abfb9df Minor refactoring in DB modules for readability 2024-11-03 11:48:27 +08:00
Mend Renovate
f61a5ca2e4 fix(deps): update dependency bullmq to v5.23.0 2024-11-02 21:49:39 +00:00
Mend Renovate
c344e5c70a fix(deps): update dependency winston to v3.16.0 2024-11-01 23:04:01 +00:00
Alexander Holliday
568372f54d Merge pull request #1102 from renovate-bot/renovate/mongoose-8.x-lockfile
fix(deps): update dependency mongoose to v8.8.0
2024-11-01 09:46:10 +08:00
Caio Cabral
c1de8e0e62 Merge branch 'develop' of https://github.com/bluewave-labs/bluewave-uptime into fix/PasswordRequirements 2024-10-31 14:43:36 -04:00
Mend Renovate
5f1817fdbb fix(deps): update dependency bullmq to v5.22.0 2024-10-31 17:51:45 +00:00
Caio Cabral
40ef5c9be4 fix: login validation 2024-10-31 11:46:52 -04:00
Mend Renovate
97be172dfe fix(deps): update dependency mongoose to v8.8.0 2024-10-31 14:35:22 +00:00
Caio Cabral
fd38a9d7eb fix: backend validation password 2024-10-31 09:30:43 -04:00
Alexander Holliday
70099987d8 Merge pull request #1094 from bluewave-labs/feat/be/refactor-base-check
feat/be/refactor-base-check
2024-10-31 10:46:29 +08:00
Mend Renovate
2eadb98350 chore(deps): update dependency mocha to v10.8.2 2024-10-30 18:29:31 +00:00
Alex Holliday
400150486d implement base check 2024-10-30 10:20:42 +08:00
Alexander Holliday
100cea64af Revert "Fix/devops/docker compose" 2024-10-30 10:13:03 +08:00
Alex Holliday
a7c00e9383 Refactor models to extend a base check model 2024-10-30 09:49:10 +08:00
Alexander Holliday
2351ac0a4c Merge pull request #1084 from bluewave-labs/feat/be/hardware-monitor-type
feat/be/hardware monitor type
2024-10-30 09:08:05 +08:00
Alex Holliday
b1d7947719 fix typo jas -> has 2024-10-30 09:07:47 +08:00
Mend Renovate
92fc6ac463 chore(deps): update dependency mocha to v10.8.1 2024-10-29 22:24:07 +00:00
Alex Holliday
29c83f5206 Safely access payload values 2024-10-29 14:48:19 +08:00
Alex Holliday
b417b72450 Refactor requestPagespeed to simply call requestHttp with an updated job object 2024-10-29 14:47:54 +08:00