Commit graph

1412 commits

Author SHA1 Message Date
McToel
aef022801e Oh no node 24 is actually not released yet 2025-02-20 23:47:26 +01:00
McToel
cc8459c161 using math.random instead of webcrypto and reintroduced randomizeUserAgent 2025-02-20 23:45:44 +01:00
McToel
c7c5bf633c Added node 24 2025-02-20 23:44:28 +01:00
McToel
3213dc4343 Bumped minimal node version to node 18 2025-02-20 14:31:21 +01:00
McToel
5e502a6f44 removed duplicated eslint config 2025-02-19 01:06:35 +01:00
McToel
406d24a051
Merge branch 'main' into main 2025-02-19 01:00:22 +01:00
McToel
1f95ca06c1 Bumped eslint to v9 and ecmaScript to 2025 2025-02-19 00:25:25 +01:00
McToel
c951466597 No async in new Promise 2025-02-19 00:17:48 +01:00
McToel
f1d226e9c8 Linting 2025-02-19 00:16:08 +01:00
Kristjan ESPERANTO
6d1d0c626f Upgrade ESLint and fix linting issues
Some checks failed
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
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
McToel
932a4aa0db Small browser docs addition 2025-02-17 16:05:15 +01:00
McToel
f943e50cbd cleanup 2025-02-17 15:46:01 +01:00
McToel
c908705167 Less optimistic variable handling 2025-02-16 16:50:06 +01:00
McToel
53c20ab0e8 trying to handle undefined envs 2025-02-16 16:39:00 +01:00
McToel
47e1285600 import db-hafas-stations on demand 2025-02-16 02:08:07 +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
McToel
a9eacd20b5 removed commented out imports 2025-02-14 00:43:22 +01:00
McToel
e425d9b012 Replaced require with static imports 2025-02-14 00:40:00 +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
McToel
46e21f8d75 replaced node crypto with web crypto 2025-02-13 16:01:29 +01:00
McToel
f7909aac29 Removed Proxy and local address code 2025-02-13 15:25:33 +01: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