Commit graph

79 commits

Author SHA1 Message Date
Traines
60656b0119 db: create fake walking leg for intra-station transfer 2025-01-11 18:39:32 +00:00
Traines
63bc542b1c improve line details (fahrtNr, name, id), add tests 2025-01-10 18:55:14 +00:00
Traines
126077582b parse admincode, operator where available 2025-01-09 12:26:42 +00:00
Traines
98670d5e08 stop() 2025-01-08 23:24:40 +00:00
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
80195404bb enrich stations with db-hafas-stations 2024-12-18 00:10:49 +00:00
Traines
5c5c1acd44 don't set undefined price fields 2024-12-17 20:43:54 +00:00
Traines
ed8683e8c2 fix int tests and invalid fields 2024-12-17 19:41:00 +00:00
Traines
5bb4e66c9a boards: correctly handle missing rt info 2024-12-12 12:10:09 +00:00
Traines
760a1bdb54 refreshJourney with tickets, loyaltyCard/firstClass rest support, accept-lang 2024-12-11 23:51:58 +00:00
Traines
f8a79834b3 linting 2024-12-08 21:42:57 +00:00
Traines
80e633dcb7 arrival/departure, refactoring 2024-12-07 22:46:04 +00:00
Traines
2e094c2b78 initial db-vendo with /journeys (wip) 2024-12-07 16:17:16 +00:00
Paul Sutter
248adb5f72
DB refreshJourney(): optionally request ticket infos
Co-Authored-By: Jannis R <mail@jannisr.de>
2024-03-12 01:18:50 +01:00
Kristjan ESPERANTO
66d9fb5194
apply linting rules
follow-up of 228c7253
2024-02-10 16:50:12 +01:00
Jannis R
c85f083db5
overnight journey with next-day leg: add a working test case
follow-up of a2870f6a
related: #301
2024-01-28 20:47:18 +01:00
Soeren Wegener
8a17401693
reproduce #301: leg of an overnight journey completely within the next day
Co-Authored-By: Jannis R <mail@jannisr.de>
2024-01-28 20:47:18 +01:00
Daniel Bund
244e88dec0
add attribute additional to additional stopovers 2023-11-27 16:25:54 +01:00
Traines
9a1ef7c586 apply leg-wide remarks if opt.stopovers is false 2023-05-15 12:49:03 +02:00
Jannis R
0349ebac20
remove HVV profile 💥
closes #262
closes #261
2022-11-18 19:29:44 +01:00
Jannis R
1e8b5982a2
remove SBB profile 💥
closes #246
2022-11-18 19:29:44 +01:00
Jannis R
e46514c5f9
DB: rename regionalExp product to regionalExpress 💥 2022-11-18 19:20:03 +01:00
Jannis R
339d64e901
convert to ESM 💥📝 2022-11-18 19:20:03 +01:00
Jannis R
ef9e3765ee
parseLine: don't trim adminCode 💥 2022-11-18 19:20:03 +01:00
Jannis R
b740539081
parseTrip: remove trip.reachable 💥 2022-11-18 19:20:03 +01:00
Jannis R
a0a4064bf0
trip/tripsByName: realtimeDataFrom -> separate realtimeDataUpdatedAt field 💥📝 2022-11-17 15:25:00 +01:00
Jannis R
1000e48dfd
handle METHOD_NA/NO_MATCH/PARAMETER errors 2022-11-17 15:17:02 +01:00
Jannis R
9b263bb379
rework error handling 💥📝 2022-11-17 15:17:02 +01:00
Jannis R
7b0374695a
VBB: remove vbb-parse-line 💥 2022-11-17 15:17:01 +01:00
Jannis R
d2bc134645
VBB: don't shorten stop/station names 💥 2022-11-17 15:17:01 +01:00
Jannis R
5ecf03f349
VBB: don't convert 7/9 <-> 12 digit IDs 💥 2022-11-17 15:17:01 +01:00
Jannis R
df4124e31d
BVG: don't shorten names 💥 2022-11-17 15:17:01 +01:00
Jannis R
1f6115955d
BVG: don't convert IDs 💥 2022-11-17 15:17:01 +01:00
Jannis R
1ae1362916
BVG: remove vbb-parse-line 💥 2022-11-17 15:17:01 +01:00
Jannis R
e0cdd55908
parseWarning: {from,to}Loc -> {from,to}Location 💥 2022-11-17 15:17:01 +01:00
Jannis R
a60083f8d1
parse trip.scheduledDays 2022-11-16 15:23:25 +01:00
Jannis R
b6900a3ddb
parse journey.scheduleDays using fpB & fpE 🐛
fixes #277

Thanks @bergmannjg!
2022-11-16 15:22:18 +01:00
Jannis R
0f7382e3b8
parse{Arrival,Departure}: properly parse .origin & .destination 🐛
fixes #273

Co-Authored-By: Jürgen Bergmann <bergmannj@posteo.de>
2022-10-15 14:02:11 +02:00
Jannis R
95af0a0127
parse{Arrival,Departure}: expose prognosisType
fixes #266
2022-07-22 01:07:09 +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
7e1f7ed4ee
BVG/VBB: parse stop DHIDs 2022-04-26 22:08:23 +02:00
Benoit Deldicque
57084262a2
add departure.destination & arrival.origin 📝
closes #260
fixes #259

Co-Authored-By: Jannis R <mail@jannisr.de>
2022-02-21 11:43:27 +01:00
Jannis R
69ddf5fb8d
BVG: parse occupancy 2021-10-28 12:42:55 +02:00
Jannis R
97b6a76e75
parseTrip: expose realtimeDataUpdatedAt 2021-10-28 00:25:58 +02:00
Jannis R
f0d33564f2
parseTrip: handle missing stopL[] (on-demand trips) 🐛 2021-10-24 22:52:52 +02:00
Jannis R
c1ee557cf8
parseArrOrDep: export currentTripLocation 📝 2021-10-12 17:53:28 +02:00
Jannis R
6507d5a786
VBB departures() test: update fixtures 2021-10-12 17:46:52 +02:00
Jannis R
b10c1ce644
Rejseplanen trip() test: update fixtures 2021-10-12 17:40:30 +02:00