Commit graph

86 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
ec723b3414 refactoring 2024-12-21 15:26:49 +00:00
Traines
73b4d40e02 trip by id support 2024-12-18 01:16:57 +00:00
Traines
ed8683e8c2 fix int tests and invalid fields 2024-12-17 19:41:00 +00:00
Traines
f8a79834b3 linting 2024-12-08 21:42:57 +00:00
Traines
2e094c2b78 initial db-vendo with /journeys (wip) 2024-12-07 16:17:16 +00:00
Jannis R
7f78dc9458
add todos & comments 2024-03-12 12:26:46 +01:00
Kristjan ESPERANTO
66d9fb5194
apply linting rules
follow-up of 228c7253
2024-02-10 16:50:12 +01:00
Jannis R
a157d0b15f
put todos 2024-01-18 15:27:35 +01:00
Traines
9a1ef7c586 apply leg-wide remarks if opt.stopovers is false 2023-05-15 12:49:03 +02:00
Jannis R
339d64e901
convert to ESM 💥📝 2022-11-18 19:20:03 +01:00
Jannis R
c88179777d
put todos 2022-10-24 17:29:23 +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
0a63698100
parse CHKI legs with checkin: true
fixes #267
2022-07-21 21:37:01 +02:00
Jannis R
e79a371dde
add todos 2021-12-29 15:20:03 +01:00
Jannis R
95d2c61fbd
add todos; readme: link to kpublictransport 📝 2021-12-08 14:12:23 +01:00
Jannis R
ca6f75501c
add todos; add @MTRNord as contributor 2021-11-18 18:29:25 +01:00
Jannis R
97b6a76e75
parseTrip: expose realtimeDataUpdatedAt 2021-10-28 00:25:58 +02:00
Jannis R
0a096a13d7
parseJourneyLeg/parseTrip: expose currentLocation 📝 2021-10-12 17:37:34 +02:00
Jannis R
216102763d
first/last walking leg: dTZOffset/aTZOffset of 0 🐛
fixes #237

Thanks @yu-re-ka!
2021-08-17 16:50:21 +02:00
Jannis R
17e08acfbb parseJourneyLeg parseAlternative: handle missing stopL[] 🐛, add tests 2020-12-26 21:54:04 +01:00
Jannis R
66ff661767
parseJourneyLeg applyRemarks: handle legs without stopovers 🐛 2020-11-15 14:43:47 +01:00
Jannis R
25fb25c18d parseLeg: use remarks without fIdx/tIdx 🐛 2020-09-15 11:36:24 +02:00
Jannis R
a621fd6df4
minor tweaks 2020-09-10 23:57:03 +02:00
Leo Maroni
2612494970
fix platform parsing with some profiles 🐛
closes #187
2020-08-01 18:26:30 +02:00
Jannis R
f9bfd6918a
parseJourneyLeg: parse jny.poly 🐛
fixes #186
2020-07-26 13:37:54 +02:00
Jannis R
542aa8caef parse DEVI journey legs 2020-05-31 12:38:07 +02:00
Jannis R
0dceb414af
parseJourneyLeg: parse isRchbl correctly 🐛 2020-03-18 21:45:36 +01:00
Julius Tens
c072a70c57 soothe the linter: remove unused variables 2020-02-27 17:10:03 +01:00
Jannis R
fb7a5653e3
parseProductsBitmask via profile, pass ctx into parse fns 💥 2020-01-05 18:10:09 +01:00
Jannis R
938a6f22b9
add planned*Platform, scheduled* -> planned/prognosed* 💥 2020-01-05 17:55:27 +01:00
Jannis R
29a2cf36e9
add planned(Arrival|Departure|When), scheduled* -> planned*/prognosed* 💥
when not cancelled:
{when, delay} -> {when, plannedWhen, delay}
{arrival, arrivalDelay} -> {arrival, plannedArrival, arrivalDelay}
{departure, departureDelay} -> {departure, plannedDeparture, departureDelay}

when cancelled:
{when: null, delay: null, scheduledWhen} -> {when: null, plannedWhen, prognosedWhen, delay}
{arrival: null, arrivalDelay: null, scheduledArrival, formerArrivalDelay} -> {arrival: null, plannedArrival, arrivalDelay, prognosedArrival}
{departure: null, departureDelay: null, scheduledDeparture, formerDepartureDelay} -> {departure: null, plannedDeparture, departureDelay, prognosedDeparture}
2020-01-05 17:52:17 +01:00
Jannis R
f02fe301c7
parse: refactor applyRemarks 2020-01-05 17:51:27 +01:00
Jannis R
018fc84bf5
parseCommon: parse polylines 2020-01-05 17:51:27 +01:00
Jannis R
6af8f6d5ec
parseCommon: resolve hint & warning references 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
4270125bf7
parse: minor changes 2020-01-05 17:51:27 +01:00
Jannis R
2993cc0e87
put more todos
[ci skip]
2019-08-30 16:27:34 +02:00
Julius Tens
9078d2d25a fix reachable for walking legs 2019-06-08 12:56:24 +02:00
Julius Tens
6da1e80ef2 add leg.reachable 2019-06-05 11:59:23 +02:00
Julius Tens
875ea18b4c parse scheduled/actual platform information on legs
fixes #116
2019-05-29 14:19:23 +02:00
Jannis R
6aa57d4616
handle missing dirTxt 🐛 2019-04-01 19:22:10 +02:00
Jannis R
7e39a2f333
formerScheduled… -> scheduled… 💥 2019-02-28 16:45:40 +01:00
Jannis R
0e1fcb0c99
leg.mode: 'walking' -> leg.walking: true 💥 2019-02-28 16:45:18 +01:00
Jannis R
96ff59dc43
leg.id -> leg.tripId 💥 2019-02-28 16:44:36 +01:00
Jannis R
ca1105f139
parseDateTime: parse timezone offset if given 💥 2019-02-28 16:44:09 +01:00
Jannis R
a9fd9ff814
parseDateTime: return ISO str/timestamp 💥 2019-02-28 16:44:09 +01:00
Jannis R
8fac5fc0e0 leg.alternatives: parse direction & delay 2018-12-03 11:43:14 +01:00