summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command/work.pm
AgeCommit message (Collapse)AuthorLines
2024-08-08Switch to new carriage formation APIBirte Kristina Friesel-8/+36
2024-07-26Multi-backend supportBirte Kristina Friesel-2/+8
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-06-23work: give bodged background tasks some time to completeBirte Kristina Friesel-0/+9
2024-06-15work,traewelling: consistent debug output if maintenance file is presentBirte Kristina Friesel-2/+2
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/+4
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-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-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-13WIP: HAFAS supportBirte Kristina Friesel-2/+66
2023-07-23convert checkout to promises (checkout_p)Birte Kristina Friesel-16/+19
2023-07-03update ALL the copyright notices!Derf Null-1/+1
2023-06-24time to flush the name cacheDerf Null-1/+1
2023-04-06Perl is hard1.30.13Daniel Friesel-3/+7
2023-04-02work: real_arr_ts may be undefined1.30.12Daniel Friesel-1/+2
2023-04-01Update HAFAS polylines prior to checkout1.30.11Derf Null-1/+2
In case of diversions, the polyline fetched at checkin time may no longer be accurate. Request a new polyline prior to checkout to address this. Closes #66
2023-03-10work: avoid race conditions with frontend when calling checkoutDerf Null-0/+6
2023-03-10worker: select on arr and dep eva for all arr/dep updatesDerf Null-3/+6
still missing (TODO): add_route_timestamps
2023-01-07work, traewelling: only push to influxdb in prod modeDaniel Friesel-3/+11
2023-01-02move traewelling sync to a separate commandDaniel Friesel-89/+9
2022-12-30work: count errors1.29.2Daniel Friesel-1/+5
2022-12-30work: separate durations for main and traewellingDaniel Friesel-7/+14
2022-12-30worker: optionally publish influxdb statsDaniel Friesel-0/+12
2022-12-27work: Fix log invocation1.28.5Daniel Friesel-1/+1
2022-12-23work: not finding a departing train is not criticalDaniel Friesel-1/+3
2022-07-09traewelling pull: skip API request for checked-in usersDaniel Friesel-1/+14
2022-05-27limit number of concurrent traewelling requests to five per second1.22.4Daniel Friesel-4/+12
2022-02-20work: move DB manipulation to InTransit helperDaniel Friesel-107/+32
2022-02-17Traewelling: more consistent error messagesDaniel Friesel-4/+3
2022-02-16traewelling: log an error if pull sync failsDaniel Friesel-0/+6
2022-01-08traewelling sync: push first, then pullDaniel Friesel-24/+24
2021-03-07Move incomplete checkin removal from "maintenance" to "work" taskDaniel Friesel-2/+10
2021-01-29Switch to AGPL3+Daniel Friesel-1/+1
2020-12-03regularly generate statistics in the background1.18.11Daniel Friesel-13/+0
2020-11-28move statistics cache to a separate model classDaniel Friesel-1/+2
2020-11-27Add a bunch of licensing dataDaniel Friesel-0/+3
2020-10-19work: Fix travelynx->Traewelling sync when several users are checked in1.18.5Daniel Friesel-2/+2
I made a derp
2020-10-11move in_transit queries to an InTransit model classDaniel Friesel-4/+6
2020-10-01ooopsieDaniel Friesel-1/+1
2020-10-01log error when trip_id is missingDaniel Friesel-2/+6
2020-10-01allow checking into traewellingDaniel Friesel-0/+20
2020-09-30Allow linking a Träwelling account, auto-sync Träwelling→travelynxDaniel Friesel-3/+42
travelynx→Träwelling is still work-in-progress Squashed commit of the following: commit 97faa6e2e6c8d20fba30f2d0f6e78187ceeb72e6 Author: Daniel Friesel <derf@finalrewind.org> Date: Wed Sep 30 18:50:05 2020 +0200 improve traewelling log and tx handling commit 487d7dd728b9d45b731bdc7098cf3358ea2e206e Author: Daniel Friesel <derf@finalrewind.org> Date: Wed Sep 30 18:02:41 2020 +0200 add missing traewelling template commit 0148da2f48d9a52dcddc0ab81f83d8f8ac3062ab Author: Daniel Friesel <derf@finalrewind.org> Date: Wed Sep 30 18:02:35 2020 +0200 improve traewelling pull sync commit 4861a9750f9f2d7621043361d0af6b0a8869a0df Author: Daniel Friesel <derf@finalrewind.org> Date: Tue Sep 29 22:14:24 2020 +0200 wip checkin from traewelling commit f6aeb6f06998a2a7a80f63a7b1b688b1a26b66bd Author: Daniel Friesel <derf@finalrewind.org> Date: Tue Sep 29 18:37:53 2020 +0200 refactor traewelling integration. login and logout are less of a hack now. checkin and checkout are not supported at the moment.
2020-08-06Move get_departures to a separate IRIS helperDaniel Friesel-2/+10
2020-02-18auto-checkout for cancelled departure: guard against destination changes1.14.10Daniel Friesel-6/+8