summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Helper
AgeCommit message (Collapse)AuthorLines
2024-08-15HAFAS: add debug output for HAFAS requests and caching2.8.20Birte Kristina Friesel-0/+9
2024-08-13DBDB: sort wagenreihung dict keys so that caching actually works2.8.16Birte Kristina Friesel-2/+2
2024-08-12DBDB: handle undef train_typesBirte Kristina Friesel-0/+1
2024-08-11DBDB: It's $tx->res->codeBirte Kristina Friesel-2/+2
2024-08-08Switch to new carriage formation APIBirte Kristina Friesel-26/+50
2024-07-26Multi-backend supportBirte Kristina Friesel-1/+8
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)
2024-07-18HAFAS: Add get_service wrapperBirte Kristina Friesel-0/+6
2024-07-08store lat/lon along with route2.7.8Birte Kristina Friesel-1/+3
This increases resilience against EVA ID reuse
2024-06-23IRIS: Use EVA ID rather than DS100 code for backend requests2.7.4Birte Kristina Friesel-2/+2
2024-05-30DBDB: Add some debug statementsBirte Kristina Friesel-0/+23
2024-05-30DBDB: use realtime cache for carriage composition requestsBirte Kristina Friesel-3/+3
2024-05-22Use HAFAS routes as single source of truth. Overwrite initial IRIS route.Birte Kristina Friesel-11/+11
2024-04-07Request polylines for HAFAS journeys as well; only store sensible ones2.6.5Birte Kristina Friesel-1/+1
Decreases severity of #99 Fixes #108
2024-04-03store tz_offset in route data if presentBirte Kristina Friesel-0/+3
2024-03-31lesson learned: do not deploy from easterhegg2.6.3Birte Kristina Friesel-5/+5
2024-03-31oops2.6.2Birte Kristina Friesel-3/+4
2024-03-31HAFAS departures: add earlier / later linksBirte Kristina Friesel-1/+3
2024-03-30HAFAS: correctly pass lookahead on to backend library2.5.23Birte Kristina Friesel-1/+1
Closes #126 Note that this is more of a hotfix -- the underlying bug is in Travel::Status::DE::HAFAS
2024-02-25Berlin Hbf is cursed.2.5.19Birte Kristina Friesel-0/+20
2024-02-24Use journeyMatch rather than legacy trainsearch.exe API to find tripIDsBirte Kristina Friesel-0/+50
2023-12-27Switch to Travel::Status::DE::HAFAS 5.xBirte Kristina Friesel-15/+15
2023-11-01HAFAS: Use locationSearch rather than similar_stops_pBirte Kristina Friesel-0/+11
locationSearch uses mgate.exe, just like the regular departure board. similar_stops_p relies on ajax-getstop.exe which may become unavailable sooner rather than later.
2023-09-04perltidy2.1.3Birte Kristina Friesel-8/+4
2023-08-24resolve unknown/ambiguous stop into list of stopsBirte Kristina Friesel-4/+6
2023-08-13synchronize non-train checkins from traewelling to travelynxBirte Kristina Friesel-0/+2
2023-08-13WIP: HAFAS supportBirte Kristina Friesel-1/+37
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-09IRIS->get_departures_p: return string in first rejection argumentBirte Kristina Friesel-0/+3
This is consistent with other promises within travelynx
2023-07-03update ALL the copyright notices!Derf Null-5/+5
2023-06-24time to flush the name cacheDerf Null-5/+5
2023-03-27stationboard: add HAFAS supportDerf Null-1/+1
2023-02-19update ze copyrightDaniel Friesel-5/+5
2023-02-13DBDB: apps-bahn wagenreihung no longer existsDaniel Friesel-6/+1
2023-01-15change route/stop layout to [name, eva, {data}]Daniel Friesel-20/+28
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-12-12change 'ignoring polyline' log severity to debugDaniel Friesel-1/+1
2022-12-12Improve "Betriebsstelle nicht bekannt" handling1.28.2Daniel Friesel-1/+3
2022-12-07switch to internal station database; add out-of-service stations for old ↵1.28.0Daniel Friesel-0/+1
journeys
2022-11-10Traewelling: Use API v1 for checkin as wellDaniel Friesel-3/+4
2022-11-09HAFAS: filter out border stationsDaniel Friesel-2/+7
2022-11-09travelynx no longer requires XML::LibXMLDaniel Friesel-1/+0
2022-11-09Switch to internal HAFAS client for connection detailsDaniel Friesel-0/+16
2022-11-05obtain polylines via mgate (T-S-DE-HAFAS)Daniel Friesel-95/+40
2022-11-05Use Travel::Status::DE::HAFAS instead of traininfo.exe for journey detailsDaniel Friesel-109/+58
2022-10-31Traewelling: Use API v1 for login/logout. v1 checkin does not work yet.Daniel Friesel-14/+14