summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorLines
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
2020-01-30retroactively add polylines to non-polyline journeys1.14.2Daniel Friesel-0/+44
2020-01-29map: improve polyline duplicate detectionDaniel Friesel-3/+2
2020-01-29map: set bounds on stations; move polyline feature to staging1.14.1Daniel Friesel-9/+80
2020-01-28journey_sanity_check: handle duration == 0Daniel Friesel-4/+7
2020-01-27munin: return number of stored polylinesDaniel Friesel-0/+2
2020-01-27Store journey polylines in DBDaniel Friesel-0/+176
Squashed commit of the following: commit d60c7d3c98d88a8f5b0e3ced6c11b56053e1e44b Author: Daniel Friesel <derf@finalrewind.org> Date: Mon Jan 27 20:22:46 2020 +0100 fix bugs related to users without past journeys commit 707fcc937ac7f6bc3dc29024273f5e74963f7f15 Author: Daniel Friesel <derf@finalrewind.org> Date: Mon Jan 27 20:19:14 2020 +0100 work around Cache::file turning floats into strings commit 55831121eb30bc30ed20134bbb48e4bee9772feb Author: Daniel Friesel <derf@finalrewind.org> Date: Mon Jan 27 19:43:29 2020 +0100 store journey polylines for later use commit 1971d511037ff2b8fbc9699cb98e4f8fd51261e5 Author: Daniel Friesel <derf@finalrewind.org> Date: Sat Jan 25 16:49:48 2020 +0100 set preliminary database schema for polyline storage. deduplication will follow at a later stage
2020-01-27fix bugs related to users without past journeys1.13.9Daniel Friesel-5/+15
2020-01-26Api: Import: Set correct route key for add_journeyDaniel Friesel-1/+1
2020-01-26add_journey: allow up to 99 journeys per 24 hoursDaniel Friesel-0/+21
2020-01-26import API: route -> intermediateStopsDaniel Friesel-4/+10
2020-01-26validate_journey: handle 0 timestampsDaniel Friesel-2/+2
2020-01-26import API: Add deprecated field, remove development checkDaniel Friesel-32/+30
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