summaryrefslogtreecommitdiff
path: root/lib/Travelynx
AgeCommit message (Collapse)AuthorLines
2024-01-11work: Some HAFAS errors are not actionable and should not be logged as errors2.5.10Birte Kristina Friesel-1/+8
2024-01-02Rename filter_after/filter_before to filter_from/filter_to (they're inclusive)Birte Kristina Friesel-2/+2
2024-01-01map: show year in headline if setBirte Kristina Friesel-0/+13
2023-12-31history_map: filter_until is inclusive2.5.7Birte Kristina Friesel-1/+5
2023-12-27Fix connection display for Travel::Status::DE::HAFAS 5.x2.5.6Birte Kristina Friesel-9/+9
2023-12-27Switch to Travel::Status::DE::HAFAS 5.xBirte Kristina Friesel-45/+46
2023-11-01HAFAS: Use locationSearch rather than similar_stops_pBirte Kristina Friesel-10/+18
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-10-01increase level of cautionBirte Kristina Friesel-3/+2
2023-10-01suggested connections: avoid fetching IRIS trains via HAFASBirte Kristina Friesel-7/+24
2023-10-01influxdb: add meta / related_stations countBirte Kristina Friesel-0/+8
2023-10-01store related stations; respect them when looking up connectionsBirte Kristina Friesel-14/+69
2023-09-26connections: do not show cancelled trains twice2.3.1Birte Kristina Friesel-0/+9
2023-09-24intransit: support HAFAS trains that do not have a typeBirte Kristina Friesel-1/+1
2023-09-24add support for HAFAS connection suggestions; drop manual destination listBirte Kristina Friesel-128/+92
Still TODO: handle stations that have several EVAs
2023-09-17/s: support filter by trip_id; only allow train filter in IRIS mode2.2.2Birte Kristina Friesel-1/+5
2023-09-09indicate whether current journey has realtime dataBirte Kristina Friesel-3/+9
2023-09-07Fix intermediate stop display for journeys without real-time data, e.g. H-BahnBirte Kristina Friesel-4/+8
2023-09-04perltidy2.1.3Birte Kristina Friesel-9/+6
2023-09-04work: 'did not find $dep' is not actionable → change severity to debugBirte Kristina Friesel-3/+3
2023-08-26obtain autocompletion from database2.1.1Birte Kristina Friesel-0/+31
2023-08-26manual station entry: fix HAFAS redirectBirte Kristina Friesel-1/+1
2023-08-24resolve unknown/ambiguous stop into list of stopsBirte Kristina Friesel-11/+47
2023-08-24geolocation: Fix 'hafas=undefined' links for iris stopsBirte Kristina Friesel-0/+1
2023-08-22select latest journey based on timestamp, not ID2.0.2Birte Kristina Friesel-1/+1
This avoids manually added past journeys messing with the latest travel target
2023-08-22Database: create index on real_departure to speed up latest journey queriesBirte Kristina Friesel-2/+12
2023-08-20sort HAFAS/IRIS stations by distanceBirte Kristina Friesel-3/+6
2023-08-19API: Support HAFAS checkin (via journeyID)Birte Kristina Friesel-5/+14
2023-08-19API: fix checkin with toStation and checkout endpointsBirte Kristina Friesel-24/+39
Broken by 38ad42b42cbf6da6254a2498a2fc553507cb3f18
2023-08-18manual station entry: HAFAS supportBirte Kristina Friesel-1/+11
2023-08-16geosearch: always query iris and hafas stopsBirte Kristina Friesel-17/+46
2023-08-16recent targets: distinguish hafas/irisBirte Kristina Friesel-3/+4
2023-08-15station board: add iris / hafas linksBirte Kristina Friesel-1/+15
2023-08-14traveling: redirect hafas journeys to hafas=1Birte Kristina Friesel-3/+10
2023-08-13synchronize non-train checkins from traewelling to travelynxBirte Kristina Friesel-0/+2
2023-08-13WIP: HAFAS supportBirte Kristina Friesel-26/+308
2023-08-13influxdb: add stations statisticsBirte Kristina Friesel-1/+58
2023-08-09Store traewelling refresh token in database1.34.3Birte Kristina Friesel-15/+39
2023-08-09traewelling oauth: pass HTTP redirect_uri in development modeBirte Kristina Friesel-2/+4
2023-08-08sort timeline (descending by checkin timestamp, so most recent checkins first)1.34.2Birte Kristina Friesel-0/+47
2023-08-08Fix Traewelling OAuth2 behind reverse proxies1.34.1Birte Kristina Friesel-1/+6
a reverse proxy makes mojolicious believe that it is using HTTP, even though it is HTTPS.
2023-08-07Traewelling: replace legacy password login with OAuth2Birte Kristina Friesel-113/+81
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-66/+122
2023-07-23checkout: remove with_related special caseBirte Kristina Friesel-6/+13
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-22database: stations: make 'ds100' column optional.Birte Kristina Friesel-0/+12
HAFAS stations do not necessarily have ds100 codes
2023-07-19Users->delete: delete relations as well1.33.6Birte Kristina Friesel-9/+11
2023-07-18followee list: show if accounts are following back1.33.3Birte Kristina Friesel-2/+43
2023-07-16account: add a list of sent follow requestsBirte Kristina Friesel-26/+64
2023-07-16action#checkin: re-add auto checkout1.33.1Birte Kristina Friesel-0/+8
was removed from $self->checkin in 1074f248cc415a397f16d0328a8f45fa6a867513
2023-07-16show followee checkins in departure boardBirte Kristina Friesel-1/+13
2023-07-16cleanup; perltidyBirte Kristina Friesel-20/+14