summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller/Api.pm
AgeCommit message (Expand)AuthorLines
2024-10-23import: Catch errors in get_single and sanity_checkBirte Kristina Friesel-8/+14
2024-10-23Api: perltidyBirte Kristina Friesel-5/+6
2024-10-16api/v1/import: hard-code backend_id to 1 (same as import form)Birte Kristina Friesel-4/+7
2024-07-26Multi-backend supportBirte Kristina Friesel-5/+18
2023-08-26obtain autocompletion from database2.1.1Birte Kristina Friesel-0/+18
2023-08-19API: Support HAFAS checkin (via journeyID)Birte Kristina Friesel-5/+14
2023-08-19API: fix checkin with toStation and checkout endpointsBirte Kristina Friesel-24/+39
2023-07-23checkout: remove with_related special caseBirte Kristina Friesel-6/+13
2023-07-09Api: use get_departures_pBirte Kristina Friesel-33/+32
2023-07-09use promises for checkin and traewelling_to_travelynxBirte Kristina Friesel-32/+42
2023-07-03update ALL the copyright notices!Derf Null-1/+1
2023-06-24time to flush the name cacheDerf Null-1/+1
2023-06-04use a separate bad_request page for CSRF errorsDerf Null-1/+5
2023-05-21get_user_status_json_v1: add public flag to hide actionTimeDerf Null-14/+14
2023-03-26API: import: fix get_api_token signature1.30.9Derf Null-1/+1
2023-02-19update ze copyrightDaniel Friesel-1/+1
2023-01-22move token type to ID map from Travelynx.pm to Model/UsersDaniel Friesel-1/+1
2023-01-22move get_api_token to users modelDaniel Friesel-5/+6
2023-01-21API documentation: do not perform database requests from template helpersDaniel Friesel-1/+10
2023-01-03Api: Fix 'uninitialized value' warning when no token is set1.29.4Daniel Friesel-1/+4
2022-12-07switch to internal station database; add out-of-service stations for old jour...1.28.0Daniel Friesel-22/+4
2022-07-30Api: section headers for helpers / controllers; perltidyDaniel Friesel-8/+12
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
2020-09-05Fix checkin via API. Broken by 717cc18a403d6705c64a9a6fd43578c1efbb159f1.17.1Daniel Friesel-1/+5
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