summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Model/Journeys.pm
AgeCommit message (Collapse)AuthorLines
8 daysSpeed 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-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-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-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-23/+44
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-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-06-15recent journeys: use hafas=DB as wellBirte Kristina Friesel-1/+1
2024-06-08Store journey backend; do not rely on '|' in ID to distinguish IRIS/HAFASBirte Kristina Friesel-1/+5
This is in preparation for supporting multiple HAFAS backends, and possibly EFA and RIS::Journeys.
2024-02-13Journeys: adjust sanity_check for local transit stuff2.5.17Birte Kristina Friesel-7/+7
2023-10-01suggested connections: avoid fetching IRIS trains via HAFASBirte Kristina Friesel-3/+6
2023-10-01store related stations; respect them when looking up connectionsBirte Kristina Friesel-14/+13
2023-09-24add support for HAFAS connection suggestions; drop manual destination listBirte Kristina Friesel-2/+1
Still TODO: handle stations that have several EVAs
2023-08-22select latest journey based on timestamp, not ID2.0.2Birte Kristina Friesel-1/+1
This avoids manually added past journeys messing with the latest travel target
2023-08-16recent targets: distinguish hafas/irisBirte Kristina Friesel-3/+4
2023-07-14Journeys->get_latest: Fix uninitialized value warningBirte Kristina Friesel-12/+16
2023-07-03journeys: simplify visibily checkDerf Null-12/+1
2023-07-03update ALL the copyright notices!Derf Null-1/+1
2023-07-02show hours and minutes until arrival, not just minutesDerf Null-15/+17
2023-06-28Journey->add_from_in_transit: return ID of added journeyDerf Null-1/+2
2023-06-27journeys: return effective visibilityDerf Null-24/+31
2023-06-24time to flush the name cacheDerf Null-1/+1
2023-05-01journey: show times of intermediate stops, if availableDerf Null-0/+7
2023-03-09remove unused journey_edit_mask attrsDaniel Friesel-11/+0
2023-03-04status/profile: re-add ability to show latest checkout, if desired1.30.1Daniel Friesel-0/+10
got lost in 1.30.0
2023-03-01Journeys->get: allow filtering by departure timestampDaniel Friesel-0/+4
2023-02-27set visibility per journey (wip)Daniel Friesel-1/+65
some odds and ends left to polish, but ready for testing
2023-02-19update ze copyrightDaniel Friesel-1/+1
2023-02-04improve inconsistency list1.29.18Daniel Friesel-5/+20
2023-02-04inconsistent journeys: link to journeysDaniel Friesel-2/+8
2023-01-18latest checkout stations: order by journey id rather than timestamp1.29.14Daniel Friesel-1/+1
2023-01-18landing page: show past stops if geolocation is unavailableDaniel Friesel-0/+38
2023-01-15Journeys: perltidyDaniel Friesel-1/+5
2023-01-15change route/stop layout to [name, eva, {data}]Daniel Friesel-5/+6
2023-01-02review: skip journeys with negative duration1.29.3Daniel Friesel-2/+2
2022-12-29review: link to list of all single-trip checkins1.29.1Daniel Friesel-0/+16
2022-12-27review: fix percentage localeDaniel Friesel-8/+2
2022-12-27derp #2Daniel Friesel-1/+1
2022-12-27derpDaniel Friesel-3/+3
2022-12-27top trips: handle return tripsDaniel Friesel-2/+14
2022-12-27review: add top and bottom tripsDaniel Friesel-0/+45