Commit Graph

85 Commits

Author SHA1 Message Date
Lucas Verney 276297dcc0 Center the map on position on first display 2019-01-22 11:58:31 +01:00
Lucas Verney 98f13a3bbb Rename Cyclassist to Cygnal 2019-01-22 11:49:36 +01:00
Lucas Verney 368c799933 Fix report fetching and closest report emphasis 2019-01-18 08:25:48 +01:00
Lucas Verney cadd8869aa Fix icons in modals 2019-01-06 17:16:20 +01:00
Lucas Verney 3e53146013 Improve available tiles
* Add MapTiler Streets tiles, fix
https://framagit.org/phyks/cyclassist/issues/55.
* Add proper attributions for tiles.
* Sort tiles by name in settings.
2018-11-30 15:02:01 +01:00
Lucas Verney 49e1d70891 Create a sprite for the report icons, to ensure they are all loaded at the same time 2018-11-29 23:04:16 +01:00
Lucas Verney 0d5e04860e Use @mdi/fonts instead of material-design font to avoid flashing the icon text if loading of the font is too long 2018-11-29 20:26:34 +01:00
Lucas Verney b786ba9f4e Remove outdated TODOs comment 2018-11-29 16:22:29 +01:00
Lucas Verney 09e5a2d4e2 Show nearest reports, handling the area of the report (not only as a
point, but polygon as well)
2018-11-29 09:31:52 +01:00
Lucas Verney aed7497d57 Bump dependencies 2018-11-25 17:43:54 +01:00
Lucas Verney dcfa5c5897 Remove useless i18n strings and restore the fetching info alert 2018-11-08 23:37:20 +01:00
Lucas Verney 14e28694e0 Use dismissible alerts instead of dialogs to notify about errors 2018-11-07 23:18:45 +01:00
Lucas Verney 22c68454ec Rework the way Map is initialized 2018-11-07 22:25:31 +01:00
Lucas Verney 944b9842cb Add a search modal, fix for #52 2018-11-07 20:04:00 +01:00
Lucas Verney 903ad14bbc Add a service worker and cache assets
Assets are served from the local cache preferably. They are fetched from
the network if not available. This new addition also enables the "Add to
homescreen" in Chrome/Chromium.

Fix #22.
2018-10-26 14:15:56 +02:00
Lucas Verney 93b0ec340e Hide speed badge when setting map center manually 2018-10-21 23:42:36 +02:00
Lucas Verney 1ca9922b1b Do not show speed badge when manually picking a location 2018-10-18 20:05:48 +02:00
Lucas Verney 6f906ec23a Fix #43: Speed badge looking weird on touch devices 2018-10-15 23:54:20 +02:00
Lucas Verney dca0f62394 Add a setting to allow permanent notification or not. 2018-09-21 15:11:31 +02:00
Lucas Verney 085f34dbe8 Fix speed unit 2018-09-17 11:53:03 +02:00
Lucas Verney 0c27768e91 Translate the rotate button tooltip 2018-09-14 15:27:03 +02:00
Lucas Verney 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
Lucas Verney b168fe2b9e Fix a bug with manual address selection 2018-09-13 15:52:39 +02:00
Lucas Verney 34a1a93a53 Show speed to user, fix for #37. 2018-09-11 14:54:30 +02:00
Lucas Verney 42779844a7 Prevent dismissed report details from immediately reopening 2018-09-04 15:49:02 +02:00
Lucas Verney aaa8998466 Use plain Audio API, drop Howler dependency 2018-09-04 15:27:50 +02:00
Lucas Verney f0fc8f287d Drop Moment.JS, use custom small lib for relative dates and formatting 2018-08-29 12:08:18 +02:00
Lucas Verney 2ccc4110d6 Restore the correct spaces before double punctuation 2018-08-28 20:48:50 +02:00
Lucas Verney b06ba60816 Use singleclick event listener on map, fix #35 2018-08-28 14:49:21 +02:00
Lucas Verney 11aa82b310 Fix a bug with upvote / downvote icons sometimes overflowing. Close #28 2018-08-26 20:34:04 +02:00
Lucas Verney 59f7f153ea Fix map sometimes too high 2018-08-26 20:31:00 +02:00
Lucas Verney b8ae8e9fa3 Add a way to report a bug, close #34 2018-08-26 17:48:07 +02:00
Lucas Verney 6f8b3ada2c Autorotate mode when clicking the compass icon
Also fix a bug with sharing current position.
2018-08-26 17:48:07 +02:00
Lucas Verney 4c527ac280 Invert logic to set isProgrammaticMove on user actions instead, making it more reliable 2018-08-26 17:48:07 +02:00
Lucas Verney ec9380ca2f Fix map resizing 2018-08-26 17:48:07 +02:00
Lucas Verney d24c326b01 Fix a bug in automatic refetch of reports after a given distance 2018-08-26 17:48:07 +02:00
Lucas Verney 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
Lucas Verney 017bf34ca5 Fix a bug with markers 2018-08-20 12:03:55 +02:00
Lucas Verney 060c4a29f4 Fix a bug with Vue2LeafletTrackSymbol not updating heading 2018-08-13 22:07:34 +02:00
Lucas Verney 6a70deec70 Upgrade to Webpack 4 + improve the build system 2018-08-06 23:29:17 +02:00
Lucas Verney 7ccf427685 Upgrade dependencies and group all polyfills in a dedicated file 2018-08-05 15:47:28 +02:00
Lucas Verney 194c4cf3d7 Misc fixes with vibrate and sound 2018-08-01 19:29:39 +02:00
Lucas Verney d2bae9e532 Add statistics about the instance under the About section. 2018-08-01 17:54:48 +02:00
Lucas Verney 4f64204ff0 Add beep and vibration when coming close to a known report 2018-07-31 15:46:18 +02:00
Lucas Verney 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
Lucas Verney da7e582cf9 Add a way to resend unsent reports, fix for #14. 2018-07-26 13:56:51 +02:00
Lucas Verney 79b4625dc9 Fix a PropType issue 2018-07-26 13:56:51 +02:00
Lucas Verney b9315a83cd Start working on a way to resend unsent reports 2018-07-26 13:56:42 +02:00
Lucas Verney 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
Lucas Verney 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