1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 19:59:27 +00:00
Commit Graph

129 Commits

Author SHA1 Message Date
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
3081417a54 Use importJSON instead of hardcoded require 2022-02-13 21:54:54 +00:00
7ce12f5ef4 Prepare for register and login functionality 2022-02-13 21:53:13 +00:00
41930b450b Make all buttons have pointer cursors 2022-02-13 21:49:33 +00:00
3acd448041 Remove license 2022-02-09 16:35:53 +00:00
f499380836 Added validator module and tests 2022-02-09 16:34:35 +00:00
50fe760292 Jest should ignore routes/test 2022-02-09 16:30:11 +00:00
c7b3cd131f Added forgotten strict mode declarations 2022-02-09 15:26:49 +00:00
ae8d302d34 Move cssnano to dev dependencies, and add postcss-sort-media-queries to postcss 2022-02-08 23:52:00 +00:00
549b8278d6 Splitting admin routes into pages to prepare for addition of functionality 2022-02-08 21:52:33 +00:00
4731d362a5 Fix bug where multiple route files can't have the same root 2022-02-08 21:49:15 +00:00
3af8bc9454 Added cssnano to gulp file, and disable minification unless in production 2022-02-08 21:26:01 +00:00
408c3d8beb Fix lighthouse warnings 2022-02-08 21:11:39 +00:00
4af91051a0 Fixed arbitrary heights using box-sizing, clean up more loose styling 2022-02-08 21:09:51 +00:00
ec6437e2bc Implement admin nav 'current' page display 2022-02-08 20:21:52 +00:00
2a9e39f4a4 Cleanup admin nav and header styling 2022-02-08 20:21:18 +00:00