Commit Graph

64 Commits

Author SHA1 Message Date
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
b168fe2b9e Fix a bug with manual address selection 2018-09-13 15:52:39 +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
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
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
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
017bf34ca5 Fix a bug with markers 2018-08-20 12:03:55 +02:00
060c4a29f4 Fix a bug with Vue2LeafletTrackSymbol not updating heading 2018-08-13 22:07:34 +02:00
6a70deec70 Upgrade to Webpack 4 + improve the build system 2018-08-06 23:29:17 +02:00
7ccf427685 Upgrade dependencies and group all polyfills in a dedicated file 2018-08-05 15:47:28 +02:00
194c4cf3d7 Misc fixes with vibrate and sound 2018-08-01 19:29:39 +02:00
d2bae9e532 Add statistics about the instance under the About section. 2018-08-01 17:54:48 +02:00
4f64204ff0 Add beep and vibration when coming close to a known report 2018-07-31 15:46:18 +02:00
c19bd60174 Better management of permissions
* Finish the ability to use custom tile server.
* Store settings whenever they are changed.
* Support new settings for audio/vibrate permission.
2018-07-30 20:23:56 +02:00
da7e582cf9 Add a way to resend unsent reports, fix for #14. 2018-07-26 13:56:51 +02:00
79b4625dc9 Fix a PropType issue 2018-07-26 13:56:51 +02:00
b9315a83cd Start working on a way to resend unsent reports 2018-07-26 13:56:42 +02:00
74a42abe72 Add a way to share a specific map position
Also rework the way Map component is handled to make it cleaner and more
efficient.

Fix for issue #23.
2018-07-26 08:47:31 +02:00
b792f2ec44 Complete translation of manual location picker + better guard for Map when user has not previously clicked on a button 2018-07-17 23:19:28 +02:00
edadbd6393 Let user pick a location manually, fix for #3. 2018-07-17 22:49:00 +02:00
fbe8298814 Let user choose which tile server to use among a list of tile servers. Fix #19. 2018-07-17 16:32:34 +02:00
e9b4f41b1e Add an onboarding screen to get users started
Fix for #17.
2018-07-17 15:10:51 +02:00
da4a8d537d Mark the position of the new marker + optimize SVG files
1. Show location of the created report on the map, see
https://framagit.org/phyks/cyclassist/issues/10.
2. Use `image-webpack-loader` to minify image and SVG files at build
time.
2018-07-13 16:50:34 +02:00
09276a06b6 Remove useless console statement 2018-07-13 16:24:05 +02:00
a31dca5ab1 Better description of geolocation sharing in About section 2018-07-13 16:09:27 +02:00
57552197a9 Show details for the nearest report 2018-07-13 15:04:51 +02:00
27631855af Proper aria labels for buttons 2018-07-11 01:14:54 +02:00
bc52d4f929 Add 2 new report types: accident + misc. Fix #15. 2018-07-10 15:19:24 +02:00
1f9c0bd623 Heading is provided by browser in degrees but consumed by Leaflet in radians 2018-07-09 18:37:55 +02:00
ae9f3892c7 Display a polyline with the previous positions 2018-07-09 15:25:18 +02:00
9d4842b44c Clicking on a report now shows more infos and let users dismiss it
You should update your database by running
```
ALTER TABLE report ADD COLUMN (upvotes INTEGER NOT NULL, downvotes INTEGER NOT NULL)
```

Fix issue #8.
2018-07-06 15:39:35 +02:00
5c777138f4 Better feedback with connectivity issues when sending reports 2018-07-04 18:20:28 +02:00
35851802d0 Fix a bug with tracking position, https://framagit.org/phyks/cyclassist/issues/11 2018-07-04 17:37:28 +02:00
dea82f5298 Lint fix 2018-07-03 19:04:54 +02:00
4cd2d49db9 Let user disable sleep prevention 2018-07-03 19:01:56 +02:00
37413a7e21 Some fixes for nosleep and moving the map around 2018-07-03 18:48:41 +02:00
e0d6b00a66 Fix a bug with Chrome on Android not firing mousedown/up events 2018-07-02 19:53:11 +02:00
df187ad8ca Use a regular click on map to add reports in specific location 2018-07-02 18:39:35 +02:00
1b3082d02a Fix centering of the map, fix #5 2018-07-02 18:39:13 +02:00
fd473e32b2 Fix a bug with centering of the map when position is moving 2018-07-01 22:55:21 +02:00