summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorLines
2020-10-17Traewelling: use the recently added login token expiry fieldDaniel Friesel-22/+28
2020-10-11Move remaining journeys queries to journeys model classDaniel Friesel-107/+161
2020-10-11maintenance: delete webhooks and traewelling entries1.18.2Daniel Friesel-0/+2
2020-10-11move in_transit queries to an InTransit model classDaniel Friesel-278/+503
2020-10-11calculate tripid from trainsearch.exe.Daniel Friesel-115/+34
Removes the need for an additional transport.rest request.
2020-10-11Switch to transport.rest v5 for polyline requestsDaniel Friesel-1/+1
2020-10-08HAFAS: Turn backend warnings into info messagesDaniel Friesel-5/+5
We can't do anything about them, after all
2020-10-08make unknown stations warning more helpfulDaniel Friesel-2/+9
2020-10-06Stats: Fix handling of negative cumulative arrival/departure delays1.18.1Daniel Friesel-1/+30
2020-10-04also allow regionalExpress, just to be safe1.18.0Daniel Friesel-2/+1
2020-10-04Traewelling can't seem to decide on date formatsDaniel Friesel-4/+15
2020-10-04HAFAS "national" trips are also trainsDaniel Friesel-3/+5
2020-10-04Traewelling: Add missing "Accept: application/json" header to API requestsDaniel Friesel-19/+12
2020-10-04Traewelling checkin: Handle invalid / revoked bearer tokensDaniel Friesel-0/+13
2020-10-04add toot and tweet settings to traewelling checkinDaniel Friesel-8/+24
2020-10-04Traewelling: Warn when bearer token is about to expireDaniel Friesel-6/+29
2020-10-04Traewelling: note that traewelling.de doesn't yet return statusId on checkinDaniel Friesel-0/+4
2020-10-03sync travelynx -> Träwelling: add commentDaniel Friesel-0/+5
2020-10-01ooopsieDaniel Friesel-1/+1
2020-10-01log error when trip_id is missingDaniel Friesel-2/+7
2020-10-01traewelling checkin: the time limitation isn't neededDaniel Friesel-6/+2
2020-10-01allow checking into traewellingDaniel Friesel-65/+103
2020-09-30Allow linking a Träwelling account, auto-sync Träwelling→travelynxDaniel Friesel-41/+971
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-09-21add opengraph metadata output1.17.5Daniel Friesel-27/+51
2020-09-21add twitter card to public journey viewDaniel Friesel-0/+16
2020-09-21improve promise->reject error messages1.17.4Daniel Friesel-13/+20
2020-09-20add explicit empty return statements to promise handlers1.17.3Daniel Friesel-0/+7
2020-09-20get_stationinfo_p: cache negative repliesDaniel Friesel-0/+2
2020-09-10handle rejected promises; do not accidentally duplicate rejectionsDaniel Friesel-17/+54
2020-09-08passengerrights: fix a typo1.17.2Daniel Friesel-1/+1
2020-09-06add DBDB helper for wagonorder and stationinfoDaniel Friesel-120/+158
2020-09-05Fix checkin via API. Broken by 717cc18a403d6705c64a9a6fd43578c1efbb159f1.17.1Daniel Friesel-1/+5
Closes #44
2020-09-04profile: limit history to four weeks by defaultDaniel Friesel-2/+41
2020-09-03add public profile page and public journey detailsDaniel Friesel-0/+90
2020-08-16Move most journey code to newly introduced Journey modelDaniel Friesel-720/+868
2020-08-15Remove now-useless includeDaniel Friesel-1/+0
2020-08-06Move get_departures to a separate IRIS helperDaniel Friesel-63/+122
2020-07-28HAFAS: Error handling, perltidyDaniel Friesel-28/+55
2020-07-28Move HAFAS helpers to a separate Helper moduleDaniel Friesel-297/+328
2020-07-27Move user model to a separate moduleDaniel Friesel-434/+533
2020-04-19Add CSV ExportDaniel Friesel-0/+51
2020-04-19commute stats: attempt to weed out non-work stations for auto-fillDaniel Friesel-0/+8
2020-04-19improve commute station heuristicDaniel Friesel-45/+16
Select top station on work days (Mo .. Fr) with arrival < 13:00 or departure >= 13:00.
2020-04-19use german locale in epoch_to_dt helperDaniel Friesel-1/+2
2020-04-19Commute stats: count days, not journeysDaniel Friesel-22/+25
2020-04-19get_top_destinations: order by count descDaniel Friesel-1/+1
order is ascending by default, resulting in flop instead of top destinations.
2020-04-19add commute stats. not linked from nav yet.Daniel Friesel-2/+131
2020-04-16fix a typo1.15.13Daniel Friesel-1/+1
2020-04-16maintenance: backpropagate polylines to route entries using pre-1.9.4 formatDaniel Friesel-0/+14
2020-04-16Fix occasionally incorrect TripIDs (and thus incorrect polylines)1.15.12Daniel Friesel-14/+32
Until now, tripIDs were cached based on station and departure timestamp. These are identical for any two trains departing at the same time at the same station, leading to one of those getting being assigned a wrong tripID. From now on, only the JSON reported by transport.rest is cached -- tripIDs are always recomputed based on it.