summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorLines
2020-10-10Do not break departure refresh when detail view is open3.4.1Daniel Friesel-1/+3
2020-10-08wip: close train details via back button instead of background clickDaniel Friesel-0/+1
2020-09-27show train class based on IRIS data3.3.6Daniel Friesel-20/+20
2020-09-27HAFAS->get_xml_p: Add a missing rejection handler3.3.5Daniel Friesel-1/+5
2020-09-23prominently show zuginfo.nrw links in train details3.3.4Daniel Friesel-0/+10
2020-09-22train details: proper error message3.3.2Daniel Friesel-6/+14
2020-09-21make train details work up to 20 minutes into the past3.3.1Daniel Friesel-0/+10
2020-09-21add permalink to train detailsDaniel Friesel-2/+95
2020-09-20train details: fix missing promise when result has no wr_link3.3.0Daniel Friesel-0/+3
2020-09-20defer route detail rendering until all requests have completedDaniel Friesel-4/+22
2020-09-20show direction of travel if availableDaniel Friesel-0/+88
2020-09-19train details: insert linebreaks for overlong headingsDaniel Friesel-1/+4
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-16update copyright3.1.7Daniel Friesel-4/+4
2020-09-16all requests but IRIS are async nowDaniel Friesel-86/+130
2020-09-15use non-blocking requests for train detailsDaniel Friesel-283/+237
2020-09-10do not propagate promises where they don't belongDaniel Friesel-0/+12
2020-09-10handle /map requests asynchronouslyDaniel Friesel-54/+160
2020-09-08always calculate tripid via trainsearch.exeDaniel Friesel-70/+4
2020-09-08move tripid generation to trainsearch helperDaniel Friesel-23/+16
2020-09-07tripID caching is quite mysticalDaniel Friesel-1/+1
2020-09-07working train intersection demo \o/Daniel Friesel-25/+155
2020-09-06Move HAFAS polyline request to HAFAS helperDaniel Friesel-61/+60
2020-09-06include instance URL in UA3.1.4Daniel Friesel-2/+6
2020-09-06add wagonorder helperDaniel Friesel-51/+96
2020-09-06Move HAFAS helpers to a separate helper classDaniel Friesel-280/+310
2020-07-11move train details to a separate helper functionDaniel Friesel-174/+155
2020-06-28Partially refactor handle_requestDaniel Friesel-141/+163
2020-06-28add experimental (and unreferenced) train intersection calculationDaniel Friesel-35/+393
2020-06-12use debug log for debug outputDaniel Friesel-0/+6
2020-05-24Map: Fix position calculation between first and second station3.2.1Daniel Friesel-1/+1
derp!
2020-05-24animate train position in map3.2.0Daniel Friesel-147/+329
2020-05-23map: move train position calculation to a helper functionDaniel Friesel-92/+91
2020-04-20switch to a proper dark theme using javascript and sass3.1.0Daniel Friesel-1/+18
The dark=1 option is still supported, but no longer visible in the UI.
2020-04-16Fix occasionally incorrect TripIDs (and thus incorrect polylines)3.0.3Daniel Friesel-21/+30
Until now, tripIDs were cached based on station and departure timestamp. These are identical for any two trains departing at the same time at the same station, leading to one of those getting being assigned a wrong tripID. From now on, only the JSON reported by transport.rest is cached -- tripIDs are always recomputed based on it.
2020-01-30Remove session / "save defaults" support due to caching issues3.0.0Daniel Friesel-23/+1
nginx cache keys depend on session data, so misbehaving clients (ignoring the refresh dely and continuously requesting a new departure board) with renewed session data could not be cached, impacting DBF performance
2020-01-26JSON API: avoid warning on non-integer api version requestsDaniel Friesel-2/+2
2020-01-22map: show operator nameDaniel Friesel-0/+1
2020-01-22fetch wagon order asynchronously2.5.12Daniel Friesel-21/+95
2020-01-10Remove exposed HAFAS/RIS backend supportDaniel Friesel-4/+3
2020-01-09map: invert from/to colour2.5.10Daniel Friesel-2/+2
2020-01-08show station location in map2.5.9Daniel Friesel-0/+27
2020-01-07handle UserAgent timeouts gracefullyDaniel Friesel-7/+20
2020-01-07show planned IC/ICE type in detail viewDaniel Friesel-3/+4
2020-01-06show planned IC/ICE subtype if available (experimental!)Daniel Friesel-0/+17
2020-01-05map: show current / next stop name, arrival/departure time and platform2.5.7Daniel Friesel-14/+36
2020-01-05Map: Show estimated train position2.5.6Daniel Friesel-15/+161
2020-01-05Use RT cache for polylines, as they contain realtime data2.5.5Daniel Friesel-1/+1
2020-01-05handle undefined train types2.5.4Daniel Friesel-1/+1