Commit graph

289 commits

Author SHA1 Message Date
Benoit Deldicque
57084262a2
add departure.destination & arrival.origin 📝
closes #260
fixes #259

Co-Authored-By: Jannis R <mail@jannisr.de>
2022-02-21 11:43:27 +01:00
Jannis R
e79a371dde
add todos 2021-12-29 15:20:03 +01:00
Jannis R
95d2c61fbd
add todos; readme: link to kpublictransport 📝 2021-12-08 14:12:23 +01:00
Jannis R
ca6f75501c
add todos; add @MTRNord as contributor 2021-11-18 18:29:25 +01:00
Jannis R
3453cbe159
parseArrOrDep: expose stbStop.{rem,msg}L as remarks[] as well 2021-10-28 12:42:55 +02:00
Jannis R
97b6a76e75
parseTrip: expose realtimeDataUpdatedAt 2021-10-28 00:25:58 +02:00
Jannis R
a7cb71c870
add todos & comments 2021-10-26 15:00:08 +02:00
Jannis R
f0d33564f2
parseTrip: handle missing stopL[] (on-demand trips) 🐛 2021-10-24 22:52:52 +02:00
Jannis R
c1ee557cf8
parseArrOrDep: export currentTripLocation 📝 2021-10-12 17:53:28 +02:00
Jannis R
0a096a13d7
parseJourneyLeg/parseTrip: expose currentLocation 📝 2021-10-12 17:37:34 +02:00
Yureka
c3bdcc880f expose prodCtx.catOut as line.productName
Closes #242
2021-08-21 00:08:47 +02:00
Jannis R
216102763d
first/last walking leg: dTZOffset/aTZOffset of 0 🐛
fixes #237

Thanks @yu-re-ka!
2021-08-17 16:50:21 +02:00
Jannis R
9f82d3305c
readme: minor tweaks 📝; changelog 📝; 5.15.1
[ci skip]
2021-02-13 00:00:53 +01:00
Jannis R
d86b359cb7
add todos; readme: fix link, changelog 📝; 5.15.0 2021-01-26 22:28:13 +01:00
Jannis R
fe63644827
parseWarning: use fromLocations[0] 2021-01-26 22:15:32 +01:00
Jannis R
c260e34f20
DB: parse gridL[].itemL[].remL[] 🐛 2021-01-26 21:15:19 +01:00
Jannis R
0f284e09b8
parseCommon: resolve **.msgL[] before **.locX 2021-01-26 21:15:19 +01:00
Jannis R
4efff792ef
parseJourney: use j.recon.ctx as refreshToken too 🐛
see also d017e62
see also #164
2021-01-19 15:14:39 +01:00
Jannis R
17e08acfbb parseJourneyLeg parseAlternative: handle missing stopL[] 🐛, add tests 2020-12-26 21:54:04 +01:00
Jannis R
7685d5afeb parseTrip: handle missing date 🐛 2020-11-28 11:25:43 +01:00
Jannis R
40ca838258 parseWarning: parse more fields
closes #178
2020-11-28 11:25:43 +01:00
Jannis R
66ff661767
parseJourneyLeg applyRemarks: handle legs without stopovers 🐛 2020-11-15 14:43:47 +01:00
Jannis R
92fb29d687 parseTrip: handle stopL[] items without idx 🐛 2020-10-06 22:22:30 +02:00
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
6b275171b1 parseMovement: skip invalid stopL[] items 🐛 2020-06-15 15:39:09 +02:00
Jannis R
de896b1e96
parseCommon: respect opt.polyline 🐛
closes #181
2020-06-11 16:12:48 +02:00
Jannis R
dce42bfa31
move trip parsing into parse/trip 2020-06-11 15:34:20 +02:00
Julius Tens
3ca4a0c2b2 add provenance field on arrivals 2020-06-09 18:02:33 +02:00
Jannis R
542aa8caef parse DEVI journey legs 2020-05-31 12:38:07 +02:00
Jannis R
240df85bf6
parseLocation: parse parent station 2020-05-21 17:51:25 +02:00
Jannis R
d92eb154c2
parseLocation: give type: station to stops with stopLocL[] 2020-05-21 17:51:25 +02:00
Jannis R
1abafb5bd4
parseLocation: prevent endless recursive loops 2020-05-21 17:51:25 +02:00
Jannis R
76e310218a
parseLocation: parse entrances & sub-stops lists 2020-05-21 17:51:25 +02:00
Jannis R
d98910a651
parseCommon: parse hints before locations 2020-05-21 17:51:25 +02:00
Lukas Siemon
1b0133190f
object-scan@13 (improved performance)
closes #173
2020-04-09 01:00:45 +02:00
Jannis R
0dceb414af
parseJourneyLeg: parse isRchbl correctly 🐛 2020-03-18 21:45:36 +01:00
Jannis R
2cb6a0c32b
parseIcon, parseHint, parseLocation: handle more edge cases 🐛 2020-03-18 21:45:36 +01:00
Jannis R
36a8b388f2
add todos
also remove dead code
2020-03-18 21:45:30 +01:00
Jannis R
8c7f164fa3 parseLine: expose adminCode
The admin code is often helpful to distinguish lines that can't
be distinguished by their `operator.id`. See also #10.
2020-03-08 23:44:40 +01:00
Jannis R
3ea9380218 parseLocation: parse fare zone, transit authority & more foreign stop IDs
closes #131
see also #5, #90
2020-03-08 23:04:04 +01:00
Jannis R
2a241375db parseLocation: parse foreign stop IDs from I hints
`rRefL` seems to be used by older HAFAS endpoints, e.g. `ver: 1.11`.

see also #5, #90, #131
2020-03-08 23:04:04 +01:00
Julius Tens
df010fc24c enable no-irregular-whitespace and no-mixed-spaces-and-tabs rules, fix non-compliant whitespace 2020-02-27 17:10:03 +01:00
Julius Tens
c072a70c57 soothe the linter: remove unused variables 2020-02-27 17:10:03 +01:00
Julius Tens
bc30309056 bugfixes: fix undefined variables 🐛 2020-02-27 17:10:03 +01:00
Lukas Siemon
8cb7d807f2
improve findInTree performance
by passing a list of paths to find in the tree up front

#154

closes #152
2020-02-22 19:13:56 +00:00
Jannis R
db9287f7fd
@mapbox/polyline -> google-polyline 2020-01-31 18:07:16 +01:00
Jannis R
e049aa3d04
parseWarning: fix parseMsgEvent 🐛 2020-01-15 18:17:06 +01:00