|
|
31a244d439
|
Added new partial for test in dashboard table
|
2022-02-24 15:45:21 +00:00 |
|
|
|
6e2f19fbda
|
Removing obsolete code
|
2022-02-24 13:58:09 +00:00 |
|
|
|
67d15db4ee
|
Made auth middleware more readable
|
2022-02-24 13:52:38 +00:00 |
|
|
|
ced35b41ca
|
Add middleware to prevent unauthorised user from accessing private pages
|
2022-02-24 13:33:13 +00:00 |
|
|
|
8a783fe35c
|
Add plantUML diagram file for Emailer classes
|
2022-02-21 22:40:01 +00:00 |
|
|
|
bcdc79e897
|
Refactored sanitisation function to allow more expandability and removed the need to clone the body
|
2022-02-19 21:11:16 +00:00 |
|
|
|
e1ae4f8b5f
|
Document gulpfile for writeup
|
2022-02-16 14:10:30 +00:00 |
|
|
|
a0fb0cc5bb
|
Use database NULL values instead of empty strings
|
2022-02-14 21:58:19 +00:00 |
|
|
|
6cd2d9db4a
|
Validator should add non-validated fields to the returned map too
|
2022-02-14 21:29:01 +00:00 |
|
|
|
f62187bf60
|
Remove unneccasary method User.getPasswordReset
|
2022-02-14 21:10:44 +00:00 |
|
|
|
bf8b99a0d1
|
Send a password reset email
|
2022-02-14 20:55:20 +00:00 |
|
|
|
12090cefe8
|
Added method to return a nodemailer message object from EmailBuilder
|
2022-02-14 20:55:00 +00:00 |
|
|
|
7bd34f3312
|
Fix error when otherNames is undefined
|
2022-02-14 20:54:19 +00:00 |
|
|
|
c85166a7a0
|
Make EmailBuilder fields private
|
2022-02-14 20:53:46 +00:00 |
|
|
|
1c680b076a
|
Added functionality to Emailer to create nodemailer transport in preparation for email sending
|
2022-02-14 20:24:43 +00:00 |
|
|
|
1b7195caa7
|
Added nodemailer dependency for sending emails
|
2022-02-14 20:24:00 +00:00 |
|
|
|
0aa0d11523
|
Implement new Emailer class in password-reset route
|
2022-02-14 17:29:11 +00:00 |
|
|
|
3177653d60
|
Added Emailer class to send emails
|
2022-02-14 17:27:41 +00:00 |
|
|
|
5aaaa6ad96
|
Add sample config for SMTP server settings
|
2022-02-14 17:27:27 +00:00 |
|
|
|
def29705c6
|
Added documentation for EmailBuilder class
|
2022-02-14 17:05:44 +00:00 |
|
|
|
6612d6c7be
|
Replaced placeholder log for testing with new EmailBuilder
|
2022-02-14 15:03:47 +00:00 |
|
|
|
1ccc25f185
|
Added new EmailBuilder class
|
2022-02-14 15:02:37 +00:00 |
|
|
|
6055a1e797
|
Implemented User getter for fullName
|
2022-02-14 15:01:33 +00:00 |
|
|
|
1f1a150f9c
|
Added route for POST change password
|
2022-02-14 10:33:50 +00:00 |
|
|
|
51897544bf
|
Added route for password reset link
|
2022-02-14 10:32:58 +00:00 |
|
|
|
b763ce893e
|
Added placeholder for testing password reset
|
2022-02-14 10:32:19 +00:00 |
|
|
|
f88d00e192
|
Added view for the second page of password-reset
|
2022-02-14 10:31:48 +00:00 |
|
|
|
b955609399
|
Implemented User.changePassword
|
2022-02-14 10:29:58 +00:00 |
|
|
|
e38135cb6c
|
Implemented User getter
|
2022-02-14 10:29:35 +00:00 |
|
|
|
275c503d3c
|
Removed licence from package.json and fixed entry point
|
2022-02-14 10:28:49 +00:00 |
|
|
|
53ac018d40
|
Rewrite PasswordReset constructor to check for token in record
|
2022-02-14 10:28:16 +00:00 |
|
|
|
179bd4ce93
|
Added route for POST password-reset
|
2022-02-14 00:24:21 +00:00 |
|
|
|
fc10725862
|
Implemented User generatePasswordReset
|
2022-02-14 00:23:58 +00:00 |
|
|
|
cad66f56f8
|
Implemented PasswordReset generatePasswordReset
|
2022-02-14 00:23:37 +00:00 |
|
|
|
3e581b689e
|
Implemented PasswordReset hashToken
|
2022-02-14 00:22:25 +00:00 |
|
|
|
e644ba25bd
|
Implemented PasswordReset constructor
|
2022-02-14 00:21:55 +00:00 |
|
|
|
1b2dfe5681
|
Rewrite User constructor to search all tables if no type given
|
2022-02-14 00:19:28 +00:00 |
|
|
|
ef7f3ddb28
|
Remove fk constraints from passwordReset
|
2022-02-14 00:04:36 +00:00 |
|
|
|
cf0c667075
|
Renamed passwordReset.accountId to passwordReset.userId
|
2022-02-13 22:56:17 +00:00 |
|
|
|
655b54e305
|
Add login route
|
2022-02-13 22:19:07 +00:00 |
|
|
|
588ca67745
|
Implement User.verifyPassword
|
2022-02-13 22:18:36 +00:00 |
|
|
|
8e91966d4b
|
Implemented Account.getUserByEmail
|
2022-02-13 22:17:38 +00:00 |
|
|
|
2f00e30ca6
|
Add logout functionality
|
2022-02-13 22:16:46 +00:00 |
|
|
|
401eaa56e1
|
Added route for registering an Account
|
2022-02-13 22:11:15 +00:00 |
|
|
|
cbdbc92807
|
Implemented Account.createAccount
|
2022-02-13 22:09:09 +00:00 |
|
|
|
119445fd6e
|
Implemented User.creareUser
|
2022-02-13 22:07:53 +00:00 |
|
|
|
646c721128
|
Implement account constructor
|
2022-02-13 22:04:05 +00:00 |
|
|
|
254a9b8006
|
Implement user constructor
|
2022-02-13 22:03:21 +00:00 |
|
|
|
2de64cdf40
|
Added database query parameter sanitisation to replace nullish values with null
|
2022-02-18 17:10:13 +00:00 |
|
|
|
f059da2a09
|
Don't require middle names
|
2022-02-13 21:57:12 +00:00 |
|