summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
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-68/+64
Closes #3
2019-04-24show recent delay/qos messages in checked_in view0.16Daniel Friesel-0/+10
2019-04-24Bump API to v1Daniel Friesel-0/+1
2019-04-23Remove legacy action_type attributesDaniel Friesel-17/+2
2019-04-23Primitive auto-refresh of current journey statusDaniel Friesel-0/+1
Todo: Redirect user to destination station upon arrival
2019-04-23Automatic checkout \o/Daniel Friesel-10/+34
2019-04-23Use one row per journey instead of split checkin/checkout entriesDaniel Friesel-423/+378
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-18/+0
2019-04-22Use Mojo::Pg for all remaining Controller and Helper logicDaniel Friesel-64/+27
2019-04-22Also use Mojo::Pg for user_status and user_travels queriesDaniel Friesel-154/+127
2019-04-22More Mojo::Pg migrationsDaniel Friesel-223/+141
2019-04-21Ignore stations without coordinates in distance calculationDaniel Friesel-6/+32
Reported by @marudor
2019-04-19refactor set_status_query and get_token_queryDaniel Friesel-29/+8
2019-04-17Refactor user_actions insert/update/delete statements with Mojo::PgDaniel Friesel-248/+230
2019-04-17Initiate transition to Mojo::PgDaniel Friesel-57/+77
2019-04-14Set version via configDaniel Friesel-2/+0
2019-04-13add explicit config toggle to disable sendmailDaniel Friesel-1/+2
2019-04-13Pass config to sendmail helperDaniel Friesel-1/+4
2019-04-13Use travelynx.conf for configuration and secretsDaniel Friesel-34/+38
This avoids having to specify secrets in the environment, where they can leak easily.
2019-04-13work-in-progress manual journey entry. incomplete and not enabled yet.Daniel Friesel-1/+87
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-8/+10
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-5/+125
2019-04-07Prepare forms for manual journey entry and editingDaniel Friesel-0/+2
2019-04-07Refactor history template, add yearly statsDaniel Friesel-1/+3
2019-04-07drop cached statistics on checkout and journey deletionDaniel Friesel-2/+34
2019-04-07Cache journey statsDaniel Friesel-0/+106
2019-04-06Add password change formDaniel Friesel-1/+11
2019-04-05checkout: Do not cardcode action typeDaniel Friesel-1/+1
2019-04-05checkin: Fix checkout path if currently checked into cancelled trainDaniel Friesel-1/+1
2019-04-04Allow journey deletionDaniel Friesel-1/+60
See issue #3
2019-04-02move mailing to sendmail helperDaniel Friesel-0/+3
2019-04-01statistics: Add interchange wait time and journey countDaniel Friesel-15/+30
2019-03-31Select journeys by IDDaniel Friesel-8/+6
2019-03-31remove code related to undo-as-database-entry conceptDaniel Friesel-17/+13
2019-03-31Perform undo by deleting the erroneous database entryDaniel Friesel-45/+36
2019-03-30sort journeys by departure timeDaniel Friesel-0/+7
2019-03-27add history per monthDaniel Friesel-15/+119
2019-03-25remove sleep(1) workaround in checkout-before-checkin code pathDaniel Friesel-11/+2
The unique constraint on (user id, timestamp) is no longer present
2019-03-25Log SQL errorsDaniel Friesel-4/+20
2019-03-25Postgres does not require decode() callsDaniel Friesel-7/+2
2019-03-25Migrate to postgresqlDaniel Friesel-18/+25
2019-03-23more configuration options, more performanceDaniel Friesel-2/+4
2019-03-23Explicitly enable autocommitDaniel Friesel-1/+2
2019-03-23remove unused functionDaniel Friesel-8/+0
2019-03-22move munin-stats to a mojolicious commandDaniel Friesel-0/+2
2019-03-22perltidyDaniel Friesel-792/+878
2019-03-22More refactoringDaniel Friesel-174/+57