35 Commits

Author SHA1 Message Date
3d07aac944 Implemented cascading scan, track and card deletion
ref #78
2021-01-09 15:45:17 +01:00
9776a35f9f Track deletion now recognizes associated stations
ref #67
2021-01-07 18:53:09 +01:00
59cb72a11d Implemented track upodates using the "new" method
ref #71
2021-01-03 17:30:17 +01:00
28c1b6d31d Improved error handling for negative lap times
ref #71
2021-01-03 17:21:53 +01:00
c34bde7d4f Fixed typo
All checks were successful
continuous-integration/drone/pr Build is passing
ref #49
2020-12-22 20:19:28 +01:00
9b47f3ab05 Updated the openapi descriptions for all track routes
ref #49
2020-12-22 20:07:41 +01:00
dae51cfd47 Added openapi cookie security schema
ref #49
2020-12-22 19:13:20 +01:00
fbe2b358bd Moved tracks to the new put mechanism
ref #39
2020-12-20 18:07:45 +01:00
744faba7ee Added auth to all endpoints 2020-12-18 20:33:13 +01:00
cdfd0e0d64 Added the openapi security header to all routes that need some kind of auth
ref #6
2020-12-18 20:07:05 +01:00
b21dd6f0c0 Added tracks/get as test-route for auth
ref #6
2020-12-18 17:19:02 +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
204e2352a9 Fix for getting one
ref #13
2020-12-09 18:11:23 +01:00
0e924449d6 Cleanup: Renamed the creation folder to the more fitting "actions"
ref #11 #13
2020-12-05 18:45:47 +01:00
0e3cf07b91 TrackController now also deletes based on a entityfromparam
ref #13
2020-12-05 12:21:47 +01:00
913033373b Switched to using a response model for tracks 2020-12-04 18:34:01 +01:00
e8727ca922 Moved to a "cleaner" directory structure
ref #11
2020-12-03 20:38:47 +01:00
6d81fc1309 Added Comments.
ref #11 #13
2020-12-03 17:46:32 +01:00
da4597fa62 Moded track controller related models to a new file 2020-12-03 17:43:24 +01:00
f0a7cbbcae Adjusted the comments for tsdoc
ref #8 #3
2020-11-27 22:19:07 +01:00
624ea6ba33 Merge branch 'main' of git.odit.services:lfk/backend into main
# Conflicts:
#	src/controllers/TrackController.ts
2020-11-27 21:38:47 +01:00
01542ae6a8 Added custom errors
ref #4 #5
2020-11-27 21:35:28 +01:00
d85c126c27 implementation details
ref #6
2020-11-27 21:24:55 +01:00
aef2f9562a Put now isn't allowed to change ids
ref #4
2020-11-27 19:59:07 +01:00
b267d87ba6 Added endpoint descriptions
ref #4
2020-11-27 19:58:00 +01:00
b382f0689b Added errors and fixed the create model
ref #4
2020-11-27 18:48:22 +01:00
e5562efe35 Added createtrack model that omits the id from the track model
ref #4
2020-11-27 17:59:09 +01:00
0e3ec4ebf9 Added openapi style response schemas
ref #5
2020-11-26 14:15:01 +01:00
1d57f4a8d9 Added update and delete function functionallity
ref #4
2020-11-26 14:14:29 +01:00
c85fddaa8e Switched to declaring the track route for the whole controller
ref #4
2020-11-26 13:41:23 +01:00
2c29fe29e8 Now using typeorm-routing-controllers-extensions for cleaner controllers
ref #4
2020-11-26 13:06:10 +01:00
7b948f0380 gets now use the db
ref #4
2020-11-25 20:22:58 +01:00
203d95ee1c Added pirst part of track model db connection
ref #4
2020-11-25 19:43:14 +01:00
8cbcfe7fbb Switched to using controllers via routing-controllers
ref #4
2020-11-25 19:28:12 +01:00