summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller
AgeCommit message (Collapse)AuthorLines
6 daysMark EFA backends as experimental for nowBirte Kristina Friesel-2/+2
For instance, VRR has very interesting issues when checking into departures that do not have real-time data yet.
6 daysEFA: checkin supportBirte Kristina Friesel-9/+24
worker support and cancellations are still missing
6 daysEFA: implement geolocation lookupBirte Kristina Friesel-4/+49
6 daysEFA: ->id is no longer supported, use ->id_numBirte Kristina Friesel-2/+2
11 daysMerge branch 'main' into efa-supportBirte Kristina Friesel-39/+451
11 daysbackend selection: group recommended / transit assoc / experimental&legacy2.13.3Birte Kristina Friesel-4/+14
11 daysTraveling: do not compute map data if no destination has been set2.13.1Birte Kristina Friesel-6/+12
11 daysperltidyBirte Kristina Friesel-16/+17
11 daysAdd (possibly still somewhat experimental) MOTIS supportBirte Kristina Friesel-4/+181
Squashed commit of the following: commit c7c8b2ec5d8254eefb548bfe7763a7d8c9558be4 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Mon Jun 9 13:08:57 2025 +0200 fix another merge issue commit d2ae55c901ab59284263ad3070ba425e03cee833 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Mon Jun 9 13:08:39 2025 +0200 Stations: get_by_external_id is a slow function commit 725174413300e71c350d2f1dcfbeacd751def977 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Mon Jun 9 13:05:48 2025 +0200 ... I accidentally commited a merge conflict commit c695494dbd6aaf252199da42ad763bdffa1d64b9 Merge: e5da62b 3322ca2 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Mon Jun 9 12:46:08 2025 +0200 Merge branch 'main' into motis commit e5da62bcfc7953d5109ba53ae1fcc34f509f251b Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Wed Apr 30 18:15:39 2025 +0200 cpanfile: add Travel::Status::MOTIS dependency commit 180723a9e0e2f0aede0bc6352d5eee601183ccef Merge: 479373b c90ae4c Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Wed Apr 30 18:13:45 2025 +0200 Merge branch 'main' into motis commit 479373b14eaadbc022199df246c9fb523a87188c Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Wed Apr 30 18:06:41 2025 +0200 database: remove duplicate users_with_backend migration commit 94c8b5a7d1e2cb7f73b0eca7e33d916775504cd4 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Wed Apr 30 18:06:04 2025 +0200 Do not store train colours in database. They're only supported by MOTIS. commit d58f23c3c7b06cc0243c1945dacd8673d2d2e428 Author: networkException <git@nwex.de> Date: Fri Apr 18 11:47:02 2025 +0200 Initial MOTIS backend support This patch adds support for checkins using MOTIS backends using the Travel::Status::MOTIS module. With this travelynx supports the two services currently exposed by the module, RNV for local transit in Mannheim, Germany and surrounding cities and transitous for worldwide crowdsourced tranit feeds. This implementation supports realtime predictions, cancellations and polylines as well as custom route colors if available. As MOTIS doesn't expose names of indivial trips currently, displaying transports is mostly limited to route names. MOTIS uses strings for stop ids, based on the used GTFS source feeds. As travelynx's data model currently assumes interger station ids, this patch adds a mapping table to the database. This patch assumes support for MOTIS in db-fakedisplay. Note that while träwelling has migrated to tranitous fully sync remains unsupported for now. See https://github.com/Traewelling/traewelling/issues/3345
2025-05-30Show train route in checked-in view and profile / status card2.11.37Birte Kristina Friesel-1/+42
2025-03-30get_connecting_trains_p: reject if dbris is in use2.11.11Birte Kristina Friesel-1/+1
Closes #219
2025-03-29pass train suffix (which is sometimes line ID) on to InTransit->addBirte Kristina Friesel-5/+6
Closes #217
2025-03-27API: Add DBRIS support2.11.6Birte Kristina Friesel-1/+11
2025-03-25Account: IRIS is no longer preferred; do not place it firstBirte Kristina Friesel-7/+2
2025-03-24bahn.de is reasonably ready now. I think.Birte Kristina Friesel-1/+1
2025-03-23dbris: implement geolocation lookupBirte Kristina Friesel-1/+41
2025-03-23dbris is almost ready for productionBirte Kristina Friesel-5/+3
Agenda: * geolocation * traewelling sync * check whether cancelled trains / stops are handled appropriately * switch manual journey entry to dbris once sufficient station data has been gathered * switch default to dbris at some time in the future
2025-03-23dbris: /s/: redirect to proper station ID if neededBirte Kristina Friesel-0/+15
2025-03-23Preliminary DBRIS support (not user-accessible yet)Birte Kristina Friesel-19/+103
working: * checkin * checkout * realtime data * polylines * carriage formation (long-distance only) to do: * geolocation * redirects after checkout / undo * traewelling sync * use dbris by default
2025-03-04Remove VRN; use ÖBB for IRIS augmentation (maps)Birte Kristina Friesel-0/+1
Luckily, ÖBB and IRIS agree on virtually all EVA IDs. In some cases, ÖBB uses different station names (e.g. 'Fürth in Bayern' rather than 'Fürth(Bay)'). Closes #206 Closes #207 Closes #208
2025-03-03Add Forbidden to 502 Bad Gateway codes2.10.1Birte Kristina Friesel-1/+2
2025-02-09Add PKP (and, thus, SOCKS proxy) supportBirte Kristina Friesel-1/+20
2025-01-11Add backend selection link to Bad Gateway / Gateway Timeout error messagesBirte Kristina Friesel-5/+9
2025-01-08Remove DB HAFAS for now2.9.11Birte Kristina Friesel-1/+10
Looks like it's gone for good
2025-01-08503 backend errors (hello, DB HAFAS) are Bad Gateway as wellBirte Kristina Friesel-1/+1
2025-01-08EFA support (WiP)Birte Kristina Friesel-0/+68
2024-12-18Speed up history pages: Only build route datetimes when needed2.9.8Birte Kristina Friesel-24/+29
2024-12-18premature connection close is HTTP 502 as well2.9.7Birte Kristina Friesel-1/+1
2024-12-04do not add meta stations if eva is undef2.9.5Birte Kristina Friesel-5/+7
2024-12-04Add a separate error message for gateway timeoutsBirte Kristina Friesel-0/+7
2024-11-30status API: Set Access-Control-Allow-Origin to *2.9.3Birte Kristina Friesel-0/+2
2024-11-23departures: distinguish between backend errors (502) and internal errors (500)2.9.1Birte Kristina Friesel-1/+8
Closes #179
2024-10-28Use the correct stop instance when checking in to ring linesBirte Kristina Friesel-2/+4
2024-10-23import: Catch errors in get_single and sanity_checkBirte Kristina Friesel-8/+14
2024-10-23Api: perltidyBirte Kristina Friesel-5/+6
2024-10-16api/v1/import: hard-code backend_id to 1 (same as import form)Birte Kristina Friesel-4/+7
Closes #162 See also #170 (thanks to https://github.com/homologic for the suggestion)
2024-10-16Add terms of service andpoint; reference it from registration and login formsBirte Kristina Friesel-1/+9
2024-09-20passenger rights: show departures with delay ≥ 20 minutes as well2.8.40Birte Kristina Friesel-2/+5
This is a quick workaround until I have finally reviewed #116
2024-08-26backend selection: Rename "DB (IRIS)" to "IRIS" for better HAFAS distinctionBirte Kristina Friesel-1/+1
2024-08-24backend suggestions: handle holes in GeoJSON polygonsBirte Kristina Friesel-14/+34
2024-08-23Suggest backends based on coverage and latest checkout coordinatesBirte Kristina Friesel-0/+34
References #156
2024-08-21backend selection: add coverage regions and links to coverage map2.8.27Birte Kristina Friesel-0/+33
2024-08-17backend selection: Hide Resrobot and TPG2.8.26Birte Kristina Friesel-0/+4
These backends do not provide trip/journey details, making them useless for travelynx
2024-08-13backend selection: remove type from buttons (invisible on narrow screens)Birte Kristina Friesel-1/+1
2024-08-12backend form: always show IRIS firstBirte Kristina Friesel-1/+6
2024-08-12backend selection: add homepage linksBirte Kristina Friesel-3/+6
2024-08-10backend selection: handle backends that are no longer supportedBirte Kristina Friesel-3/+9
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