Commit graph

668 commits

Author SHA1 Message Date
Jannis R
8bfc4aee0f test for parseDateTime 2019-03-19 12:56:49 +01:00
Jannis R
29aea9a5ef
journeys: fix opt.results === null 🐛 2019-03-01 11:37:25 +01:00
Jannis R
16f98b943e
changelog & "migration to 4" guide 📝, 4.0.0
[ci skip]
2019-02-28 17:02:18 +01:00
Jannis R
3b0740d310
adapt tests to 7e39a2f 2019-02-28 16:45:40 +01:00
Jannis R
7e39a2f333
formerScheduled… -> scheduled… 💥 2019-02-28 16:45:40 +01:00
Jannis R
16461733e4
Error -> TypeError 💥 2019-02-28 16:45:40 +01:00
Jannis R
fbde6a171b
createClientWithRetry -> withRetrying 💥 2019-02-28 16:45:40 +01:00
Jannis R
748f8ce6b0
createThrottledClient -> withThrottling 💥 2019-02-28 16:45:40 +01:00
Jannis R
c04e041338
make tests more robust 💚 2019-02-28 16:45:40 +01:00
Jannis R
eab850e058
adapt docs & tests to eb3ffba 📝 2019-02-28 16:45:31 +01:00
Jannis R
eb3ffba4fc
make POIs objects with poi: true 💥
fixes #42
2019-02-28 16:45:31 +01:00
Jannis R
4a79b91680
parseLocation: L param as fallback ID 2019-02-28 16:45:31 +01:00
Jannis R
9c449958c4
remove (arrival|departure).trip, movement.trip 💥 2019-02-28 16:45:31 +01:00
Jannis R
fcc2a23fc1
ÖBB journeys: fix opt.results 🐛 2019-02-28 16:45:31 +01:00
Jannis R
8566bcc85f
journeys tests: expect 4 results
The default nr of results returned by HAFAS seems to be `3`, so we pick
a different one to assert that the `results` option actually works.
2019-02-28 16:45:31 +01:00
Jannis R
ea17443bd8
tweak "writing a profile" guide 📝
[ci skip]
2019-02-28 16:45:31 +01:00
Jannis R
567cc98409
DB, INSA, Nah.SH, ÖBB: nationalExp -> nationalExpress 💥 2019-02-28 16:45:31 +01:00
Jannis R
c1bb9a6a5c
adapt docs & tests to 0e1fcb0 📝 2019-02-28 16:45:18 +01:00
Jannis R
0e1fcb0c99
leg.mode: 'walking' -> leg.walking: true 💥 2019-02-28 16:45:18 +01:00
Jannis R
a972dad7b8
departures/arrivals, locations, nearby, stop: opt.stationLines -> linesOfStops 💥 📝 2019-02-28 16:45:18 +01:00
Jannis R
8f9b22e296
locations, nearby: opt.stations -> opt.stops 💥 📝 2019-02-28 16:45:18 +01:00
Jannis R
d7e439b948
NODE_DEBUG -> DEBUG 💥 2019-02-28 16:45:18 +01:00
Jannis R
61e7d14531
journeys: let opt.transfers default to -1 💥 📝 2019-02-28 16:45:18 +01:00
Jannis R
a1c40ad084
adapt tests to fcc53b5 2019-02-28 16:45:09 +01:00
Jannis R
b2b2d11dfe
adapt docs to fcc53b5 📝
[ci skip]
2019-02-28 16:44:59 +01:00
Milan
fcc53b5d2a
journeys: return object with journeys, earlierRef, laterRef 💥
Previously, an array with additional attributes `earlierRef` and `laterRef` was returned.
When JSON-stringified, the attributes were missing.
2019-02-28 16:44:59 +01:00
Jannis R
cb535cdabe
remove line.class & line.productCode from docs 📝
adapting to 8dd4ef5
2019-02-28 16:44:59 +01:00
Jannis R
a1ffad3071
parseLine: remove line.class & line.productCode 💥 2019-02-28 16:44:59 +01:00
Jannis R
3bc2eff530
locations: default opt.results to 5 💥 📝 2019-02-28 16:44:58 +01:00
Jannis R
88c78c243f
adapt tests to 96ff59d 2019-02-28 16:44:46 +01:00
Jannis R
0fa9610b30
tests: trip validator 2019-02-28 16:44:46 +01:00
Jannis R
0daa1c5fef
adapt docs & examples to 96ff59d 📝 2019-02-28 16:44:36 +01:00
Jannis R
96ff59dc43
leg.id -> leg.tripId 💥 2019-02-28 16:44:36 +01:00
Jannis R
2e12206c0b
adapt tests to bad0af8 2019-02-28 16:44:22 +01:00
Jannis R
8b87868fba
adapt docs & examples to bad0af8 📝 2019-02-28 16:44:10 +01:00
Jannis R
bad0af8e25
rename station(id) -> stop(id) 💥 2019-02-28 16:44:10 +01:00
Jannis R
bbff1f4c63
movement.nextStops -> movement.nextStopovers 💥 2019-02-28 16:44:10 +01:00
Jannis R
59584a3402
tests: co/yield -> async/await 2019-02-28 16:44:10 +01:00
Jannis R
bf3c4c58a1
require Node >=8.3.0 💥 💚 2019-02-28 16:44:09 +01:00
Jannis R
ca1105f139
parseDateTime: parse timezone offset if given 💥 2019-02-28 16:44:09 +01:00
Jannis R
a9fd9ff814
parseDateTime: return ISO str/timestamp 💥 2019-02-28 16:44:09 +01:00
Jannis R
b99ceb21fb
adapt tests to 1e13cf1 2019-02-28 16:43:57 +01:00
Jannis R
1e13cf15ae
parseLocation: strip leading zeros from IDs 💥 2019-02-28 16:30:18 +01:00
Jannis R
73261e99b4
changelog 📝, permalinks to 3 branch 📝, 3.10.1
[ci skip]
2019-02-28 16:24:09 +01:00
Jannis R
46e772967a
remove console.error call 🐛
[ci skip]
2019-02-28 16:23:54 +01:00
Jannis R
dafc96ad11
update CMTA credentials 2019-02-15 15:12:28 +01:00
Jannis R
1eeb0d7bd7
make tests more reliable 💚 2019-02-15 15:11:43 +01:00
Jannis R
f6a7be0652
changelog 📝, 3.10.0 2019-02-13 14:08:30 +01:00
Jannis R
1e16a10f3d DB: optionally use line.nameS 2019-02-13 14:05:06 +01:00
Julius Tens
dd98c6deb4 db: tests for additional line names 2019-02-13 14:05:06 +01:00