Jannis R
fb7a5653e3
parseProductsBitmask via profile, pass ctx into parse fns 💥
2020-01-05 18:10:09 +01:00
Jannis R
018fc84bf5
parseCommon: parse polylines
2020-01-05 17:51:27 +01:00
Jannis R
62cc53ffcf
parseCommon: resolve location references
2020-01-05 17:51:27 +01:00
Jannis R
758deaf2d5
parseCommon: resolve line references
2020-01-05 17:51:27 +01:00
Jannis R
2993cc0e87
put more todos
...
[ci skip]
2019-08-30 16:27:34 +02:00
Jannis R
6aa57d4616
handle missing dirTxt 🐛
2019-04-01 19:22:10 +02:00
Jannis R
9c449958c4
remove (arrival|departure).trip, movement.trip 💥
2019-02-28 16:45:31 +01:00
Jannis R
bbff1f4c63
movement.nextStops -> movement.nextStopovers 💥
2019-02-28 16:44:10 +01:00
Jannis R
5beff47dea
radar: fix polylines option 🐛
...
Had to set the default value to `true` to stay backwards-compatible.
2018-12-13 19:30:55 +01:00
Jannis R
e6130d7c23
changelog, related libs 📝 , clean up code
2018-07-16 11:36:27 +02:00
Jannis R
00ea10d9c8
journey leg, departure, movement: journeyId -> tripId 💥
2018-06-26 18:13:41 +02:00
Jannis R
f5eceafdf3
merge refactor-parse-fns into next
2018-06-26 13:07:06 +02:00
Jannis R
4c86b625c7
parse fn signatures: bugfixes 🐛
2018-06-26 11:47:44 +02:00
Jannis R
b6fbaa5825
parse fns: opt param 💥
...
- parseLine
- parseDeparture
- parseJourney
- parseJourneyLeg
- parseLocation
- parseMovement
- parseNearby
- parseStopover
2018-06-13 20:05:33 +02:00
Jannis R
6ca7924f7b
parsePolyline: profile param 💥
2018-06-13 20:05:33 +02:00
Jannis R
8881d8a1a4
parse fns: individual params -> data object 💥
...
From now on, all higher-level parse fns will be able to access more
of the response data while keeping their signature.
- parseLine
- parseDeparture
- parseJourney
- parseJourneyLeg
- parseLocation
- parseMovement
- parsePolyline
- parseNearby
- parseStopover
2018-06-13 20:05:24 +02:00
Jannis R
fa2cdc5177
pass warnings into parsers, apply warnings to journey legs
2018-06-07 18:48:45 +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 R
431574b756
parseJourneyLeg, parseMovement: use parsePolyline 💥 , refactor
2018-05-24 10:26:24 +02:00
Jannis R
48f2cefb5b
parseMovement: expose journey (leg) id
2018-05-16 19:32:11 +02:00
Jannis R
a97e0d31e7
radar: fix polylines parsing 🐛 , 2.7.2
2018-05-16 00:43:08 +02:00
Jannis R
39aac10a17
parseMovement: empty default polylines arr 🐛
2018-05-15 23:04:13 +02:00
Jannis R
9a0bfc39a4
radar: polylines option, return polylines
2018-05-15 19:41:08 +02:00
Jannis R
6ba617b1bc
let parseMovement use parseStopover 🐛
2018-03-17 16:47:31 +01:00
Jannis R
9e5e8b9d56
radar: support delays
2017-12-18 11:59:26 +01:00
Jannis R
b0157c75d5
update validate-fptf 🐛 , expose movement trip, add more todos
2017-12-16 02:28:09 +01:00
Jannis R
608a91989f
bugfixes 🐛 , even more todos
2017-12-11 19:40:46 +01:00
Jannis R
3811b4553c
FPTF location objects
...
see public-transport/friendly-public-transport-format@6481dee
2017-12-11 19:25:30 +01:00
Jannis R
14cdc77c0f
moment-timezone -> luxon, parse DateTimes with locale
2017-12-11 17:28:29 +01:00
Jannis R
3fb0943680
query live movements in an area
2017-11-20 20:19:13 +01:00
Jannis R
3c9f3393ba
pass in parsers
2017-11-12 01:23:34 +01:00
Jannis R
73d083f418
parse: default to null
2017-11-12 00:36:13 +01:00
Jannis R
fb43a4e43b
code style 👕
...
- rename variables
- more consistent indentation
- give crucial anonymous functions a name
- add more TODOs
2017-11-12 00:05:32 +01:00
Jannis R
79db55d99c
split parse.js
2017-11-11 22:45:17 +01:00