Commit graph

1393 commits

Author SHA1 Message Date
Kristjan ESPERANTO
afa99b0742
Review test workflow (#16)
Some checks are pending
test / lint (push) Waiting to run
test / unit-tests (16.x) (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 (16.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
* Run linting only once

* Update actions/cache to v4

* Run e2e-tests with the same matrix as the others

* Change cache keys to avoid cache collisions

* Run e2e-tests only once
Since they go against the live DB APIs #16
2025-02-17 19:09:14 +01:00
Kristjan ESPERANTO
229dbac93e
Update copyright information (#15)
Some checks failed
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 (16.x) (push) Has been cancelled
2025-02-14 22:33:50 +01:00
Traines
7a1e513fa2 6.5.0
Some checks are pending
test / unit-tests (16.x) (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 (16.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 (16.x) (push) Blocked by required conditions
2025-02-13 23:34:39 +00:00
Traines
f1302b0a7b docs 2025-02-13 23:33:45 +00:00
Traines
177a3cab3f migrate and update loyaltyCard parsing from db-rest 2025-02-13 23:32:01 +00: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
Traines
2a23e1ad9b make dbweb selectable in docker img 2025-02-13 19:41:46 +00:00
Traines
9314e59053 6.4.0
Some checks failed
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 (16.x) (push) Has been cancelled
2025-02-11 21:20:33 +00:00
Traines
69c098744a update docs 2025-02-11 21:16:23 +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
ff559c83dd version bump, docs 2025-01-20 20:30:58 +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
206e709e6a adapt openapi.yaml
[skip ci]
2025-01-15 02:19:10 +00:00
Traines
7d10f409ef fix links
[skip ci]
2025-01-15 02:07:13 +00:00
Traines
179ada6f08 openapi spec
[skip ci]
2025-01-15 02:04:20 +00:00
Traines
4c8c503e48 version bump
[skip ci]
2025-01-14 22:36:03 +00:00
Traines
3c7227635a docs fixes
[skip ci]
2025-01-14 22:35:19 +00:00
Traines
22c839847f updat fixture for db poly endpoint 2025-01-14 22:24:53 +00:00
Traines
1b0858a253 update docs 2025-01-14 22:16:09 +00:00
Traines
a59a3d78dc add back hafas-client docs 2025-01-14 21:15:30 +00:00
Traines
911a6d371e db: support for polylines 2025-01-14 21:12:23 +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
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
01b95e74f4 add back cli 2025-01-11 20:55:46 +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
232893f2dc dumps 2025-01-11 18:15:13 +00:00
Traines
41feb41b5a version bump 2025-01-10 18:59: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
McToel
942972d5f0
Use risZuglaufId to get fahrtNr (#8) 2025-01-10 19:21:27 +01:00
Traines
8d07b24604 make dbnav default for docker image, require setting of user agent 2025-01-09 12:32:12 +00:00
Traines
126077582b parse admincode, operator where available 2025-01-09 12:26:42 +00:00
Traines
615c36650e bump version 2025-01-09 00:12:43 +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
Traines
0e68a375e1 fix dockerfile 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
8026689ee8 update readme 2025-01-08 18:35:13 +00:00
Traines
d992961421 fix package config
[skip ci ]
2025-01-08 18:02:57 +00:00
Traines
31df18f4be ci...
[skip ci]
2025-01-08 17:54:07 +00:00
Traines
94e130f0d2 ci...
[skip ci]
2025-01-08 17:47:11 +00:00
Traines
9e69594a36 ci... 2025-01-08 17:35:13 +00:00
Traines
db12ea036d publish to npmjs
[skip ci]
2025-01-08 17:25:34 +00:00