Commit graph

1275 commits

Author SHA1 Message Date
Jannis R
65096a85b6
changelog 📝, add @PaulSut as contributor; 6.3.0 2024-03-20 17:00:07 +01:00
Jannis R
7f78dc9458
add todos & comments 2024-03-12 12:26:46 +01:00
Paul Sutter
d3bc9d351d
DB E2E tests: adjust assertValidTickets 2024-03-12 01:19:01 +01:00
Paul Sutter
191b9abb6d
DB: add parseLoyaltyCard utility function
Co-Authored-By: Jannis R <mail@jannisr.de>
2024-03-12 01:18:59 +01:00
Paul Sutter
c4966aeca7
DB: optionally parse ticket URLs
Co-Authored-By: Jannis R <mail@jannisr.de>
2024-03-12 01:18:56 +01:00
Paul Sutter
784d273adf
DB E2E tickets test: add fixtures
Co-Authored-By: Jannis R <mail@jannisr.de>
2024-03-12 01:18:54 +01:00
Paul Sutter
9365c00aaf
DB: add end-to-end test for tickets
Co-Authored-By: Jannis R <mail@jannisr.de>
2024-03-12 01:18:52 +01:00
Paul Sutter
248adb5f72
DB refreshJourney(): optionally request ticket infos
Co-Authored-By: Jannis R <mail@jannisr.de>
2024-03-12 01:18:50 +01:00
Paul Sutter
fd90abdeca
DB journeys()/refreshJourney(): parse tickets from reponse
Co-Authored-By: Jannis R <mail@jannisr.de>
2024-03-12 01:18:29 +01:00
Jannis R
c826100bc8
E2E/integration tests: sort fixtures 2024-03-12 01:18:21 +01:00
Jannis R
336a9ba115
E2E/integration tests: configure Polly.js HTTP adapter correctly, minor tweaks
remotely related: https://github.com/nock/nock/issues/2461

Also silence a warning about the browser being offline.
2024-02-25 22:06:41 +01:00
Jannis R
9eeafd0ae8
E2E/integration tests: make sure tap teardown runs
may be related: https://github.com/tapjs/tapjs/issues/1005
2024-02-25 22:04:14 +01:00
Jannis R
613609782d
changelog 📝; 6.2.2 2024-02-25 22:00:02 +01:00
Jannis R
90b1140401
radar(): relax bounding box checks 🐛
to allow crossing the antimeridian & poles

fixes https://github.com/derhuerst/hafas-monitor-trips/issues/12
2024-02-25 21:36:23 +01:00
Kristjan ESPERANTO
66d9fb5194
apply linting rules
follow-up of 228c7253
2024-02-10 16:50:12 +01:00
Kristjan ESPERANTO
228c72531b
linting: add rules based on @stylistic/eslint-plugin
Co-Authored-By: Jannis R <mail@jannisr.de>
2024-02-10 16:49:38 +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
c85f083db5
overnight journey with next-day leg: add a working test case
follow-up of a2870f6a
related: #301
2024-01-28 20:47:18 +01:00
Soeren Wegener
8a17401693
reproduce #301: leg of an overnight journey completely within the next day
Co-Authored-By: Jannis R <mail@jannisr.de>
2024-01-28 20:47:18 +01:00
Jannis R
eec06ba81a
changelog 📝; 6.2.1 2024-01-18 15:34:23 +01:00
Jannis R
a157d0b15f
put todos 2024-01-18 15:27:35 +01:00
Jannis R
5660f602a7
readme: link to Travel-Status-DE-HAFAS 📝 2024-01-18 15:27:29 +01:00
Kristjan ESPERANTO
8520eb3d1c Fix mode for 'ec-ic'
This threw an error in the intigration test.
2024-01-09 12:04:06 +01:00
Kristjan ESPERANTO
160039df10 Update actions 2023-12-10 22:07:02 +01:00
Jannis R
f29ced5b2d
handle "PROBLEMS" HAFAS error code 2023-12-07 00:55:35 +01:00
Jannis R
b12d235bae
contributing.md: link to testing docs 📝 2023-12-07 00:54:56 +01:00
Jannis R
5287ced44c
readme: minor tweaks 📝; put todos 2023-12-07 00:54:29 +01:00
Jannis R
9a3a1d3b0c
changelog 📝; 6.2.0 2023-11-27 16:32:35 +01:00
Daniel Bund
244e88dec0
add attribute additional to additional stopovers 2023-11-27 16:25:54 +01:00
Jannis R
ecc8fccc54
tap@18 2023-09-27 19:58:49 +03:00
Jannis R
02c781b180
cross-fetch@4, p-retry@6 2023-09-22 08:53:19 +02:00
Jannis R
449d2261bd
changelog 📝; 6.1.1 2023-09-03 17:09:05 +02:00
Jannis R
0bc6ba3650
DB journeys(): pass along opt.age if defined 2023-09-03 13:53:38 +02:00
Jannis R
a8401f36e1
DB: add test for profile.transformJourneysQuery() 2023-09-03 13:53:27 +02:00
Jannis R
45610fc951
IVB: update SSL CA certificate chain 🐛 2023-07-31 20:58:01 +02:00
Jannis R
581a47510d
profiles' examples: fixes, minor tweaks 🐛📝
- hafas.station() -> hafas.stop() 🐛
- put stop IDs into variables
- .then/.catch -> async/await
- consistent order of methods
- minor reformatting for readability
2023-07-28 21:35:59 +02:00
Jannis R
19cdde0655
document testing setup 📝
[ci skip]
2023-07-25 17:39:04 +02:00
Jannis R
8ff945c075
changelog 📝; 6.1.0 2023-07-25 16:10:10 +02:00
Jannis R
793cc9eee5
request: with $HTTP(S)_PROXY, keep connections alive for 10s 2023-07-25 16:09:43 +02:00
Lambert Theisen
5ce0129c36
DB: add routingModes option 📝
closes #295
fixes #287

Co-Authored-By: Jannis R <mail@jannisr.de>
2023-07-25 15:51:24 +02:00
Jannis R
92bbc63590
DB integration tests: update mocked when & fixtures 2023-07-25 15:51:24 +02:00
Jannis R
f9c24a4a84
https-proxy-agent@7 2023-07-07 19:33:06 +02:00
Jannis R
4cb7062302
changelog 📝; 6.0.5 2023-05-15 21:21:38 +02:00
Jannis R
24ad6117b0
CI: run with Node v20 too 💚 2023-05-15 12:59:07 +02:00
Jannis R
b8f0ab0fd6
DB: put todos 2023-05-15 12:58:40 +02: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
dcc01d1413
update tools/transport-apis Git submodule 2023-04-25 00:41:18 +02:00
Jannis R
1e3cbc09a1
tools/endpoint-hci-version: mri -> util.parseArgs 2023-04-25 00:41:18 +02:00
Jannis R
f45842d7a3
tools/debug-cli: mri -> util.parseArgs 2023-04-25 00:41:18 +02:00