Commit Graph

290 Commits

Author SHA1 Message Date
Alex Holliday
eee33e85c4 Remove superfluous dotenv from authController, add missing dotenv to settingsService 2025-01-02 12:27:19 -08:00
Alex Holliday
3b5a1827ad Add distributedUptimeController 2025-01-02 11:45:29 -08:00
Alexander Holliday
25fd0f7055 Merge branch 'develop' into feat/be/hardware-details 2025-01-02 09:58:19 -08:00
Alex Holliday
6563cedf88 add jsdoc and validation 2025-01-01 09:08:07 -08:00
Alex Holliday
cf3305611f Add route and controller method for hardware details 2024-12-31 15:05:03 -08:00
Alex Holliday
0551eb010d Add controller method for uptime details 2024-12-30 14:56:50 -08:00
Alex Holliday
cc40bd6006 refactor controllers to be class based 2024-12-24 11:58:42 -08:00
Mert Şişmanoğlu
e84a7b4a2e fix: Update references from Bluewave Uptime to Checkmate in email templates and authController 2024-12-22 00:15:05 +03:00
Alex Holliday
a42e280e49 update comments 2024-12-17 10:02:56 -08:00
Alex Holliday
df11a457f1 401 -> 403 2024-12-16 18:20:41 -08:00
Alex Holliday
f42bdddb7a add deleteHardwareChecksByMonitorId 2024-12-09 14:01:10 +08:00
Alex Holliday
58be0c018b rewrite monitor resolution check, update tests 2024-11-20 10:37:01 +08:00
Alex Holliday
f3a29c3be7 Add controller for status page 2024-11-11 12:17:06 +08:00
Alex Holliday
f613c5f19a Add controller method for getAllMonitorsWithUptimeStats 2024-11-06 11:16:45 +08:00
Alex Holliday
fa5eef14c3 Revert moving notification check to validation, FE always sends an empty notification array 2024-10-26 18:45:51 +08:00
Alexander Holliday
699bea5806 Merge branch 'develop' into fix/be/refactor-auth-controller 2024-10-26 09:39:13 +08:00
Alexander Holliday
3275bc49d0 Merge pull request #1058 from bluewave-labs/feat/be/logger-improvement
feat/be/logger improvement
2024-10-25 09:33:47 +08:00
Alex Holliday
a0248c81c2 standardize log statements 2024-10-24 15:28:13 +08:00
Alex Holliday
a709aa9674 Replace if/else block with ternary 2024-10-24 12:02:14 +08:00
Alex Holliday
17b8011ce1 Remove redundant check from 2024-10-24 12:00:13 +08:00
Alex Holliday
78170856f0 Refactor createMonitor to remove redundany check 2024-10-24 11:56:27 +08:00
Alex Holliday
b69fc223bf remove redundant check 2024-10-24 11:42:18 +08:00
Alex Holliday
3f4678f5e6 Refactor getMonitorCertificate to remove redundant check, move invalid cert handling to FE 2024-10-24 11:36:56 +08:00
Alex Holliday
fb0ead89b7 Refactor fetchMonitorCertificate to throw an error if invald cert 2024-10-24 11:35:58 +08:00
Alex Holliday
bc8e509b17 remove redundant user check in deleteUser 2024-10-24 11:00:45 +08:00
Alex Holliday
084ef9b952 Remove redundant check for user in requestRecovery method 2024-10-24 10:59:46 +08:00
Alex Holliday
ea4e19554b 403 -> 401 for incorrect password since 403 will be used for refresh tokens later 2024-10-24 10:58:25 +08:00
Rushi Gandhi
af685f3c8b Merge branch 'develop' into 915-be-add-new-endpoint-for-refreshing-access-token 2024-10-22 10:26:49 +05:30
Alex Holliday
7f95b061ed Refactor refreshAuthToken, add tests for coverage 2024-10-19 17:18:35 +08:00
Rushi Gandhi
7c24136e6a Add testcases for new endpoint 2024-10-18 14:55:41 +05:30
om-3004
34a13530b3 Merge branch 'develop' into enhancement/check-if-url-resolves 2024-10-18 11:39:07 +05:30
Rushi Gandhi
861adc0b96 fix error.method name in refreshAuthToken 2024-10-18 09:47:38 +05:30
Alexander Holliday
59392d0194 Merge pull request #975 from bluewave-labs/fix/be/ssl-checker
Add ssl-checker, refactor fetchMonitorCertificate
2024-10-18 10:05:10 +08:00
Rushi Gandhi
9f861f9779 move token generation part into callback 2024-10-17 17:13:25 +05:30
Rushi Gandhi
043698e535 add endpoint to refresh auth token 2024-10-17 17:01:36 +05:30
om-3004
ff6051b6b0 Update test case for url resolution to make it more specific 2024-10-17 16:59:49 +05:30
om-3004
aee7e02587 Add validation for monitor URL and update test case and api documentation accordingly 2024-10-17 12:37:03 +05:30
om-3004
0f763e7913 promisify the resolve method to pass the error to the middleware and updat test cases accordingly 2024-10-17 11:06:46 +05:30
om-3004
7ec5e64f6f Remove unused imports 2024-10-17 10:50:19 +05:30
om-3004
afe7c9047c Handle imports exports format check resolution tests code 2024-10-17 10:47:34 +05:30
om-3004
c598278c6f Merge branch 'develop' into enhancement/check-if-url-resolves 2024-10-17 10:35:41 +05:30
om-3004
6715a8b500 Refactor code for check endpoint and update test cases accordingly 2024-10-17 10:02:01 +05:30
Alex Holliday
fd2d16cf78 Format all files on BE with perttier config 2024-10-17 12:07:30 +08:00
Alex Holliday
79cf169ede Add ssl-checker, refactor fetchMonitorCertificate 2024-10-17 11:57:37 +08:00
Alex Holliday
63e39ed50d Resolve conflicts, update tests 2024-10-17 10:54:31 +08:00
Alex Holliday
81f1fe4694 Merge branch 'develop' into feat/be/esm 2024-10-17 10:42:57 +08:00
om-3004
d1e65f53ba Add test cases for checking monitor endpoint resolution 2024-10-16 21:12:51 +05:30
Rushi Gandhi
111f7d5a67 remove if/else by using ternary operator 2024-10-16 14:13:48 +05:30
Rushi Gandhi
29ce8bb116 Refactor issueToken function for issueing the refresh token 2024-10-16 12:45:31 +05:30
Alex Holliday
4a05157eb3 Fix coverage for auth 2024-10-16 14:17:35 +08:00