Commit graph

20 commits

Author SHA1 Message Date
Paul Bienkowski 7fec413437 fix: regenerate public track data when saving a track as visible 2021-01-20 18:13:13 +01:00
Paul Bienkowski 4a119a0fc9 feat: implement download for public and private track data independently (public CSV is obsver1 for now) 2021-01-19 16:37:01 +01:00
Paul Bienkowski a4c8e7ede9 wip 2021-01-19 16:37:01 +01:00
Paul Bienkowski 93b7945d2b feat: add /tracks/:track/download route 2021-01-19 16:37:01 +01:00
Paul Bienkowski 1121098977 feat: store files as "original.csv" by default 2021-01-19 16:37:01 +01:00
Paul Bienkowski 0edb1cc8eb Upload tracks to files 2021-01-19 16:37:01 +01:00
Paul Bienkowski e455ff5b68 feat: Sort tracks newest first, not oldest 2021-01-19 16:37:01 +01:00
Paul Bienkowski e956f78b2b feat: remove deprecated /begin /add /end interface for writing tracks 2021-01-19 16:37:01 +01:00
Paul Bienkowski 52231280db fix: do not crash when not logged in 2021-01-19 13:06:21 +01:00
Paul Bienkowski 454803a062 Fix POST and PUT of tracks, parsing was not really done 2020-12-19 15:38:47 +01:00
Paul Bienkowski de946bf9c7 chore: re-add backwards compatible /TrackData url 2020-12-12 13:43:11 +01:00
Paul Bienkowski d5f617e25c feat: ignore bad distances when measuring track length 2020-12-02 21:10:46 +01:00
Paul Bienkowski 5770229945 feat: add track length and duration (seconds) to parsed information 2020-12-02 20:55:04 +01:00
Paul Bienkowski 028d224726 feat: show publicTrackData if track is visible but you are not author, change /api/tracks/:slug/TrackData to .../data 2020-12-02 18:29:39 +01:00
Paul Bienkowski a198cb620b feat: move recordedAt and numEvents to trackData, add publicTrackData property 2020-12-02 18:24:43 +01:00
Paul Bienkowski 709b1a44cb feat: add migrations, sort script for reconstructing body as one, and build recordedAt and numEvents in migrations and track routes, too 2020-12-01 19:58:32 +01:00
Paul Bienkowski 460c114301 feat: include recordedAt and numEvents in script/reconstruct... 2020-12-01 19:22:32 +01:00
Paul Bienkowski 2ffb9b7851 chore: use ObjectId.equals instead of toString() comparison 2020-12-01 18:37:18 +01:00
Paul Bienkowski 734ff5a288 refactor: extract database connection logic 2020-11-28 19:21:58 +01:00
Paul Bienkowski 1b4718b0ac chore: move js to src/ directory 2020-11-28 19:17:19 +01:00