summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller
AgeCommit message (Collapse)AuthorLines
2024-08-04manual journey entry: hardcode DB (HAFAS) for station selection2.8.8Birte Kristina Friesel-2/+3
TODO: Add a dropdown to select different backends Closes #150
2024-07-28history: add map link for monthly history2.8.6Birte Kristina Friesel-7/+9
2024-07-26iris geolocation: specify hafas=02.8.4Birte Kristina Friesel-0/+1
2024-07-26watBirte Kristina Friesel-2/+9
2024-07-26Multi-backend supportBirte Kristina Friesel-222/+237
Squashed commit of the following: commit 92518024ba295456358618c0e8180bd8e996fdf1 Author: Birte Kristina Friesel <birte.friesel@uos.de> Date: Fri Jul 26 18:39:46 2024 +0200 add_or_update station: remove superfluos 'new backend id := old backend id' commit df21c20c6e4c86454f8a9ac69121404415217f2a Author: Birte Kristina Friesel <birte.friesel@uos.de> Date: Fri Jul 26 18:35:51 2024 +0200 revert connection targets min_count to 3 commit be335cef07d0b42874f5fc1de4a1d13396e8e807 Author: Birte Kristina Friesel <birte.friesel@uos.de> Date: Fri Jul 26 18:20:05 2024 +0200 mention backend selection in API documentation commit 9f41828fb4f18fd707e0087def3032e8d4c8d7d8 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Thu Jul 25 20:19:23 2024 +0200 use_history: not all backends provide route data in departure monitor commit 09714b4d89684b8331d0e96f564a4c7432318f70 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Thu Jul 25 20:11:44 2024 +0200 disambiguation: pass correct hafas parameter commit 8cdf1120fc32155dc6525be64601b7c10a9c7f52 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Thu Jul 25 20:11:28 2024 +0200 _checked_in: hide Zuglauf link for non-db checkins commit 7455653f541198e0e0a6d11aed421487ffdb6285 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Thu Jul 25 20:01:47 2024 +0200 debug output commit b9cda07f85601a58ea32dbdacdd5399f302db52b Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Thu Jul 25 19:09:07 2024 +0200 fix remaining get_connection_targets / get_connecting_trains_p invocations commit 2759d7258c37c7498905cfe19f6b4c4f6d16bd21 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Wed Jul 24 20:50:12 2024 +0200 support non-DB HAFAS backends (WiP)
2024-07-21Add lat/lon to pre-2.7.8 journeys; add eva where missingBirte Kristina Friesel-2/+0
This speeds up the map significantly and makes coordinates_by_station obsolete
2024-06-15remove service / sb_template selection; hardcode DBF with variable hafas flagBirte Kristina Friesel-23/+0
2024-06-15Use hafas=DB rather than hafas=12.6.22Birte Kristina Friesel-8/+8
2024-06-10history: it's Fahrten, not Zugfahrten.Birte Kristina Friesel-3/+3
2024-06-10add journey: return HTTP 400 on input errorBirte Kristina Friesel-0/+3
2024-06-02Profile: remove journeys from JSON fornow2.6.13Birte Kristina Friesel-1/+0
2024-05-31Profile: Add JSON rendererBirte Kristina Friesel-28/+40
2024-04-26/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