Jannis R
25fb25c18d
parseLeg: use remarks without fIdx/tIdx 🐛
2020-09-15 11:36:24 +02:00
Jannis R
a621fd6df4
minor tweaks
2020-09-10 23:57:03 +02:00
Leo Maroni
2612494970
fix platform parsing with some profiles 🐛
...
closes #187
2020-08-01 18:26:30 +02:00
Jannis R
f9bfd6918a
parseJourneyLeg: parse jny.poly 🐛
...
fixes #186
2020-07-26 13:37:54 +02:00
Jannis R
542aa8caef
parse DEVI journey legs ✅
2020-05-31 12:38:07 +02:00
Jannis R
0dceb414af
parseJourneyLeg: parse isRchbl correctly 🐛
2020-03-18 21:45:36 +01:00
Julius Tens
c072a70c57
soothe the linter: remove unused variables
2020-02-27 17:10:03 +01:00
Jannis R
fb7a5653e3
parseProductsBitmask via profile, pass ctx into parse fns 💥
2020-01-05 18:10:09 +01:00
Jannis R
938a6f22b9
add planned*Platform, scheduled* -> planned/prognosed* 💥
2020-01-05 17:55:27 +01:00
Jannis R
29a2cf36e9
add planned(Arrival|Departure|When), scheduled* -> planned*/prognosed* 💥
...
when not cancelled:
{when, delay} -> {when, plannedWhen, delay}
{arrival, arrivalDelay} -> {arrival, plannedArrival, arrivalDelay}
{departure, departureDelay} -> {departure, plannedDeparture, departureDelay}
when cancelled:
{when: null, delay: null, scheduledWhen} -> {when: null, plannedWhen, prognosedWhen, delay}
{arrival: null, arrivalDelay: null, scheduledArrival, formerArrivalDelay} -> {arrival: null, plannedArrival, arrivalDelay, prognosedArrival}
{departure: null, departureDelay: null, scheduledDeparture, formerDepartureDelay} -> {departure: null, plannedDeparture, departureDelay, prognosedDeparture}
2020-01-05 17:52:17 +01:00
Jannis R
f02fe301c7
parse: refactor applyRemarks
2020-01-05 17:51:27 +01:00
Jannis R
018fc84bf5
parseCommon: parse polylines
2020-01-05 17:51:27 +01:00
Jannis R
6af8f6d5ec
parseCommon: resolve hint & warning references
2020-01-05 17:51:27 +01:00
Jannis R
62cc53ffcf
parseCommon: resolve location references
2020-01-05 17:51:27 +01:00
Jannis R
758deaf2d5
parseCommon: resolve line references
2020-01-05 17:51:27 +01:00
Jannis R
4270125bf7
parse: minor changes
2020-01-05 17:51:27 +01:00
Jannis R
2993cc0e87
put more todos
...
[ci skip]
2019-08-30 16:27:34 +02:00
Julius Tens
9078d2d25a
fix reachable for walking legs
2019-06-08 12:56:24 +02:00
Julius Tens
6da1e80ef2
add leg.reachable
2019-06-05 11:59:23 +02:00
Julius Tens
875ea18b4c
parse scheduled/actual platform information on legs
...
fixes #116
2019-05-29 14:19:23 +02:00
Jannis R
6aa57d4616
handle missing dirTxt 🐛
2019-04-01 19:22:10 +02:00
Jannis R
7e39a2f333
formerScheduled… -> scheduled… 💥
2019-02-28 16:45:40 +01:00
Jannis R
0e1fcb0c99
leg.mode: 'walking' -> leg.walking: true 💥
2019-02-28 16:45:18 +01:00
Jannis R
96ff59dc43
leg.id -> leg.tripId 💥
2019-02-28 16:44:36 +01:00
Jannis R
ca1105f139
parseDateTime: parse timezone offset if given 💥
2019-02-28 16:44:09 +01:00
Jannis R
a9fd9ff814
parseDateTime: return ISO str/timestamp 💥
2019-02-28 16:44:09 +01:00
Jannis R
8fac5fc0e0
leg.alternatives: parse direction & delay
2018-12-03 11:43:14 +01:00
Jannis R
17b8f1485f
parseJourneyLeg: parse freq.numC
2018-12-03 11:43:14 +01:00
Jannis R
02e0e513ef
parse scheduled days of a journey
2018-10-25 18:57:31 +02:00
Jannis R
e98cec1734
remove unused code, minor changes
2018-09-03 15:30:42 +02:00
Jannis R
b5b2cfb38f
put leg-wide remarks into leg, not stopovers
...
[ci skip]
2018-07-16 14:43:01 +02:00
Jannis R
9c1c2f51e5
parse leg remarks even if it is a walking leg 🐛
2018-07-16 12:18:26 +02:00
Jannis R
2a6f1f9183
transfer flag for walking legs
...
[ci skip]
2018-07-07 14:14:25 +02:00
Jannis R
2f40c20175
parse TRSF
legs as walking
🐛 , add todos
2018-07-02 16:49:21 +02:00
Jannis R
bb6e42a662
walking legs: expose distance
2018-06-28 14:12:25 +02:00
Jannis R
31973431ff
option not to parse remarks
2018-06-28 13:45:56 +02:00
Jannis R
eeb9ec2535
add todos, migrating to 3.x guide, related repos 📝
2018-06-27 11:49:57 +02:00
Jannis R
f5eceafdf3
merge refactor-parse-fns into next
2018-06-26 13:07:06 +02:00
Jannis R
a8aa2652df
parseJourneyLeg: fix remarks indices 🐛
2018-06-25 13:54:30 +02:00
Jannis R
0db84ce644
merge remarks into next
2018-06-25 13:20:13 +02:00
Jannis R
ebe4fa64d8
opt.passedStations -> opt.stopovers 💥
2018-06-19 08:23:49 +02:00
Jannis R
6611f262bf
leg.passed -> leg.stopovers 💥
...
Some didn't unterstand what "passed" means in this context.
"stopovers" is a lot less ambiguous; Also, it aligns with
`parseStopover` and FPTF.
2018-06-19 08:23:49 +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
6ca7924f7b
parsePolyline: profile param 💥
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
871db25bc9
parse more hints, add todos
2018-06-11 19:50:44 +02:00
Jannis R
d3d23140fd
(more) remarks for journeys, journey legs & stopovers
2018-06-11 11:37:00 +02:00
Jannis R
21c273cec7
journey leg passed stations: parse & expose delays
2018-06-07 18:52:47 +02:00
Jannis R
fa2cdc5177
pass warnings into parsers, apply warnings to journey legs
2018-06-07 18:48:45 +02:00
Jannis R
b6e37595a5
remarks for journey legs
2018-06-07 16:39:07 +02:00