summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Helper/Traewelling.pm
AgeCommit message (Collapse)AuthorLines
2024-07-26Multi-backend supportBirte Kristina Friesel-0/+2
Squashed commit of the following: commit 92518024ba295456358618c0e8180bd8e996fdf1 Author: Birte Kristina Friesel <birte.friesel@uos.de> Date: Fri Jul 26 18:39:46 2024 +0200 add_or_update station: remove superfluos 'new backend id := old backend id' commit df21c20c6e4c86454f8a9ac69121404415217f2a Author: Birte Kristina Friesel <birte.friesel@uos.de> Date: Fri Jul 26 18:35:51 2024 +0200 revert connection targets min_count to 3 commit be335cef07d0b42874f5fc1de4a1d13396e8e807 Author: Birte Kristina Friesel <birte.friesel@uos.de> Date: Fri Jul 26 18:20:05 2024 +0200 mention backend selection in API documentation commit 9f41828fb4f18fd707e0087def3032e8d4c8d7d8 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Thu Jul 25 20:19:23 2024 +0200 use_history: not all backends provide route data in departure monitor commit 09714b4d89684b8331d0e96f564a4c7432318f70 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Thu Jul 25 20:11:44 2024 +0200 disambiguation: pass correct hafas parameter commit 8cdf1120fc32155dc6525be64601b7c10a9c7f52 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Thu Jul 25 20:11:28 2024 +0200 _checked_in: hide Zuglauf link for non-db checkins commit 7455653f541198e0e0a6d11aed421487ffdb6285 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Thu Jul 25 20:01:47 2024 +0200 debug output commit b9cda07f85601a58ea32dbdacdd5399f302db52b Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Thu Jul 25 19:09:07 2024 +0200 fix remaining get_connection_targets / get_connecting_trains_p invocations commit 2759d7258c37c7498905cfe19f6b4c4f6d16bd21 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Wed Jul 24 20:50:12 2024 +0200 support non-DB HAFAS backends (WiP)
2023-08-13synchronize non-train checkins from traewelling to travelynxBirte Kristina Friesel-0/+2
2023-08-07Traewelling: replace legacy password login with OAuth2Birte Kristina Friesel-78/+0
This is a breaking change insofar as that traewelling support is no longer provided automatically, but must be enabled by providing a traewelling.de application ID and secret in travelynx.conf. However, as traewelling.de password login is deprecated and wil soon be disabled, travelynx would break either way. So we might or might not see travelynx 2.0.0 in the next days. Automatic token refresh is still todo, but that was the case for password login as well. Closes #64
2023-07-13perltidyBirte Kristina Friesel-7/+21
2023-07-13Checkin: Use correct visibility when pushing to TräwellingnetworkException-0/+16
2023-07-03update ALL the copyright notices!Derf Null-1/+1
2023-06-24time to flush the name cacheDerf Null-1/+1
2023-02-19update ze copyrightDaniel Friesel-1/+1
2023-01-07log traewelling sync HTTP status to influxdb1.29.6Daniel Friesel-8/+15
2023-01-07Traewelling: fix 'already checked in' error for API v11.29.5Daniel Friesel-2/+2
2023-01-07traewelling checkin: add missing ibnr field to API payloadDaniel Friesel-0/+1
2022-12-23always store traewelling errors in debug modeDaniel Friesel-11/+2
for the most part, they're not actionable. also, they're already available in user logs.
2022-11-10Traewelling: Use API v1 for checkin as wellDaniel Friesel-3/+4
2022-10-31Traewelling: Use API v1 for login/logout. v1 checkin does not work yet.Daniel Friesel-14/+14
2022-08-17traewelling: more detailed error messagesDaniel Friesel-16/+30
2022-07-09Traewelling Pull: Only fetch most recent statusDaniel Friesel-2/+2
This feature was recently added to Traewelling and should improve efficiency on all sides.
2022-07-03Traewelling: Custom log message für 409 Conflict; include raw error otherwise1.22.7Daniel Friesel-0/+13
2022-07-03Traewelling: Fix utf8 in log messagesDaniel Friesel-0/+1
2022-05-28Traewelling: Use newly added EVA IDs for station mapping1.22.5Daniel Friesel-2/+2
2022-03-06Traewelling: checkin: HTTP 401 is mostly harmless, tooDaniel Friesel-1/+4
401 typically indicates an expired login token
2022-02-17Traewelling: more consistent error messagesDaniel Friesel-2/+2
2022-02-16link traewelling profile from travelynx profile; show traewelling statusDaniel Friesel-3/+4
2022-01-08Traewelling: Use API v1 for pull sync1.21.4Daniel Friesel-21/+18
API v0 has occasional performance issues and is not a preferable maintenance target
2021-07-01Pass scheduled arrival and departure times to Traewelling API1.20.2Daniel Friesel-0/+26
This ensures unambiguous checkins for ring lines. See https://github.com/Traewelling/traewelling/commit/eaf975a3337a151c4759428747342ce49eadea47
2021-02-21Traewelling: Ignore HTTP 406 on checkin as well1.19.7Daniel Friesel-1/+1
HTTP 406 indicates that a user has not accepted the ToS / privacy policy
2021-02-06Traewelling: Do not warn on 409 ConflictDaniel Friesel-1/+6
2021-02-02Remove workaround for https://github.com/Traewelling/traewelling/issues/72Daniel Friesel-17/+7
Issue has been fixed
2021-01-29Switch to AGPL3+Daniel Friesel-1/+1
2020-11-27Add a bunch of licensing dataDaniel Friesel-0/+3
2020-10-17Traewelling: use the recently added login token expiry fieldDaniel Friesel-22/+28
2020-10-04Traewelling can't seem to decide on date formatsDaniel Friesel-4/+15
2020-10-04Traewelling: Add missing "Accept: application/json" header to API requestsDaniel Friesel-19/+12
2020-10-04Traewelling checkin: Handle invalid / revoked bearer tokensDaniel Friesel-0/+13
2020-10-04add toot and tweet settings to traewelling checkinDaniel Friesel-1/+3
2020-10-04Traewelling: Warn when bearer token is about to expireDaniel Friesel-3/+11
2020-10-04Traewelling: note that traewelling.de doesn't yet return statusId on checkinDaniel Friesel-0/+4
2020-10-03sync travelynx -> Träwelling: add commentDaniel Friesel-0/+4
2020-10-01log error when trip_id is missingDaniel Friesel-0/+1
2020-10-01allow checking into traewellingDaniel Friesel-55/+61
2020-09-30Allow linking a Träwelling account, auto-sync Träwelling→travelynxDaniel Friesel-0/+332
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.