summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command
AgeCommit message (Collapse)AuthorLines
2022-07-11database: fix missing word in workflow exampleDaniel Friesel-1/+1
2022-07-10maintenance: traewelling and webhooks TODO has been resolved a while ago1.22.8Daniel Friesel-2/+0
2022-07-10maintenance: show details when about to delete a large amount of UIDsDaniel Friesel-0/+11
2022-07-09traewelling pull: skip API request for checked-in usersDaniel Friesel-1/+14
2022-07-09munin: add push sync statsDaniel Friesel-1/+5
2022-07-09munin: add traewelling pull sync statsDaniel Friesel-0/+2
2022-05-27limit number of concurrent traewelling requests to five per second1.22.4Daniel Friesel-4/+12
2022-02-20work: move DB manipulation to InTransit helperDaniel Friesel-107/+32
2022-02-19worker: run maintenance every 10 hoursDaniel Friesel-10/+14
2022-02-18maintenance: Log deletion notification to stdoutDaniel Friesel-4/+5
2022-02-17Traewelling: more consistent error messagesDaniel Friesel-4/+3
2022-02-16traewelling: log an error if pull sync failsDaniel Friesel-0/+6
2022-02-14Send inactivity notification prior to account deletionDaniel Friesel-2/+44
2022-01-08traewelling sync: push first, then pullDaniel Friesel-24/+24
2021-09-13Add account add / delete CLI for sites with web registration disabledDaniel Friesel-0/+125
2021-04-20munin: add pending_user_count1.19.12Daniel Friesel-0/+3
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)