231 Commits

Author SHA1 Message Date
1b1f8f2b09 Added a basic import controller
ref #22
2020-12-16 18:20:31 +01:00
ac2da0af63 Now w/ working logout
All checks were successful
continuous-integration/drone/pr Build is passing
ref #25
2020-12-12 19:50:12 +01:00
30928180e6 Switched to prefering body provided tokens over cookie tokens
All checks were successful
continuous-integration/drone/pr Build is passing
ref #25
2020-12-12 19:27:56 +01:00
6aa1e0d573 Cleaned up some errors
ref #25
2020-12-12 19:26:04 +01:00
aca3eaaeea Now w/ working cookie based refresh
ref #25
2020-12-12 19:25:40 +01:00
615b54ec4f Removed secure flag and added expiry basd on ht refresh token
ref#25
2020-12-12 19:13:18 +01:00
db5da3d3c2 Removed useless return
ref #25
2020-12-12 18:34:22 +01:00
0e003d2dc4 Set cookies to secure
ref #25
2020-12-12 18:32:48 +01:00
36fbccb286 🚧 implementation in AuthController@login
ref #25
2020-12-12 11:55:45 +01:00
cada962e5a Merge branch 'dev' into feature/17-automated_tests
# Conflicts:
#	src/controllers/RunnerTeamController.ts
2020-12-10 20:05:52 +01:00
721af32989 Bugfix for runner team updates
ref #13 #17
2020-12-10 20:05:20 +01:00
eda8abb668 Merge branch 'dev' into feature/17-automated_tests
# Conflicts:
#	src/controllers/RunnerController.ts
#	src/models/actions/CreateParticipant.ts
2020-12-10 19:37:52 +01:00
f3000f14cd Runner updateing now works with it's own class
ref #13
2020-12-10 19:31:48 +01:00
9df86953cf Merge branch 'dev' into feature/17-automated_tests
# Conflicts:
#	src/app.ts
#	src/controllers/RunnerController.ts
#	src/controllers/RunnerOrganisationController.ts
#	src/controllers/RunnerTeamController.ts
#	src/models/actions/CreateParticipant.ts
2020-12-10 17:45:23 +01:00
7fe9480c94 Removed console logs 2020-12-10 17:43:00 +01:00
d2898ff60f Merge branch 'dev' into feature/17-automated_tests 2020-12-09 19:42:51 +01:00
df5b8ac141 Went back to using id's for deletion (for cleaner query params)
ref #13 #17
2020-12-09 19:41:15 +01:00
a068c4d318 Deletes now return 204 instead of 404 (better rest compatability)
ref #13
2020-12-09 19:34:49 +01:00
77b769446f Now throwing errors 2020-12-09 18:59:01 +01:00
204e2352a9 Fix for getting one
ref #13
2020-12-09 18:11:23 +01:00
e4cb8eba1d Removed relations resolution that broke the update 2020-12-09 17:48:24 +01:00
7bb7da4eed Merge branch 'dev' into feature/13-runner_controllers 2020-12-09 16:11:27 +01:00
4df63a8cc0 Fixxed missing plural
ref #13
2020-12-09 16:10:56 +01:00
33b3bcb8c2 Error cleanup
#11 #13 #14
2020-12-05 19:01:48 +01:00
21ad622c10 Removed console logs
ref #11
2020-12-05 18:49:59 +01:00
61e7ae4f86 Cleanup: Renamed Responses to represent their response nature
ref #11 #13 #14
2020-12-05 18:49:13 +01:00
0e924449d6 Cleanup: Renamed the creation folder to the more fitting "actions"
ref #11 #13
2020-12-05 18:45:47 +01:00
993096741d Merge branch 'dev' of https://git.odit.services/lfk/backend into dev 2020-12-05 18:00:48 +01:00
e5b605cc55 🧹 cleanups 2020-12-05 17:25:57 +01:00
8c229dba82 add response schemas to AuthController 2020-12-05 13:40:59 +01:00
675717f8ca 🚧 starting work on LogoutHandler
ref #12
2020-12-05 13:38:59 +01:00
0d21497c2f 🚧 AuthController - add proper response schemas 2020-12-05 13:31:46 +01:00
28c2b862f0 🚧 AuthController with multiple endpoints
ref #12
2020-12-05 12:28:43 +01:00
8870b26ce6 Deletes now work based on EntityFromParam
ref #14
2020-12-05 12:24:38 +01:00
0e3cf07b91 TrackController now also deletes based on a entityfromparam
ref #13
2020-12-05 12:21:47 +01:00
179add80f4 Now throwing errors even faster
ref #13
2020-12-05 12:18:24 +01:00
45675b0699 All things deletion for runner* now are clean af and cascadeing
ref #13
2020-12-05 12:15:51 +01:00
9c63a34fe1 Little bugfix
ref #13
2020-12-05 11:36:33 +01:00
2a1b65f424 🚧AuthController - add all Error response schemas to post
ref #12
2020-12-05 11:22:45 +01:00
aca13f7308 Fixed bugs concerning posts
ref #13
2020-12-05 10:59:15 +01:00
92cd58e641 Merge branch 'dev' into feature/12-jwt-creation 2020-12-04 22:45:54 +01:00
6cb01090d0 working on AuthController + CreateAuth
ref #12
2020-12-04 22:43:41 +01:00
48484f04c9 Merge branch 'dev' into feature/13-runner_controllers 2020-12-04 22:43:29 +01:00
7b08489533 Now with working runner orga controller including responses
ref #13
2020-12-04 21:55:09 +01:00
a437ada3b3 Runnerteams now with resolving relations and response types :O
ref #13
2020-12-04 21:38:28 +01:00
c53e94d205 Part 1 of the relation fix 2020-12-04 21:18:44 +01:00
056413560e Now all runner endpoints return a response runner
ref #13
2020-12-04 19:40:00 +01:00
8beb658bcc New response model for runners
ref #13
2020-12-04 19:01:36 +01:00
a3b79ef21d Fix
ref #14
2020-12-04 18:36:46 +01:00
3275b5fd80 🚧 UserGroups
ref #14
2020-12-04 18:34:14 +01:00