summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command
AgeCommit message (Collapse)AuthorLines
13 hoursworker: add EFA supportBirte Kristina Friesel-0/+79
5 days... derpBirte Kristina Friesel-1/+1
6 daysdatabase: it's dbris, not risBirte Kristina Friesel-11/+13
6 daysMerge branch 'main' into efa-supportBirte Kristina Friesel-32/+656
6 daysFix worker for MOTIS checkinsHEAD2.13.5mainBirte Kristina Friesel-6/+8
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.
6 daysMOTIS: Fix work command2.13.4Birte Kristina Friesel-4/+1
6 daysperltidyBirte Kristina Friesel-7/+12
6 daysAdd (possibly still somewhat experimental) MOTIS supportBirte Kristina Friesel-2/+307
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
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-04-05work: do not treat non-actionable backend errors as errors2.11.16Birte Kristina Friesel-3/+4
2025-03-31work: log count of generic backend issues to influxdb as wellBirte Kristina Friesel-2/+8
2025-03-30log API rate limit events to influxdb2.11.10Birte Kristina Friesel-3/+5
2025-03-28work: increase dbris throttlingBirte Kristina Friesel-1/+1
2025-03-26work: decrease bahn.de request frequency; detect rate limiting2.11.5Birte Kristina Friesel-2/+13
2025-03-25work: pass train_id to update_arrival_dbris (oops)2.11.2Birte Kristina Friesel-5/+6
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-0/+258
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-16work: fetch arrival wagon order for VBN and ÖBB as wellBirte Kristina Friesel-3/+8
2025-01-09VRN and ÖBB EVA IDs are compatible with bahn.de → request wagon orders2.9.15Birte Kristina Friesel-16/+23
2025-01-08Do not use DB HAFAS by default. Use DB IRIS instead.2.9.12Birte Kristina Friesel-0/+12
2025-01-08EFA support (WiP)Birte Kristina Friesel-2/+57
2024-09-01Work: Include backend in debug and error messages2.8.38Birte Kristina Friesel-6/+12
2024-09-01integritycheck: add sub-commandsBirte Kristina Friesel-108/+126
2024-08-30timeline: add maps2.8.37Birte Kristina Friesel-0/+50
2024-08-27maintenance: do not re-generate statsBirte Kristina Friesel-16/+0
2024-08-26integritycheck: list journeys affected by #1592.8.32Birte Kristina Friesel-0/+43
2024-08-16.. oooops2.8.23Birte Kristina Friesel-1/+1
2024-08-16work: guard HAFAS updates via eval as well2.8.22Birte Kristina Friesel-91/+101
2024-08-15truncate journey stats once more2.8.21Birte Kristina Friesel-0/+17
2024-08-12database: avoid needlessly incrementing backends.idBirte Kristina Friesel-8/+18
2024-08-10work: only request carriage formation for DB backendsBirte Kristina Friesel-2/+4
2024-08-08Switch to new carriage formation APIBirte Kristina Friesel-8/+36
2024-08-07dumpstops: provide backend name and type rather than just opaque IDs2.8.10Birte Kristina Friesel-2/+25
2024-07-26fix v55 migration: we also need to sync hafas->iris in some cases2.8.1Birte Kristina Friesel-7/+66
2024-07-26influxdb: per-backend statsBirte Kristina Friesel-53/+48
2024-07-26Multi-backend supportBirte Kristina Friesel-6/+275
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-1/+145
This speeds up the map significantly and makes coordinates_by_station obsolete
2024-06-23work: give bodged background tasks some time to completeBirte Kristina Friesel-0/+9
2024-06-15traewelling: increase latency between traewelling.de requestsBirte Kristina Friesel-1/+1
2024-06-15Use hafas=DB rather than hafas=12.6.22Birte Kristina Friesel-1/+1
2024-06-15work,traewelling: consistent debug output if maintenance file is presentBirte Kristina Friesel-2/+14
2024-06-14work: _really_ do not execute any database actions in maintenance modeBirte Kristina Friesel-0/+6
2024-06-12use 'maintenance' file to stop background jobs when running DB upgradesBirte Kristina Friesel-0/+17
2024-06-09Increate train_id length to account for DB HAFAS update2.6.19Birte Kristina Friesel-1/+117
2024-06-08Store journey backend; do not rely on '|' in ID to distinguish IRIS/HAFASBirte Kristina Friesel-0/+104
This is in preparation for supporting multiple HAFAS backends, and possibly EFA and RIS::Journeys.
2024-06-06... derp2.6.18Birte Kristina Friesel-1/+1
2024-06-06traewelling: trace missing username bug2.6.15Birte Kristina Friesel-0/+7
2024-06-02work: check arr on arr, not on dep2.6.14Birte Kristina Friesel-1/+1
2024-05-30work: fix HAFAS arrival wagonorder/stationinfo request logicBirte Kristina Friesel-1/+1