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

17 Commits

Author SHA1 Message Date
95b1636288 Reduce overhead on calls to getStudents and getTeacher to not fetch objects when they're not required 2022-04-01 12:46:07 +00:00
0b09a9a61e Should not allow teachers to remove the last teacher from class 2022-03-31 13:49:03 +00:00
6a36fae78c Refactor Class.getTeachers and Class.getStudents into their own functions 2022-03-31 13:46:52 +00:00
dc95b64480 Fully implemented Class.removeUser 2022-03-31 08:50:09 +00:00
3cb5929ea3 Add Class.addUser and scaffolding for Class.removeUser 2022-03-29 10:10:46 +00:00
4c2a078530 Refactored database connection system to use a shared pool per-request 2022-03-28 08:01:05 +00:00
db98c1d5ba Add Class.createClass 2022-03-08 14:21:49 +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
dd5778e872 Class should fetch class members too 2022-03-03 01:58:26 +00:00
63e6fde021 Generalise getTeacher to getUser 2022-03-03 01:57:49 +00:00
b214c7858a Added Class.getTests() 2022-02-28 11:49:02 +00:00
f299ecd727 Close database connection when finished with it 2022-02-25 19:52:46 +00:00
67e34e2c93 Add ability to extract teachers Accounts from Class 2022-02-25 19:52:45 +00:00
d5bc5a9619 Add ability to extract Subject from Class 2022-02-25 19:52:45 +00:00
f6efa74a89 Added Class constructor 2022-02-25 15:52:07 +00:00
9f4d947126 Added initial class skeletons 2022-01-20 23:29:26 +00:00