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

255 Commits

Author SHA1 Message Date
3568762778 User.createUser can now return Student/Parent types 2022-03-29 10:07:36 +00:00
e2ebaee9be DatabaseConnectionPool should bubble errors up 2022-03-29 10:06:57 +00:00
2c2c6b602f Added views for addClassUser pages 2022-03-29 10:06:01 +00:00
4c2a078530 Refactored database connection system to use a shared pool per-request 2022-03-28 08:01:05 +00:00
bd662661ee Fixed validation middlewares so they they run against all HTTP request types 2022-03-21 10:37:55 +00:00
a7808458f8 Added Account user to test data with no tests, classes or test templates 2022-03-21 09:18:51 +00:00
31507e13fd Added delete test button and fixed link root 2022-03-21 09:18:29 +00:00
afbb7485dc Added route and validation for individual user 2022-03-21 09:17:15 +00:00
cd7f5de4b9 Added view for individual user 2022-03-21 09:16:07 +00:00
8420bd9fd8 Added security validation for User class 2022-03-21 09:15:36 +00:00
bff42cdefa Add route for classUser pages 2022-03-21 09:15:14 +00:00
e6cdf94c14 Added views for classUser pages 2022-03-21 09:14:08 +00:00
e34016667f Catch database errors and prevent them from crashing the app 2022-03-21 09:12:48 +00:00
0298c81f51 Make test and class validation more general 2022-03-14 09:42:33 +00:00
e1de67266c Cleanup extra newline 2022-03-14 09:40:34 +00:00
609f50545c Fixed context in handlebars helpers 2022-03-14 09:40:10 +00:00
8b3f8fa19d Added delete class button to class page 2022-03-14 09:38:29 +00:00
aaec1c0904 Add test route now actually adds test 2022-03-08 13:41:12 +00:00
17193df826 Add TestTemplate.assignClass 2022-03-08 13:39:43 +00:00
b40624ce8f Add test template route now actually adds test template 2022-03-08 14:22:04 +00:00
871cb36395 Add Account.createTestTemplate 2022-03-08 13:05:55 +00:00
ca5f7cc6e2 Add TestTemplate.createTestTemplate 2022-03-08 14:21:57 +00:00
57def008c8 Add class route now actually adds class 2022-03-08 11:43:44 +00:00
7b34e35fbc Add Account.createClass 2022-03-08 11:43:19 +00:00
db98c1d5ba Add Class.createClass 2022-03-08 14:21:49 +00:00
d49ec3d453 Fix class hover styling 2022-03-08 11:42:46 +00:00
72891d0845 Added new date validation type to addTest post validator 2022-03-08 00:01:15 +00:00
34c6478699 Added new validation type 'date' to validator module 2022-03-08 00:00:52 +00:00
be08c58afa Fixed failing DatabaseConnectionPool tests 2022-03-07 23:46:30 +00:00
c92181cbf2 Added routes and validation for testing add pages 2022-03-07 15:11:19 +00:00
3047898fc2 Added route for GET test/add and testTemplate/add 2022-03-07 14:50:09 +00:00
f6909b06a9 Added route for GET class/add 2022-03-07 14:49:28 +00:00
3731e5b09f Added addTestTemplate view 2022-03-07 14:48:56 +00:00
062bb9059b Added addTest view 2022-03-07 14:48:30 +00:00
c5045ef0bd Added addClass view 2022-03-07 14:48:21 +00:00
518e482ee7 Added Account.getTestTemplates method 2022-03-07 14:46:00 +00:00
9dd5c1dd32 Added Subject.getAllSubjects method 2022-03-07 14:45:33 +00:00
27a4ecd7c1 Generalised form styles 2022-03-07 14:45:09 +00:00
c6419cad8b Added add test and add class buttons to tests and classes pages 2022-03-06 22:47:48 +00:00
cface26bc9 Add test route 2022-03-06 20:51:20 +00:00
e19afeff73 Add Test.hasAccess for user validation 2022-03-06 20:42:58 +00:00
9e1894fe27 Added styling for test page 2022-03-06 20:42:38 +00:00
a32a8062f8 Add test page view 2022-03-06 20:42:22 +00:00
97c62b9d73 Generalise currently class page specific components for use on the test page 2022-03-06 20:39:14 +00:00
e94f8ef94c Added class stat data, and amended pluralisation logic 2022-03-06 20:36:21 +00:00
fcd37ed1fd Fix typo 2022-03-06 00:47:39 +00:00
ec87a77dd2 Added Class.hasAccess to validate user input and add security 2022-03-04 22:39:56 +00:00
df1c572e14 Added title to class test tables 2022-03-04 10:36:37 +00:00
c9e826d016 Lint cleanup with new rules 2022-03-03 09:21:43 +00:00
80291efc6d NPM updates 2022-03-03 02:25:56 +00:00