Commit graph

1350 commits

Author SHA1 Message Date
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
Jannis R
40b559f80d
radar(n, w, s, e) -> radar({n, w, s, e}) 💥, adapt tests 2018-03-16 17:28:20 +01:00
Jannis R
bc51d257fd
adapt tests to new products markup 2018-03-16 17:15:09 +01:00
Jannis R
94bbe2361b
products[].product -> products[].id 2018-03-16 17:15:09 +01:00
Jannis R
bbb68d86d5
validate products in lib/validate-profile 2018-03-16 17:15:09 +01:00
Jannis R
08357dfa9d
parseLine: move mode & products parsing from profiles into main code 2018-03-16 17:15:09 +01:00
Jannis R
83248785e5
formatProducts: move factory from profiles into main code
and rename to `formatProductsFilter`
2018-03-16 17:15:08 +01:00
Jannis R
ce43f15ad5
parseProducts: move factory from profiles into main code 2018-03-16 17:15:08 +01:00
Jannis R
b7c1ee3b05
new products markup 2018-03-16 17:15:08 +01:00
Jannis R
f96131423f
luxon@0.5.8, query-string@6, tape-promise@3 2018-03-16 17:13:19 +01:00
Julius Tens
afc95ed763
Merge pull request #26 from derhuerst/proper-via-tests
add proper via tests
2018-03-16 16:00:44 +01:00