Commit Graph

646 Commits

Author SHA1 Message Date
Rushi Gandhi e6068bfdc4 Add middleware that verifies refresh token 2024-10-16 18:27:29 +05:30
Alexander Holliday 7d8ffcd4a5 Merge pull request #960 from Rushi1109/915-be-generate-refresh-token
Generate refresh token & add it to response
2024-10-16 19:40:59 +08:00
Rushi Gandhi 111f7d5a67 remove if/else by using ternary operator 2024-10-16 14:13:48 +05:30
Rushi Gandhi 7a3d2619f6 add testcases for refresh token 2024-10-16 12:46:44 +05:30
Rushi Gandhi 29ce8bb116 Refactor issueToken function for issueing the refresh token 2024-10-16 12:45:31 +05:30
Alex Holliday 19dc8c2463 Fix typo in package.json 2024-10-15 21:47:55 +08:00
Alexander Holliday 8218bc9a9c Merge branch 'develop' into chore/addPrettierConfig 2024-10-15 21:43:18 +08:00
Caio Cabral 38b837d3b0 fix: setting prettier as dev dependency 2024-10-15 07:45:59 -04:00
Rushi Gandhi cd0160f421 Pass whole user object instead of just _id 2024-10-15 15:55:29 +05:30
Rushi Gandhi 581b6217a9 Update appSetting for refresh token & Update documentation 2024-10-15 14:11:47 +05:30
Rushi Gandhi 05c051ae3a Generate refresh token & add it to response 2024-10-15 12:30:24 +05:30
Alex Holliday 75238978e9 updated tests for full coverage 2024-10-14 15:23:38 +08:00
Alex Holliday f34b8466cd Add tests for updateAppSettings 2024-10-14 13:38:53 +08:00
Alex Holliday e4c12bb3d9 Add tests for getAppSettings 2024-10-14 13:34:11 +08:00
Alex Holliday 98136c5fb1 fixed accidentally nested test 2024-10-14 13:27:03 +08:00
Alex Holliday fde9303b8f Add tests for obliterate 2024-10-14 13:23:40 +08:00
Alex Holliday b063fa267a add test for addJob 2024-10-14 13:17:08 +08:00
Alex Holliday 61518f898b Add queue controller tests for getMetrics and getJobs 2024-10-14 13:13:36 +08:00
Alex Holliday ed3b008016 Add queue controller tests for getMetrics and getJobs 2024-10-14 13:13:13 +08:00
Alex Holliday 2ac60441a3 Fix deleteAllMonitors test 2024-10-14 11:59:15 +08:00
Alex Holliday 27d5bce9e3 Add tests for complete coverage, fix active -> isActive 2024-10-14 11:57:39 +08:00
Alex Holliday 607b16d1cd Add tests for addDemoMonitors 2024-10-14 11:36:49 +08:00
Alex Holliday 516212b1b0 Add tests for pauseMonitor method 2024-10-14 11:29:04 +08:00
Alex Holliday 2cf4c93cb0 Add tests for editMonitor 2024-10-14 11:18:23 +08:00
Alex Holliday bdde060f7f Add tests for deleteAllMonitors 2024-10-14 11:06:45 +08:00
Alex Holliday 9daa680701 Add tests for deleteMonitor 2024-10-14 10:13:54 +08:00
Alex Holliday 5d1ad0d92f Add tests for createMonitor 2024-10-14 09:53:08 +08:00
Alex Holliday a0b651fd24 Added getMoniotrsByTeamId tests 2024-10-14 09:43:47 +08:00
Alex Holliday 73e087982b Add tests for getMonitorsAndSummaryByTeamId 2024-10-11 15:10:54 +08:00
Alex Holliday 586b18d295 Add tests for getMonitorById 2024-10-11 15:07:37 +08:00
Alex Holliday 3e23d97930 Add tests for getMonitorCertificate 2024-10-11 14:59:55 +08:00
Alex Holliday 644363e3bb Add tests for getAllMonitors and getMonitorStatsById 2024-10-11 14:23:35 +08:00
Alex Holliday fbdbf5897e Add missing test case 2024-10-11 14:07:37 +08:00
Alex Holliday 0374f5ad0b Add tests for editMaintenanceWindow 2024-10-11 14:05:37 +08:00
Alex Holliday 9f1deb64d7 Add tests for deleteMaintenanceWindow 2024-10-11 14:01:19 +08:00
Alex Holliday 5d0029f6c7 Add tests for getMaintenanceWindowsByMonitorId 2024-10-11 13:58:11 +08:00
Alex Holliday fb45761331 Add tests for getMaintenanceWindowsByTeamId 2024-10-11 13:53:22 +08:00
Alex Holliday 9641aba401 Add tests for getMaintenanceWindowById 2024-10-11 13:43:16 +08:00
Alex Holliday 9ea9086b9e Add test for createMaintenanceWindow 2024-10-11 13:38:54 +08:00
Alex Holliday 2b019be270 Merge branch 'feat/be/check-controller-tests' into feat/be/tests/maintenance-window-controller 2024-10-11 13:22:38 +08:00
Alex Holliday f62882db01 Merge branch 'feat/be/controller-utils-test' into feat/be/tests/maintenance-window-controller 2024-10-11 13:22:33 +08:00
Alex Holliday 4ce08e05df Add tests for inviteController 2024-10-11 12:42:46 +08:00
Alex Holliday 526ad17641 Add tests for controllerUtils 2024-10-11 11:54:57 +08:00
Alex Holliday 0a805c1383 Remove console log 2024-10-11 11:40:35 +08:00
Alex Holliday 150b4c6f0f Add missing tests for 100% coverage 2024-10-11 11:40:10 +08:00
Alex Holliday ab4cf69222 Add tests for updateCheckTTL 2024-10-11 11:34:05 +08:00
Alex Holliday 14ce25dbc7 Add tests for deleteChecks 2024-10-11 11:00:17 +08:00
Alex Holliday 4276f92bd4 Add tests for getTeamChecks 2024-10-11 10:56:35 +08:00
Alex Holliday 9eb06a477f Add tests for getChecks 2024-10-11 10:49:44 +08:00
Alex Holliday 22a6d2ef2c Add creatCheck test 2024-10-11 10:39:18 +08:00