summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen.pm
AgeCommit message (Collapse)AuthorLines
2022-10-30Move EFA code to separate helper classDaniel Friesel-5/+5
2022-10-28Use T-S-DE-HAFAS rather than transport.rest for map4.12.0Daniel Friesel-3/+0
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-06-14correctly initialize ice_type_map hash4.9.5Daniel Friesel-1/+1
This ensures proper operation when the zugbildungsplan is empty, e.g. because the underlying source file has become invalid. Closes #14
2022-04-14stationboard: directly render jsonDaniel Friesel-1/+2
The render_to_string path is only needed for legacy callback requests. With this change, renderer->compression(0) is no longer required for non-callback json requests to work.
2022-04-11Disable Mojolicious compression4.9.4Daniel Friesel-0/+4
Mojoliciuos 9.23 changes compression from default-off to default-on. However, compression breaks JSON endpoints for some clients. So we explicitly disable it now. Closes #12
2022-01-25refactor json_route_diff into Stationboard controllerDaniel Friesel-67/+2
2021-10-28remove geotrain feature (i.e., search trains, not stations, in the vicinity)Daniel Friesel-1/+0
it was a nice little experiment, but ultimately not fit for permanent use.
2021-08-31Increase default lookahead to three hours; respect $DBFAKEDISPLAY_LOOKAHEADDaniel Friesel-0/+1
2021-07-18note that EFA occupancy is estimation-based4.3.0Daniel Friesel-3/+3
2021-06-19fix route for train details (/z/:train/*station)Daniel Friesel-1/+1
2021-04-06Remove support for RIS/HAFAS backendDaniel Friesel-20/+0
2021-03-30allow hafas-rest-api endpoint to be configuredDaniel Friesel-0/+3
This allows selfhosted installations to be used
2021-03-29add train search (beta, not linked yet)3.11.1Daniel Friesel-1/+5
2021-03-27request EFA occupancy data (works for some VRR trains)Daniel Friesel-0/+22
2021-03-21add preliminary support for station-independent train detailsDaniel Friesel-3/+4
2021-01-21Switch to AGPL v3 for DBF program codeDaniel Friesel-1/+3
2021-01-13remove bundled zugbildungsplan, use daily updates from dbdb instead3.10.1Daniel Friesel-12/+18
2021-01-10Adjust for train_type changes from DBWagenreihungDaniel Friesel-7/+4
2021-01-09further simplify wagon image naming schemeDaniel Friesel-5/+2
2021-01-09simplify wagon image naming schemaDaniel Friesel-27/+11
2021-01-04improve "utilization unknown" symbolDaniel Friesel-1/+1
2021-01-04move handle_no_results from helpers to Stationboard controllerDaniel Friesel-108/+0
2020-12-26wagon images: Add ICE T; distinguish between ICE 3 BR 403 series 1 / 2Daniel Friesel-4/+14
2020-12-26add IC2 wagon imagesDaniel Friesel-0/+6
2020-12-25add more wagon imagesDaniel Friesel-0/+14
2020-12-25add wagon images for IC and ICE 1/2/4Daniel Friesel-0/+34
IC2, ICE 3 and ICE T will follow soon.
2020-12-21keep detailed mode when following links; show train attributes in detailed mode3.8.1Daniel Friesel-3/+4
2020-12-20show zugbildung (if available); show scheduled wagon order for nightjets too3.8.0Daniel Friesel-4/+6
2020-12-18use generic path for static wagon orderDaniel Friesel-1/+1
2020-12-17set version via configDaniel Friesel-22/+21
2020-12-14show expected wagon order whan real-time data is not availableDaniel Friesel-2/+11
work in progress.
2020-12-05train details: show expected utilization (via marudor.de)Daniel Friesel-0/+45
2020-11-28add machine-readable copyright and licensing informationDaniel Friesel-3/+4
2020-10-25return 404 for train not found, 300 for multiple station choiceDaniel Friesel-2/+4
2020-09-21add permalink to train detailsDaniel Friesel-0/+1
2020-09-16update copyright3.1.7Daniel Friesel-1/+1
2020-09-16all requests but IRIS are async nowDaniel Friesel-5/+6
2020-09-07working train intersection demo \o/Daniel Friesel-0/+3
2020-09-06include instance URL in UA3.1.4Daniel Friesel-0/+2
2020-09-06add wagonorder helperDaniel Friesel-0/+15
2020-09-06Move HAFAS helpers to a separate helper classDaniel Friesel-0/+14
2020-06-28Partially refactor handle_requestDaniel Friesel-2/+3
2020-06-28add experimental (and unreferenced) train intersection calculationDaniel Friesel-0/+1
2020-05-24animate train position in map3.2.0Daniel Friesel-0/+1
2020-04-20switch to a proper dark theme using javascript and sass3.1.0Daniel Friesel-0/+18
The dark=1 option is still supported, but no longer visible in the UI.
2020-01-30Remove session / "save defaults" support due to caching issues3.0.0Daniel Friesel-1/+0
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-07show planned IC/ICE type in detail viewDaniel Friesel-2/+2
2020-01-06show planned IC/ICE subtype if available (experimental!)Daniel Friesel-0/+16
2020-01-04show train route on map2.5.0Daniel Friesel-0/+2
2019-11-10single layout: strip non-numeric platform parts for now2.3.12Daniel Friesel-0/+20