Commit graph

454 commits

Author SHA1 Message Date
Jannis R
1551943fdb
option: departures/arrivals at related stations
With default `true`
- because it seems to be the sensible default configuration
- to stay backwards-compatible
2018-07-10 18:59:59 +02:00
Jannis R
90519cff68
remove accidental logging
[ci skip]
2018-07-09 19:48:14 +02:00
Jannis R
efc6467c93
tests: validate former scheduled platforms 2018-07-09 19:46:13 +02:00
Jannis R
4529a93175
parse DB-specific hints inside DB profile 2018-07-09 19:32:23 +02:00
Jannis R
0d5a8fab1b
departures, arrivals, stopovers: former scheduled platform(s) 2018-07-09 13:12:26 +02:00
Jannis R
0199749a31
language option with default 'en' 2018-07-09 12:40:38 +02:00
Jannis R
c80f355d47
tests for departures with direction option 2018-07-07 21:33:35 +02:00
Jannis R
4a454917dd rename profile.journeyLeg to profile.trip 💥 2018-07-07 21:19:28 +02:00
Jannis R
a187f8ee97 adapt examples to e1bdd56 📝 2018-07-07 21:19:28 +02:00
Jannis R
ab5ca3db8b rename journeyLeg() to trip() 💥, adapt tests 2018-07-07 21:19:28 +02:00
Jannis R
86fc27e340 docs: journeyLeg() -> trip() 📝 2018-07-07 21:19:28 +02:00
Jannis R
2a6f1f9183
transfer flag for walking legs
[ci skip]
2018-07-07 14:14:25 +02:00
Jannis R
a34999b1c5
parse more hints
[ci skip]
2018-07-02 18:48:31 +02:00
Jannis R
65f3603953
fix warnings parsing part 2 🐛 2018-07-02 16:59:38 +02:00
Jannis R
4bcae146c1
fix warnings parsing 🐛 2018-07-02 16:55:39 +02:00
Jannis R
2f40c20175
parse TRSF legs as walking 🐛, add todos 2018-07-02 16:49:21 +02:00
Jannis R
d9b7df693a
parse hint & warning types using icons
[ci skip]
2018-06-30 18:24:55 +02:00
Jannis R
5f03c8e878
parse more hints 2018-06-30 18:03:43 +02:00
Jannis R
bdb9c15c7e
luxon@1, vbb-short-station-name@1 2018-06-30 13:40:39 +02:00
Jannis R
440ed6d1fb
parseStopover: fix first/last canceled stopovers 🐛
[ci skip]
2018-06-28 17:14:17 +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
17aeacf594
arrivals/departures: fix remarks parsing 🐛 2018-06-28 13:32:42 +02:00
Jannis R
58f183506e
option to parse station lines, default off 💥, adapt docs 📝 2018-06-28 13:04:03 +02:00
Jannis R
471f075dea
fix nearby examples 📝 2018-06-28 13:01:18 +02:00
Jannis R
d3815f80d7
arrivals/departures: parse & expose platforms 2018-06-27 17:19:49 +02:00
Jannis R
eeb9ec2535
add todos, migrating to 3.x guide, related repos 📝 2018-06-27 11:49:57 +02:00
Jannis R
f6c824eecb fix tests 💚 2018-06-26 18:13:41 +02:00
Jannis R
3ade1af7a2 basic tests for arrivals 2018-06-26 18:13:41 +02:00
Jannis R
ac9819b1dd query arrivals , docs 📝 2018-06-26 18:13:41 +02:00
Jannis R
1d5f4ff31c parse arrivals 2018-06-26 18:13:41 +02:00
Jannis R
00ea10d9c8 journey leg, departure, movement: journeyId -> tripId 💥 2018-06-26 18:13:41 +02:00
Jannis R
f5eceafdf3
merge refactor-parse-fns into next 2018-06-26 13:07:06 +02:00
Jannis R
479bac428f
parse fn signatures: bugfix 🐛 2018-06-26 12:25:30 +02:00
Jannis R
b02f012b18
parse fn signatures: bugfixes 🐛 2018-06-26 11:48:30 +02:00
Jannis R
4c86b625c7
parse fn signatures: bugfixes 🐛 2018-06-26 11:47:44 +02:00
Jannis R
9305a129a8
journeys: startWithWalking with default true 2018-06-25 18:34:10 +02:00
Jannis R
6e60cc8bda
parse Komfort-Checkin & ICE Sprinter hints 2018-06-25 13:59:42 +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
6d9ffeda94
readme: how to use with react-native 📝
Hopefully prevents situations like in #56 in the future.

https://github.com/public-transport/hafas-client/issues/56#issuecomment-399915315
2018-06-25 13:12:14 +02:00
Jannis R
3c00ed29d0
fix test broken by 3e672ee 💚 2018-06-25 11:48:30 +02:00
Jannis R
108eda4450
fix tests broken by 3e672ee 💚 2018-06-25 11:39:21 +02:00
Jannis R
8c726dce01
changelog for 3.0.0 📝 2018-06-25 11:36:05 +02:00
Jannis R
ce880c06bd
adapt tests & docs to 021ae45 & 3e672ee 📝 2018-06-25 11:35:01 +02:00
Jannis R
3e672eeabd
stopover.type, stopover.station -> stopover.stop 💥
To be compatible with `friendly-public-transport-format@1.1.1`.
2018-06-25 11:34:25 +02:00
Jannis R
96f9f93957
parseStopover: arrivalPlatform, departurePlatform 2018-06-22 13:42:01 +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
3e18f5d415
gitignore lockfile, add & remove todos, minor changes 2018-06-13 20:25:56 +02:00