Commit graph

45 commits

Author SHA1 Message Date
Jannis R
ff2b677812
VBB: only expand 9* stop IDs to 12 digits 🐛
This broke stop IDs like 8080560 (Halle Dessauer Brücke) before.
2020-03-07 00:59:09 +01:00
Jannis R
9b0e55c6ad
VBB: accept station IDs with unknown length 🐛 2020-01-31 19:54:18 +01:00
Jannis R
9fc6664302
adapt profiles to ctx-based parse fns 2020-01-05 18:10:09 +01:00
Jannis R
9a89cd0dc8
profile-based whitelist for walkingSpeed 2020-01-05 17:50:56 +01:00
Jannis R
c6b7aa74dd
VBB supports numF again 2018-09-25 20:19:06 +02:00
Jannis R
8b572d6184 profiles: enable reachableFrom 2018-09-03 16:43:01 +02:00
Jannis R
a475f2048d parse stops and their stations 2018-07-13 16:07:23 +02:00
Jannis R
4a454917dd rename profile.journeyLeg to profile.trip 💥 2018-07-07 21:19:28 +02:00
Jannis R
b6fbaa5825
parse fns: opt param 💥
- parseLine
- parseDeparture
- parseJourney
- parseJourneyLeg
- parseLocation
- parseMovement
- parseNearby
- parseStopover
2018-06-13 20:05:33 +02:00
Jannis R
8881d8a1a4
parse fns: individual params -> data object 💥
From now on, all higher-level parse fns will be able to access more
of the response data while keeping their signature.

- parseLine
- parseDeparture
- parseJourney
- parseJourneyLeg
- parseLocation
- parseMovement
- parsePolyline
- parseNearby
- parseStopover
2018-06-13 20:05:24 +02:00
Jannis R
2623fc44c6
merge master into next 2018-05-07 11:53:55 +02:00
Jannis R
7c6e87afff journey legs: return polylines 2018-05-03 00:17:17 +02:00
Jannis R
4fd7108ec6
VBB: strip "Tram " from line names 2018-03-31 14:03:23 +02:00
Jannis R
046b8c4117
VBB: strip "Bus " from line names 2018-03-29 23:17:50 +02:00
Jannis R
ec0c283bf4
merge master into next 2018-03-19 21:18:53 +01:00
Jannis R
787b00228e
let parseStopover use parseStationName 🐛 2018-03-17 16:47:34 +01:00
Jannis R
6ba617b1bc
let parseMovement use parseStopover 🐛 2018-03-17 16:47:31 +01:00
Jannis R
08357dfa9d
parseLine: move mode & products parsing from profiles into main code 2018-03-16 17:15:09 +01:00
Jannis R
83248785e5
formatProducts: move factory from profiles into main code
and rename to `formatProductsFilter`
2018-03-16 17:15:08 +01:00
Jannis R
ce43f15ad5
parseProducts: move factory from profiles into main code 2018-03-16 17:15:08 +01:00
Jannis R
b7c1ee3b05
new products markup 2018-03-16 17:15:08 +01:00
Jannis R
68bf199673
aand another 🐛 2018-03-13 19:45:44 +01:00
Jannis R
93f3bd1987
INSA: remove test todo, fix bug caused by 73c419f
- apparently INSA doesn't return prices
2018-03-13 19:24:56 +01:00
Jannis R
73c419fadb
fix products parsing 🐛, fix tests for it 2018-03-13 03:23:03 +01:00
Jannis R
0c3e3cb0cf
journeys collection as an option 2018-03-08 03:28:17 +01:00
Jannis R
02e3e7f97e
2.3.1 into new-vbb-protocol 2018-03-02 23:57:29 +01:00
Jannis R
5ac8d5f89e
mic & mac part 2, VBB salt
Many thanks to @alexander-albers!
2018-03-02 23:12:47 +01:00
Jannis R
39636f12bf
parse lines at a location 2018-01-26 17:07:36 +01:00
Jannis R
96448bf900
update deps 2018-01-23 00:50:38 +01:00
Jannis R
d7eca5b4d1
expose line operators
closes #6
2018-01-05 19:04:24 +01:00
Jannis R
8985f8ccd2
rename journey.parts -> journey.legs 2017-12-28 17:13:02 +01:00
Jannis R
595c745830
VBB: support 7-digit stations 2017-12-16 03:20:11 +01:00
Jannis R
040ed41de7
VBB: add (anti)clockwise symbols to Ringbahn 2017-12-12 18:31:41 +01:00
Jannis R
81c9411cfe
deal with some todos, add more 2017-12-12 04:04:41 +01:00
Jannis R
608a91989f
bugfixes 🐛, even more todos 2017-12-11 19:40:46 +01:00
Jannis R
14cdc77c0f
moment-timezone -> luxon, parse DateTimes with locale 2017-12-11 17:28:29 +01:00
Jannis R
cd809d2726
fix build 💚, add todo 2017-12-11 15:49:58 +01:00
Jannis R
36825d3e2a
VBB: parse tickets, change client ID
ported over from derhuerst/vbb-hafas@74680b7
2017-12-11 15:42:35 +01:00
Jannis R
275c9e54d7
more line info 2017-12-11 15:15:00 +01:00
Jannis R
d77c450d11
fix products parsing 🐛, minor changes 2017-12-11 15:08:11 +01:00
Jannis R
2e113d9520
expose only supported methods, fix test helpers 🐛 2017-11-27 20:33:34 +01:00
Jannis R
ed0dfd06dd
pull out bitmask parsing from profiles 2017-11-27 20:30:53 +01:00
Jannis R
e762f30f05
VBB-related bugfixes and changes 🐛 2017-11-20 15:25:15 +01:00
Jannis R
541505e720
VBB: 9<->12 digit station IDs 2017-11-20 01:05:48 +01:00
Jannis R
6d4b20ecc1
VBB profile 2017-11-18 17:53:12 +01:00