summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorLines
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
2021-07-18Remove legacy $result->can checks (leftover from T-S-DE-DB support)Daniel Friesel-8/+2
2021-07-18Show cancelled stops in HAFAS-only train details viewDaniel Friesel-0/+3
2021-07-18departure view: use IRIS to decide whether realtime is missingDaniel Friesel-1/+12
2021-07-18note that EFA occupancy is estimation-based4.3.0Daniel Friesel-3/+3
2021-07-18show warning if realtime data is missingDaniel Friesel-0/+6
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-07-04stationboard: extend external DS100 prefix listDaniel Friesel-1/+2
2021-07-04map: decrease stop circle size when stops are close together4.2.1Daniel Friesel-9/+25
2021-07-02only show ambiguous page if the input -really- was ambiguousDaniel Friesel-2/+6
2021-07-02Note that dbf is limited to DB lines when encountering no resultsDaniel Friesel-8/+24
2021-06-19fix route for train details (/z/:train/*station)Daniel Friesel-1/+1
2021-06-05HAFAS: work around yet another case of invalid XMLDaniel Friesel-2/+6
2021-05-31fix trailing ":" after cancellation messages without reason4.1.0Daniel Friesel-2/+8
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-04-06Remove support for RIS/HAFAS backendDaniel Friesel-242/+88
2021-04-03map: improve position estimation for delayed trains3.12.1Daniel Friesel-10/+32
HAFAS does not provide delays of past stops, so we estimate it ourselves (assuming that the delay at the previous stop is identical to the delay at the next stop)
2021-03-30allow hafas-rest-api endpoint to be configuredDaniel Friesel-2/+5
This allows selfhosted installations to be used
2021-03-29add train search (beta, not linked yet)3.11.1Daniel Friesel-5/+19
2021-03-27occupancy: use {train} sub-dictDaniel Friesel-2/+3
2021-03-27Fix input / station mapping in stationboardDaniel Friesel-0/+4
2021-03-27request EFA occupancy data (works for some VRR trains)Daniel Friesel-2/+76
2021-03-24trainsearch: rename train_no to train_reqDaniel Friesel-3/+3
2021-03-24train lookup: pass train type to hafas trainsearch.exeDaniel Friesel-1/+2
2021-03-21landing page: accept both train numbers and station namesDaniel Friesel-5/+11
2021-03-21add preliminary support for station-independent train detailsDaniel Friesel-4/+126
2021-03-21Remove no longer used JSON API versions 1 and 2Daniel Friesel-87/+8
2021-03-20train_details: do not pass unused data to viewDaniel Friesel-18/+4
2021-03-20HAFAS, Marudor: Handle empty responsesDaniel Friesel-0/+13
2021-03-14map: handle arrival-only and departure-only stops3.10.9Daniel Friesel-7/+10
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-31wagonorder: show plan data if realtime data request failed3.10.3Daniel Friesel-26/+62
2021-01-21Switch to AGPL v3 for DBF program codeDaniel Friesel-8/+10
2021-01-13remove bundled zugbildungsplan, use daily updates from dbdb instead3.10.1Daniel Friesel-12/+18
2021-01-12update ice type map; use SVG cycle linksDaniel Friesel-5/+18