summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command
AgeCommit message (Collapse)AuthorLines
2021-04-05munin: Do not crash on CET -> CEST DST transition1.19.10Daniel Friesel-15/+19
2021-04-05munin: fix date range calculationDaniel Friesel-7/+9
TODO: handle CET -> CEST transition (there's a day each year where 2am does not exist and DateTime does not like it)
2021-03-07Move incomplete checkin removal from "maintenance" to "work" taskDaniel Friesel-11/+11
2021-01-29Switch to AGPL3+Daniel Friesel-6/+6
2020-12-03regularly generate statistics in the background1.18.11Daniel Friesel-13/+17
2020-11-28move statistics cache to a separate model classDaniel Friesel-1/+2
2020-11-27Add a bunch of licensing dataDaniel Friesel-0/+18
2020-10-19work: Fix travelynx->Traewelling sync when several users are checked in1.18.5Daniel Friesel-2/+2
I made a derp
2020-10-11maintenance: delete webhooks and traewelling entries1.18.2Daniel Friesel-0/+2
2020-10-11move in_transit queries to an InTransit model classDaniel Friesel-4/+8
2020-10-06Stats: Fix handling of negative cumulative arrival/departure delays1.18.1Daniel Friesel-0/+14
2020-10-01ooopsieDaniel Friesel-1/+1
2020-10-01log error when trip_id is missingDaniel Friesel-2/+6
2020-10-01allow checking into traewellingDaniel Friesel-0/+20
2020-09-30Allow linking a Träwelling account, auto-sync Träwelling→travelynxDaniel Friesel-3/+68
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-08-06Move get_departures to a separate IRIS helperDaniel Friesel-2/+10
2020-04-16fix a typo1.15.13Daniel Friesel-1/+1
2020-04-16maintenance: backpropagate polylines to route entries using pre-1.9.4 formatDaniel Friesel-0/+14
2020-04-14use polyline when computing monthly/yearly distance travelled1.15.10Daniel Friesel-0/+15
Closes #40
2020-02-18auto-checkout for cancelled departure: guard against destination changes1.14.10Daniel Friesel-6/+8
2020-02-17handle departure cancellation after checkinDaniel Friesel-1/+38
2020-02-13avoid stale data when marking cancelled arrivals1.14.9Daniel Friesel-1/+18
2020-02-12Handle cancelled arrival at checkout when departure at checkin is not cancelledDaniel Friesel-1/+9
2020-02-10munin: Add polyline compression ratio1.14.8Daniel Friesel-1/+7
2020-02-06maintenance: consider station renames whan backpropagating polylines1.14.6Daniel Friesel-0/+29
2020-02-04maintenance: only fetch polylines from journeys which were not edited1.14.5Daniel Friesel-1/+2
2020-01-30retroactively add polylines to non-polyline journeys1.14.2Daniel Friesel-0/+44
2020-01-27munin: return number of stored polylinesDaniel Friesel-0/+2
2020-01-27Store journey polylines in DBDaniel Friesel-0/+56
Squashed commit of the following: commit d60c7d3c98d88a8f5b0e3ced6c11b56053e1e44b Author: Daniel Friesel <derf@finalrewind.org> Date: Mon Jan 27 20:22:46 2020 +0100 fix bugs related to users without past journeys commit 707fcc937ac7f6bc3dc29024273f5e74963f7f15 Author: Daniel Friesel <derf@finalrewind.org> Date: Mon Jan 27 20:19:14 2020 +0100 work around Cache::file turning floats into strings commit 55831121eb30bc30ed20134bbb48e4bee9772feb Author: Daniel Friesel <derf@finalrewind.org> Date: Mon Jan 27 19:43:29 2020 +0100 store journey polylines for later use commit 1971d511037ff2b8fbc9699cb98e4f8fd51261e5 Author: Daniel Friesel <derf@finalrewind.org> Date: Sat Jan 25 16:49:48 2020 +0100 set preliminary database schema for polyline storage. deduplication will follow at a later stage
2020-01-23work: Fix race condition1.13.6Daniel Friesel-2/+17
When a user changes their destination station or checks into a new train while work is updating data for their in_transit entry, values for no longer valid database entrie would be entered.
2019-12-23Use EVA IDs instead of travelynx-internal station IDs. Not 100% tested yet.Daniel Friesel-3/+135
2019-12-20maintenance: remove checkins which were entered more than 48 hours ago1.11.8Daniel Friesel-3/+11
2019-12-19munin: Add 'currently checked in' counter1.11.5Daniel Friesel-1/+3
2019-12-15Handle Berlin Ringbahn and other transfer-at-destination trainsDaniel Friesel-10/+15
Requires Travel::Status::DE::IRIS v1.38 (not released yet)
2019-10-04mark cancelled stops in checkin viewDaniel Friesel-2/+2
2019-08-31Fix wagon order and direction display1.8.9Daniel Friesel-0/+29
This was broken by a database migration introduced in commit f6d56d3134f6045726cb1d4ed8700382575bb686
2019-08-23Add proper journey comment supportDaniel Friesel-0/+75
2019-08-13Fix beeline distance calculation when start/stop has no geo-coordinates1.8.7Daniel Friesel-1/+17
2019-06-17prepare for wagon order supportDaniel Friesel-2/+2
2019-06-10increase checkout delay to work around IRIS information lag1.7.4Daniel Friesel-3/+9
2019-06-04checked in: Show QoS messages before departure and HIM messages at all timesDaniel Friesel-0/+30
2019-06-01disappearing trains are no longer critical with the latest change1.7.1Daniel Friesel-10/+4
2019-05-31show current/next stop while checked inDaniel Friesel-0/+2
2019-05-26Use JSON for messages and route storage, prepare for extended route dataDaniel Friesel-16/+131
2019-05-20show journey suggestions on departure board as well1.6.0Daniel Friesel-0/+11
2019-05-18Proactively recompute yearly stats to avoid long user wait timesDaniel Friesel-0/+11
2019-05-18Show arrival/departure platform in journey cardDaniel Friesel-0/+56
2019-05-05WiP webhook supportDaniel Friesel-0/+25
2019-05-03Add worker command for Docker setups (#9)Daniel Friesel-0/+36
2019-05-02work: Not finding a train at the destination is usually not an error1.1.0Daniel Friesel-8/+17