summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller
AgeCommit message (Collapse)AuthorLines
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-30Passengerrights: section headers; perltidyDaniel Friesel-1/+7
2022-07-30Api: section headers for helpers / controllers; perltidyDaniel Friesel-8/+12
2022-07-30Account: Move helpers to a separate sectionDaniel Friesel-189/+193
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-07-16services: add marudor.de/regionalDaniel Friesel-1/+1
2022-07-11optionally link to external departure boards where sensible (WiP)Daniel Friesel-0/+23
2022-04-02history map: allow filtering by train typeDaniel Friesel-0/+14
2022-04-02history map: add filter by dateDaniel Friesel-1/+28
2022-03-07limit password length to 10000 charactersDaniel Friesel-1/+1
that should be sufficient…
2022-02-20fix ajax refresh of public status card (trim .html suffix)1.22.1Daniel Friesel-13/+18
2022-02-20Move webhook database queries to Users modelDaniel Friesel-3/+6
2022-02-16link traewelling profile from travelynx profile; show traewelling statusDaniel Friesel-3/+4
2022-02-16Traewelling::get: Use named argsDaniel Friesel-3/+3
2022-01-19Controller/Account: refactor mail notifications into separate functionsDaniel Friesel-127/+174
2021-10-30Account: do not disclose denylist filename on open errorDaniel Friesel-9/+13
2021-08-20allow registration to be denied for certain IPs, e.g. known spammersDaniel Friesel-0/+16
(yes, there are actually spambots flooding people with unsolicited registration e-mails)
2021-06-14Add explanation to name change pageDaniel Friesel-4/+17
2021-06-13move user name validation to Users modelDaniel Friesel-29/+8
2021-06-13Model/Users: Remove superfluous "check_if_" prefix from check functionsDaniel Friesel-3/+3
2021-06-12allow users to change their nameDaniel Friesel-0/+87
2021-04-20attempt to prevent registration spam1.19.11Daniel Friesel-0/+14
2021-01-29Switch to AGPL3+Daniel Friesel-6/+6
2020-11-28move statistics cache to a separate model classDaniel Friesel-3/+9
2020-11-27Add a bunch of licensing dataDaniel Friesel-0/+18
2020-10-11move in_transit queries to an InTransit model classDaniel Friesel-5/+12
2020-10-04add toot and tweet settings to traewelling checkinDaniel Friesel-1/+9
2020-09-30Allow linking a Träwelling account, auto-sync Träwelling→travelynxDaniel Friesel-15/+139
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-08passengerrights: fix a typo1.17.2Daniel Friesel-1/+1
2020-09-05Fix checkin via API. Broken by 717cc18a403d6705c64a9a6fd43578c1efbb159f1.17.1Daniel Friesel-1/+5
Closes #44
2020-09-04profile: limit history to four weeks by defaultDaniel Friesel-2/+41