Commit graph

1025 commits

Author SHA1 Message Date
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
Jannis R
8540f5f610 add VBN E2E tests 2020-03-12 18:59:17 +01:00
Jannis R
682f9f948d add VBN profile 2020-03-12 18:59:17 +01:00
Julius Tens
c2b15fab50 add PKP e2e tests 2020-03-12 18:58:29 +01:00
Julius Tens
d5116c2399 add PKP profile 2020-03-12 18:58:29 +01:00
Jannis R
299b5ac8ae INVG E2E tests 2020-03-12 18:57:07 +01:00
Jannis R
1c790e1cd6 add INVG profile 2020-03-12 18:57:07 +01:00
Jannis R
b61c2584b2
highest-endpoint-version helper tool
[ci skip]
2020-03-09 19:15:18 +01:00
Jannis R
225a7c15c1
changelog 📝, 5.2.0
[ci skip]
2020-03-08 23:47:04 +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
Jannis R
b9d5c85a54 tests: DB stop(), INSA stop() 2020-03-08 23:04:04 +01:00
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