summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command
AgeCommit message (Collapse)AuthorLines
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
2024-05-30perform stationinfo requests for hafas checkinsBirte Kristina Friesel-0/+8
2024-05-29request wagon orders for HAFAS checkinsBirte Kristina Friesel-2/+14
2024-05-29Move wagonorder request to a separate helperBirte Kristina Friesel-0/+4
This is in preparation for HAFAS wagonorder support
2024-04-07dumpstops: encode output as UTF-8Birte Kristina Friesel-1/+2
2024-02-09add dumpstops command2.5.16Birte Kristina Friesel-0/+50
2024-01-11work: Some HAFAS errors are not actionable and should not be logged as errors2.5.10Birte Kristina Friesel-1/+8
2023-12-27Switch to Travel::Status::DE::HAFAS 5.xBirte Kristina Friesel-2/+2
2023-10-01influxdb: add meta / related_stations countBirte Kristina Friesel-0/+8
2023-10-01store related stations; respect them when looking up connectionsBirte Kristina Friesel-0/+17
2023-09-24add support for HAFAS connection suggestions; drop manual destination listBirte Kristina Friesel-0/+14
Still TODO: handle stations that have several EVAs
2023-09-04perltidy2.1.3Birte Kristina Friesel-1/+2
2023-09-04work: 'did not find $dep' is not actionable → change severity to debugBirte Kristina Friesel-3/+3
2023-08-22Database: create index on real_departure to speed up latest journey queriesBirte Kristina Friesel-2/+12
2023-08-13WIP: HAFAS supportBirte Kristina Friesel-2/+66
2023-08-13influxdb: add stations statisticsBirte Kristina Friesel-1/+58
2023-08-09Store traewelling refresh token in database1.34.3Birte Kristina Friesel-0/+22
2023-08-08sort timeline (descending by checkin timestamp, so most recent checkins first)1.34.2Birte Kristina Friesel-0/+47
2023-08-07Traewelling: replace legacy password login with OAuth2Birte Kristina Friesel-0/+19
This is a breaking change insofar as that traewelling support is no longer provided automatically, but must be enabled by providing a traewelling.de application ID and secret in travelynx.conf. However, as traewelling.de password login is deprecated and wil soon be disabled, travelynx would break either way. So we might or might not see travelynx 2.0.0 in the next days. Automatic token refresh is still todo, but that was the case for password login as well. Closes #64
2023-07-23convert checkout to promises (checkout_p)Birte Kristina Friesel-16/+19
2023-07-22database: stations: make 'ds100' column optional.Birte Kristina Friesel-0/+12
HAFAS stations do not necessarily have ds100 codes
2023-07-18followee list: show if accounts are following back1.33.3Birte Kristina Friesel-0/+23
2023-07-16account: add a list of sent follow requestsBirte Kristina Friesel-0/+19
2023-07-15database: change maximum comment lengthBirte Kristina Friesel-8/+8
2023-07-15add view for followees in transitBirte Kristina Friesel-0/+44
2023-07-09use promises for checkin and traewelling_to_travelynxBirte Kristina Friesel-1/+1
2023-07-03update ALL the copyright notices!Derf Null-10/+10
2023-06-26compute effective visibility in database viewDerf Null-0/+74
2023-06-26use small stations database for some testsDerf Null-0/+8
2023-06-26Move hash_password to Model/UsersDerf Null-18/+8
2023-06-24fine-graned visibility selection of history / past checkinsDerf Null-0/+54
most notably, adds a 'history for followers only' mode