summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller/Traveling.pm
AgeCommit message (Collapse)AuthorLines
2022-12-26history: return 404 if no journeys have been logged for requested periodDaniel Friesel-0/+14
2022-12-26yearly/monthly history: return 404 for invalid datesDaniel Friesel-53/+45
2022-11-12show expected load of suggested connections, if availableDaniel Friesel-0/+5
2022-11-09Switch to internal HAFAS client for connection detailsDaniel Friesel-54/+31
2022-09-28get_connecting_trains: departure delay is relevant for connecting trainsDaniel Friesel-3/+4
2022-09-28get_connecting_trains_p: leave loops when doneDaniel Friesel-1/+3
2022-09-25connecting trains: HAFAS: Handle delay and pass it to frontendDaniel Friesel-0/+11
2022-09-24optionally show local transit connections as wellDaniel Friesel-117/+168
2022-09-24connections: show expected arrival at destinationDaniel Friesel-22/+111
2022-09-23departure board: add footerDaniel Friesel-2/+7
2022-09-23always show 'run' icon when an interchange is shortDaniel Friesel-1/+1
2022-09-07Controller/Traveling: perltidy1.23.12Daniel Friesel-6/+12
2022-09-05get_connecting_trains_p: remove trains with identical routes to current oneDaniel Friesel-1/+17
2022-09-05get_connecting_trains_p: use has_str_in_list helper more oftenDaniel Friesel-2/+2
2022-09-03get_connecting_trains_p: handle uninitialized arr_countdownDaniel Friesel-3/+5
2022-09-03get_connecting_trains_p: we're doing boolean arithmetic here1.23.11Daniel Friesel-1/+1
(fixes 'useless use of numeric lt in void context' warning)
2022-09-03get_connecting_trains: set lookahead to (expected arrival // now) + 40 minutes1.23.10Daniel Friesel-4/+7
2022-08-26get_connecting_trains_p: increase lookahead to 601.23.9Daniel Friesel-1/+1
2022-08-26show connections up to 40 minutes before arrival (rather than just 20)1.23.8Daniel Friesel-2/+2
2022-08-04... 'status' is a reserved renderer key. oops.Daniel Friesel-3/+3
2022-08-02Traveling: Rename log_action to travel_actionDaniel Friesel-1/+1
2022-08-01fetch connecting trains asynchronouslyDaniel Friesel-134/+243
2022-07-30Traveling: sort helpers <-> controllersDaniel Friesel-174/+178
2022-07-30move get_connecting_trains helper to Traveling controllerDaniel Friesel-0/+166
2022-07-27move get_connecting_trains call from _checkeed_in to controllerDaniel Friesel-1/+22
2022-07-26only show cancellation alternatives at original stationDaniel Friesel-1/+4
2022-07-26_checked_out: move get_connecting_trains call to controllerDaniel Friesel-1/+10
2022-07-26move get_connecting_trains out of _cancelled_departure templateDaniel Friesel-4/+20
2022-07-26departure board: move get_connecting_trains call to controllerDaniel Friesel-7/+18
this is in preparation for turning it into a promise
2022-07-26Use async IRIS API for /s/Daniel Friesel-31/+36
2022-04-02history map: allow filtering by train typeDaniel Friesel-0/+14
2022-04-02history map: add filter by dateDaniel Friesel-1/+28
2022-02-20fix ajax refresh of public status card (trim .html suffix)1.22.1Daniel Friesel-13/+18
2021-01-29Switch to AGPL3+Daniel Friesel-1/+1
2020-11-28move statistics cache to a separate model classDaniel Friesel-2/+7
2020-11-27Add a bunch of licensing dataDaniel Friesel-0/+3
2020-10-11move in_transit queries to an InTransit model classDaniel Friesel-1/+4
2020-09-30Allow linking a Träwelling account, auto-sync Träwelling→travelynxDaniel Friesel-10/+20
travelynx→Träwelling is still work-in-progress Squashed commit of the following: commit 97faa6e2e6c8d20fba30f2d0f6e78187ceeb72e6 Author: Daniel Friesel <derf@finalrewind.org> Date: Wed Sep 30 18:50:05 2020 +0200 improve traewelling log and tx handling commit 487d7dd728b9d45b731bdc7098cf3358ea2e206e Author: Daniel Friesel <derf@finalrewind.org> Date: Wed Sep 30 18:02:41 2020 +0200 add missing traewelling template commit 0148da2f48d9a52dcddc0ab81f83d8f8ac3062ab Author: Daniel Friesel <derf@finalrewind.org> Date: Wed Sep 30 18:02:35 2020 +0200 improve traewelling pull sync commit 4861a9750f9f2d7621043361d0af6b0a8869a0df Author: Daniel Friesel <derf@finalrewind.org> Date: Tue Sep 29 22:14:24 2020 +0200 wip checkin from traewelling commit f6aeb6f06998a2a7a80f63a7b1b688b1a26b66bd Author: Daniel Friesel <derf@finalrewind.org> Date: Tue Sep 29 18:37:53 2020 +0200 refactor traewelling integration. login and logout are less of a hack now. checkin and checkout are not supported at the moment.
2020-09-21add opengraph metadata output1.17.5Daniel Friesel-27/+51
2020-09-21add twitter card to public journey viewDaniel Friesel-0/+16
2020-09-04profile: limit history to four weeks by defaultDaniel Friesel-2/+32
2020-09-03add public profile page and public journey detailsDaniel Friesel-0/+88
2020-08-16Move most journey code to newly introduced Journey modelDaniel Friesel-33/+76
2020-08-06Move get_departures to a separate IRIS helperDaniel Friesel-1/+6
2020-07-27Move user model to a separate moduleDaniel Friesel-4/+4
2020-04-19Add CSV ExportDaniel Friesel-0/+49
2020-04-19commute stats: attempt to weed out non-work stations for auto-fillDaniel Friesel-0/+8
2020-04-19improve commute station heuristicDaniel Friesel-11/+16
Select top station on work days (Mo .. Fr) with arrival < 13:00 or departure >= 13:00.
2020-04-19Commute stats: count days, not journeysDaniel Friesel-22/+25
2020-04-19add commute stats. not linked from nav yet.Daniel Friesel-2/+96