Commit graph

634 commits

Author SHA1 Message Date
Paul Bienkowski 955966e56e Merge react frontend and api to create a monorepo 2021-02-17 21:51:35 +01:00
Paul Bienkowski 08e59cfe17 Move everything into "frontend" folder, for this will be a monorepo 2021-02-17 21:50:47 +01:00
Paul Bienkowski 87f5ecfc56 Multiupload 2021-02-17 21:50:18 +01:00
Paul Bienkowski 80ecd73e01 Move everything into "api" folder, for this will be a monorepo 2021-02-17 21:49:50 +01:00
Paul Bienkowski 67bae58b54 Format /stats handler, add trackDuration, fix for mongod version <4.4 2021-02-17 19:44:40 +01:00
Paul Bienkowski 5fa856c4ea Add way more stats and rename existing ones to remove "total" prefix 2021-02-17 19:44:40 +01:00
Paul Bienkowski 2fd3de037c Start /api/stats endpoint with total track length 2021-02-17 19:44:40 +01:00
Paul Bienkowski 0c2445e992 fix: sort comments in historical order 2021-02-17 19:44:14 +01:00
Paul Bienkowski af1e186069 fix: do not error when generating slug if not track title is present 2021-02-17 19:44:09 +01:00
Paul Bienkowski c6ce5d6415 Strip markdown in track list 2021-02-14 20:10:20 +01:00
Paul Bienkowski f5c9dad788 Remove ol-layerswitcher, use React 2021-02-14 19:49:14 +01:00
Paul Bienkowski 5f6aaae087 Prettier 2021-02-14 19:27:16 +01:00
Paul Bienkowski 7614a6dfc5 Markdown for comments and descriptions 2021-02-14 19:27:06 +01:00
Paul Bienkowski 281a7ac90c Cleanup API calls 2021-02-14 19:21:34 +01:00
Paul Bienkowski 2e7cdc24f3 Refactor 2021-02-14 18:54:05 +01:00
Paul Bienkowski 0e12898521 Track details map 2021-02-14 18:44:13 +01:00
Paul Bienkowski 66e00359a9 prettier 2021-02-14 17:20:27 +01:00
Paul Bienkowski ec2d5bcf77 Track page 2021-02-14 17:19:03 +01:00
Paul Bienkowski c1186e4074 First bit of work:
* login
* login state management
* API baseline code
* load tracks
* show tracks
* basic routing
* basic styling
* add react-semantic-ui
* add typescript
2021-02-10 22:28:46 +01:00
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 7a1b324e2f Initialize project using Create React App 2021-01-19 14:51:36 +01:00
Paul Bienkowski 4d30d6ff1b chore: change urls for new website and github org 2021-01-19 13:18:48 +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 72eb553ede chore: note in Readme on how to update 2020-12-12 13:46:04 +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 56145565df wip: script to reconstruct body field from track data (for #20) 2020-12-01 18:18:30 +01:00
Paul Bienkowski 734ff5a288 refactor: extract database connection logic 2020-11-28 19:21:58 +01:00
Paul Bienkowski ba4634ab12 chore: remove useless headline from README 2020-11-28 19:20:56 +01:00
Paul Bienkowski 5fd17e8575 chore: remove postman examples, since the webapp text field works now 2020-11-28 19:20:04 +01:00
Paul Bienkowski 4a3b404edf chore: fix readme command example 2020-11-28 19:18:45 +01:00
Paul Bienkowski 1b4718b0ac chore: move js to src/ directory 2020-11-28 19:17:19 +01:00
Paul Bienkowski ecb1b3d04c feat: write a function to generate obsver 2 csv from TrackData 2020-11-25 22:48:43 +01:00
Paul Bienkowski f826e18ff5 chore: remove "following" logic which is not used 2020-11-25 21:33:19 +01:00
Paul Bienkowski 80b2169b15 chore: lint 2020-11-25 21:31:36 +01:00
Paul Bienkowski 4bfd55e110 refactor: remove duplicate code when loading track/comment params 2020-11-25 21:30:27 +01:00