Commit Graph

144 Commits

Author SHA1 Message Date
niggl efecffb72d Added responseusers
ref #6
2020-12-17 21:12:45 +01:00
niggl 3aae8f85c4 Added status codes
continuous-integration/drone/pr Build is passing
ref #22
2020-12-17 20:54:01 +01:00
niggl c90f9f1dd4 Fixed path
continuous-integration/drone/pr Build is passing
2020-12-17 19:27:38 +01:00
niggl 15ed9f58d5 Added responseschemas and content types
continuous-integration/drone/pr Build is passing
ref #22
2020-12-17 19:17:35 +01:00
niggl 9db4344153 Expanded API Decriptions
ref #22
2020-12-17 19:15:11 +01:00
niggl 03b7e346ab Working csv import
ref #22
2020-12-17 18:36:51 +01:00
niggl 0d8fbf1eca Consolidated the json import for a cleaner result
ref #22
2020-12-17 17:25:17 +01:00
niggl 71228fbf33 Now organisations and teams can import runners 2020-12-17 17:14:08 +01:00
niggl 97494aeaf7 Runners can now be imported into a org 2020-12-17 16:46:00 +01:00
niggl 1b59d58c60 Abstracted a little bit more for potential company runner import 2020-12-17 16:32:29 +01:00
niggl cad30c7f63 Fixed the dynamic class creation 2020-12-17 16:26:33 +01:00
niggl 30952aa14f Marked csv import as not implemented 2020-12-17 16:20:20 +01:00
niggl 2e4a4f1661 Added endpoints for runner import by json and csv 2020-12-16 19:03:27 +01:00
niggl 1b1f8f2b09 Added a basic import controller
ref #22
2020-12-16 18:20:31 +01:00
niggl ac2da0af63 Now w/ working logout
continuous-integration/drone/pr Build is passing
ref #25
2020-12-12 19:50:12 +01:00
niggl 30928180e6 Switched to prefering body provided tokens over cookie tokens
continuous-integration/drone/pr Build is passing
ref #25
2020-12-12 19:27:56 +01:00
niggl 6aa1e0d573 Cleaned up some errors
ref #25
2020-12-12 19:26:04 +01:00
niggl aca3eaaeea Now w/ working cookie based refresh
ref #25
2020-12-12 19:25:40 +01:00
niggl 615b54ec4f Removed secure flag and added expiry basd on ht refresh token
ref#25
2020-12-12 19:13:18 +01:00
niggl db5da3d3c2 Removed useless return
ref #25
2020-12-12 18:34:22 +01:00
niggl 0e003d2dc4 Set cookies to secure
ref #25
2020-12-12 18:32:48 +01:00
philipp 36fbccb286 🚧 implementation in AuthController@login
ref #25
2020-12-12 11:55:45 +01:00
niggl cada962e5a Merge branch 'dev' into feature/17-automated_tests
# Conflicts:
#	src/controllers/RunnerTeamController.ts
2020-12-10 20:05:52 +01:00
niggl 721af32989 Bugfix for runner team updates
ref #13 #17
2020-12-10 20:05:20 +01:00
niggl 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
niggl f3000f14cd Runner updateing now works with it's own class
ref #13
2020-12-10 19:31:48 +01:00
niggl 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
niggl 7fe9480c94 Removed console logs 2020-12-10 17:43:00 +01:00
niggl d2898ff60f Merge branch 'dev' into feature/17-automated_tests 2020-12-09 19:42:51 +01:00
niggl df5b8ac141 Went back to using id's for deletion (for cleaner query params)
ref #13 #17
2020-12-09 19:41:15 +01:00
niggl a068c4d318 Deletes now return 204 instead of 404 (better rest compatability)
ref #13
2020-12-09 19:34:49 +01:00
niggl 77b769446f Now throwing errors 2020-12-09 18:59:01 +01:00
niggl 204e2352a9 Fix for getting one
ref #13
2020-12-09 18:11:23 +01:00
niggl e4cb8eba1d Removed relations resolution that broke the update 2020-12-09 17:48:24 +01:00
niggl 7bb7da4eed Merge branch 'dev' into feature/13-runner_controllers 2020-12-09 16:11:27 +01:00
niggl 4df63a8cc0 Fixxed missing plural
ref #13
2020-12-09 16:10:56 +01:00
niggl 33b3bcb8c2 Error cleanup
#11 #13 #14
2020-12-05 19:01:48 +01:00
niggl 21ad622c10 Removed console logs
ref #11
2020-12-05 18:49:59 +01:00
niggl 61e7ae4f86 Cleanup: Renamed Responses to represent their response nature
ref #11 #13 #14
2020-12-05 18:49:13 +01:00
niggl 0e924449d6 Cleanup: Renamed the creation folder to the more fitting "actions"
ref #11 #13
2020-12-05 18:45:47 +01:00
philipp 993096741d Merge branch 'dev' of https://git.odit.services/lfk/backend into dev 2020-12-05 18:00:48 +01:00
philipp e5b605cc55 🧹 cleanups 2020-12-05 17:25:57 +01:00
philipp 8c229dba82 add response schemas to AuthController 2020-12-05 13:40:59 +01:00
philipp 675717f8ca 🚧 starting work on LogoutHandler
ref #12
2020-12-05 13:38:59 +01:00
philipp 0d21497c2f 🚧 AuthController - add proper response schemas 2020-12-05 13:31:46 +01:00
philipp 28c2b862f0 🚧 AuthController with multiple endpoints
ref #12
2020-12-05 12:28:43 +01:00
niggl 8870b26ce6 Deletes now work based on EntityFromParam
ref #14
2020-12-05 12:24:38 +01:00
niggl 0e3cf07b91 TrackController now also deletes based on a entityfromparam
ref #13
2020-12-05 12:21:47 +01:00
niggl 179add80f4 Now throwing errors even faster
ref #13
2020-12-05 12:18:24 +01:00
niggl 45675b0699 All things deletion for runner* now are clean af and cascadeing
ref #13
2020-12-05 12:15:51 +01:00