Commit Graph

143 Commits

Author SHA1 Message Date
8a52c94fbb Bump translations 2018-10-18 21:19:17 +02:00
1ca9922b1b Do not show speed badge when manually picking a location 2018-10-18 20:05:48 +02:00
824de12b74 Forgot Toulouse in OpenData sources 2018-10-18 16:44:50 +02:00
1e7b2b363a Improve OpenData handling for roadwork, clear mention in About section and add OpenData for Loiret 2018-10-18 15:03:33 +02:00
4345c3f4e3 Drop the active reports API route and use API filtering abilities
instead

Fix for #49.
2018-10-18 09:31:52 +02:00
3f86fc21af Bump translations 2018-10-17 21:42:02 +02:00
06c02f6ece No need for global catchall when fetching reports 2018-10-16 15:15:11 +02:00
6f906ec23a Fix #43: Speed badge looking weird on touch devices 2018-10-15 23:54:20 +02:00
4ff645cc43 Filter reports returned by the API based on map center
Only keep reports which are around the map center in the data returned
by the server. Filtering is done client-side for privacy reasons.
2018-10-15 09:11:41 +02:00
19cbb3165f Better spawn of the notification 2018-09-21 15:11:31 +02:00
dca0f62394 Add a setting to allow permanent notification or not. 2018-09-21 15:11:31 +02:00
04ac3538a4 Basic implementation of notification 2018-09-21 15:11:31 +02:00
085f34dbe8 Fix speed unit 2018-09-17 11:53:03 +02:00
0c27768e91 Translate the rotate button tooltip 2018-09-14 15:27:03 +02:00
9b5487499a Various Map fixes
* Correctly set the position marker style at initialization.
* Fix for the position marker not rotating with the view.
* Fix for the recenter button not showing up on zooming.
2018-09-13 16:34:52 +02:00
03a0e84f58 Fix marker anchors 2018-09-13 16:04:01 +02:00
b168fe2b9e Fix a bug with manual address selection 2018-09-13 15:52:39 +02:00
a7792f5dbb Rework upvotes
Upvotes now reset the `datetime` field of the report, making it appear
as if it was newly reported. They also extend the lifetime for accidents
and GCUM.

This introduces database migrations as well.

Closes https://framagit.org/phyks/cyclassist/issues/41.
2018-09-12 13:51:53 +02:00
34a1a93a53 Show speed to user, fix for #37. 2018-09-11 14:54:30 +02:00
42779844a7 Prevent dismissed report details from immediately reopening 2018-09-04 15:49:02 +02:00
aaa8998466 Use plain Audio API, drop Howler dependency 2018-09-04 15:27:50 +02:00
f5fdb2aeb0 Drop xmlbuilder from gps-to-gpx dep 2018-09-04 14:38:32 +02:00
012c6fd1be Bump version 2018-08-29 18:59:22 +02:00
168f1b122c Fix a bug with mock GPX traces and delay
`Date.parse` returns milliseconds timestamp, not a `Date` object.
2018-08-29 18:57:55 +02:00
f0fc8f287d Drop Moment.JS, use custom small lib for relative dates and formatting 2018-08-29 12:08:18 +02:00
2ccc4110d6 Restore the correct spaces before double punctuation 2018-08-28 20:48:50 +02:00
61828e9ef2 Bump dependencies, use Babel 7 useBuiltIns usage to reduce size of chunks 2018-08-28 17:49:54 +02:00
948962987c Move GPX export function and matching node_modules to the same chunk as the map 2018-08-28 16:50:57 +02:00
718791e95f Use a loader when lazy loading Map view, to ensure a direct feedback is given to the user 2018-08-28 16:31:03 +02:00
b06ba60816 Use singleclick event listener on map, fix #35 2018-08-28 14:49:21 +02:00
11aa82b310 Fix a bug with upvote / downvote icons sometimes overflowing. Close #28 2018-08-26 20:34:04 +02:00
59f7f153ea Fix map sometimes too high 2018-08-26 20:31:00 +02:00
5d84c6a0e6 Fix a bug when position cannot be fetched 2018-08-26 17:48:07 +02:00
9fc2128679 Don't mock location 2018-08-26 17:48:07 +02:00
b8ae8e9fa3 Add a way to report a bug, close #34 2018-08-26 17:48:07 +02:00
6f8b3ada2c Autorotate mode when clicking the compass icon
Also fix a bug with sharing current position.
2018-08-26 17:48:07 +02:00
4c527ac280 Invert logic to set isProgrammaticMove on user actions instead, making it more reliable 2018-08-26 17:48:07 +02:00
ec9380ca2f Fix map resizing 2018-08-26 17:48:07 +02:00
d24c326b01 Fix a bug in automatic refetch of reports after a given distance 2018-08-26 17:48:07 +02:00
60f041f5a6 Move map from Leaflet to OpenLayers
Also add a way to use a mock GPX trace as geolocation provider.
2018-08-26 17:48:03 +02:00
316527b575 Fix a bug with sharing map view 2018-08-25 16:09:38 +02:00
7a7cd21376 Add a way to playback GPX tracks as mock locations 2018-08-23 15:03:47 +02:00
acaed37f3b Fix a bug with GPX export 2018-08-20 13:57:14 +02:00
017bf34ca5 Fix a bug with markers 2018-08-20 12:03:55 +02:00
490725cb7f Update oc translation 2018-08-17 20:00:36 +02:00
f5517b292d Fix a missing translation in Onboarding 2018-08-16 11:41:20 +02:00
d9ec9219f9 Restore accuracy 2018-08-15 12:38:03 +02:00
2ca1cc56ed Undo mock_location commit 2018-08-14 15:33:41 +02:00
060c4a29f4 Fix a bug with Vue2LeafletTrackSymbol not updating heading 2018-08-13 22:07:34 +02:00
77433bcab5 Vibrate at opening of the Map rather than upon leaving Onboarding, ensure the notification should be displayed and seen by user 2018-08-13 20:18:14 +02:00