Commit graph

1549 commits

Author SHA1 Message Date
f384cfc0fe
feat: display total travel distance in map view
All checks were successful
Perl Tests / perl (5.20-buster) (push) Successful in 4m34s
Perl Tests / perl (latest) (push) Successful in 4m1s
Perl Tests / perl (threaded) (push) Successful in 3m30s
Added calculation and display of total distance traveled in the travel map history view. This enhancement provides users with a quick overview of the cumulative distance covered during their journeys. The addition is beneficial for users tracking their travel metrics for personal or record-keeping purposes.
2024-10-14 22:04:40 +02:00
95e5b593db
Merge remote-tracking branch 'github/main'
All checks were successful
Perl Tests / perl (5.20-buster) (push) Successful in 4m23s
Perl Tests / perl (latest) (push) Successful in 3m27s
Perl Tests / perl (threaded) (push) Successful in 3m19s
2024-10-14 21:25:12 +02:00
Birte Kristina Friesel
515754b9b7
passenger rights: show departures with delay ≥ 20 minutes as well
This is a quick workaround until I have finally reviewed #116
2024-09-20 19:28:33 +02:00
d8e9c38ced
fix(ci): add '-y' flag to apt install for non-interactive execution
All checks were successful
Perl Tests / perl (5.20-buster) (push) Successful in 4m0s
Perl Tests / perl (latest) (push) Successful in 3m34s
Perl Tests / perl (threaded) (push) Successful in 3m21s
Included the '-y' flag to the 'apt install libpq-dev' command in the GitHub Actions workflow to ensure it proceeds without manual intervention. This change prevents the workflow from stalling during the package installation step, facilitating smoother automated CI runs.
2024-09-18 20:30:58 +02:00
8926c0d16e
fix(ci): specify Debian version for Perl 5.20 tests
Some checks failed
Perl Tests / perl (threaded) (push) Waiting to run
Perl Tests / perl (5.20-buster) (push) Failing after 1m5s
Perl Tests / perl (latest) (push) Has been cancelled
Updated the Perl 5.20 testing matrix to use '5.20-buster' to avoid any inconsistencies or issues with different base images. This ensures a consistent environment for our CI tests, particularly important for dependencies that might be sensitive to the underlying OS version.
2024-09-18 20:28:24 +02:00
abdfc8ce9b
feat(workflow): add nodejs installation step in perl.yml
Some checks failed
Perl Tests / perl (threaded) (push) Waiting to run
Perl Tests / perl (5.20) (push) Failing after 17s
Perl Tests / perl (latest) (push) Has been cancelled
Integrated a step to install Node.js in the Perl CI workflow.
This ensures that Node.js is available during the workflow
execution, supporting any tasks that rely on it. This change
aims to enhance the workflow's capabilities and flexibility.
2024-09-18 20:24:36 +02:00
8403b138bc
chore(ci): remove redundant runs-on directive
Some checks failed
Perl Tests / perl (5.20) (push) Failing after 56s
Perl Tests / perl (latest) (push) Failing after 49s
Perl Tests / perl (threaded) (push) Failing after 18s
Removed the `runs-on: ubuntu-latest` directive from the GitHub Actions workflow for Perl, as the runner configuration is being standardized elsewhere in the workflow. This helps in reducing duplication and potential errors in CI configuration.
2024-09-18 19:22:41 +02:00
3529833404
fix: remove user-specific greeting in registration email
Some checks are pending
Perl Tests / perl (5.20) (push) Waiting to run
Perl Tests / perl (latest) (push) Waiting to run
Perl Tests / perl (threaded) (push) Waiting to run
The registration email no longer includes the user's name. This change reduces the potential for abuse of the service by spammers.
2024-09-18 19:20:15 +02:00
Birte Kristina Friesel
fbc21f45c8
API: Add departure and arrival platform
Closes #164
2024-09-18 19:01:31 +02:00
Birte Kristina Friesel
02555f5c2f
Work: Include backend in debug and error messages 2024-09-01 11:39:22 +02:00
Birte Kristina Friesel
0f44f8695d
integritycheck: add sub-commands 2024-09-01 11:39:04 +02:00
Birte Kristina Friesel
fcd78440a5
timeline: add maps 2024-08-30 18:36:15 +02:00
Birte Kristina Friesel
99a8956032
Use "Steig" rather than "Gleis" for bus platforms 2024-08-30 16:55:13 +02:00
Birte Kristina Friesel
4d159fe378
Landing page, departure list: Rename DB (IRIS-TTS) to IRIS as well 2024-08-29 22:04:46 +02:00
Birte Kristina Friesel
03fe2757f3
Replace ice_names.json with Travel::Status::DE::DBWagenreihung built-in list 2024-08-28 17:27:11 +02:00
Birte Kristina Friesel
5192d997de
get_travel_distance: intermediate: Handle destination renames in sanity check
Also related to #160
2024-08-27 19:06:19 +02:00
Birte Kristina Friesel
39fb04baf0
maintenance: do not re-generate stats 2024-08-27 18:59:26 +02:00
Birte Kristina Friesel
7b9382a913
Also fix #160 in /journey/ stop list 2024-08-26 20:49:04 +02:00
Birte Kristina Friesel
f8542fffcd
map, get_travel_distance: Prefer EVA ID over name for route matches
Station names frequently change, so the EVA ID is more robust

Closes #160
2024-08-26 20:44:46 +02:00
Birte Kristina Friesel
4b6049cd1a
integritycheck: list journeys affected by #159 2024-08-26 17:47:38 +02:00
Birte Kristina Friesel
a67e39d4ce
backend selection: Rename "DB (IRIS)" to "IRIS" for better HAFAS distinction 2024-08-26 17:40:14 +02:00
Birte Kristina Friesel
6f3710c5cb
IRIS: Re-add support for stations unknown to T::S::DE::IRIS::Stations
This fixes a regression introduced by 47f76da4f8

Closes #159

Journeys logged with travelynx v2.8.0 through 2.8.30 are affected by this bug
and will contain incorrect data even after applying this patch – it only
fixes data for new entries.

To Do: See if affected entries can be repaired with a DB migration
2024-08-25 16:36:02 +02:00
Birte Kristina Friesel
60ce72a954
journey: show ID next to backend info 2024-08-25 13:13:00 +02:00
Birte Kristina Friesel
d189f6f0d2
get_travel_distance: no need for debug output if there is no polyline 2024-08-25 10:47:39 +02:00
Birte Kristina Friesel
d26953d13e
fix /cancelled.json
Closes #155
2024-08-25 10:34:38 +02:00
Birte Kristina Friesel
6cbc8c554f
select_backend: Fix typo 2024-08-25 09:56:34 +02:00
Birte Kristina Friesel
9fdae85904
_checked_in: HAFAS: pass train type and number to bahn.expert, if available
Patch by @networkException, thanks!

Closes #158
2024-08-24 09:33:52 +02:00
Birte Kristina Friesel
8184a17a20
Release assets 2024-08-24 08:52:29 +02:00
Birte Kristina Friesel
96a69f2724
rebuild assets 2024-08-24 08:52:16 +02:00
Birte Kristina Friesel
171cca5cf9
Product chips: add "Strb" for tram
Oh NASA/HAVAG, you so weird
2024-08-24 08:51:31 +02:00
Birte Kristina Friesel
a6026083b6
backend selection: shorten intro; explain more details below
Closes #156
2024-08-24 08:00:06 +02:00
Birte Kristina Friesel
c142d4fae4
backend suggestions: handle holes in GeoJSON polygons 2024-08-24 07:59:19 +02:00
Birte Kristina Friesel
087536862b
refactor backend details into sub-template 2024-08-24 07:42:20 +02:00
Birte Kristina Friesel
520e645600
Suggest backends based on coverage and latest checkout coordinates
References #156
2024-08-23 22:44:02 +02:00
Birte Kristina Friesel
1a185897e2
backend selection: add coverage regions and links to coverage map 2024-08-21 19:39:30 +02:00
Birte Kristina Friesel
4c7b3117cd
departures: always allow backend switch; prefer name rather than ID 2024-08-21 19:31:47 +02:00
Birte Kristina Friesel
e01b8c3c74
update cpanfile.snapshot 2024-08-21 19:15:20 +02:00
Birte Kristina Friesel
c481300106
backend selection: Hide Resrobot and TPG
These backends do not provide trip/journey details, making them useless for
travelynx
2024-08-17 23:10:07 +02:00
Birte Kristina Friesel
298b099097
get_travel_distance: do not overwrite {to,from}_eva with undef 2024-08-17 21:29:51 +02:00
Birte Kristina Friesel
cbc1ac791c
DBDB: put successful carriage formation requests into long-term cache 2024-08-17 08:55:01 +02:00
Birte Kristina Friesel
60a03632f7
update cpanfile.snapshot 2024-08-16 18:43:20 +02:00
Birte Kristina Friesel
73030d2ae4
improve hafas checkin error message for route issues 2024-08-16 18:35:40 +02:00
Birte Kristina Friesel
917f8560a3
.. oooops 2024-08-16 16:56:58 +02:00
Birte Kristina Friesel
f0b70c4dab
work: guard HAFAS updates via eval as well 2024-08-16 16:52:14 +02:00
Birte Kristina Friesel
170aa150b1
truncate journey stats once more 2024-08-15 17:39:56 +02:00
Birte Kristina Friesel
9b7013907b
stats, map: deal with multiple EVA IDs mapping to the same station name 2024-08-15 17:38:13 +02:00
Birte Kristina Friesel
d156e3389e
HAFAS: add debug output for HAFAS requests and caching 2024-08-15 17:03:02 +02:00
Birte Kristina Friesel
119f2ea96a
IRIS checkout: do not overwrite HAFAS route with IRIS route
The IRIS route may differ from the HAFAS route in case of diversions,
causing travelynx to lose real-time data, coordinates, and polyline when
the follow-up add_route_timestamps call is not made.
2024-08-14 22:18:21 +02:00
Birte Kristina Friesel
772b4e3b23
journey: show beeline if route is unavailable 2024-08-14 22:03:48 +02:00
Birte Kristina Friesel
655f69c2e9
get_travel_distance: always return beeline distance 2024-08-14 22:00:15 +02:00