summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorLines
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.
2020-04-16log train number when encountering a timestamp error1.15.11Daniel Friesel-1/+2
2020-04-16ignore missing timestamps when performing a force checkoutDaniel Friesel-5/+4
2020-04-14use polyline when computing monthly/yearly distance travelled1.15.10Daniel Friesel-5/+21
Closes #40
2020-04-14show select past departures in checkin suggestion listDaniel Friesel-5/+14
Previously, for each destination, up to two departures between now and now + 40 minutes were shown. When performing a fresh checkin (i.e., the has not logged a journey in the past few minutes and is not currently checked in), the departure list now additionally contains all departures between now - 5 minutes and now. When checking in from a train (i.e., the user has recently checked out at the station or is still checked in), it additionally contains all departures between arrival time and now. Closes #33
2020-03-14Well, that was stupid1.15.9Daniel Friesel-1/+1
2020-03-14Correctly encode non-ASCII e-mail content. Fixes spamfilter issues.1.15.8Daniel Friesel-9/+9
New dependency: MIME::Entity
2020-03-13Do not hardcode From mail address1.15.7Daniel Friesel-1/+1
2020-03-03show QoS pictograms in connection list1.15.5Daniel Friesel-0/+7
2020-02-26public user status: show polyline if available1.15.4Daniel Friesel-0/+1
2020-02-25polyline sanity check: Handle border stations and incomplete IRIS routes1.15.3Daniel Friesel-4/+13
2020-02-25Ignore polylines which do not agree with IRIS route1.15.2Daniel Friesel-1/+17
2020-02-23journey details: show route on map if available1.15.1Daniel Friesel-13/+28
2020-02-23Move map data generation to a global helper functionDaniel Friesel-165/+210
2020-02-21calculate journey distance using polyline, if availableDaniel Friesel-10/+35
2020-02-20user_status: Improve TS lookup performanceDaniel Friesel-6/+9
2020-02-19allow showing past journeys on shared status pageDaniel Friesel-41/+80
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/+83
2020-02-14add privacy setting for showing history and latest arrival timestampDaniel Friesel-0/+21
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-2/+42
2020-02-12Add another fix for invalid HAFAS XMLDaniel Friesel-0/+3
2020-02-10munin: Add polyline compression ratio1.14.8Daniel Friesel-1/+7
2020-02-07Improve map performance by passing actual polylines for train routes1.14.7Daniel Friesel-12/+9
2020-02-06maintenance: consider station renames whan backpropagating polylines1.14.6Daniel Friesel-0/+29
2020-02-04maintenance: only fetch polylines from journeys which were not edited1.14.5Daniel Friesel-1/+2
2020-02-01allow checkin and checkout station to be editedDaniel Friesel-7/+64
2020-02-01Fix cancellation line in journey view.1.14.3Daniel Friesel-1/+1
Broken by 993f6be6c9524031d878f2c83dcba1fdde11d060
2020-02-01fix uninitialized value warning when handling odd trains (trains without type)Daniel Friesel-2/+5
2020-01-31map: show polylines by defaultDaniel Friesel-5/+19