Commit graph

1260 commits

Author SHA1 Message Date
Jannis R
41b574c468
tests: move assertValidStationProducts into assertValidStation 2018-04-18 16:12:59 +02:00
Jannis R
8ce89f0fe6
formatLocation: more helpful error messages 2018-04-17 18:49:49 +02:00
Julian Amelung
16e6dd6d14 Changed Journeys to Departures.
the endpoint which is discussed here is departures not journeys. 
If you use journeys with this parameters, you get mad with debugging.
2018-04-17 18:33:38 +02:00
Jannis R
3680f1fe94
fix products bitmask parsing 🐛 2018-04-09 19:37:44 +02:00
Jannis R
c8a144427e
2.5.1 2018-04-05 14:23:27 +02:00
Jannis R
afc0124982
fix stopover parsing 🐛 2018-04-05 14:23:14 +02:00
Jannis R
03e5cd350d
async stack traces: NODE_ENV=dev -> NODE_DEBUG=hafas-client 2018-04-05 14:17:30 +02:00
Jannis R
4fd7108ec6
VBB: strip "Tram " from line names 2018-03-31 14:03:23 +02:00
Jannis R
046b8c4117
VBB: strip "Bus " from line names 2018-03-29 23:17:50 +02:00
Jannis R
d96cbfb228
stopover: default arrival & departure fields 🐛, >= for collecting journeys 2018-03-29 02:45:15 +02:00
Julius Tens
261cc5ed2c add link to insa-hafas 2018-03-25 21:34:50 +02:00
Julius Tens
e8f21216a5
Merge pull request #40 from public-transport/profile-boilerplate
add simple profile boilerplate
2018-03-25 21:28:28 +02:00
Jannis R
27085d1db0
add simple profile boilerplate 2018-03-24 18:18:34 +01:00
Jannis R
2430a74414
adapt docs to 005f3f8 📝 2018-03-23 21:19:25 +01:00
Julius Tens
fe8f9c29f9
Merge pull request #39 from public-transport/remove-journey-shorthands
remove journey shorthands
2018-03-21 21:40:05 +01:00
Jannis R
4cba773eb0
adapt tests to 0e80be0 2018-03-21 01:55:53 +01:00
Jannis R
005f3f8e4d
remove journey.departure, .arrival, … 💥
closes #36
2018-03-21 01:55:31 +01:00
Jannis R
87ec80d404
NAH.SH: use new products markup 🐛 2018-03-21 01:54:31 +01:00
Jannis R
cfd79b1be1
parseJourney: use parseJourneyLeg from profile 🐛 2018-03-21 01:14:37 +01:00
Jannis R
98139f9210
prepare move to public-transport org 2018-03-19 22:34:08 +01:00
Jannis R
e71908ed1c
changelog for 2.4.x 2018-03-19 22:19:45 +01:00
Jannis R
f037ddf74c
writing a profile guide: runkit permalink 2018-03-19 22:01:22 +01:00
Jannis R
f37728c35b
writing a profile guide: runkit permalink 2018-03-19 22:00:25 +01:00
Jannis R
db1ad18cd5
adapt writing a profile guide to #32 2018-03-19 21:55:53 +01:00
Jannis R
ec0c283bf4
merge master into next 2018-03-19 21:18:53 +01:00
Jannis R
36c1225a2d
changelog, 2.5.0 2018-03-18 13:44:29 +01:00
Julius Tens
cca1ee2ca9 fancify readme 🌈 2018-03-18 13:31:35 +01:00
Jannis Redmann
7aba19f137
merge pull request #32 from refactor-products
new products markup
2018-03-18 13:22:24 +01:00
Julius Tens
60a1dff24c
Merge pull request #30 from derhuerst/nah.sh
add profile for NAH.SH
2018-03-18 13:04:57 +01:00
Julius Tens
61325bdb13 code style 2018-03-18 13:01:07 +01:00
Julius Tens
269a2524fb fix code commentary 🐛 2018-03-18 13:00:16 +01:00
Julius Tens
cee3a78d8e code style, refactor removal of trailing zeroes 2018-03-18 00:48:47 +01:00
Jannis R
94988d98c0
yet another fix 🐛 2018-03-18 00:30:54 +01:00
Jannis R
ccd2dc0783
let parseProducts and formatProductsFilter get the real profile 🐛 2018-03-18 00:17:10 +01:00
Jannis R
854b0bd35e
homegrown isObj -> lodash/isObject 2018-03-18 00:13:44 +01:00
Jannis R
ad4d60f3ca
allow for overwriting parseProducts & formatProductsFilter 2018-03-18 00:11:51 +01:00
Julius Tens
82669ff03b
Merge pull request #37 from derhuerst/writing-a-profile-guide
add a "writing a profile" guide
2018-03-17 21:14:38 +01:00
Julius Tens
a0fb841b8e
Merge pull request #33 from derhuerst/better-radar-signature
radar(north, west, south, east) -> radar({north, west, south, east})
2018-03-17 21:04:27 +01:00
Jannis R
35a70addee
writing a profile guide: S-Bahn example in German 2018-03-17 21:01:23 +01:00
Jannis R
83cae914a4
fix radar signature 🐛 2018-03-17 20:58:03 +01:00
Jannis R
dbd1a2df36
writing a profile guide: I -> we, note about language of product names 2018-03-17 20:56:11 +01:00
Jannis R
f731b020e6
writing a profile guide: minor improvements 2018-03-17 17:55:48 +01:00
Jannis R
ca6e5a0d54
NAH.SH: remove unnecessary headers, skip radar test 2018-03-17 17:27:43 +01:00
Jannis R
0987383c72
merge master into nah.sh 2018-03-17 17:21:18 +01:00
Jannis R
a36afa25a3
2.4.2 2018-03-17 17:16:22 +01:00
Jannis R
bdad9c6ef6
parseStopover: cancelled arrival & departure 🐛
also clean up parseMovement and add DRY todos
2018-03-17 17:16:03 +01:00
Jannis R
287883eda9
2.4.1 2018-03-17 16:58:21 +01:00
Jannis R
787b00228e
let parseStopover use parseStationName 🐛 2018-03-17 16:47:34 +01:00
Jannis R
6ba617b1bc
let parseMovement use parseStopover 🐛 2018-03-17 16:47:31 +01:00
Jannis R
89060afc8d
adapt docs and examples to 40b559f 📝 2018-03-16 17:28:52 +01:00