Commit graph

53 commits

Author SHA1 Message Date
Traines
87a705e966 dbnav journeys, trips, fixes 2025-01-03 10:57:24 +00:00
Traines
3d998de41c dbnav boards, fixes 2025-01-02 14:00:45 +00:00
Traines
771ab128b3 more refactoring 2024-12-21 16:30:11 +00:00
Traines
ec723b3414 refactoring 2024-12-21 15:26:49 +00:00
Traines
2f45f66793 /locations, /locations/nearby, fixes 2024-12-07 18:29:16 +00:00
Traines
2e094c2b78 initial db-vendo with /journeys (wip) 2024-12-07 16:17:16 +00:00
Kristjan ESPERANTO
66d9fb5194
apply linting rules
follow-up of 228c7253
2024-02-10 16:50:12 +01:00
Jannis R
339d64e901
convert to ESM 💥📝 2022-11-18 19:20:03 +01:00
Jannis R
a81e550f2a
departures{GetPasslist,StbFltrEquiv}: default to false 💥 2022-11-17 15:17:01 +01:00
Jannis R
492fdeb2ef
add profile.randomizeUserAgent flag 📝 2022-11-17 15:17:01 +01:00
Jannis R
a60083f8d1
parse trip.scheduledDays 2022-11-16 15:23:25 +01:00
Jannis R
7ccffa5e51
profile.log{Request,Response}: pass in random request ID 📝 2022-10-07 01:31:12 +02:00
Jannis R
829c9ca461
add profile.log{Request,Response}() hooks 📝 2022-10-06 14:34:38 +02:00
Pieterjan Van Saet
7c68f962c1
parse{Stopover,JourneyLeg, Trip}: expose {arrival,departure}PrognosisType
see #266

Co-authored-by: Jannis R <mail@jannisr.de>
2022-07-22 01:06:35 +02:00
Jannis R
a7cb71c870
add todos & comments 2021-10-26 15:00:08 +02:00
Jannis R
d69d2530ef
add remarksGetPolyline profile flag 2021-01-26 22:26:35 +01:00
Jannis R
d017e62740 mobil.nrw refreshJourneys(): use outReconL[] instead of ctxRecon 🐛 2021-01-19 12:38:43 +01:00
Jannis R
1a0d97dd28
HVV: disable lines() 🐛 2020-11-28 11:40:51 +01:00
Jannis R
9d8260bf5f add lines() 2020-11-28 11:25:43 +01:00
Jannis R
ed48971fb1 add remarks() 2020-11-28 11:25:43 +01:00
Jannis R
11ca3b171a add tripsByName() method, docs 📝
docs
2020-10-06 22:22:30 +02:00
Jannis R
51f4a66bd8
journeys: remove collection of results
Reverts 7fd574f.
See also https://github.com/public-transport/hafas-client/pull/23#issuecomment-370246163 .
2020-07-19 22:58:13 +02:00
Jannis R
dce42bfa31
move trip parsing into parse/trip 2020-06-11 15:34:20 +02:00
Simeon Keske
1c67350b48
move refreshJourneyReq-formatter to own function 2020-02-08 18:05:42 +01:00
Jannis R
39a626784b
request formatters via profile 2020-01-05 18:10:10 +01:00
Jannis R
773035c05d
call formatProductsFilter via profile, use products from ctx.profile 💥 2020-01-05 18:10:10 +01:00
Jannis R
6d5c6081ce
request() via profile 💥 2020-01-05 18:10:09 +01:00
Jannis R
252ce5b515
lib/request, index: use ctx object 💥 2020-01-05 18:10:09 +01:00
Jannis R
fb7a5653e3
parseProductsBitmask via profile, pass ctx into parse fns 💥 2020-01-05 18:10:09 +01:00
Jannis R
6c5409fbce
extract parseIcon from parseCommon 2020-01-05 18:10:09 +01:00
Jannis R
93814983da
add profile.parseCommon 2020-01-05 17:50:27 +01:00
Jannis R
ed0c606db1
add journeysOutFrwd profile flag 2019-12-29 22:18:22 +01:00
Jannis R
5d0096c596
departures: profile flag for getPasslist & stbFilterEquiv 2018-12-30 18:42:05 +01:00
Jannis R
067e807db7 INSA doesn't support refreshJourney 🐛 2018-07-25 10:05:52 +02:00
Jannis R
4a454917dd rename profile.journeyLeg to profile.trip 💥 2018-07-07 21:19:28 +02:00
Jannis R
1d5f4ff31c parse arrivals 2018-06-26 18:13:41 +02:00
Jannis R
d909be3b65
parseWarning 2018-06-07 18:46:44 +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
deefeb1f64 add parsePolyline to default profile 2018-05-24 10:26:24 +02:00
Jannis R
4533a70c41
writing a profile guide: minor improvements 2018-03-15 01:35:01 +01:00
Jannis R
0c3e3cb0cf
journeys collection as an option 2018-03-08 03:28:17 +01:00
Jannis R
6f958e14be
mic & mac calculation
thanks to @alexander-albers!
see https://github.com/schildbach/public-transport-enabler/issues/187#issuecomment-357436079
2018-01-15 00:47:16 +01:00
Jannis R
904f890442
move checksum calculation to lib/request 2018-01-15 00:45:05 +01:00
Jannis R
8985f8ccd2
rename journey.parts -> journey.legs 2017-12-28 17:13:02 +01:00
Jannis R
965d5393ef
accessibility filters for every profile 2017-12-18 20:01:12 +01:00
Jannis R
eacbd8ef01
validate profile 2017-12-12 03:32:07 +01:00
Jannis R
2e113d9520
expose only supported methods, fix test helpers 🐛 2017-11-27 20:33:34 +01:00
Jannis R
3fb0943680
query live movements in an area 2017-11-20 20:19:13 +01:00
Jannis R
33417a6e61
query journey parts 2017-11-20 16:58:45 +01:00
Jannis R
e762f30f05
VBB-related bugfixes and changes 🐛 2017-11-20 15:25:15 +01:00