summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command/work.pm
AgeCommit message (Collapse)AuthorLines
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
2020-02-17handle departure cancellation after checkinDaniel Friesel-1/+38
2020-02-13avoid stale data when marking cancelled arrivals1.14.9Daniel Friesel-1/+18
2020-02-12Handle cancelled arrival at checkout when departure at checkin is not cancelledDaniel Friesel-1/+9
2020-01-23work: Fix race condition1.13.6Daniel Friesel-2/+17
When a user changes their destination station or checks into a new train while work is updating data for their in_transit entry, values for no longer valid database entrie would be entered.
2019-12-23Use EVA IDs instead of travelynx-internal station IDs. Not 100% tested yet.Daniel Friesel-3/+3