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
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
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
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
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
Laurin
cb1eb1e317
bug fixes in Discipline, Roleschema, Event & Media
2022-05-18 08:27:11 +02:00
Laurin
75d416c62e
Fix random number
2022-05-18 08:27:11 +02:00
Stephan
bdfc15eab4
Add functionality to get media meta
...
+ Remove unused code
+ Fix misspelling
+ Fix error handling to handle errors with no status code
2022-05-18 08:27:11 +02:00
Stephan
c393508a06
Add functionality to add metadata to media
2022-05-18 08:27:11 +02:00
Stephan
a16126a1db
Fix media
...
+ Create media directory on dev start
+ Create media file on POST
2022-05-18 08:27:11 +02:00
Stephan
f4288d7319
Fix dev.sh script (Now respects port)
2022-05-18 08:27:11 +02:00
Stephan
b1c1e53a2d
Add fulldescription
2022-05-18 08:27:11 +02:00
Stephan
734acbab38
Fix and comment code for linking media
2022-05-18 08:27:11 +02:00
Stephan
196604599b
FIX: **quickly** fix all errors in the media system
2022-05-18 08:27:11 +02:00
Laurin
bded472d05
Added basic implementation of media
2022-05-18 08:27:11 +02:00
Stephan
13d6f881ea
Extract shared error code
...
+ Create new functions for generating errors
2022-05-18 08:27:11 +02:00
Stephan
bb4f4babce
Add controller and routes to upload images
...
+ Checks for valid image formats
+ Limits file size
+ Requires authentication
+ Disabled for now
2022-05-18 08:27:11 +02:00
Stephan
323fc396f7
Add express.static() to serve semi-static files
...
+ Should be user-updateable in the future
2022-05-18 08:27:11 +02:00
Stephan
3ec5f92429
Add controllers for 404 and the root endpoint
2022-05-17 16:16:26 +02:00
Stephan
645baf1f8a
Add cors
2022-05-17 15:42:50 +02:00
Stephan
2eb9edee69
Only create default admin when in development mode
2022-05-16 15:38:22 +02:00
Laurin
510624cbc6
Removed Campaign, Link, Gender
2022-05-08 22:49:49 +02:00
Stephan
6c5fd27a73
Merge pull request #45 from detleph/feature-endpoints
...
Add more endpoints
2022-05-03 14:58:01 +02:00
Stephan
8384a3eebb
Add controller for roleSchemas (unfinished)
...
+ Refine error messages for role schemas
+ Add role schema routes
+ Add RESULT_SCHEMA DataType
+ Add SchemaError.isSchemaError() type guard
2022-05-01 18:18:48 +02:00
Stephan
72ee918f00
Add schema valiation
...
+ Using zod for validation
+ Add SchemaError
2022-05-01 17:18:55 +02:00
Stephan
2034faa448
Add endpoint to delete disciplines
2022-05-01 16:09:10 +02:00
Stefan
382fd8b9ed
Merge pull request #33 from detleph/feature-email-verification
...
Feature email verification Finished
ITS FINALY DONE
2022-04-29 12:24:29 +02:00