summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Controller/Stationboard.pm
AgeCommit message (Collapse)AuthorLines
2020-09-06Move HAFAS helpers to a separate helper classDaniel Friesel-280/+3
2020-07-11move train details to a separate helper functionDaniel Friesel-174/+155
2020-06-28Partially refactor handle_requestDaniel Friesel-139/+160
2020-04-20switch to a proper dark theme using javascript and sass3.1.0Daniel Friesel-1/+0
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-22/+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-08show station location in map2.5.9Daniel Friesel-0/+1
2020-01-07handle UserAgent timeouts gracefullyDaniel Friesel-7/+20
2020-01-07show planned IC/ICE type in detail viewDaniel Friesel-1/+2
2020-01-06show planned IC/ICE subtype if available (experimental!)Daniel Friesel-0/+1
2020-01-05handle undefined train types2.5.4Daniel Friesel-1/+1
2020-01-04Use correct Trip ID request for arrival-only trains2.5.1Daniel Friesel-5/+8
2020-01-04cache transport.rest requestsDaniel Friesel-1/+12
2020-01-04show train route on map2.5.0Daniel Friesel-0/+44
2019-12-26fix wagon order for wing trains2.4.1Daniel Friesel-5/+20
2019-12-21set S-Bahn type for non-DB S-Bahn trains as wellDaniel Friesel-2/+8
2019-12-10only link to wagon order if the train has one2.3.16Daniel Friesel-0/+35
2019-11-26Prune HAFAS messages which are already known from IRIS2.3.15Daniel Friesel-0/+6
2019-11-25fix uninitialized value warning2.3.14Daniel Friesel-1/+1
2019-11-23Fix uninitialized value warningsDaniel Friesel-3/+8
2019-11-10single layout: strip non-numeric platform parts for now2.3.12Daniel Friesel-4/+13
2019-10-15prepare more detailed traininfo view when offline / on slow networkDaniel Friesel-4/+4
2019-10-04stationboard: request all traininfo.exe data with rt cache2.3.8Daniel Friesel-1/+1
This fixes outdated (missing) data for additional stops
2019-07-14get_route_timestamps: handle ambiguous train numbers2.3.5Daniel Friesel-7/+27
2019-06-19avoid train no mixup when adding missing stops to routes2.3.4Daniel Friesel-8/+8
2019-06-10add head nav and prominent geolocation link to app templateDaniel Friesel-18/+17
2019-06-09Correctly color ECE and TGV trains in detail view2.3.3Daniel Friesel-0/+2
2019-06-09detail view: Show stops left out by IRIS due to train number changes2.3.2Daniel Friesel-7/+67
2019-06-07use global cache objects, also cache wagon order2.3.1Daniel Friesel-44/+18
2019-06-03Fix order of HIM messagesDaniel Friesel-4/+4
2019-06-02Show HAFAS HIM messages in moreinfo2.3.0Daniel Friesel-1/+12
2019-05-31Handle "delay = cancel"Daniel Friesel-2/+8
2019-05-30Fix issues with invalid XML returned by HAFAS backendDaniel Friesel-0/+4
2019-05-30add realtime data to train routeDaniel Friesel-9/+103
2019-05-30Store decoded JSON objects in cache, not raw stringsDaniel Friesel-3/+5
2019-05-27Ooops.2.1.1Daniel Friesel-1/+1
2019-05-26Show timestamps for train routes2.1.0Daniel Friesel-3/+105
2019-05-14show 'via' in title if setDaniel Friesel-1/+1
2019-05-13Only show station name in page titleDaniel Friesel-2/+2
2019-05-09set a custom useragentDaniel Friesel-0/+8
2019-05-07app: Use AJAX, not HTTP Refresh for auto-reload2.0.2Daniel Friesel-2/+5
2019-05-05only compute train details when needed by frontendDaniel Friesel-24/+47
2019-05-05Move moreinfo to ajax-requested sub-templateDaniel Friesel-0/+40
This decreases the DOM size and allows for future speed improvements (the backend no longer needs to precalculate routes etc for all trains)
2019-04-29Switch to App/Mobile first, no longer rely on BrowserDetect pluginDaniel Friesel-0/+1
"App" with force_mobile=1 is now the default view even on desktop -- The infoscreen template's extra large font wasn't really nice. This breaks the setup of everyone who was relying on infoscreen being the default -- please append `mode=infoscreen` to your requests.
2019-04-06Fix uninitialized value warning1.17Daniel Friesel-1/+1
2019-03-24Transition from Mojolicious::Lite to full Mojolicious appDaniel Friesel-0/+835