summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Helper/HAFAS.pm
AgeCommit message (Collapse)AuthorLines
2024-08-15HAFAS: add debug output for HAFAS requests and caching2.8.20Birte Kristina Friesel-0/+9
2024-07-26Multi-backend supportBirte Kristina Friesel-0/+5
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-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-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-08-13WIP: HAFAS supportBirte Kristina Friesel-1/+37
2023-07-03update ALL the copyright notices!Derf Null-1/+1
2023-06-24time to flush the name cacheDerf Null-1/+1
2023-03-27stationboard: add HAFAS supportDerf Null-1/+1
2023-02-19update ze copyrightDaniel Friesel-1/+1
2023-01-15change route/stop layout to [name, eva, {data}]Daniel Friesel-15/+15
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-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-09-24HAFAS->get_json_p: accept cache and encoding parametersDaniel Friesel-2/+7
2022-07-10HAFAS: Borders may be annotated as (Gr) or ...(...)GrDaniel Friesel-2/+2
2022-03-30hafas: more generic fix for invalid XML1.22.2Daniel Friesel-2/+1
2021-10-30Allow usage of custom hafas-rest-api instancesDaniel Friesel-6/+9
2021-07-12Handle another case of funky HAFAS html ("foo <> bar")1.20.3Daniel Friesel-0/+8
2021-06-05HAFAS: Work around yet another case of invalid XMLDaniel Friesel-2/+6
2021-04-24remove arbitrary HTML tags from HAFAS HIMMessage attribute content1.19.13Daniel Friesel-1/+8
2021-03-29*sigh* oh hafas, you so hafas1.19.9Daniel Friesel-1/+2
2021-02-06HAFAS: Remove all illegal linebreaks from attributes, not just the first1.19.6Daniel Friesel-2/+5
2021-02-06HAFAS: Handle <br> tags in HTML attributesDaniel Friesel-0/+5
2021-01-29Switch to AGPL3+Daniel Friesel-1/+1
2021-01-05Handle invalid HAFAS XML containing "Wagen \d+ & \d+"Daniel Friesel-0/+2
2020-11-27Add a bunch of licensing dataDaniel Friesel-0/+3
2020-11-06HAFAS: Distinguish between disguised HTTP 404 and invalid XMLDaniel Friesel-3/+13
2020-10-25Merge HAFAS XML fix from DBF1.18.7Daniel Friesel-1/+6
2020-10-11calculate tripid from trainsearch.exe.Daniel Friesel-89/+0
Removes the need for an additional transport.rest request.
2020-10-11Switch to transport.rest v5 for polyline requestsDaniel Friesel-1/+1
2020-10-08HAFAS: Turn backend warnings into info messagesDaniel Friesel-5/+5
We can't do anything about them, after all
2020-09-21improve promise->reject error messages1.17.4Daniel Friesel-13/+20
2020-09-10handle rejected promises; do not accidentally duplicate rejectionsDaniel Friesel-8/+14
2020-09-06add DBDB helper for wagonorder and stationinfoDaniel Friesel-1/+2
2020-07-28HAFAS: Error handling, perltidyDaniel Friesel-28/+55
2020-07-28Move HAFAS helpers to a separate Helper moduleDaniel Friesel-0/+289