summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Helper
AgeCommit message (Collapse)AuthorLines
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
2021-02-06HAFAS: Remove all illegal linebreaks from attributes, not just the first3.10.7Daniel Friesel-2/+5
2021-02-05HAFAS: Handle <br> tags in HTML attributes3.10.6Daniel Friesel-0/+4
2021-02-04fall back to apps-bahn if ist-wr does not know about a train3.10.5Daniel Friesel-4/+58
2021-02-02Switch to a more performant wagon order backend3.10.4Daniel Friesel-1/+2
2021-01-21Switch to AGPL v3 for DBF program codeDaniel Friesel-3/+3
2021-01-12update ice type map; use SVG cycle linksDaniel Friesel-1/+1
2021-01-11Wagonorder: refactor dbdb requestsDaniel Friesel-40/+12
2021-01-11train details: show cycle (if available)Daniel Friesel-0/+42
2021-01-05Handle invalid HAFAS XML containing "Wagen \d+ & \d+"Daniel Friesel-0/+1
2020-12-07marudor.de: switch to v2 APIDaniel Friesel-2/+2
2020-12-06get_polyline_p: Handle HTTP errors3.5.1Daniel Friesel-0/+10
2020-12-05actually add Marudor.pm. Oops.3.5.0Daniel Friesel-0/+120
2020-12-05train details: show expected utilization (via marudor.de)Daniel Friesel-0/+5
2020-11-28add machine-readable copyright and licensing informationDaniel Friesel-0/+6
2020-10-25Introduce HAFAS XML fix from travelynx3.4.7Daniel Friesel-2/+5
2020-10-25ensure $@ is not clobbered before using itDaniel Friesel-1/+1
2020-10-25oops #2Daniel Friesel-1/+1
2020-10-25Oh HAFAS, you so funny3.4.5Daniel Friesel-1/+7
2020-10-11switch to transport.rest v5Daniel Friesel-2/+3
2020-10-10Do not break departure refresh when detail view is open3.4.1Daniel Friesel-1/+3
2020-09-27HAFAS->get_xml_p: Add a missing rejection handler3.3.5Daniel Friesel-1/+5