Kristjan ESPERANTO
6d1d0c626f
Upgrade ESLint and fix linting issues
test / lint (push) Has been cancelled
test / unit-tests (16.x) (push) Has been cancelled
test / unit-tests (18.x) (push) Has been cancelled
test / unit-tests (20.x) (push) Has been cancelled
test / unit-tests (22.x) (push) Has been cancelled
test / integration-tests (16.x) (push) Has been cancelled
test / integration-tests (18.x) (push) Has been cancelled
test / integration-tests (20.x) (push) Has been cancelled
test / integration-tests (22.x) (push) Has been cancelled
test / e2e-tests (18.x) (push) Has been cancelled
2025-02-17 21:41:20 +01:00
Traines
71d1a4f1a9
refactor enrichStations, only load on first request
2025-02-13 22:16:22 +00:00
Traines
6ff406ea79
artificially filter for includeRelatedStations and direction
2025-02-13 21:53:49 +00:00
dabund24
c671e995cb
bahn.de boards ( #12 )
...
* parse bahn.de boards
* add optional chaining in line.js
* unit tests for bahn.de boards
* fix product check in line.js for bahn.de boards
* add integration tests for bahn.de boards
* allow letting hafas decide the amount of vias
* split dbweb and dbregioguide profiles; add db profile
* commit location-filter.js (forgot that in the last commit)
* simplify how db profile works
* remove `ezGleis` from coalesce for scheduled platform
* un-break parsing of remarks
* determine fahrtNr by removing all non-digits
* employ enrichStations for board stop property
* prevent timeouts in dbweb e2e test from calling `end()` twice
* use promises in dbweb e2e tests when waiting for enrichStations to work
* replace vias option with stopovers option for dbweb profile; enrich stations when only name is known
* change dbweb-departures test covering enrichStation feature for stop and stopovers
* remove check for not existing option
* move verkehrsmittel.name in front of verkehrsmittel.langText when parsing name in line.js
2025-02-09 00:46:21 +01:00
Traines
1e7977a8bb
linting...
2025-01-20 20:32:38 +00:00
Traines
76d6121f88
trim returned HAFAS journey ids (for better compat with hafas-client/raw HAFAS API)
2025-01-20 20:06:29 +00:00
Traines
2b55f7148f
support db regio-guide trip id/endpoint
2025-01-14 21:07:23 +00:00
Traines
715541f060
refactor
2025-01-14 18:13:58 +00:00
Traines
911ac17510
add priority where available as int (dbnav)
2025-01-11 19:08:52 +00:00
Traines
32792507ba
pretty-print fixtures
2025-01-11 19:08:29 +00:00
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
McToel
942972d5f0
Use risZuglaufId to get fahrtNr ( #8 )
2025-01-10 19:21:27 +01:00
Traines
126077582b
parse admincode, operator where available
2025-01-09 12:26:42 +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
debc1ee150
dbnav profile: locations, nearby
2024-12-21 23:04:05 +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
80195404bb
enrich stations with db-hafas-stations
2024-12-18 00:10:49 +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
c6bb1b468a
fixes for journeyID and fahrtNr
2024-12-10 22:49:11 +00:00
Traines
c663a35711
switch to regio-guide ris for boards
2024-12-10 17:51:20 +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
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
26c56f8dc6
fix date of next-day DEVI leg in an overnight journey 🐛
...
follow-up of a2870f6a
follow-up of 6e6285c7
fixes #301
2024-01-28 20:47:18 +01:00
Jannis R
a157d0b15f
put todos
2024-01-18 15:27:35 +01:00
Daniel Bund
244e88dec0
add attribute additional
to additional stopovers ✅
2023-11-27 16:25:54 +01:00
Jannis R
4116b53e9b
parseHint: put todos
2023-05-15 12:58:32 +02:00
Traines
9a1ef7c586
apply leg-wide remarks if opt.stopovers
is false
2023-05-15 12:49:03 +02:00
Jannis R
547dd4b2a9
parseDateTime, format{Date,Time}: share Luxon IANAZones ⚡ ️
2022-12-03 14:05:30 +01:00
Jannis R
339d64e901
convert to ESM 💥 📝
2022-11-18 19:20:03 +01:00
Jannis R
c6085eff26
luxon@2, p-retry@5, p-throttle@5
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
b1c2eb9b93
parseWarning: handle missing common.himMsgEventL[].{f,t}Time 🐛 ✅
2022-11-18 19:20:02 +01:00
Jannis R
a0a4064bf0
trip/tripsByName: realtimeDataFrom -> separate realtimeDataUpdatedAt field 💥 ✅ 📝
2022-11-17 15:25:00 +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
c88179777d
put todos
2022-10-24 17:29:23 +02: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