Commit Graph

58 Commits

Author SHA1 Message Date
Alex Holliday
53fe22b517 Fix merge conflict 2024-10-18 10:02:33 +08:00
Alex Holliday
90dfa09b10 Merge branch 'develop' into fix/be/prettier-baseline 2024-10-18 10:01:54 +08:00
Rushi Gandhi
090f0df3e8 Merge branch 'develop' into 915-be-add-middeware-for-verification-of-refresh-token 2024-10-17 12:01:43 +05:30
Rushi Gandhi
3e9593fa23 Refactor verifyJWT middleware to handle refresh tokens alongside access token 2024-10-17 11:58:13 +05:30
Alex Holliday
8bdade2774 Merge branch 'develop' into fix/be/prettier-baseline 2024-10-17 13:39:23 +08:00
Alex Holliday
c0ae2fac77 Add tests for util functions 2024-10-17 13:09:50 +08:00
Alex Holliday
fd2d16cf78 Format all files on BE with perttier config 2024-10-17 12:07:30 +08:00
Alex Holliday
81f1fe4694 Merge branch 'develop' into feat/be/esm 2024-10-17 10:42:57 +08:00
Rushi Gandhi
412ac3312b use jwt.verify instead of jwt.decoded to verify authenticity of token 2024-10-16 20:20:08 +05:30
Rushi Gandhi
e6068bfdc4 Add middleware that verifies refresh token 2024-10-16 18:27:29 +05:30
Rushi Gandhi
29ce8bb116 Refactor issueToken function for issueing the refresh token 2024-10-16 12:45:31 +05:30
Alex Holliday
f057807b56 migrate to esm 2024-10-15 11:57:37 +08:00
Alex Holliday
b063fa267a add test for addJob 2024-10-14 13:17:08 +08:00
Alex Holliday
ed3b008016 Add queue controller tests for getMetrics and getJobs 2024-10-14 13:13:13 +08:00
Alex Holliday
e3c0944062 Add route, controller, and DB methods for fetching maintenance window by ID 2024-10-09 12:06:01 +08:00
Alex Holliday
114cfd6cb7 add put route, controller, and db method for maintenance window 2024-10-09 11:33:12 +08:00
Alex Holliday
335098e2a8 implement deleting maintenance window 2024-10-09 11:07:14 +08:00
Alex Holliday
f48b769baa Merge remote-tracking branch 'upstream/develop' into feat/maintenance-page 2024-10-08 09:49:26 +08:00
Alex Holliday
4a3636789e Add token expired msg 2024-10-07 13:54:00 +08:00
Alex Holliday
68296eccc3 Add getMaintenanceWindowsByTeamId 2024-10-04 13:49:53 +08:00
Alex Holliday
c1d1e0ad1d Refactor for clarity and correctness, add JS docs 2024-10-01 10:55:51 +08:00
Alex Holliday
11b97ab3b4 add update settings method, remove all env var references possible 2024-09-26 14:37:11 +08:00
Alex Holliday
992bf099fa Add app settings model, routes, db ops, service, use settings for issueToken 2024-09-26 13:41:50 +08:00
Alex Holliday
15e067c9bf Add ttl 2024-09-12 12:49:18 +08:00
Alex Holliday
65cc70cbdd remove unresponsive sites from demo list 2024-09-11 11:39:32 +08:00
Alex Holliday
a89777333a Add route, controller, and DB methods for adding demo monitors 2024-09-11 11:03:39 +08:00
Alex Holliday
17174ebe14 Add pause routes and controller, implement functionality 2024-08-28 15:21:59 -07:00
Alex Holliday
535f3f571a Add status codes and messages to checks 2024-08-28 09:42:02 -07:00
Alex Holliday
5bd13a572e Add middleware for verifying roles, use middleware on appropriate routs 2024-08-27 10:39:55 -07:00
Alex Holliday
6d3ed27f31 Parsed mongo doc correctly in Normalization function 2024-08-19 10:02:12 -07:00
Alex Holliday
ae46527965 removed double login prevention 2024-08-15 11:39:45 -07:00
Alex Holliday
e533c94918 Implemented new stats for Monitor Details 2024-08-12 15:15:13 -07:00
Alex Holliday
d7251bfd81 Refactored monitor details 2024-08-12 12:05:57 -07:00
Alex Holliday
9f4d23b1b4 Add logout route and controller, remove JWT from user on logout 2024-08-09 13:33:13 -07:00
Alex Holliday
9fe75c92dd Add check for JWT on login 2024-08-09 13:19:05 -07:00
Alex Holliday
b3fab31a61 node 2024-08-08 12:37:02 -07:00
Alex Holliday
284253638b Properly extract doc from mongoose model in Normalization 2024-08-08 11:32:48 -07:00
Alex Holliday
51058b6d2b Moved normalization to BE 2024-08-08 11:20:54 -07:00
Alexander Holliday
95dfc8d82c Feat/maintenance window controller (#475)
* Added createMaintenanceWindow route

* Added getMaintenanceWindowsByUserId

* Added getMaintenaceWindowsByMonitorId method, updated routes

* Exported delete methods
2024-07-30 10:01:52 -07:00
Alex Holliday
c77414f2d7 Added check to verify and fetch token from server 2024-07-23 12:27:23 -07:00
Alex Holliday
8e6cd0de71 Added verifyAdmin middleware. Implemented getAllUsers route 2024-07-22 11:49:22 -07:00
Alex Holliday
12e23cb156 Removed sendgrid, use emailService for all emails. Updated env vars, updated scripts 2024-07-19 15:41:06 -07:00
Alex Holliday
b0cbea156c Add check for admin acount 2024-07-12 10:57:39 -07:00
Alex Holliday
15b7383c61 Changed ParseBoolean functionality to allow for undefined and null 2024-07-09 10:29:11 -07:00
Alex Holliday
f2fc5bd984 Changed parse boolean functionality to allow for undefined" 2024-07-09 10:28:41 -07:00
Alex Holliday
48ca591006 Added delete image profile functionality to update user 2024-07-09 10:23:22 -07:00
Alex Holliday
43bac259d7 Generate avatar image on register or update if an image is included 2024-07-08 10:26:56 -07:00
MuhammadKhalilzadeh
b239aae4ed Merge branch 'backend-completion' of https://github.com/MuhammadKhalilzadeh/bluewave-uptime into backend-completion 2024-07-03 11:10:10 +03:30
Alex Holliday
ec63281202 Return admin account status on check 2024-07-02 10:45:38 -07:00
MuhammadKhalilzadeh
6205a3385e fix commit 2024-06-28 13:35:26 +03:30