summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Model
AgeCommit message (Collapse)AuthorLines
2025-06-08HAFAS: Sett rt flag if realtime data is availableBirte Kristina Friesel-4/+19
Closes #120
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-30Show train route in checked-in view and profile / status card2.11.37Birte Kristina Friesel-15/+17
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-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-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-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-29pass train suffix (which is sometimes line ID) on to InTransit->addBirte Kristina Friesel-0/+10
Closes #217
2025-03-28dbris: journey stops: store cancellation state2.11.8Birte Kristina Friesel-14/+16
2025-03-26InTransit->add: update HAFAS/DBRIS switch2.11.4Birte Kristina Friesel-1/+1
2025-03-24restore Träwelling synchronizationBirte Kristina Friesel-1/+1
2025-03-23DBRIS: Add load/occupancy dataBirte Kristina Friesel-5/+12
2025-03-23Preliminary DBRIS support (not user-accessible yet)Birte Kristina Friesel-24/+210
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-01-16InTransit: _epoch: turn undef into undef2.9.18Birte Kristina Friesel-1/+1
2024-12-18Speed up history pages: Only build route datetimes when needed2.9.8Birte Kristina Friesel-4/+7
2024-11-24Journeys->sanity_check: Allow a single trip to take up to three days2.9.2Birte Kristina Friesel-4/+4
Closes #182
2024-11-24Journey->sanity_check: adjust messages;Birte Kristina Friesel-7/+8
2024-08-30Use "Steig" rather than "Gleis" for bus platforms2.8.36Birte Kristina Friesel-0/+5
2024-08-27get_travel_distance: intermediate: Handle destination renames in sanity check2.8.35Birte Kristina Friesel-1/+6
Also related to #160
2024-08-26map, get_travel_distance: Prefer EVA ID over name for route matches2.8.33Birte Kristina Friesel-2/+6
Station names frequently change, so the EVA ID is more robust Closes #160
2024-08-25get_travel_distance: no need for debug output if there is no polylineBirte Kristina Friesel-2/+4
2024-08-23Suggest backends based on coverage and latest checkout coordinatesBirte Kristina Friesel-0/+26
References #156
2024-08-17get_travel_distance: do not overwrite {to,from}_eva with undefBirte Kristina Friesel-2/+2
2024-08-15stats, map: deal with multiple EVA IDs mapping to the same station nameBirte Kristina Friesel-20/+54
2024-08-14IRIS checkout: do not overwrite HAFAS route with IRIS routeBirte Kristina Friesel-8/+0
The IRIS route may differ from the HAFAS route in case of diversions, causing travelynx to lose real-time data, coordinates, and polyline when the follow-up add_route_timestamps call is not made.
2024-08-14get_travel_distance: always return beeline distance2.8.18Birte Kristina Friesel-9/+6
2024-08-09get_connection_targets: always return a list2.8.13Birte Kristina Friesel-2/+5
Closes #152 Closes #153
2024-08-07dumpstops: provide backend name and type rather than just opaque IDs2.8.10Birte Kristina Friesel-1/+1
2024-08-04journey->add: pass backend_id on to station search for route2.8.9Birte Kristina Friesel-2/+3
Ref: #150
2024-08-04manual journey entry: hardcode DB (HAFAS) for station selection2.8.8Birte Kristina Friesel-2/+4
TODO: Add a dropdown to select different backends Closes #150
2024-07-26Multi-backend supportBirte Kristina Friesel-73/+236
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-21Stations: Remove get_latlon_by_name (no longer needed)2.7.9Birte Kristina Friesel-14/+0
2024-07-21Add lat/lon to pre-2.7.8 journeys; add eva where missingBirte Kristina Friesel-9/+8
This speeds up the map significantly and makes coordinates_by_station obsolete
2024-07-21Journey->add: store lat/lon for route at entry time, if availableBirte Kristina Friesel-4/+33
2024-07-08store lat/lon along with route2.7.8Birte Kristina Friesel-2/+6
This increases resilience against EVA ID reuse
2024-06-15InTransit: allow setting data in add callBirte Kristina Friesel-2/+9
2024-06-15remove service / sb_template selection; hardcode DBF with variable hafas flagBirte Kristina Friesel-36/+3
2024-06-15recent journeys: use hafas=DB as wellBirte Kristina Friesel-1/+1
2024-06-15Use hafas=DB rather than hafas=12.6.22Birte Kristina Friesel-1/+4
2024-06-08Store journey backend; do not rely on '|' in ID to distinguish IRIS/HAFASBirte Kristina Friesel-1/+17
This is in preparation for supporting multiple HAFAS backends, and possibly EFA and RIS::Journeys.
2024-06-06... derp2.6.18Birte Kristina Friesel-4/+1