summaryrefslogtreecommitdiff
path: root/lib/Travelynx
AgeCommit message (Collapse)AuthorLines
2020-01-27Store journey polylines in DBDaniel Friesel-0/+56
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-26Api: Import: Set correct route key for add_journeyDaniel Friesel-1/+1
2020-01-26import API: route -> intermediateStopsDaniel Friesel-4/+10
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-25map, journey view: handle renamed stations1.13.8Daniel Friesel-1/+15
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-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-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)
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-26fix connections display1.12.2Daniel Friesel-1/+1
2019-12-23Use EVA IDs instead of travelynx-internal station IDs. Not 100% tested yet.Daniel Friesel-88/+135
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/+5
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-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-17travel, import API: Verify that payload is a hashDaniel Friesel-4/+26
2019-12-17api/import: More helpful errors, fix "lax" supportDaniel Friesel-0/+16
2019-12-17API: Add lax optionDaniel Friesel-1/+2
2019-12-15Handle Berlin Ringbahn and other transfer-at-destination trainsDaniel Friesel-10/+15
Requires Travel::Status::DE::IRIS v1.38 (not released yet)
2019-12-14Travel API: comment supportDaniel Friesel-0/+9
2019-12-14Add travel (checkin/checkout/undo) APIDaniel Friesel-0/+161
2019-12-14Add API entry point for journey importDaniel Friesel-3/+164
2019-12-08allow a journey's cancellation status to be edited1.11.1Daniel Friesel-0/+12
Closes #27
2019-12-08Allow status visibility to be limited to travelynx usersDaniel Friesel-6/+31
2019-12-08Account: unset public_comment when public_status is disabledDaniel Friesel-1/+4
2019-12-06optionally show journey comment in public user statusDaniel Friesel-8/+17
Closes #19
2019-12-06Allow comments to be entered while still in transitDaniel Friesel-0/+45
2019-11-27Do not show cancelled journeys without substitute in passengerrights list1.10.6Daniel Friesel-3/+3
2019-11-27history map: Add checkbox to display manually added journeysDaniel Friesel-2/+20
2019-11-24Passengerrights: Fix typo1.10.4Daniel Friesel-1/+1
2019-11-24improve get_user_travels performance, most notably when rendering map1.10.3Daniel Friesel-36/+43
only create DateTime objects when needed
2019-11-20allow routes to be edited after recording a journeyDaniel Friesel-0/+14
2019-11-19allow route input when adding journeys manually (#26)Daniel Friesel-1/+5
2019-11-18add journey: make realtime data optional (default to schedule data)1.10.1Daniel Friesel-0/+3
Closes #25
2019-11-16history map: show time range; handle users with no journeysDaniel Friesel-2/+22
2019-11-16history map: Do not show route for manually added journeysDaniel Friesel-1/+1
2019-11-16history map: skip duplicates earlierDaniel Friesel-11/+25
2019-11-16map_history: uniq_by_route did not consider the actual passenger route, scrap itDaniel Friesel-5/+1
2019-11-16map: add legend, link to history map from history pageDaniel Friesel-1/+1
2019-11-16move station -> location map to generic helperDaniel Friesel-11/+6
2019-11-16map: add station names to pointsDaniel Friesel-1/+1
2019-11-16add map view of past journeys. unfinished and unreferenced.Daniel Friesel-0/+62
2019-10-19Fix invalid geolocation list when less than 5 unique station names are nearby1.9.8Daniel Friesel-5/+14
This issue was introduced in 7c7b5e9f9536f70c92d66c4055090b46e26c4c11 and caused the client-side javascript code to crash