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

74 Commits

Author SHA1 Message Date
ded1481c8a Remove unneccasary stat from dashboard page 2022-04-22 04:06:16 +00:00
b46e7cf7c1 Added protection against non-teacher deletions, edits etc... 2022-04-22 04:04:35 +00:00
d5cdf70705 Add report generation 2022-04-22 02:42:43 +00:00
64c0da6716 Lock down reports page to teachers only 2022-04-22 02:42:23 +00:00
b6c66b8e16 Added real data to validator function POST /reports/generate 2022-04-22 02:41:07 +00:00
ec6305086e Change implementation of Test.dateString 2022-04-22 02:32:49 +00:00
6a0bcc90f3 Replaced sample data with real data 2022-04-21 17:34:31 +00:00
fcde079023 Add route for reports page, with test data 2022-04-21 16:48:13 +00:00
bcec44f4f9 Add route for test template page 2022-04-21 13:19:07 +00:00
d2d1261bf1 Added POST delete for test 2022-04-21 13:19:07 +00:00
fca8f247af Added POST delete for class 2022-04-21 13:19:07 +00:00
0e667f3ed0 Split testTemplate routes into seperate route file 2022-04-19 21:26:29 +00:00
c3d3de7677 Remove dangling commas 2022-04-19 00:22:23 +00:00
52c44f298e Added generalised handlebars context 2022-04-19 00:21:40 +00:00
68257f787b Added result/delete route 2022-04-18 20:22:55 +00:00
b98d9da464 Added route for creating testResults 2022-04-18 20:21:11 +00:00
5def59357c Implement TestResult.setMark 2022-04-18 19:13:58 +00:00
6b409bca41 Added route functionality for testResults and testResults/edit 2022-04-18 15:53:31 +00:00
28ac0df520 Split out singleTest route and fix priorities for routes 2022-04-18 15:00:50 +00:00
58855dcfd1 Replace test data with live TestResult data 2022-04-18 13:00:19 +00:00
6406cd5a5c Added redirect_to to login page when auth forces re-authentication 2022-04-12 00:34:32 +00:00
ad1a50d4f2 Reorder User constructor params 2022-04-11 23:45:17 +00:00
0b09a9a61e Should not allow teachers to remove the last teacher from class 2022-03-31 13:49:03 +00:00
74cae8847d Added POST class/user/remove 2022-03-31 08:50:22 +00:00
9fb499bbe5 Added GET class/user/remove 2022-03-31 08:49:35 +00:00
b489f055aa Fix multiple instantiation problem 2022-03-30 10:08:53 +00:00
a97c2e3dc5 Added routes for addClassUser 2022-03-29 10:25:46 +00:00
7b8eafa1db Split class routes into two files 2022-03-29 10:13:05 +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
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
bff42cdefa Add route for classUser pages 2022-03-21 09:15:14 +00:00
0298c81f51 Make test and class validation more general 2022-03-14 09:42:33 +00:00
aaec1c0904 Add test route now actually adds test 2022-03-08 13:41:12 +00:00
b40624ce8f Add test template route now actually adds test template 2022-03-08 14:22:04 +00:00
57def008c8 Add class route now actually adds class 2022-03-08 11:43:44 +00:00
72891d0845 Added new date validation type to addTest post validator 2022-03-08 00:01:15 +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
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
e94f8ef94c Added class stat data, and amended pluralisation logic 2022-03-06 20:36:21 +00:00
ec87a77dd2 Added Class.hasAccess to validate user input and add security 2022-03-04 22:39:56 +00:00
c9e826d016 Lint cleanup with new rules 2022-03-03 09:21:43 +00:00
805d870755 Added validation for individual class page 2022-03-03 02:19:10 +00:00
959576585d Added class route, contains mostly real data but some test data too 2022-03-03 02:17:53 +00:00
6ed7f09ce8 Lint cleanup 2022-02-28 09:16:06 +00:00
3b5b9f7d88 Populate tests and classes pages 2022-02-25 19:52:46 +00:00