summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Helper
AgeCommit message (Collapse)AuthorLines
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
2020-09-20show direction of travel if availableDaniel Friesel-0/+39
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-16all requests but IRIS are async nowDaniel Friesel-32/+107
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