Commit graph

1165 commits

Author SHA1 Message Date
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
Jannis R
1b03b2eb0f
INSA: v1.21, enable reachableFrom() 2020-03-07 00:39:11 +01:00
Jannis R
b653d4659b
GitHub funding markup, changelog 📝, 5.1.2
[ci skip]
2020-03-02 21:32:27 +01:00
Julius Tens
9874292a73 split travis script for cleaner CI output
Co-Authored-By: Jannis Redmann <mail@jannisr.de>
2020-02-27 17:10:03 +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
Julius Tens
db94a62649 add basic linter setup 2020-02-27 17:10:03 +01:00
Jannis R
e5abe3d98a
DB: fix journey leg loadFactor parsing 🐛 2020-02-25 08:22:49 +01:00
Jannis R
fd3bc17d08
link to GitHub Sponsors, changelog 📝, 5.1.1
[ci skip]
2020-02-22 19:16:56 +00: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