Commit Graph
224 Commits
Author SHA1 Message Date
Laurin 619b46a6aa added leaderOfTeam check 2022-06-04 01:06:09 +02:00
Laurin 87fa0f3184 Merge branch 'feature-endpoints' into feature-roles 2022-06-03 22:39:38 +02:00
Laurin b3a1ec5fa5 small fixes 2022-06-03 22:25:21 +02:00
Laurin 0f0da062c6 patched issues found during testing 2022-06-03 19:57:43 +02:00
Stefan-5422 80b09ebf5a Fix make code more stable & tackle #66 2022-06-02 22:14:41 +02:00
Stefan-5422 fc894f7643 Fix #63, #64; 2022-06-02 09:40:05 +02:00
Laurin 569695245f patching complications after merging and review suggestions 2022-06-02 00:09:51 +02:00
Laurin eff81e32f1 Revert "merged f-endpoints and f-roles"
This reverts commit 6edaf890b1.
2022-06-01 14:10:08 +02:00
Laurin 6edaf890b1 merged f-endpoints and f-roles 2022-05-31 07:44:26 +02:00
La_Felx 95784a2a9f Merge branch 'feature-roles' into feature-endpoints 2022-05-31 06:57:16 +02:00
Stephan 0c0b2c3ced Merge pull request #60 from detleph/create-pull-request/patch
Reformat files using prettier
2022-05-30 21:59:20 +02:00
stephan418 5efb3597fd [create-pull-request] push formatted files 2022-05-30 19:59:00 +00:00
Stefan-5422 04c3bc8f87 Do some wacky stuff so that mails actually have a chance of working on our server 2022-05-30 20:58:40 +02:00
Stefan-5422 6f730d1214 Add team routes 2022-05-30 20:58:16 +02:00
Stefan-5422 aa6f0825ac Safe teamLeader code as a cookie so the client can deal with it. 2022-05-30 20:57:28 +02:00
Stefan-5422 f80f5b4938 Remove leftover TODOs 2022-05-30 19:42:45 +02:00
Stephan eb20ff4965 Refractor auth logic
+ Add possibility (_requireAdminAuthentication, _requireTeamleaderAuthentication) to make auth optional
+ Add possibility to combine multiple auth types into one function
2022-05-30 18:18:44 +02:00
Laurin 7dc9dd1558 adding team router/cont and participant router 2022-05-30 12:21:28 +02:00
Laurin ba1d09d181 media bugfixes 2022-05-29 21:08:40 +02:00
Laurin 1cb345c316 de-duplicated (un-)linkMedia 2022-05-29 17:19:45 +02:00
Stephan cd0cb00106 Add requireResponsibleForGroup
+ Update controllers
2022-05-29 14:47:32 +02:00
Stephan 197fd9c654 Improve validation and error handling
+ Check code and routes
+ Comment code
2022-05-29 13:25:11 +02:00
Stephan c41bbe9ab4 Add error handling and comment code 2022-05-29 12:58:28 +02:00
Stephan 7ae0c81bb8 Fix errors and improve error handling
+ Review code
+ Fix error with braces
2022-05-29 12:37:02 +02:00
Laurin 57671d72b8 added updateRoleScore 2022-05-29 03:35:12 +02:00
Laurin f560095731 updated register and createParticipant esp: job 2022-05-29 03:12:32 +02:00
Laurin 21deb2259a added deleteRoleSchema 2022-05-29 02:47:32 +02:00
Laurin 4fb9f2e496 added updateRoleSchema 2022-05-29 02:44:30 +02:00
Laurin e6cc0ab058 added updateGroup 2022-05-29 02:20:42 +02:00
Laurin e2afde59e1 added updateDiscipline 2022-05-29 02:02:17 +02:00
Laurin cb50e5ac2e small fixes 2022-05-29 01:35:57 +02:00
Laurin b1a0e8be7c added deleteParticipant 2022-05-29 01:14:47 +02:00
Laurin 4bec0d4b5e added updateParticipant 2022-05-29 01:02:13 +02:00
Laurin 0431406328 added createParticipant, patched DataType 2022-05-29 00:27:04 +02:00
Laurin 233182c0ea added getRolesForTeam to role.routes 2022-05-28 18:36:36 +02:00
Laurin 58235b301e added createRolesForTeam in register 2022-05-28 18:27:13 +02:00
Laurin da154f2f83 Merge branch 'feature-roles' of github.com:detleph/server into feature-roles 2022-05-28 17:56:09 +02:00
Stefan-5422 93d77eeefa Added user_auth system
+ 1 Mega commit yay
2022-05-28 17:14:33 +02:00
Laurin 55eab7000a add deleteRolesFromTeam 2022-05-28 16:52:35 +02:00
Laurin 4f94bf074c created Role controller/routes 2022-05-28 15:50:05 +02:00
Stephan 2a33b703bc Add methods for requiring more specific levels of teamleader auth
+ Add AuthError
2022-05-27 23:08:23 +02:00
Stephan a9c182cf64 Add teamleader authentication 2022-05-27 22:48:16 +02:00
Stephan 197d1a52a3 Add basic controllers and helper for roles
+ Directly link participants to teams for sake of query efficiency
2022-05-27 22:12:16 +02:00
Laurin cc57c51389 Added updateDiscipline 2022-05-24 18:50:30 +02:00
Laurin 4e77d3c66d Event zod add pid/id; rm comented MediaRouter 2022-05-22 12:48:37 +02:00
Stefan c5e6568466 Merge branch 'main' into dev 2022-05-20 17:51:04 +02:00
Stefan f00a80242a Merge pull request #52 from detleph/prepare-release
Prepare release
2022-05-19 13:04:40 +02:00
Laurin 4555d46902 modified event responses and updated discipline briefDescription + fullDescription 2022-05-18 12:16:47 +02:00
Flexla54 4926f2659d [create-pull-request] push formatted files 2022-05-18 08:27:11 +02:00
Laurin 0ee140ad00 more bug fixes and add update to event 2022-05-18 08:27:11 +02:00