summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Helper
AgeCommit message (Collapse)AuthorLines
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
2022-09-24HAFAS->get_json_p: accept cache and encoding parametersDaniel Friesel-2/+7
2022-08-17traewelling: more detailed error messagesDaniel Friesel-16/+30
2022-08-01log requested station when throwing an ambiguous station name errorDaniel Friesel-2/+4
2022-07-26Use async IRIS API for /s/Daniel Friesel-4/+95
2022-07-10HAFAS: Borders may be annotated as (Gr) or ...(...)GrDaniel Friesel-2/+2
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-30hafas: more generic fix for invalid XML1.22.2Daniel Friesel-2/+1
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-02-14Send inactivity notification prior to account deletionDaniel Friesel-0/+31
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-12-12fix caching fuckup introduced in 2e5a1b0a79e3a54e159cf598b2a0d398109a7bf41.21.3Daniel Friesel-8/+14
2021-12-12DBDB: only use apps-bahn wagon order API for nowDaniel Friesel-5/+4
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-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-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