summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorLines
2023-02-04departure board: add regional / local transit switcher; move autostop to bottomDaniel Friesel-0/+27
2023-02-03hafas: if there is just one candidate: redirect to itDaniel Friesel-0/+6
2023-02-02stopfinder: handle ambiguous input in hafas requestsDaniel Friesel-7/+45
2023-01-29Stationboard: is_partially_cancelled does not refer to current stationDaniel Friesel-9/+8
2023-01-29add hafas (bus, ubahn, tram) supportDaniel Friesel-111/+304
2023-01-22get_results_p: remove superfluous cache_str variableDaniel Friesel-5/+0
2023-01-14train details: show expected arrival time at first stop, if available4.14.10Daniel Friesel-4/+13
2023-01-09readd ze zycles4.14.9Daniel Friesel-7/+27
2023-01-09Re-add train attributes4.14.7Daniel Friesel-18/+1
2022-12-12Stationboard: directly pass unknown EVA IDs to backendDaniel Friesel-0/+6
2022-12-11handle "Betriebsstelle nicht bekannt" in routes4.14.4Daniel Friesel-1/+11
2022-11-20indicate entry/exit only stops in train detailsDaniel Friesel-0/+2
2022-11-05remove hafas/get_xml_p helper (not required for mgate.exe API)Daniel Friesel-138/+0
2022-10-31train details: show operator and additional HIM messagesDaniel Friesel-3/+21
2022-10-30utilization_icon: handle unknown first/second class utilizationDaniel Friesel-1/+3
2022-10-30Move EFA code to separate helper classDaniel Friesel-13/+13
2022-10-29Use HAFAS utilization directlyDaniel Friesel-80/+10
2022-10-29use T-S-DE-HAFAS for train detailsDaniel Friesel-221/+139
2022-10-28Use T-S-DE-HAFAS rather than transport.rest for map4.12.0Daniel Friesel-522/+90
Squashed commit of the following: commit ebba74fa1f732c12a4323a7b58df56e02bcb7953 Author: Daniel Friesel <derf@finalrewind.org> Date: Fri Oct 28 22:50:52 2022 +0200 update cpanfile.snapshot commit a6248cca63a96cb6a94723d017e58c7064b5fa73 Author: Daniel Friesel <derf@finalrewind.org> Date: Fri Oct 28 22:30:38 2022 +0200 cpanfile: requires T-S-DE-HAFAS commit c4b8357736976f54b2c32343210dd3612a7d60fe Author: Daniel Friesel <derf@finalrewind.org> Date: Fri Oct 28 22:28:41 2022 +0200 map: handle cancelled arrivals / stops commit 70bbd2bd1270ca10cb2f72aad333d265d0936a18 Author: Daniel Friesel <derf@finalrewind.org> Date: Thu Oct 27 23:01:24 2022 +0200 transport.rest is no longer in use commit d43e985785759b3eecfd0f6912e6e0266de24ba4 Author: Daniel Friesel <derf@finalrewind.org> Date: Thu Oct 27 22:59:28 2022 +0200 about: map is now served via T-S-DE-HAFAS commit 382262e29f00b8b0425366fa847d4d07c59ce0a1 Author: Daniel Friesel <derf@finalrewind.org> Date: Wed Oct 26 22:44:36 2022 +0200 map: update T-S-DE-HAFAS API commit 7e5f1e5c7d1ffaa5bdbbbf61124983e6c6e7fdd8 Author: Daniel Friesel <derf@finalrewind.org> Date: Tue Oct 25 21:19:16 2022 +0200 Use Travel::Status::DE::HAFAS 4.00 (unreleased) instead of transport.rest commit 706179018143d0cad4c1d5c05f110ff084dd5bc7 Author: Daniel Friesel <derf@finalrewind.org> Date: Sun Oct 16 22:44:22 2022 +0200 remove unused and unmaintained train intersection code
2022-10-08messages: add icon for Großstörung (== Störung)Daniel Friesel-1/+1
2022-09-11train details: add an icon for construction work4.11.2Daniel Friesel-2/+8
2022-08-31train details: replace HAFAS 'Information'/'Störung' messages with iconsDaniel Friesel-10/+34
2022-08-21train utilization API: marudor.de -> bahn.expert4.10.4Daniel Friesel-1/+1
2022-07-26shorten 'show_realtime=1' to 'rt=1'Daniel Friesel-9/+10
2022-06-14correctly initialize ice_type_map hash4.9.5Daniel Friesel-1/+1
This ensures proper operation when the zugbildungsplan is empty, e.g. because the underlying source file has become invalid. Closes #14
2022-04-14stationboard: directly render jsonDaniel Friesel-32/+25
The render_to_string path is only needed for legacy callback requests. With this change, renderer->compression(0) is no longer required for non-callback json requests to work.
2022-04-11Disable Mojolicious compression4.9.4Daniel Friesel-0/+4
Mojoliciuos 9.23 changes compression from default-off to default-on. However, compression breaks JSON endpoints for some clients. So we explicitly disable it now. Closes #12
2022-03-30HAFAS: more generic fix for invalid XML4.9.3Daniel Friesel-1/+1
2022-03-20fix marudor.de auslastung (IRIS uses iso-8859-1 in an "utf-8" document)4.9.2Daniel Friesel-2/+4
2022-02-13urlescape station names before passing them to marudor.de4.9.1Daniel Friesel-0/+4
2022-01-30Use async IRIS (new_p)async-irisDaniel Friesel-156/+169
2022-01-30json_route_diff: add missing $self argumentDaniel Friesel-1/+1
2022-01-25refactor json_route_diff into Stationboard controllerDaniel Friesel-77/+73
2022-01-25JSON interface: add (not-yet-final) replacement train dataDaniel Friesel-42/+51
2021-12-12Allow IRIS base URL to be overridden via DBFAKEDISPLAY_IRIS_BASE variable4.8.1Daniel Friesel-0/+1
2021-12-12Use EVA ID for IRIS requestsDaniel Friesel-1/+1
They change less frequently than DS100 codes Closes #11
2021-11-30perltidyDaniel Friesel-14/+14
2021-11-30disable cycle display (lacking Open Data)Daniel Friesel-1/+2
2021-11-28marudor: do not request auslastung if there's not next_stationDaniel Friesel-0/+5
2021-10-30HAFAS: Hide unhelpful messagesDaniel Friesel-0/+10
2021-10-28remove geotrain feature (i.e., search trains, not stations, in the vicinity)Daniel Friesel-11/+0
it was a nice little experiment, but ultimately not fit for permanent use.
2021-10-23Switch from Geo::Distance to GIS::DistanceDaniel Friesel-34/+28
2021-08-31Add past optionDaniel Friesel-4/+17
2021-08-31Increase default lookahead to three hours; respect $DBFAKEDISPLAY_LOOKAHEADDaniel Friesel-8/+6
2021-08-15fix hidelowdelay when combined with show_realtime4.6.1Daniel Friesel-3/+0
2021-08-13correctly show wagon order error message4.5.3Daniel Friesel-1/+2
was broken by ca372be9811a183d11a00abd539442a9e2e53cae
2021-08-13marudor: cache negative replies4.5.2Daniel Friesel-2/+6
2021-08-13Wagonorder: send request to www.apps-bahn.de when availability is unknownDaniel Friesel-21/+46
www.apps-bahn.de/wr no longer serves "tryThese" suggestions. So, unless we know from lib.finalrewind.org/dbdb/has_wagonorder (via ist-wr.noncd.db.de) that the trais definitely has a wagon order, we send a wagon order request to www.apps-bahn.de/wr to determine whether it has one or not. We do cache the result though, so if a user clicks on the wagon order link, we don't need to request it again.
2021-07-26train details/route: indicate whether a stop is past or future4.5.0Daniel Friesel-11/+27
2021-07-18show mising realtime data in departure overview as wellDaniel Friesel-0/+12