summaryrefslogtreecommitdiff
path: root/lib/Travelynx
AgeCommit message (Collapse)AuthorLines
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/+178
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-26Add manual journey entryDaniel Friesel-21/+44
Closes #3
2019-04-25undo: Redirect to departure station when undoing a checkinDaniel Friesel-1/+6
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/+108
2019-04-24export: Add in_transit fieldDaniel Friesel-1/+5
2019-04-23Fix checkin/checkout of cancelled journeysDaniel Friesel-4/+2
2019-04-23Primitive auto-refresh of current journey statusDaniel Friesel-0/+14
Todo: Redirect user to destination station upon arrival
2019-04-23Automatic checkout \o/Daniel Friesel-0/+111
2019-04-23Use one row per journey instead of split checkin/checkout entriesDaniel Friesel-97/+278
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-22Use Mojo::Pg for all remaining Controller and Helper logicDaniel Friesel-30/+38
2019-04-22More Mojo::Pg migrationsDaniel Friesel-6/+2
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-19refactor set_status_query and get_token_queryDaniel Friesel-1/+1
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-1/+1
2019-04-17Add a dumpconfig command, mostly useful to debug Docker setupsDaniel Friesel-0/+24
2019-04-17Sendmail: Actually print info log messages as documentedDaniel Friesel-1/+1
2019-04-14Set version via configDaniel Friesel-1/+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-1/+1
2019-04-13"database" sub-command: Provide an exit statusDaniel Friesel-0/+5
2019-04-13Pass config to sendmail helperDaniel Friesel-3/+3
2019-04-13fix dbschema: add type for editedMarkus Witt-1/+1
2019-04-13Use travelynx.conf for configuration and secretsDaniel Friesel-3/+4
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-4/+70
2019-04-09Allow journey editing, keep track of edited journey attributes0.13Daniel Friesel-1/+15
Provides a workaround for #2
2019-04-08Work-in-progress journey editor. Not ready for deployment.Daniel Friesel-8/+59
2019-04-07Prepare forms for manual journey entry and editingDaniel Friesel-0/+58
2019-04-07Refactor history template, add yearly statsDaniel Friesel-14/+57
2019-04-07Cache journey statsDaniel Friesel-10/+34
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-6/+75
2019-04-05Fix export layoutDaniel Friesel-1/+1
2019-04-04Allow journey deletionDaniel Friesel-5/+28
See issue #3
2019-04-02Fix intentional typo in dev mode check (left over from testing)Daniel Friesel-1/+1