Traines
c2216120c9
set db profile to old dbnav domain as an alternative, since the new domain
...
test / lint-and-spellcheck (push) Waiting to run
test / unit-tests (18.x) (push) Waiting to run
test / unit-tests (20.x) (push) Waiting to run
test / unit-tests (22.x) (push) Waiting to run
test / integration-tests (18.x) (push) Waiting to run
test / integration-tests (20.x) (push) Waiting to run
test / integration-tests (22.x) (push) Waiting to run
test / e2e-tests (18.x) (push) Blocked by required conditions
might have more agressive blocking
2025-10-21 20:54:11 +00:00
Traines
a1ab95c249
linting...
2025-10-21 18:33:30 +00:00
Traines
691f07b331
remove arrival time check for refreshJourney since it seems to change for older journeys
2025-10-21 18:30:06 +00:00
Traines
13351e3977
skip weird failing test since dbweb is basically unusable anyways
2025-10-21 18:17:31 +00:00
Traines
2f65f3d05d
discontinue dbbahnhof, update deps
2025-10-21 18:05:29 +00:00
Traines
f31f56c00d
update dbnav endpoints, fix tests
2025-10-21 17:40:14 +00:00
Traines
b2d9a4e53e
linting
test / lint-and-spellcheck (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 (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-08-25 20:18:26 +00:00
Traines
8e9d6ea67a
switch db profile to db nav for boards (regioguide deprecation)
2025-08-25 19:55:25 +00:00
Traines
ad09f8b1be
dticket support
2025-04-11 20:59:06 +00:00
Traines
29aab87cdf
add dbbahnhof
2025-03-22 00:39:43 +00:00
Traines
2ea47f7792
disable some more live e2e tests
2025-03-19 00:38:48 +00:00
Traines
6c2081c14e
fix spelling and tests...
test / lint-and-spellcheck (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 (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-03-15 23:25:48 +00:00
Traines
bcaad526c7
disable blocked endpoints tests for now
2025-03-15 22:54:12 +00:00
Traines
162b946bac
support for bestprice, notOnlyFastRoutes, serviceDays, fix param default handling
2025-03-15 22:44:08 +00:00
dabund24
25cbb288ca
Fix dbnav time zone bug ( #25 )
...
* fix dbnav time zone bug
* test fix of dbnav time zone bug
* exclude `test/parse/dbnav-journey.js` from spell check
2025-03-06 21:13:08 +01:00
Kristjan ESPERANTO
de63bf0a37
Fix typos found with cspell
2025-03-06 16:13:56 +01:00
Traines
185870db3d
cleanup
test / lint (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 (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-25 12:56:29 +00:00
McToel
1aeb246622
Browser compatibility ( #17 )
...
* Removed Proxy and local address code
* replaced node crypto with web crypto
* Replaced require with static imports
* removed commented out imports
* import db-hafas-stations on demand
* trying to handle undefined envs
* Less optimistic variable handling
* cleanup
* Small browser docs addition
* Linting
* No async in new Promise
* Bumped eslint to v9 and ecmaScript to 2025
* removed duplicated eslint config
* Bumped minimal node version to node 18
* Added node 24
* using math.random instead of webcrypto and reintroduced randomizeUserAgent
* Oh no node 24 is actually not released yet
* removed temp debug file
2025-02-25 13:21:26 +01:00
Traines
71d1a4f1a9
refactor enrichStations, only load on first request
2025-02-13 22:16:22 +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
76d6121f88
trim returned HAFAS journey ids (for better compat with hafas-client/raw HAFAS API)
2025-01-20 20:06:29 +00:00
Traines
22c839847f
updat fixture for db poly endpoint
2025-01-14 22:24:53 +00:00
Traines
2b55f7148f
support db regio-guide trip id/endpoint
2025-01-14 21:07:23 +00:00
Traines
70f4cdb2b0
linting
2025-01-11 23:38:00 +00:00
Traines
bb692f4bc9
use proper correlation id
2025-01-11 23:37:07 +00:00
Traines
977da80885
cleanup
2025-01-11 21:14:50 +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
Traines
a624e62172
disable enrichStations for tests
2025-01-10 18:52:16 +00:00
Traines
126077582b
parse admincode, operator where available
2025-01-09 12:26:42 +00:00
Traines
bc676fd0b6
more tests, docs
2025-01-09 00:07:17 +00:00
Traines
98670d5e08
stop()
2025-01-08 23:24:40 +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
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
9f5e1fa6bd
refactoring journeysReq
2024-12-21 16:15:10 +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
e14a909ebf
linting
2024-12-18 00:40:37 +00:00
Traines
2a49495959
don't validate products (race cond)
2024-12-18 00:34:56 +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
0e328aa681
tests
2024-12-07 23:48:08 +00:00