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 |
|
Alex Holliday
|
ae46527965
|
removed double login prevention
|
2024-08-15 11:39:45 -07:00 |
|
Alex Holliday
|
6cbca39e0f
|
Refactored endpoint
|
2024-08-12 10:00:20 -07:00 |
|
Alex Holliday
|
0cc7751d2e
|
Decoupled JWT from DB
|
2024-08-10 10:20:06 -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
|
5b2a05bc79
|
Save JWT to user on login
|
2024-08-09 13:14:20 -07:00 |
|
Alex Holliday
|
8fc069795c
|
Merge remote-tracking branch 'upstream/fix/delete-user' into fix/delete-user
|
2024-08-02 11:39:11 -07:00 |
|
Alex Holliday
|
6c92dbe358
|
Delete pagespeed checks when user deleted
|
2024-08-02 11:38:38 -07:00 |
|
Alexander Holliday
|
a04ecad11f
|
Update authController.js
|
2024-08-02 11:25:35 -07:00 |
|
Alex Holliday
|
a432aee3de
|
Added empty query to request object
|
2024-08-02 11:24:15 -07:00 |
|
Alex Holliday
|
7d3bc7ee8a
|
Delete notifcations when a user is deleted
|
2024-07-31 12:55:19 -07:00 |
|
Alex Holliday
|
5a1aaf5132
|
AuthController error handling, cleanup
|
2024-07-30 13:54:30 -07:00 |
|
Alex Holliday
|
608153b461
|
Commented out admin check, unsure as to whether or not more than one admin can exist
|
2024-07-23 14:30:27 -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 |
|