summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller
AgeCommit message (Collapse)AuthorLines
13 days/status: return JSON for 404 errors as wellBirte Kristina Friesel-3/+30
2024-03-31HAFAS departures: add earlier / later linksBirte Kristina Friesel-11/+28
2024-03-05Traveling: work around empty evas list in HAFAS resultBirte Kristina Friesel-1/+1
2024-01-30perltidyBirte Kristina Friesel-16/+22
2024-01-30journey detail title: use departure dateBirte Kristina Friesel-2/+2
2024-01-30add title elementsCassidy Dingenskirchen-7/+20
(cherry picked from commit 5d8f6467dc00f03957784230983ed730ec421291) Signed-off-by: Birte Kristina Friesel <derf@finalrewind.org>
2024-01-14confirm_mail: work around funky MUAs2.5.11Birte Kristina Friesel-0/+9
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-11-01HAFAS: Use locationSearch rather than similar_stops_pBirte Kristina Friesel-10/+7
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-4/+18
2023-10-01store related stations; respect them when looking up connectionsBirte Kristina Friesel-0/+4
2023-09-26connections: do not show cancelled trains twice2.3.1Birte Kristina Friesel-0/+9
2023-09-24add support for HAFAS connection suggestions; drop manual destination listBirte Kristina Friesel-101/+75
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-08-26obtain autocompletion from database2.1.1Birte Kristina Friesel-0/+18
2023-08-26manual station entry: fix HAFAS redirectBirte Kristina Friesel-1/+1
2023-08-24resolve unknown/ambiguous stop into list of stopsBirte Kristina Friesel-7/+41
2023-08-24geolocation: Fix 'hafas=undefined' links for iris stopsBirte Kristina Friesel-0/+1
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-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-13WIP: HAFAS supportBirte Kristina Friesel-2/+7
2023-08-09Store traewelling refresh token in database1.34.3Birte Kristina Friesel-3/+4
2023-08-09traewelling oauth: pass HTTP redirect_uri in development modeBirte Kristina Friesel-2/+4
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-31/+59
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-50/+103
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-16account: add a list of sent follow requestsBirte Kristina Friesel-17/+34
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-0/+12
2023-07-16cleanup; perltidyBirte Kristina Friesel-20/+14
2023-07-15add timeline / current checkinsBirte Kristina Friesel-1/+37
2023-07-15increase maximum comment lengthBirte Kristina Friesel-23/+23
2023-07-09Api: use get_departures_pBirte Kristina Friesel-33/+32
2023-07-09station board: fix HTTP status and IRIS error handlingBirte Kristina Friesel-4/+9
2023-07-09use promises for checkin and traewelling_to_travelynxBirte Kristina Friesel-85/+103
2023-07-09HAFAS station board: fix station name displayBirte Kristina Friesel-3/+4
2023-07-03journeys: simplify visibily checkDerf Null-15/+0
2023-07-03update ALL the copyright notices!Derf Null-7/+7
2023-06-30Profile: remove unused compute_effective_visibility function1.32.8Derf Null-8/+0
2023-06-30Profile: refactor visibility checksDerf Null-96/+35