Paul Bienkowski
|
1a00e7b010
|
Merge pull request #13 from opatut/refactor_tracks_logic_and_testing
Refactor tracks logic and support new CSV format
|
2020-11-21 19:35:22 +01:00 |
|
Paul Bienkowski
|
bcf9f95c6d
|
fix: do not use ?. operator for node 10
|
2020-11-21 17:53:32 +01:00 |
|
Paul Bienkowski
|
7aa6e0be84
|
feat: in OBSVER1, sanitize d1, d2, latitude and longitude values to null where appropriate
|
2020-11-21 13:48:22 +01:00 |
|
Paul Bienkowski
|
0c3cf9263d
|
feat: parse body when POSTing a new track
|
2020-11-21 13:47:56 +01:00 |
|
Paul Bienkowski
|
16ca8db8c7
|
feat: properly parse data types in OBSVER1
|
2020-11-21 13:26:52 +01:00 |
|
Paul Bienkowski
|
598c6620d7
|
fix: correctly detect format OBSVER1 if there is no header, just data
This is required for OBS compatibility, which drops the header line on
upload.
|
2020-11-21 13:15:55 +01:00 |
|
Paul Bienkowski
|
f8bb6e7ab7
|
fix: when detecting format, first apply the dollar->newline hack
|
2020-11-19 17:48:45 +01:00 |
|
Paul Bienkowski
|
f890fc673f
|
refactor: switch to async/await syntax in track routes
|
2020-11-18 23:00:08 +01:00 |
|
Paul Bienkowski
|
114a9677f1
|
chore: fix some eslint in routes/api/tracks.js
|
2020-11-18 22:30:25 +01:00 |
|
Paul Bienkowski
|
f3740e5f37
|
feat: generate TrackData points when saving tracks through PUT, and return raw body through GET /:track
|
2020-11-18 22:17:00 +01:00 |
|
Paul Bienkowski
|
0b830601f5
|
feat: autodetect "$ as newlines" hack in both OBSVER1 and OBSVER2
|
2020-11-18 22:13:00 +01:00 |
|
Paul Bienkowski
|
f013ab4263
|
refactor: use csv parser for obsver1 instead of selfbuilt solution
|
2020-11-18 21:51:08 +01:00 |
|
Paul Bienkowski
|
f414d64480
|
fix: allow big uploads (up to 50mb)
|
2020-11-18 21:50:33 +01:00 |
|
Paul Bienkowski
|
22f8c46d6a
|
wip
|
2020-11-18 20:53:35 +01:00 |
|
Paul Bienkowski
|
d8975db15a
|
chore: eslint fixes for logic/ folder
|
2020-11-18 17:24:28 +01:00 |
|
Paul Bienkowski
|
5d16c4d541
|
chore: fix dev setup
|
2020-11-18 17:24:15 +01:00 |
|
Paul Bienkowski
|
2ff842bd11
|
chore: introduce eslint
|
2020-11-18 17:15:32 +01:00 |
|
Paul Bienkowski
|
214da0c9f8
|
refactor(logic/tracks): clean up code
|
2020-11-18 11:23:34 +01:00 |
|
Paul Bienkowski
|
8f5237a182
|
test: add test data from postman-test to test addPointsToTrack
|
2020-11-18 11:23:34 +01:00 |
|
Paul Bienkowski
|
04f597cfb1
|
chore(logic): autoformat with prettier
|
2020-11-18 11:23:34 +01:00 |
|
Paul Bienkowski
|
79de852d91
|
chore: add prettier for autoformatting
|
2020-11-18 11:23:34 +01:00 |
|
Paul Bienkowski
|
b95d3dad3a
|
chore: add testing framework (jest) and start writing test for tracks logic
|
2020-11-18 11:23:34 +01:00 |
|
Paul Bienkowski
|
bd815e9671
|
refactor: move TrackInfo and addPointsToTrack to new "logic" folder
|
2020-11-18 11:23:34 +01:00 |
|
Martin Grotz
|
4dc95ec093
|
Merge pull request #12 from opatut/docker
Docker setup
|
2020-11-18 07:42:44 +01:00 |
|
Paul Bienkowski
|
b8506bf75a
|
chore: update README to reflect docker startup process, also: formatting
|
2020-11-17 18:30:36 +01:00 |
|
Paul Bienkowski
|
b518478889
|
chore: remove yarn.lock, because package-lock.json exists and the two would not stay up to date with each other anyway
|
2020-11-17 18:30:36 +01:00 |
|
Paul Bienkowski
|
15b7d2cda3
|
chore: add docker-compose support and Dockerfile for building the app image
|
2020-11-17 18:30:36 +01:00 |
|
Paul Bienkowski
|
6ff0c4fb21
|
feat: allow setting mongodb url through MONGODB_URL environment variable
|
2020-11-17 17:33:07 +01:00 |
|
Uwe Woessner
|
a618eeffeb
|
configurable mailserver and sender
|
2020-10-23 00:41:16 +02:00 |
|
Martin Grotz
|
b3d9fb3137
|
feat: add registration flow with email verification
|
2020-10-22 23:53:43 +02:00 |
|
Martin Grotz
|
3fb02b5809
|
chore: update package versions and readme
|
2020-10-01 13:40:11 +02:00 |
|
hpcwoess
|
70e2ec5672
|
replace NaN by 0
|
2020-09-08 10:33:19 +02:00 |
|
hpcwoess
|
1e72349026
|
update visibility
|
2020-08-28 21:50:53 +02:00 |
|
hpcwoess
|
dbfe62df6a
|
fixed global visibility query
|
2020-08-28 17:56:57 +02:00 |
|
hpcwoess
|
1ab316c774
|
tracks visible for all
|
2020-08-16 23:23:18 +02:00 |
|
hpcwoess
|
d3a1c9edcc
|
fixed partial upload
|
2020-08-16 00:27:11 +02:00 |
|
hpcwoess
|
051100170c
|
send APIKey (_id)
|
2020-08-15 10:59:00 +02:00 |
|
hpcwoess
|
fc7d437f2e
|
separate TrackData from track
|
2020-08-14 22:15:12 +02:00 |
|
root
|
fcb2524c97
|
added missing file
|
2020-08-14 12:43:57 +02:00 |
|
root
|
061234b301
|
separate TrackData
|
2020-08-14 12:37:34 +02:00 |
|
root
|
934cedd3d0
|
adjust to new csv dat
|
2020-07-25 22:45:34 +02:00 |
|
root
|
e4a1832c34
|
upload in parts
|
2020-07-04 01:27:47 +02:00 |
|
hpcwoess
|
5715d19f93
|
support parts
|
2020-07-03 13:50:07 +02:00 |
|
root
|
8dd5bba3e4
|
revert version change
|
2020-06-30 21:57:00 +02:00 |
|
dependabot[bot]
|
6fd167d53a
|
Bump express-jwt from 5.3.3 to 6.0.0
Bumps [express-jwt](https://github.com/auth0/express-jwt) from 5.3.3 to 6.0.0.
- [Release notes](https://github.com/auth0/express-jwt/releases)
- [Changelog](https://github.com/auth0/express-jwt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/auth0/express-jwt/compare/v5.3.3...v6.0.0)
Signed-off-by: dependabot[bot] <support@github.com>
|
2020-06-30 20:35:25 +02:00 |
|
root
|
a709c4a8e2
|
create track points from csv
|
2020-04-14 03:05:07 +02:00 |
|
root
|
5b99d0fb8a
|
updated dependencies
|
2020-04-13 09:08:51 +02:00 |
|
dependabot[bot]
|
24859bf3ae
|
Bump sshpk from 1.13.1 to 1.16.1
Bumps [sshpk](https://github.com/joyent/node-sshpk) from 1.13.1 to 1.16.1.
- [Release notes](https://github.com/joyent/node-sshpk/releases)
- [Commits](https://github.com/joyent/node-sshpk/compare/v1.13.1...v1.16.1)
Signed-off-by: dependabot[bot] <support@github.com>
|
2020-04-13 02:21:58 +02:00 |
|
dependabot[bot]
|
11666afa7b
|
Bump mongoose from 5.6.11 to 5.7.5
Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.6.11 to 5.7.5.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md)
- [Commits](https://github.com/Automattic/mongoose/compare/5.6.11...5.7.5)
Signed-off-by: dependabot[bot] <support@github.com>
|
2020-04-13 02:21:25 +02:00 |
|
dependabot[bot]
|
32e33f302d
|
Bump stringstream from 0.0.5 to 0.0.6
Bumps [stringstream](https://github.com/mhart/StringStream) from 0.0.5 to 0.0.6.
- [Release notes](https://github.com/mhart/StringStream/releases)
- [Commits](https://github.com/mhart/StringStream/compare/v0.0.5...v0.0.6)
Signed-off-by: dependabot[bot] <support@github.com>
|
2020-04-13 02:20:49 +02:00 |
|