summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Helper/HAFAS.pm
AgeCommit message (Collapse)AuthorLines
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-1/+1
2022-10-29Use HAFAS utilization directlyDaniel Friesel-0/+1
2022-10-29use T-S-DE-HAFAS for train detailsDaniel Friesel-85/+44
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-03-30HAFAS: more generic fix for invalid XML4.9.3Daniel Friesel-1/+1
2021-10-30HAFAS: Hide unhelpful messagesDaniel Friesel-0/+10
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-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-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/+6
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-01-21Switch to AGPL v3 for DBF program codeDaniel Friesel-1/+1
2021-01-05Handle invalid HAFAS XML containing "Wagen \d+ & \d+"Daniel Friesel-0/+1
2020-12-06get_polyline_p: Handle HTTP errors3.5.1Daniel Friesel-0/+10
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/+3
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
2020-09-17Fix hafas->get_xml_p3.1.9Daniel Friesel-0/+2
That was stupid.
2020-09-16perform traininfo requests concurrently3.1.8Daniel Friesel-10/+14
2020-09-15use non-blocking requests for train detailsDaniel Friesel-194/+128
2020-09-10do not propagate promises where they don't belongDaniel Friesel-0/+12
2020-09-10handle /map requests asynchronouslyDaniel Friesel-0/+122
2020-09-08always calculate tripid via trainsearch.exeDaniel Friesel-67/+1
2020-09-08move tripid generation to trainsearch helperDaniel Friesel-0/+12
2020-09-07tripID caching is quite mysticalDaniel Friesel-1/+1
2020-09-07working train intersection demo \o/Daniel Friesel-22/+38
2020-09-06Move HAFAS polyline request to HAFAS helperDaniel Friesel-0/+57
2020-09-06include instance URL in UA3.1.4Daniel Friesel-1/+2
2020-09-06add wagonorder helperDaniel Friesel-3/+9
2020-09-06Move HAFAS helpers to a separate helper classDaniel Friesel-0/+293