Commit graph

352 commits

Author SHA1 Message Date
Jannis R
a7c550ab69
send Accept: application/json 🐛 2018-06-07 12:13:31 +02:00
Jannis R
856a751b51 journeys: make opt.departure & opt.arrival mutually exclusive 2018-05-30 16:39:51 +02:00
Jannis R
0169e83731 journeys: add test for opt.arrival 2018-05-30 16:39:51 +02:00
Jannis R
a59b340d67 adapt tests to 1c467cd 2018-05-30 16:39:51 +02:00
Jannis R
c82ad234e0 journeys: opt.when -> opt.departure/opt.arrival 💥 2018-05-30 16:39:51 +02:00
Jannis R
a356a26e2f
throw if 0 products enabled 💥
This should have been the case previously, but the test didn't fail.
2018-05-28 20:37:19 +02:00
Jannis R
634b044bc5
nah.sh tests: fix products validation 🐛 2018-05-28 20:37:19 +02:00
Jannis R
57f3cdb7e0 parseLocation: null as fallback station name 2018-05-25 16:08:17 +02:00
Jannis R
7541bcae66 adapt nah.sh radar test to #34 2018-05-25 16:08:17 +02:00
Jannis R
187d2ac04e Nah.sh: enable radar despite failing test
see #34 for more details
2018-05-25 16:08:17 +02:00
Jannis R
6063fa6651
journeys: fix polylines option 🐛 2018-05-24 21:54:25 +02:00
Jannis R
e479619387
cherry-pick 16c3f01: DB: 1.16 protocol, journeyLeg, fix polylines 🐛 2018-05-24 14:06:53 +02:00
Jannis R
00b1eb387c
crypto.createHash -> create-hash, 2.7.3
closes #52
2018-05-24 10:29:50 +02:00
Jannis Redmann
c5aab72e71
merge #45 from format-location-err-msg
formatLocation: more helpful error messages
2018-05-24 10:28:50 +02:00
Jannis Redmann
bebb975584
Merge branch 'next' into format-location-err-msg 2018-05-24 10:28:18 +02:00
Jannis R
03b9ab9a83 expect parsePolyline in lib/validate-profile 2018-05-24 10:26:24 +02:00
Jannis R
8c896fe8c1 docs for new polyline format 📝 2018-05-24 10:26:24 +02:00
Jannis R
431574b756 parseJourneyLeg, parseMovement: use parsePolyline 💥, refactor 2018-05-24 10:26:24 +02:00
Jannis R
deefeb1f64 add parsePolyline to default profile 2018-05-24 10:26:24 +02:00
Jannis R
0ef03015e0
validate opt.when 💥 2018-05-21 17:10:42 +02:00
Jannis R
0840d69ee9
radar: assert north > south & east > west 2018-05-16 21:53:33 +02:00
Jannis R
c9e77f3050
merge master into next 2018-05-16 19:41:45 +02:00
Jannis R
48f2cefb5b
parseMovement: expose journey (leg) id 2018-05-16 19:32:11 +02:00
Jannis R
a97e0d31e7
radar: fix polylines parsing 🐛, 2.7.2 2018-05-16 00:43:08 +02:00
Jannis R
aa480e01a2
radar: fix polylines parsing 🐛 2018-05-16 00:30:27 +02:00
Jannis R
7b5f13524d
2.7.0 2018-05-15 23:49:56 +02:00
Jannis R
39aac10a17
parseMovement: empty default polylines arr 🐛 2018-05-15 23:04:13 +02:00
Jannis R
9a0bfc39a4
radar: polylines option, return polylines 2018-05-15 19:41:08 +02:00
Jannis R
c435e25390
parseJourneyLeg: null as fallback direction 🐛 2018-05-13 22:52:33 +02:00
Jannis R
0783d9e68a
fix Gitter badge 2018-05-13 22:42:02 +02:00
Jannis R
2623fc44c6
merge master into next 2018-05-07 11:53:55 +02:00
Jannis R
47aea604df
fix error message 🐛 2018-05-03 10:29:43 +02:00
Jannis R
71d087aa23 refactor polyline parsing, add todo 2018-05-03 00:17:17 +02:00
Jannis R
37770654e1 journeyLeg: polyline option 2018-05-03 00:17:17 +02:00
Jannis R
7c6e87afff journey legs: return polylines 2018-05-03 00:17:17 +02:00
Jannis R
49afc8a75b journeys: polylines option 2018-05-03 00:17:17 +02:00
Jannis R
629385599c
2.6.0 2018-04-29 14:30:05 +02:00
Jannis R
5d10d76a15
journey legs: parse cycle 2018-04-29 14:29:29 +02:00
Jannis R
3c052e9fef
2.5.3 2018-04-29 14:22:56 +02:00
Jannis R
d676b8430d
fix journey leg alternatives 🐛
- use realtime data if available
- don't filter by departure station (HAFAS IDs are complicated)
2018-04-29 13:41:23 +02:00
Jannis R
c030724663
2.5.2 2018-04-24 17:04:55 +02:00
Jannis R
c60213a135
DB: tram mode should be train 🐛 2018-04-24 17:04:55 +02:00
Jannis R
3d69ae225d
DB: tram mode should be train 🐛 2018-04-24 16:59:35 +02:00
Jannis R
8ce89f0fe6
formatLocation: more helpful error messages 2018-04-17 18:49:49 +02:00
Julian Amelung
16e6dd6d14 Changed Journeys to Departures.
the endpoint which is discussed here is departures not journeys. 
If you use journeys with this parameters, you get mad with debugging.
2018-04-17 18:33:38 +02:00
Jannis R
3680f1fe94
fix products bitmask parsing 🐛 2018-04-09 19:37:44 +02:00
Jannis R
c8a144427e
2.5.1 2018-04-05 14:23:27 +02:00
Jannis R
afc0124982
fix stopover parsing 🐛 2018-04-05 14:23:14 +02:00
Jannis R
03e5cd350d
async stack traces: NODE_ENV=dev -> NODE_DEBUG=hafas-client 2018-04-05 14:17:30 +02:00
Jannis R
4fd7108ec6
VBB: strip "Tram " from line names 2018-03-31 14:03:23 +02:00