Commit graph

7 commits

Author SHA1 Message Date
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
911a6d371e db: support for polylines 2025-01-14 21:12:23 +00:00
dabund24
632a29d2aa
Allow value -1 for transfers option in journeys() (#6)
* allow value -1 for transfers option in journeys() for db and dbnav profiles

* add unit test for implicitly unconstrained transfers

* implement `formatTransfers()`, use it `formatJourneysReq()` functions and re-add corresponding unit test
2025-01-09 00:22:43 +01:00
Traines
db168b7a35 docs 2025-01-03 11:39:55 +00:00
Traines
debc1ee150 dbnav profile: locations, nearby 2024-12-21 23:04:05 +00:00
Traines
9f5e1fa6bd refactoring journeysReq 2024-12-21 16:15:10 +00:00
Traines
ec723b3414 refactoring 2024-12-21 15:26:49 +00:00