summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorLines
2020-01-26import API: invalidate stats cache after adding a journeyDaniel Friesel-0/+1
2020-01-26status API: nextStops -> intermediateStops; documentationDaniel Friesel-3/+3
2020-01-25map, journey view: handle renamed stations1.13.8Daniel Friesel-3/+30
2020-01-25map: list skipped journeys1.13.7Daniel Friesel-0/+8
2020-01-25map: support multiple polyline groups with different colorsDaniel Friesel-2/+9
2020-01-23JSON Status API: Add experimental and undocumented nextStops keyDaniel Friesel-0/+26
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.
2020-01-22has_wagonorder: Fix promise result mixup1.13.5Daniel Friesel-1/+1
2020-01-19Return HTTP 404 for unknown journeysDaniel Friesel-0/+4
2020-01-19/journey/:id: verify that id is numericDaniel Friesel-1/+1
As a side effect, this turns the response of GET /journey/edit (which should never happen in the first place) from an exception into a 404 error (#36)
2020-01-15Fix IOLoop crashes caused by using log->warning instead of log->warn1.13.4Daniel Friesel-4/+4
The issue manifested itself by the ioloop using 100%cpu without making any progress.
2020-01-15do not store wagonorder error results in database1.13.3Daniel Friesel-2/+5
2020-01-08fetch trip ID when checked inDaniel Friesel-1/+83
2020-01-06move old station names to external JSON as wellDaniel Friesel-63/+3
2020-01-06Switch back to JSON::XS for decoding1.13.1Daniel Friesel-2/+2
2020-01-06Move ICE names to a separate JSON fileDaniel Friesel-234/+4
2020-01-06remove unnecessary whitespaceMarkus Heinrich-4/+4
2020-01-04map ICE train numbers to names where possibleDaniel Friesel-0/+241
2019-12-31Release Travel API1.13.0Daniel Friesel-12/+0
2019-12-30Checkin API: error out if fromStation / toStation are ambiguousDaniel Friesel-0/+41
2019-12-29Set travelynx UserAgent for webhook requestsDaniel Friesel-0/+2
2019-12-29Strip newline from version stringDaniel Friesel-0/+2
2019-12-28perltidyDaniel Friesel-57/+61
2019-12-28Added links for old/new station names.Knuspel-0/+61
2019-12-26fix connections display1.12.2Daniel Friesel-1/+1
2019-12-26Handle undefined user data in conncetion suggestion with no previous journey1.12.1Daniel Friesel-1/+4
Closes #30
2019-12-23Use EVA IDs instead of travelynx-internal station IDs. Not 100% tested yet.Daniel Friesel-202/+263
2019-12-20maintenance: remove checkins which were entered more than 48 hours ago1.11.8Daniel Friesel-3/+11
2019-12-20more travel API documentationDaniel Friesel-4/+10
2019-12-20travel API: more helpful errors on invalid inputDaniel Friesel-4/+35
2019-12-20Travel API: Add "deprecated" fieldDaniel Friesel-28/+41
2019-12-20checkin api: only set comment if checkin was successfulDaniel Friesel-1/+1
2019-12-19save all the wagon orders we can getDaniel Friesel-11/+14
2019-12-19munin: Add 'currently checked in' counter1.11.5Daniel Friesel-1/+3
2019-12-19disable import and checkin API endpoints in production modeDaniel Friesel-0/+22
2019-12-19undo: pass UID to invalidate_stats_cacheDaniel Friesel-1/+1
2019-12-17travel, import API: Verify that payload is a hashDaniel Friesel-4/+26
2019-12-17api/import: More helpful errors, fix "lax" supportDaniel Friesel-10/+31
2019-12-17API: Add lax optionDaniel Friesel-3/+9
2019-12-16remove debug outputDaniel Friesel-6/+0
2019-12-16Fix has_wagonorder_p logic. request success ≠ result success!Daniel Friesel-3/+14
2019-12-15Handle Berlin Ringbahn and other transfer-at-destination trainsDaniel Friesel-11/+28
Requires Travel::Status::DE::IRIS v1.38 (not released yet)
2019-12-14Travel API: comment supportDaniel Friesel-2/+11
2019-12-14Add travel (checkin/checkout/undo) APIDaniel Friesel-22/+187
2019-12-14Add API entry point for journey importDaniel Friesel-6/+169
2019-12-13do not insert duplicate wagongroups1.11.4Daniel Friesel-0/+3
2019-12-13save wagongroups if availableDaniel Friesel-0/+9
2019-12-12permanently store wagon numbers and types when availableDaniel Friesel-10/+43
2019-12-11show wagon order for regional trains too, if available1.11.3Daniel Friesel-2/+38
2019-12-08allow a journey's cancellation status to be edited1.11.1Daniel Friesel-0/+25
Closes #27