Commit Graph

884 Commits

Author SHA1 Message Date
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
Mend Renovate
aea462c8c4 fix(deps): update dependency winston to v3.17.0 2024-11-10 03:09:04 +00:00
Mend Renovate
b77871adb0 fix(deps): update dependency bullmq to v5.25.4 2024-11-10 01:33:51 +00: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
Mend Renovate
ca8d89437c fix(deps): update dependency mongoose to v8.8.1 2024-11-08 19:25:24 +00:00
Mend Renovate
3de8706a47 fix(deps): update dependency bullmq to v5.25.3 2024-11-08 12:45:44 +00: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
Alex Holliday
ce221afa9f remove active job code, does not accomplish intended purpose 2024-10-31 17:02:02 +08:00
Alex Holliday
c83e2cb6f2 Add module var for shutdown timeout 2024-10-31 17:01:27 +08:00
Alex Holliday
3fc79d47ba Stringify objects in the details field of logger config 2024-10-31 16:01:04 +08:00