summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command
AgeCommit message (Collapse)AuthorLines
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
2019-04-30use a separate table for registration tokensDaniel Friesel-1/+34
2019-04-30add "active user count" munin commandDaniel Friesel-0/+12
2019-04-30Implement deletion of inactive accountsDaniel Friesel-0/+19
2019-04-30allow users to change their mail address0.19Daniel Friesel-4/+30
Closes #6
2019-04-29maintenance: Also delete pending_passwords entriesDaniel Friesel-1/+3
2019-04-29Add password reset functionalityDaniel Friesel-0/+24
Closes #5
2019-04-29add database table/column comments0.18Daniel Friesel-0/+33
2019-04-28Handle inconsistent data when calculating monthly/yearly statsDaniel Friesel-0/+13
Closes #11
2019-04-26work: Update route and messagesDaniel Friesel-2/+20
2019-04-24maintenance, munin: Use journeys, not user_actions0.15Daniel Friesel-8/+9
2019-04-23Automatic checkout \o/Daniel Friesel-0/+111
2019-04-23Use one row per journey instead of split checkin/checkout entriesDaniel Friesel-1/+207
Whether a user is in transit or not is now determined by an entry in the in_transit table instead of a dangling checkin. All completed journeys are stored in the "journeys" table. This does most of the work needed for automatic checkout. However, note that the corresponding worker process is not implemented yet.
2019-04-22Finish transition from DBI to Mojo::PgDaniel Friesel-76/+77
2019-04-22Use Mojo::Pg for migrationsDaniel Friesel-59/+62
2019-04-21database migrate: Use truncateDaniel Friesel-1/+1
2019-04-21Ignore stations without coordinates in distance calculationDaniel Friesel-0/+14
Reported by @marudor
2019-04-18Add a registration testDaniel Friesel-2/+0