summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Helper
AgeCommit message (Collapse)AuthorLines
2024-04-03annotate train/line number changes along the routeBirte Kristina Friesel-0/+61
2024-04-03show local time if it differs from backend timeBirte Kristina Friesel-0/+27
2024-03-28do not hardcode HAFAS mot bitsBirte Kristina Friesel-1/+1
2024-03-27map: support non-DB HAFAS backends, including ÖBBBirte Kristina Friesel-1/+5
2024-03-26train details: support non-DB HAFAS backendsBirte Kristina Friesel-0/+1
2024-03-03Wagonorder: remove unused dbdb cache and station info functions4.20.8Birte Kristina Friesel-159/+0
2024-01-05journeyMatch: handle duplicate train numbers again4.20.0Birte Kristina Friesel-1/+15
2024-01-05train details: use HAFAS route as source of truth. Fixes handling of ring linesBirte Kristina Friesel-29/+31
2024-01-05/z/:train: Add support for date=DD.MM.[YYYY] parameterBirte Kristina Friesel-1/+1
2024-01-05HAFAS journeyMatch: handle day changes (request for train start date)Birte Kristina Friesel-0/+1
2023-12-28Helper/HAFAS: Remove now-unused get_json_p functionBirte Kristina Friesel-57/+0
2023-12-27HAFAS: Replace legacy trainsearch.exe endpoint with journeyMatchBirte Kristina Friesel-99/+15
2023-12-22Switch to T-S-DE-HAFAS 5.034.19.4Birte Kristina Friesel-18/+17
2023-11-20perltidyBirte Kristina Friesel-18/+16
2023-10-31i18n: pass language on to HAFAS backendBirte Kristina Friesel-0/+2
2023-07-03Update CopyrightBirte Kristina Friesel-3/+3
2023-02-10Wagonorder: update API URLDaniel Friesel-1/+1
2023-02-08HAFAS details: show platform (and platform change)Daniel Friesel-12/+14
2023-02-05hafas: show cancellation in detail page4.15.5Daniel Friesel-10/+12
2023-01-29add hafas (bus, ubahn, tram) supportDaniel Friesel-3/+17
2022-12-11handle "Betriebsstelle nicht bekannt" in routes4.14.4Daniel Friesel-1/+3
2022-11-05remove hafas/get_xml_p helper (not required for mgate.exe API)Daniel Friesel-138/+0
2022-10-30Move EFA code to separate helper classDaniel Friesel-7/+7
2022-10-29Use HAFAS utilization directlyDaniel Friesel-54/+1
2022-10-29use T-S-DE-HAFAS for train detailsDaniel Friesel-86/+45
2022-10-28Use T-S-DE-HAFAS rather than transport.rest for map4.12.0Daniel Friesel-50/+16
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-08-21train utilization API: marudor.de -> bahn.expert4.10.4Daniel Friesel-1/+1
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
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-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 cancelled stops in HAFAS-only train details viewDaniel Friesel-0/+3
2021-07-17train details: annotate possibly bogus (schedule-only) timesDaniel Friesel-0/+11
2021-07-12Handle another case of funky HAFAS HTML ("foo <> bar")4.2.2Daniel Friesel-0/+8
2021-07-10_eva: switch to new occupancy-by-eva endpointDaniel Friesel-1/+2
2021-06-05HAFAS: work around yet another case of invalid XMLDaniel Friesel-2/+6
2021-04-24remove arbitrary HTML tags from HAFAS HIMMessage attribute content4.0.2Daniel Friesel-2/+11
2021-04-09HAFAS->get_polyline_p: Do not leak credentials in error messages4.0.1Daniel Friesel-5/+8
2021-04-06trainsearch: handle unknown train types4.0.0Daniel Friesel-0/+4
IRIS reports unknown train types as "-"; HAFAS wants the train type to be left out in this case
2021-04-06trainsearch_p: use correct hash key in error mesagesDaniel Friesel-3/+3
2021-03-30allow hafas-rest-api endpoint to be configuredDaniel Friesel-2/+2
This allows selfhosted installations to be used
2021-03-27occupancy: use {train} sub-dictDaniel Friesel-2/+3
2021-03-27request EFA occupancy data (works for some VRR trains)Daniel Friesel-0/+29
2021-03-24trainsearch: rename train_no to train_reqDaniel Friesel-2/+2
2021-03-21add preliminary support for station-independent train detailsDaniel Friesel-0/+2
2021-03-20HAFAS, Marudor: Handle empty responsesDaniel Friesel-0/+13