summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
AgeCommit message (Collapse)AuthorLines
2024-06-06allow force checkouts even in case of route mismatches2.6.16Birte Kristina Friesel-1/+1
2024-05-31Profile: Add JSON rendererBirte Kristina Friesel-1/+2
2024-05-30DBDB: use realtime cache for carriage composition requestsBirte Kristina Friesel-5/+6
2024-05-30perform stationinfo requests for hafas checkinsBirte Kristina Friesel-3/+19
2024-05-29request wagon orders for HAFAS checkinsBirte Kristina Friesel-1/+5
2024-05-29Move wagonorder request to a separate helperBirte Kristina Friesel-93/+109
This is in preparation for HAFAS wagonorder support
2024-05-24check train/trip id when updating associated dataBirte Kristina Friesel-17/+26
this avoid race conditions when a user changes their checkin between the time of request (old trip id) and the time of data update (new trip id). These could lead to funny effects such as buses suddenly having S-Bahn carriage formations.
2024-05-22add_route_timestamps: IRIS route may be shorter than HAFAS route2.6.11Birte Kristina Friesel-1/+1
2024-05-22Use HAFAS routes as single source of truth. Overwrite initial IRIS route.Birte Kristina Friesel-35/+47
2024-04-26/status: respond to .json as well as "Accept: application/json"Birte Kristina Friesel-2/+4
2024-04-21refactor polyline insertion into InTransit ModelBirte Kristina Friesel-95/+9
2024-04-07Request polylines for HAFAS journeys as well; only store sensible ones2.6.5Birte Kristina Friesel-1/+91
Decreases severity of #99 Fixes #108
2024-02-24Use journeyMatch rather than legacy trainsearch.exe API to find tripIDsBirte Kristina Friesel-55/+4
2023-12-27Switch to Travel::Status::DE::HAFAS 5.xBirte Kristina Friesel-1/+2
2023-09-16journey: show distances below 10km with 100m resolution (and <1km with 1m)Birte Kristina Friesel-0/+14
2023-09-12map: use high beeline opacity if no polylines are available2.2.1Birte Kristina Friesel-1/+5
2023-09-07Fix intermediate stop display for journeys without real-time data, e.g. H-BahnBirte Kristina Friesel-15/+11
2023-08-30API: Expose HAFAS JourneyID, if available (#85)Birte Kristina Friesel-4/+5
2023-08-26obtain autocompletion from database2.1.1Birte Kristina Friesel-0/+1
2023-08-19API: Support HAFAS checkin (via journeyID)Birte Kristina Friesel-1/+2
2023-08-13synchronize non-train checkins from traewelling to travelynxBirte Kristina Friesel-14/+79
2023-08-13WIP: HAFAS supportBirte Kristina Friesel-9/+191
2023-08-07Traewelling: replace legacy password login with OAuth2Birte Kristina Friesel-0/+22
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-23convert checkout to promises (checkout_p)Birte Kristina Friesel-186/+221
2023-07-23checkout: remove with_related special caseBirte Kristina Friesel-35/+12
travelynx now always calls checkout with the database-provided arr_eva, so the edge case in which it provided a station that is not actually on the route of a train can no longer appear.
2023-07-15remove debug outputBirte Kristina Friesel-3/+0
2023-07-15add timeline / current checkinsBirte Kristina Friesel-0/+1
2023-07-15get_user_status: fix stop_before_dest calculationBirte Kristina Friesel-4/+12
2023-07-15postprocess timeline; move user-related parts to get_user_statusBirte Kristina Friesel-0/+36
2023-07-15increase maximum comment lengthBirte Kristina Friesel-49/+49
2023-07-15Move InTransit post-processing to InTransit moduleBirte Kristina Friesel-186/+2
2023-07-09IRIS->get_departures_p: return string in first rejection argumentBirte Kristina Friesel-2/+2
This is consistent with other promises within travelynx
2023-07-09use promises for checkin and traewelling_to_travelynxBirte Kristina Friesel-136/+191
2023-07-09checkin: reduce nestingBirte Kristina Friesel-44/+40
2023-07-03update ALL the copyright notices!Derf Null-1/+1
2023-06-29perltidyDerf Null-1/+1
2023-06-26compute effective visibility in database viewDerf Null-8/+9
2023-06-24time to flush the name cacheDerf Null-1/+1
2023-06-12Add app version to default stashed values.1.32.4Molly Miller-0/+1
This means that the version no longer needs to be passed to every version manually, and is automatically populated in templates where the parameter is not explicitly provided.
2023-06-09login form: add hint about pages being only visibile after loginDerf Null-1/+5
2023-06-08update ice namesDerf Null-1/+1
2023-06-07Fix edge case that allowed in-transit journeys with invalid destinations1.32.2Derf Null-0/+20
2023-06-04expose follows / social interaction in frontendDerf Null-0/+7
2023-06-04add profile editorDerf Null-0/+2
2023-05-29get_user_status_json_v1: expose commentDerf Null-1/+7
2023-05-24get_user_status_json_v1: expose visibilityDerf Null-1/+12
2023-05-21/status/:user: respond to JSONDerf Null-1/+1
2023-05-21get_user_status_json_v1: add public flag to hide actionTimeDerf Null-7/+10
2023-05-18fix pride ICE not being indicated in public status card1.31.4Derf Null-0/+6
2023-05-16get_user_status: expose lat/lon from database view, do not re-compute it1.31.3Derf Null-20/+12