Commit graph

21 commits

Author SHA1 Message Date
Jannis R
0db84ce644
merge remarks into next 2018-06-25 13:20:13 +02:00
Jannis R
665bed9f79 rename location(id) -> station(id) 💥
see #17 for reasons
closes #17
2018-06-10 14:47:29 +02:00
Jannis R
d2257c26ff
rename d.remarks -> d.hints, parseRemark -> parseHint
HAFAS returns notes for journey legs, stopovers and departures.

There are two kinds of notes: "remarks" (in `remL`) and HAFAS
Information Manager (HIM) notes (in `himL`). The former describe
the regular operating situation, e.g. "bicycles allows", whereas
the latter describe cancellations, construction work, etc.

The planned naming scheme for hafas-client:
- hints: notes from `remL` for regular operation
- warnings: notes from `himL` for cancellations, construction, etc
- remarks: both "notes" and "warnings"

This commit prepares the new naming scheme by renaming the
existing parsing logic of `remL` to "hints". Follow-up commits
will add `parseWarning`.
2018-06-07 16:34:50 +02:00
Jannis Redmann
7aba19f137
merge pull request #32 from refactor-products
new products markup
2018-03-18 13:22:24 +01:00
Jannis R
89060afc8d
adapt docs and examples to 40b559f 📝 2018-03-16 17:28:52 +01:00
Jannis R
94bbe2361b
products[].product -> products[].id 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
73c419fadb
fix products parsing 🐛, fix tests for it 2018-03-13 03:23:03 +01:00
Jannis R
3e0bb8e0c3
location method: docs 📝 2018-01-26 17:24:02 +01:00
Jannis R
39636f12bf
parse lines at a location 2018-01-26 17:07:36 +01:00
Jannis R
c6e558be21
adapt ÖBB line parsing to d7eca5b4 2018-01-07 17:24:33 +01:00
Jannis R
4ec458bf6a
ÖBB: code style 👕, add TODOs, improve docs 📝 2017-12-29 23:46:07 +01:00
Julius Tens
46a84c3cfc fix typo 2017-12-29 10:16:41 +01:00
Julius Tens
4bbb3c6724 add docs for oebb 2017-12-29 10:15:32 +01:00
Julius Tens
809c6ac616 add profile and tests for oebb 2017-12-29 10:01:19 +01:00
Julius Tens
de4399fd43 correction: rename 'modes' to 'products' 2017-12-28 15:29:39 +01:00
Julius Tens
4d4412d63f add products/modes for oebb 2017-12-26 00:58:12 +01:00
Jannis R
477124a769
WIP ÖBB profile 2017-12-18 23:24:11 +01:00