summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command
AgeCommit message (Collapse)AuthorLines
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
2019-04-17Refactor munin command to use Mojo::PgDaniel Friesel-19/+22
2019-04-17Add a dumpconfig command, mostly useful to debug Docker setupsDaniel Friesel-0/+24
2019-04-14Do not print error when encountering an empty databaseDaniel Friesel-6/+16
2019-04-13database setup: merge setup and migration code pathsMarkus Witt-40/+58
2019-04-13"database" sub-command: Provide an exit statusDaniel Friesel-0/+5
2019-04-13fix dbschema: add type for editedMarkus Witt-1/+1
2019-04-13maintenance: Fix stats table nameDaniel Friesel-1/+1
2019-04-09Allow journey editing, keep track of edited journey attributes0.13Daniel Friesel-1/+15
Provides a workaround for #2
2019-04-07Cache journey statsDaniel Friesel-4/+25
2019-04-07Add a note about updating travelynxDaniel Friesel-1/+9
2019-04-06Add a database command for database setup and migrationsDaniel Friesel-0/+131
2019-03-31maintenance: delete accounts which requested deletionDaniel Friesel-0/+36
2019-03-25Move maintenance script to Mojolicious commandDaniel Friesel-0/+71
2019-03-25Migrate munin commandDaniel Friesel-1/+1
2019-03-22move munin-stats to a mojolicious commandDaniel Friesel-0/+52