Commit graph

1188 commits

Author SHA1 Message Date
Jannis R
fc2e214bb7
add ÖBB trip() test 2020-06-11 16:12:18 +02:00
Jannis R
dce42bfa31
move trip parsing into parse/trip 2020-06-11 15:34:20 +02:00
Jannis R
7c0be5ed74
tweak readme, changelog 📝, 5.6.1
[ci skip]
2020-06-10 15:08:47 +02:00
Jannis R
a8a9303e6f
nearby: return at most opt.results results 2020-06-10 15:00:49 +02:00
Jannis R
ee94c651dd
ÖBB: improve onCall product name 2020-06-10 14:59:20 +02:00
Julius Tens
57fc610a5f add tests for arrival parsing (db) 2020-06-09 18:02:33 +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
156de8e1c5
changelog 📝, 5.6.0
[ci skip]
2020-05-21 18:03:09 +02:00
Jannis R
322004bdcd
DB: stop.facilities.raw as non-enumerable property 2020-05-21 17:55:01 +02:00
Jannis R
240df85bf6
parseLocation: parse parent station 2020-05-21 17:51:25 +02:00
Jannis R
0251e314cc
DB parseLocation() test: expect sub-stops, facilities, foreign IDs 2020-05-21 17:51:25 +02:00
Jannis R
9e75f42346
DB: parse Reisezentrum opening hours & station facilities 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
07c77f8cf9
add subStops & entrances options 2020-05-21 17:51:25 +02:00
Jannis R
d98910a651
parseCommon: parse hints before locations 2020-05-21 17:51:25 +02:00
Jannis R
8fd72ca6f5
changelog 📝, 5.5.1
[ci skip]
2020-05-21 17:46:02 +02:00
Jannis R
b302ba75d2
minor readme/documentation tweaks 📝
- stop(): add `remarks: true` default
- journeys(): more intuitive options order
- readme: fix build status badge
2020-05-21 17:36:31 +02:00
Jannis R
e02a20b1de
readme: update links 📝
[ci skip]
2020-04-18 17:15:50 +02:00
Jannis R
3c888a0ea0
refreshJourney: actually throw the error 🐛, add code 2020-04-18 17:14:40 +02:00
Jannis R
87e5649f89
improve E2E test reliability 💚 2020-04-10 17:20:09 +02:00
Jannis R
0287899d1d
changelog 📝, 5.5.0
[ci skip]
2020-04-09 14:38:46 +02:00
Jannis R
0699d4d22e departures/arrivals: let results default to null
https://github.com/public-transport/hafas-client/pull/171#discussion_r397402352
2020-04-09 14:33:58 +02:00
Jannis R
9c4189a874 add E2E tests for SVV 2020-04-09 14:33:58 +02:00
Jannis R
fa3146d706 add SVV profile 2020-04-09 14:33:58 +02:00
Lukas Siemon
1b0133190f
object-scan@13 (improved performance)
closes #173
2020-04-09 01:00:45 +02:00
Jannis R
e032ec1acd
"invalid response" error: add isHafasError flag
So that consuming code can tell that this error is caused by an
invalid/unexpected response from HAFAS.
2020-04-01 19:03:38 +02:00
Jannis R
33d77868a4
changelog 📝, 5.4.0
[ci skip]
2020-03-29 13:57:35 +02:00
Jannis R
ae74bb420d departures/arrivals: add results option 2020-03-21 13:13:03 +01:00
Jannis Redmann
70c02199b2
Merge pull request #169 from public-transport/sncb-nmbs
add SNCB/NMBS profile
2020-03-19 13:06:41 +01:00
Jannis R
7d3107e6a7
SNCB: normalize S-train line names 2020-03-19 13:05:11 +01:00
Jannis R
17031f3e11
add SNCB/NMBS E2E tests 2020-03-19 13:05:11 +01:00
Jannis R
01b3693271
add SNCB/NMBS profile 2020-03-19 13:05:10 +01:00
Jannis R
ce76c1f983
changelog 📝, 5.3.1
[ci skip]
2020-03-18 22:16:49 +01:00
Jannis R
78487d9163
journeys: default earlierRef & laterRef to null 🐛
`JSON.stringify` exludes entries with `undefined`.
2020-03-18 21:45:36 +01:00
Jannis R
916ac3067d
PKP: trim "-" from stop names 2020-03-18 21:45:36 +01: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
cda96b6698
improve docs 📝
[ci skip]
2020-03-18 21:34:43 +01:00
Julius Tens
e0b15f1e1c add link to pkp-hafas 2020-03-12 20:23:38 +01:00
Jannis R
a93909046e
INSA: ver 1.21 -> 1.18 🐛
1b03b2eb broke it.

see also #95
2020-03-12 19:48:35 +01:00
Jannis R
0499163df3
changelog 📝, 5.3.0
[ci skip]
2020-03-12 19:05:35 +01:00
Jannis R
86ddf2c290 add VMT profile 2020-03-12 19:01:52 +01:00
Jannis R
522248b908 add RSAG E2E tests 2020-03-12 19:01:03 +01:00
Jannis R
84637b2e96 add RSAG profile 2020-03-12 19:01:03 +01:00
Jannis R
0ea2c01abe add RMV E2E tests 2020-03-12 19:00:02 +01:00
Jannis R
3a9e548bcf add RMV profile 2020-03-12 19:00:02 +01:00