summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorLines
2019-04-30add "active user count" munin commandDaniel Friesel-0/+12
2019-04-30Implement deletion of inactive accountsDaniel Friesel-3/+38
2019-04-30allow users to change their mail address0.19Daniel Friesel-6/+184
Closes #6
2019-04-30Move invalid input errors into common sub-templateDaniel Friesel-4/+5
2019-04-29maintenance: Also delete pending_passwords entriesDaniel Friesel-1/+3
2019-04-29Add password reset functionalityDaniel Friesel-0/+263
Closes #5
2019-04-29add database table/column comments0.18Daniel Friesel-0/+33
2019-04-28Handle inconsistent data when calculating monthly/yearly statsDaniel Friesel-7/+31
Closes #11
2019-04-27History: Only show months and years with logged journeysDaniel Friesel-0/+41
2019-04-26work: Update route and messagesDaniel Friesel-2/+20
2019-04-26Invalidate stats cache after adding a new journeyDaniel Friesel-0/+1
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