summaryrefslogtreecommitdiff
path: root/lib/Travelynx
AgeCommit message (Collapse)AuthorLines
2025-06-09fix another merge issuemotisBirte Kristina Friesel-1/+0
2025-06-09Stations: get_by_external_id is a slow functionBirte Kristina Friesel-2/+4
2025-06-09Merge branch 'main' into motisBirte Kristina Friesel-65/+186
2025-06-08HAFAS: Sett rt flag if realtime data is availableBirte Kristina Friesel-4/+19
Closes #120
2025-06-08DBRIS: Support multiple proxies2.12.8Birte Kristina Friesel-1/+10
2025-06-07InTransit: DBRIS: Update realtime flag if realtime data is available2.12.7Birte Kristina Friesel-1/+9
Ref #120 (still todo for HAFAS checkins)
2025-05-31work: dbris: update_arrival must run before cancellation-induced checkouts2.12.4Birte Kristina Friesel-13/+13
2025-05-31work: DBRIS: handle newly-cancelled destinations2.12.3Birte Kristina Friesel-1/+13
2025-05-30Show train route in checked-in view and profile / status card2.11.37Birte Kristina Friesel-16/+59
2025-05-28InTransit->add: Use a global $now objectBirte Kristina Friesel-30/+31
2025-05-25status card: show complete route and expected load2.11.32Birte Kristina Friesel-1/+1
2025-05-25status card: show carriage formationBirte Kristina Friesel-0/+1
2025-05-22InTransit: store arr_platform for DBRIS checkins2.11.29Birte Kristina Friesel-0/+2
2025-05-17Fix anchors in DBF links for HAFAS and DBRIS checkins2.11.28Birte Kristina Friesel-1/+1
2025-05-17dbris: persist backend messages and show them in journey view2.11.27Birte Kristina Friesel-12/+41
2025-05-14_checked_in: fix stop detail links for dbris2.11.25Birte Kristina Friesel-1/+1
2025-04-30Merge branch 'main' into motisBirte Kristina Friesel-5/+7
2025-04-30database: remove duplicate users_with_backend migrationBirte Kristina Friesel-11/+0
2025-04-30Do not store train colours in database. They're only supported by MOTIS.Birte Kristina Friesel-10/+5
2025-04-21InTransit->add: dbris: ensure that train_no is always set2.11.23Birte Kristina Friesel-3/+5
2025-04-19Use train_no / line_no accessors provided by DBRIS 0.10Birte Kristina Friesel-5/+5
2025-04-18Initial MOTIS backend supportnetworkException-25/+907
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-04-16dbris: store him messages upon checkin as well2.11.19Birte Kristina Friesel-1/+14
2025-04-16Show DBRIS messages (disruptions and infos) in checked_in view2.11.18Birte Kristina Friesel-0/+38
2025-04-10dbris: get_journey_p: respect proxy configBirte Kristina Friesel-1/+1
2025-04-05work: do not treat non-actionable backend errors as errors2.11.16Birte Kristina Friesel-3/+4
2025-04-02DBRIS trains may come without a type2.11.13Birte Kristina Friesel-1/+1
Closes #221
2025-04-02dbris: handle checkins into cancelled departuresBirte Kristina Friesel-1/+1
2025-03-31work: log count of generic backend issues to influxdb as wellBirte Kristina Friesel-2/+8
2025-03-30get_connecting_trains_p: reject if dbris is in use2.11.11Birte Kristina Friesel-1/+1
Closes #219
2025-03-30log API rate limit events to influxdb2.11.10Birte Kristina Friesel-3/+5
2025-03-29pass train suffix (which is sometimes line ID) on to InTransit->addBirte Kristina Friesel-5/+16
Closes #217
2025-03-28dbris: journey stops: store cancellation state2.11.8Birte Kristina Friesel-14/+16
2025-03-28work: increase dbris throttlingBirte Kristina Friesel-1/+1
2025-03-27API: Add DBRIS support2.11.6Birte Kristina Friesel-1/+11
2025-03-26work: decrease bahn.de request frequency; detect rate limiting2.11.5Birte Kristina Friesel-2/+13
2025-03-26InTransit->add: update HAFAS/DBRIS switch2.11.4Birte Kristina Friesel-1/+1
2025-03-25work: pass train_id to update_arrival_dbris (oops)2.11.2Birte Kristina Friesel-5/+6
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-24restore Träwelling synchronizationBirte 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: Add load/occupancy dataBirte Kristina Friesel-5/+12
2025-03-23dbris: /s/: redirect to proper station ID if neededBirte Kristina Friesel-0/+15
2025-03-23sync_backends: ris column has been renamed to dbris. oops.Birte Kristina Friesel-1/+1
2025-03-23Preliminary DBRIS support (not user-accessible yet)Birte Kristina Friesel-43/+709
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-5/+7
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-11/+76