summaryrefslogtreecommitdiff
path: root/lib
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-96/+253
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-30checked-in view: restore dbf.finalrewind.org carriage formation link2.12.2Birte Kristina Friesel-0/+10
2025-05-30polyline_to_map: handle cases where from and to are in inverse order2.12.1Birte Kristina Friesel-0/+3
2025-05-30Show train route in checked-in view and profile / status card2.11.37Birte Kristina Friesel-31/+82
2025-05-28InTransit->add: Use a global $now objectBirte Kristina Friesel-30/+31
2025-05-25Show short wagon order in timelien viewBirte Kristina Friesel-0/+1
2025-05-25Get wagonorder description and designation from DBRIS::Formation2.11.34Birte Kristina Friesel-16/+22
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/+8
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/+2
2025-04-30Merge branch 'main' into motisBirte Kristina Friesel-6/+8
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-12/+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-6/+6
2025-04-18Initial MOTIS backend supportnetworkException-29/+1075
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-10dbris: pass dbris service config to helperBirte Kristina Friesel-5/+6
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-02HAFAS, DBRIS: handle selection of cancelled destinations2.11.12Birte Kristina Friesel-1/+17
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-10/+23
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-28get_user_status_json_v1: fix dbris typo2.11.7Birte Kristina Friesel-1/+1
2025-03-28perltidyBirte Kristina Friesel-2/+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-24Text change to reflect ÖPNV integrationTim-1/+1
This commit removes a reference to "train" in a message that is shown when the user is not checked in at the moment.
2025-03-24bahn.de is reasonably ready now. I think.Birte Kristina Friesel-1/+1
2025-03-24restore Träwelling synchronizationBirte Kristina Friesel-5/+3