summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller/Api.pm
AgeCommit message (Collapse)AuthorLines
2021-01-29Switch to AGPL3+Daniel Friesel-1/+1
2020-11-28move statistics cache to a separate model classDaniel Friesel-1/+2
2020-11-27Add a bunch of licensing dataDaniel Friesel-0/+3
2020-10-11move in_transit queries to an InTransit model classDaniel Friesel-4/+8
2020-09-30Allow linking a Träwelling account, auto-sync Träwelling→travelynxDaniel Friesel-5/+15
travelynx→Träwelling is still work-in-progress Squashed commit of the following: commit 97faa6e2e6c8d20fba30f2d0f6e78187ceeb72e6 Author: Daniel Friesel <derf@finalrewind.org> Date: Wed Sep 30 18:50:05 2020 +0200 improve traewelling log and tx handling commit 487d7dd728b9d45b731bdc7098cf3358ea2e206e Author: Daniel Friesel <derf@finalrewind.org> Date: Wed Sep 30 18:02:41 2020 +0200 add missing traewelling template commit 0148da2f48d9a52dcddc0ab81f83d8f8ac3062ab Author: Daniel Friesel <derf@finalrewind.org> Date: Wed Sep 30 18:02:35 2020 +0200 improve traewelling pull sync commit 4861a9750f9f2d7621043361d0af6b0a8869a0df Author: Daniel Friesel <derf@finalrewind.org> Date: Tue Sep 29 22:14:24 2020 +0200 wip checkin from traewelling commit f6aeb6f06998a2a7a80f63a7b1b688b1a26b66bd Author: Daniel Friesel <derf@finalrewind.org> Date: Tue Sep 29 18:37:53 2020 +0200 refactor traewelling integration. login and logout are less of a hack now. checkin and checkout are not supported at the moment.
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