summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorLines
2019-04-26add_journey: Fix incorrect return in case of unmatched stationDaniel Friesel-2/+2
2019-04-26Add manual journey entryDaniel Friesel-89/+108
Closes #3
2019-04-25undo: Redirect to departure station when undoing a checkinDaniel Friesel-1/+6
2019-04-24show recent delay/qos messages in checked_in view0.16Daniel Friesel-0/+10
2019-04-24$render(status => ...) is a special variable. derp.Daniel Friesel-2/+2
2019-04-24maintenance, munin: Use journeys, not user_actions0.15Daniel Friesel-8/+9
2019-04-24Bump API to v1Daniel Friesel-1/+109
2019-04-24export: Add in_transit fieldDaniel Friesel-1/+5
2019-04-23Remove legacy action_type attributesDaniel Friesel-17/+2
2019-04-23Fix checkin/checkout of cancelled journeysDaniel Friesel-4/+2
2019-04-23Primitive auto-refresh of current journey statusDaniel Friesel-0/+15
Todo: Redirect user to destination station upon arrival
2019-04-23Automatic checkout \o/Daniel Friesel-10/+145
2019-04-23Use one row per journey instead of split checkin/checkout entriesDaniel Friesel-520/+656
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-94/+77
2019-04-22Use Mojo::Pg for migrationsDaniel Friesel-59/+62
2019-04-22Use Mojo::Pg for all remaining Controller and Helper logicDaniel Friesel-94/+65
2019-04-22Also use Mojo::Pg for user_status and user_travels queriesDaniel Friesel-154/+127
2019-04-22More Mojo::Pg migrationsDaniel Friesel-229/+143
2019-04-21database migrate: Use truncateDaniel Friesel-1/+1
2019-04-21Ignore stations without coordinates in distance calculationDaniel Friesel-6/+46
Reported by @marudor
2019-04-19refactor set_status_query and get_token_queryDaniel Friesel-30/+9
2019-04-18Add a registration testDaniel Friesel-2/+0
2019-04-17Refactor munin command to use Mojo::PgDaniel Friesel-19/+22
2019-04-17Refactor user_actions insert/update/delete statements with Mojo::PgDaniel Friesel-249/+231
2019-04-17Add a dumpconfig command, mostly useful to debug Docker setupsDaniel Friesel-0/+24
2019-04-17Initiate transition to Mojo::PgDaniel Friesel-57/+77
2019-04-17Sendmail: Actually print info log messages as documentedDaniel Friesel-1/+1
2019-04-14Set version via configDaniel Friesel-3/+1
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-13add explicit config toggle to disable sendmailDaniel Friesel-2/+3
2019-04-13"database" sub-command: Provide an exit statusDaniel Friesel-0/+5
2019-04-13Pass config to sendmail helperDaniel Friesel-4/+7
2019-04-13fix dbschema: add type for editedMarkus Witt-1/+1
2019-04-13Use travelynx.conf for configuration and secretsDaniel Friesel-37/+42
This avoids having to specify secrets in the environment, where they can leak easily.
2019-04-13maintenance: Fix stats table nameDaniel Friesel-1/+1
2019-04-13work-in-progress manual journey entry. incomplete and not enabled yet.Daniel Friesel-5/+157
2019-04-10Let us never talk of this againDaniel Friesel-1/+1
2019-04-09Allow journey editing, keep track of edited journey attributes0.13Daniel Friesel-9/+25
Provides a workaround for #2
2019-04-09time travel is prohibitedDaniel Friesel-4/+6
2019-04-08Work-in-progress journey editor. Not ready for deployment.Daniel Friesel-13/+184
2019-04-07Prepare forms for manual journey entry and editingDaniel Friesel-0/+60
2019-04-07Refactor history template, add yearly statsDaniel Friesel-15/+60
2019-04-07drop cached statistics on checkout and journey deletionDaniel Friesel-2/+34
2019-04-07Cache journey statsDaniel Friesel-10/+140
2019-04-07Add a note about updating travelynxDaniel Friesel-1/+9
2019-04-06detect development mode for travelynx_dev* databases0.11Daniel Friesel-1/+1
2019-04-06Add a database command for database setup and migrationsDaniel Friesel-0/+131
2019-04-06Add password change formDaniel Friesel-7/+86
2019-04-05checkout: Do not cardcode action typeDaniel Friesel-1/+1