Alex Holliday
|
eee33e85c4
|
Remove superfluous dotenv from authController, add missing dotenv to settingsService
|
2025-01-02 12:27:19 -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 |
|
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
|
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 |
|
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 |
|
Rushi Gandhi
|
861adc0b96
|
fix error.method name in refreshAuthToken
|
2024-10-18 09:47:38 +05:30 |
|
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 |
|
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 |
|
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 |
|
Alex Holliday
|
5f6e0631c6
|
Prettier formatting
|
2024-10-16 11:46:37 +08:00 |
|
Rushi Gandhi
|
cd0160f421
|
Pass whole user object instead of just _id
|
2024-10-15 15:55:29 +05:30 |
|
Rushi Gandhi
|
05c051ae3a
|
Generate refresh token & add it to response
|
2024-10-15 12:30:24 +05:30 |
|
Alex Holliday
|
896b3437e5
|
Migrate tests to ESM
|
2024-10-15 14:00:24 +08:00 |
|
Alex Holliday
|
f057807b56
|
migrate to esm
|
2024-10-15 11:57:37 +08:00 |
|
Alex Holliday
|
75238978e9
|
updated tests for full coverage
|
2024-10-14 15:23:38 +08:00 |
|
Alex Holliday
|
606c799166
|
Add deleteUser tests
|
2024-10-10 21:26:43 +08:00 |
|
Alex Holliday
|
a46f5ae3ab
|
Add tests for authController.registerUser and authController.loginUser
|
2024-10-10 11:42:33 +08:00 |
|
Alex Holliday
|
8578304ca4
|
refactor validation error and general error handling to reduce code duplicatoin
|
2024-10-10 08:59:44 +08:00 |
|
Alex Holliday
|
c1d1e0ad1d
|
Refactor for clarity and correctness, add JS docs
|
2024-10-01 10:55:51 +08:00 |
|
Alex Holliday
|
e0e80dc9c7
|
Refactor method names, add improve JSdocs for monitorController
|
2024-10-01 10:29:32 +08:00 |
|
Alex Holliday
|
73ac91c201
|
Generate random JWT on first account signup if one is not supplied by env
|
2024-09-30 10:08:37 +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
|
edd9b5a6aa
|
Update delete user to handle superadmin case
|
2024-09-26 11:50:50 +08:00 |
|
Alex Holliday
|
ffd193437e
|
add comments
|
2024-09-25 15:14:22 +08:00 |
|
Alex Holliday
|
5dbd8378e2
|
require invite token to register except for initial registration
|
2024-09-25 15:12:07 +08:00 |
|
Alex Holliday
|
d2ab33492a
|
Update auth endpoints
|
2024-09-24 13:56:58 +08:00 |
|
Alex Holliday
|
be0db003ad
|
Add service name and method name to errors in authController
|
2024-09-15 09:25:35 +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
|
484231144d
|
Add superadmin check
|
2024-09-06 10:56:07 -07:00 |
|
Alex Holliday
|
7526fe2a68
|
fix delete user method
|
2024-09-06 10:52:17 -07:00 |
|
Alex Holliday
|
a600ac30af
|
Removed unused token code
|
2024-08-28 10:07:47 -07:00 |
|
Alex Holliday
|
ac37211e32
|
refactor invite to its own route and controller
|
2024-08-26 17:43:56 -07:00 |
|
Alex Holliday
|
20b2b089a4
|
Removed awaits for emails, added redirect if invite verify fails
|
2024-08-26 15:21:06 -07:00 |
|
Alex Holliday
|
c39eab49bd
|
Add teams to a user when they are created
|
2024-08-26 13:29:11 -07:00 |
|
Alex Holliday
|
ef02bd8078
|
Check for superadmin as opposed to admin
|
2024-08-26 09:46:23 -07:00 |
|
Alex Holliday
|
4e430547ab
|
Add error handling and logging to email service
|
2024-08-21 11:41:47 -07:00 |
|
Alex Holliday
|
85a82bb8c7
|
removed log statement
|
2024-08-18 22:07:36 -07:00 |
|
Alex Holliday
|
6d99002fd1
|
Finish refactoring auth slice, fixed several bugs
|
2024-08-17 20:23:34 -07:00 |
|