summaryrefslogtreecommitdiff
path: root/lib/Travelynx
AgeCommit message (Collapse)AuthorLines
18 hoursRevert "work: dbris: be slightly less pessimistic"HEAD2.15.6mainBirte Kristina Friesel-1/+1
This reverts commit 5693277807924744c2ace92015f01c0f9f25e8a8.
41 hoursJourney-based checkins: store platforms with route; set arrival platform from it2.15.5Birte Kristina Friesel-0/+24
Closes #269
6 dayswork: dbris: be slightly less pessimistic2.15.3Birte Kristina Friesel-1/+1
6 daysJourneys->get: type: trim trailing white space (hello, hafas)Birte Kristina Friesel-1/+1
6 daysJourneys->get: pre-compute delay dataBirte Kristina Friesel-0/+6
6 dayswork: limit dbris journey requests to 0.5 HzBirte Kristina Friesel-4/+6
If $backend is not set, we may have non-dbris checkins in between -- in that case, we don't need to wait as long
8 dayswork: support distinct worker invocations per backendBirte Kristina Friesel-160/+171
10 daysJourneys->add: allow consecutive route stops at the same timestampnetworkException-2/+2
This patch relaxes the route timestamp sanity checking introduced in 9e6728a3e14fbe48b7e7aa1d7c0ae2d4e79f0ece by allowing the same timestamp (usually minute accuracy) to occur multiple times for consecutive stops. This is common for trams, for example.
11 daysadd_intransit_form: add simple sanity check for route timestampsBirte Kristina Friesel-2/+15
11 daysJourneys->add: a little bit of sanity checking for route timestampsBirte Kristina Friesel-2/+10
12 daysupdate_arrival_motis: store arrival platform, if availablenetworkException-1/+2
See b4879a8a48ccecf1071d1ed76a02fecfb4eba3b6
12 daysJourney: show dep/arr stop in table; include platforms if availableBirte Kristina Friesel-1/+3
Also: show checkin timestamp
12 daysupdate_arrival_{dbris,efa,hafas}: store arrival platform, if availableBirte Kristina Friesel-3/+5
12 daysInTransit->add: Use existing JSON instanceBirte Kristina Friesel-7/+7
12 daysManual journey entry: support sched arr/dep timestamps of intermediate stopsBirte Kristina Friesel-9/+25
13 daysadd_intransit_form: only use station_info if is definedBirte Kristina Friesel-2/+2
13 daysadd_intransit: allow users to specify timestamps for intermediate stopsBirte Kristina Friesel-6/+15
13 daysadd_intransit_form: ensure arrival > departureBirte Kristina Friesel-0/+3
14 daysAdd bare-bones support for manual checkins (still bound to a specific backend)Birte Kristina Friesel-3/+272
Extension opportunities (maybe, eventually) * provide datetimes of intermediate stops * provide an API for real-time data updates * look up stops that travelynx does not yet know about rather than rejecting them outright
2025-06-21add journey: do not hardcode backend2.14.18Birte Kristina Friesel-2/+4
2025-06-20station board: map upstream HTTP 500 to HTTP 502Birte Kristina Friesel-1/+1
2025-06-20CSV history export: Use EVA IDs rather than Ril100; add carriage and operatorBirte Kristina Friesel-15/+23
See #255
2025-06-20MOTIS: Normalize timestamps to Europe/BerlinnetworkException-0/+4
2025-06-19Traveling#station: GET parameters always override user configurationBirte Kristina Friesel-8/+29
Closes #253
2025-06-19EFA backends are no longer experimental2.14.13Birte Kristina Friesel-2/+2
2025-06-19stations_str: ris has been renamed to dbris; add is_motisBirte Kristina Friesel-0/+24
This fixes missing dbris and motis indicators in dumpstops
2025-06-19dumpstops: add is_dbris, is_efa, is_motis flagsBirte Kristina Friesel-3/+3
2025-06-19EFA: Show disambiguation pageBirte Kristina Friesel-0/+13
Closes #249
2025-06-18Stations->add_or_update: show user-friendly error if latlon are missing2.14.12Birte Kristina Friesel-0/+3
This can happen with EFA SEV stops
2025-06-18EFA: trip IDs should include a time, not just a dateBirte Kristina Friesel-3/+7
Closes #243
2025-06-18DBRIS: Support short IDs (A=1@L=eva)2.14.11Birte Kristina Friesel-2/+2
2025-06-17DBF links: support efa and motis backendsBirte Kristina Friesel-1/+1
2025-06-16MOTIS: Store trip operatornetworkException-0/+3
2025-06-16database: relaxe train_type length constraint for EFA and MOTIS checkinsBirte Kristina Friesel-0/+147
Closes #239
2025-06-16EFA: Decrease lookbehind to ten minutes, for nowBirte Kristina Friesel-2/+2
2025-06-15get_connecting_trains_p: not implemented for EFA yetBirte Kristina Friesel-0/+7
2025-06-15EFA: handle arrival being cancelled after checkinBirte Kristina Friesel-10/+28
2025-06-15work: DBRIS: Fix(?) handling cancelled arrivalsBirte Kristina Friesel-1/+8
2025-06-15InTransit->add: efa: mark cancelled stopsBirte Kristina Friesel-9/+10
2025-06-15EFA: Handle check-ins into cancelled departuresBirte Kristina Friesel-1/+1
Note that this bumps the EFA dependency to 3.10 (which is just being released) Arrival cancellations are still on the to-do list
2025-06-15geolocation: IRIS stops must be marked es hafas=02.14.3Birte Kristina Friesel-0/+1
Fixes regression introduced in c250a2f2c7968966014315f76b25109b83c041ed Closes #242
2025-06-15EFA, HAFAS: Store trip operator(s)2.14.2Birte Kristina Friesel-0/+6
Closes #142
2025-06-15recent targets: add efa supportBirte Kristina Friesel-2/+3
2025-06-15Add experimental EFA supportBirte Kristina Friesel-28/+613
Squashed commit of the following: commit b7457791ab7ab4859ebf4a5ce173e1aaeed4c7fb Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Sun Jun 15 08:18:46 2025 +0200 changelog commit 7f3d61066195cfc3c83a8fc1b2fc3743e7e6171c Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Sat Jun 14 19:55:51 2025 +0200 Mark EFA backends as experimental for now For instance, VRR has very interesting issues when checking into departures that do not have real-time data yet. commit 3370c0f6c25bd6b02cc4d56e9a3aba2a66d1151a Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Sat Jun 14 19:49:48 2025 +0200 InTransit: remove debug output commit deb5444fa2965228b537e86fce862436ef2e6e19 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Sat Jun 14 19:12:44 2025 +0200 frontend js for checked-in view: never show fractional delays commit d47ff9615b551bbd844a799be7717e9e74a04266 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Sat Jun 14 19:12:31 2025 +0200 worker: add EFA support commit 3a955c0105bf13d040a821e2c87a19694202cde6 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Sat Jun 14 17:48:46 2025 +0200 EFA: checkin support worker support and cancellations are still missing commit 19dea1ad13029d19cba38e7d1338718149c139fb Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Sat Jun 14 14:32:59 2025 +0200 actions.js: pass on efa parameter commit 8f18ff2c8f9f906a387dbe16d372e1c4b4a6f259 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Sat Jun 14 14:32:48 2025 +0200 EFA: implement geolocation lookup commit bce1139bab9aab167cdab910fa86085529d45b80 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Sat Jun 14 14:32:21 2025 +0200 EFA: ->id is no longer supported, use ->id_num commit e4397e6b1538ddfa71da9839d6011a73fadc528f Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Mon Jun 9 20:34:22 2025 +0200 ... derp commit e0c4cbf862a8f5a7bca0b1aceab3760af94093e9 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Mon Jun 9 18:28:35 2025 +0200 database: it's dbris, not ris commit bfb1e834ce6c3171011dc20b32117065960b8771 Merge: 42f9a00 f1da50f Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Mon Jun 9 18:20:51 2025 +0200 Merge branch 'main' into efa-support commit 42f9a00d98dbd675234c05b3e25c3e722cfdd7ba Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Wed Jan 8 18:11:28 2025 +0100 EFA support (WiP)
2025-06-09Fix worker for MOTIS checkins2.13.5Birte Kristina Friesel-8/+11
Apparently, even after a check-in has been performed, subsequent worker runs may encounter stop IDs that were not added to stations_external_ids by the check-in process. So we need to add_or_update all stops we ecounter.
2025-06-09MOTIS: Fix work command2.13.4Birte Kristina Friesel-4/+1
2025-06-09backend selection: group recommended / transit assoc / experimental&legacy2.13.3Birte Kristina Friesel-4/+14
2025-06-09Traveling: do not compute map data if no destination has been set2.13.1Birte Kristina Friesel-6/+12
2025-06-09perltidyBirte Kristina Friesel-86/+106
2025-06-09Add (possibly still somewhat experimental) MOTIS supportBirte Kristina Friesel-24/+892
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