1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 22:39:26 +00:00
Commit Graph

30 Commits

Author SHA1 Message Date
67c4b510c1 Added User.getEmail 2022-04-21 15:46:50 +00:00
ad1a50d4f2 Reorder User constructor params 2022-04-11 23:45:17 +00:00
3568762778 User.createUser can now return Student/Parent types 2022-03-29 10:07:36 +00:00
4c2a078530 Refactored database connection system to use a shared pool per-request 2022-03-28 08:01:05 +00:00
8420bd9fd8 Added security validation for User class 2022-03-21 09:15:36 +00:00
e34016667f Catch database errors and prevent them from crashing the app 2022-03-21 09:12:48 +00:00
c9e826d016 Lint cleanup with new rules 2022-03-03 09:21:43 +00:00
9c66a50973 Add User.shortName 2022-03-03 01:58:47 +00:00
6ed7f09ce8 Lint cleanup 2022-02-28 09:16:06 +00:00
f299ecd727 Close database connection when finished with it 2022-02-25 19:52:46 +00:00
0ac1b1bb73 Fixed bug where handlebars can't access getters 2022-02-25 19:52:46 +00:00
c6433f4594 Fix bug where tests on the current day weren't selected in recent or upcoming filters 2022-02-25 16:48:11 +00:00
8063cad2f4 Don't fetch unneccasary records from db 2022-02-25 15:52:56 +00:00
73bf0f699c Added User.getClasses 2022-02-25 15:52:33 +00:00
57af81cc98 Consistent SQL query formatting 2022-02-25 14:44:35 +00:00
98e7b125c4 Added User.getTests 2022-02-25 13:17:07 +00:00
f0e865803e User constructor should return the correct child class is type is unspecified 2022-02-25 13:03:26 +00:00
72b7a6fdb4 Fixed bug where User class assumed that it was an Account 2022-02-25 11:25:13 +00:00
f62187bf60 Remove unneccasary method User.getPasswordReset 2022-02-14 21:10:44 +00:00
7bd34f3312 Fix error when otherNames is undefined 2022-02-14 20:54:19 +00:00
6055a1e797 Implemented User getter for fullName 2022-02-14 15:01:33 +00:00
b955609399 Implemented User.changePassword 2022-02-14 10:29:58 +00:00
fc10725862 Implemented User generatePasswordReset 2022-02-14 00:23:58 +00:00
1b2dfe5681 Rewrite User constructor to search all tables if no type given 2022-02-14 00:19:28 +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
401eaa56e1 Added route for registering an Account 2022-02-13 22:11:15 +00:00
119445fd6e Implemented User.creareUser 2022-02-13 22:07:53 +00:00
254a9b8006 Implement user constructor 2022-02-13 22:03:21 +00:00
9f4d947126 Added initial class skeletons 2022-01-20 23:29:26 +00:00