summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller/Api.pm
AgeCommit message (Collapse)AuthorLines
2020-09-05Fix checkin via API. Broken by 717cc18a403d6705c64a9a6fd43578c1efbb159f1.17.1Daniel Friesel-1/+5
Closes #44
2020-08-16Move most journey code to newly introduced Journey modelDaniel Friesel-4/+8
2020-01-26Api: Import: Set correct route key for add_journeyDaniel Friesel-1/+1
2020-01-26import API: route -> intermediateStopsDaniel Friesel-4/+10
2020-01-26import API: Add deprecated field, remove development checkDaniel Friesel-32/+30
2020-01-26import API: invalidate stats cache after adding a journeyDaniel Friesel-0/+1
2019-12-31Release Travel API1.13.0Daniel Friesel-12/+0
2019-12-30Checkin API: error out if fromStation / toStation are ambiguousDaniel Friesel-0/+41
2019-12-23Use EVA IDs instead of travelynx-internal station IDs. Not 100% tested yet.Daniel Friesel-85/+0
2019-12-20more travel API documentationDaniel Friesel-4/+5
2019-12-20travel API: more helpful errors on invalid inputDaniel Friesel-4/+35
2019-12-20Travel API: Add "deprecated" fieldDaniel Friesel-28/+41
2019-12-20checkin api: only set comment if checkin was successfulDaniel Friesel-1/+1
2019-12-19disable import and checkin API endpoints in production modeDaniel Friesel-0/+22
2019-12-17travel, import API: Verify that payload is a hashDaniel Friesel-4/+26
2019-12-17api/import: More helpful errors, fix "lax" supportDaniel Friesel-0/+16
2019-12-17API: Add lax optionDaniel Friesel-1/+2
2019-12-14Travel API: comment supportDaniel Friesel-0/+9
2019-12-14Add travel (checkin/checkout/undo) APIDaniel Friesel-0/+161
2019-12-14Add API entry point for journey importDaniel Friesel-3/+164
2019-05-06basic webhook support, onwards to betatestingDaniel Friesel-64/+1
2019-05-02Do not error out when receiving UIDs > INT_MAX1.1.2Daniel Friesel-0/+10
2019-05-02Public API documentationDaniel Friesel-0/+6
2019-04-24Bump API to v1Daniel Friesel-1/+108
2019-04-23Use one row per journey instead of split checkin/checkout entriesDaniel Friesel-7/+9
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-22Use Mojo::Pg for all remaining Controller and Helper logicDaniel Friesel-4/+19
2019-03-22More refactoringDaniel Friesel-8/+1
2019-03-21Initiate transition to a Mojolicious MVC web applicationDaniel Friesel-0/+126