summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Helper
AgeCommit message (Collapse)AuthorLines
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
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-06HAFAS: Remove all illegal linebreaks from attributes, not just the first1.19.6Daniel Friesel-2/+5
2021-02-06Traewelling: Do not warn on 409 ConflictDaniel Friesel-1/+6
2021-02-06fall back to apps-bahn if ist-wr does not know about a train1.19.5Daniel Friesel-8/+15
2021-02-06HAFAS: Handle <br> tags in HTML attributesDaniel Friesel-0/+5
2021-02-02Remove workaround for https://github.com/Traewelling/traewelling/issues/72Daniel Friesel-17/+7
Issue has been fixed
2021-02-02Switch to a more performant wagon order backendDaniel Friesel-1/+1
2021-01-29Switch to AGPL3+Daniel Friesel-5/+5
2021-01-05Handle invalid HAFAS XML containing "Wagen \d+ & \d+"Daniel Friesel-0/+2
2020-12-09Helper/IRIS: fex error message encoding (use utf8)Daniel Friesel-0/+3
2020-11-27Add a bunch of licensing dataDaniel Friesel-0/+15
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-17Traewelling: use the recently added login token expiry fieldDaniel Friesel-22/+28
2020-10-11move in_transit queries to an InTransit model classDaniel Friesel-0/+37
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-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.
2020-09-21improve promise->reject error messages1.17.4Daniel Friesel-13/+20
2020-09-20get_stationinfo_p: cache negative repliesDaniel Friesel-0/+2
2020-09-10handle rejected promises; do not accidentally duplicate rejectionsDaniel Friesel-17/+27
2020-09-06add DBDB helper for wagonorder and stationinfoDaniel Friesel-1/+136
2020-08-06Move get_departures to a separate IRIS helperDaniel Friesel-0/+71
2020-07-28HAFAS: Error handling, perltidyDaniel Friesel-28/+55
2020-07-28Move HAFAS helpers to a separate Helper moduleDaniel Friesel-0/+289
2020-03-14Well, that was stupid1.15.9Daniel Friesel-1/+1
2020-03-14Correctly encode non-ASCII e-mail content. Fixes spamfilter issues.1.15.8Daniel Friesel-9/+9
New dependency: MIME::Entity
2020-03-13Do not hardcode From mail address1.15.7Daniel Friesel-1/+1
2019-04-17Sendmail: Actually print info log messages as documentedDaniel Friesel-1/+1