summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2019-04-24_checked_in: Fix misleading output on arrival_countdown == 0Daniel Friesel-1/+1
2019-04-24Bump API to v1Daniel Friesel-13/+131
2019-04-24export: Add in_transit fieldDaniel Friesel-1/+5
2019-04-23Remove legacy action_type attributesDaniel Friesel-17/+2
2019-04-23_checked_in: Fix uninitialized value warningDaniel Friesel-1/+1
2019-04-23Fix checkin/checkout of cancelled journeysDaniel Friesel-4/+2
2019-04-23Primitive auto-refresh of current journey statusDaniel Friesel-101/+160
Todo: Redirect user to destination station upon arrival
2019-04-23Automatic checkout \o/Daniel Friesel-30/+171
2019-04-23landingpage: Fix plural for "0 minutes"Daniel Friesel-1/+1
2019-04-23Use one row per journey instead of split checkin/checkout entriesDaniel Friesel-589/+783
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-99/+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-22add "change password" testsDaniel Friesel-0/+44
2019-04-22Add test for account (un)deletionDaniel Friesel-2/+28
2019-04-22Note that we need at least postgresql v9.4Daniel Friesel-3/+4
2019-04-22Travis CI: looks like carton isn't neededDaniel Friesel-2/+1
2019-04-22travis.yml: Add libdb-dev (required for DB_File -> Cache)Daniel Friesel-0/+1
2019-04-22Skip database tests if no database is configuredDaniel Friesel-0/+4
2019-04-22Travis CI: Add database testsDaniel Friesel-0/+23
2019-04-21add Travis CI configDaniel Friesel-0/+10
2019-04-21Add cpanfile for dependency management with CartonDaniel Friesel-0/+2639
2019-04-21database migrate: Use truncateDaniel Friesel-1/+1
2019-04-21journey detail: gps_off -> location_off0.14Daniel Friesel-2/+2
2019-04-21Ignore stations without coordinates in distance calculationDaniel Friesel-11/+67
Reported by @marudor
2019-04-19refactor set_status_query and get_token_queryDaniel Friesel-30/+9
2019-04-18Update test section in READMEDaniel Friesel-9/+5
2019-04-18basic test: No DB needed; perltidyDaniel Friesel-6/+6
2019-04-18Add a registration testDaniel Friesel-2/+90
2019-04-18Add a basic test for static contentDaniel Friesel-0/+54
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/+78
2019-04-17Sendmail: Actually print info log messages as documentedDaniel Friesel-1/+1
2019-04-16add comments to example travelynx.confDaniel Friesel-0/+29
2019-04-14Set version via configDaniel Friesel-3/+2
2019-04-14Merge branch 'feuerrot-db_setup'Daniel Friesel-41/+69
2019-04-14Do not print error when encountering an empty databaseDaniel Friesel-6/+16
2019-04-14Merge branch 'db_setup' of https://github.com/feuerrot/travelynx into ↵Daniel Friesel-41/+59
feuerrot-db_setup
2019-04-13database setup: merge setup and migration code pathsMarkus Witt-41/+59
2019-04-13README: Add recommended modules and docker dependenciesDaniel Friesel-0/+16
2019-04-13Print db and host in development modeDaniel Friesel-1/+12
2019-04-13add explicit config toggle to disable sendmailDaniel Friesel-2/+3
2019-04-13"database" sub-command: Provide an exit statusDaniel Friesel-1/+6
2019-04-13Pass config to sendmail helperDaniel Friesel-4/+7
2019-04-13Merge pull request #7 from feuerrot/db_schema_fixDaniel Friesel-1/+1
fix dbschema: add type for edited
2019-04-13fix dbschema: add type for editedMarkus Witt-1/+1