Commit Graph

79 Commits

Author SHA1 Message Date
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 d5b9d9f0fc Fix a bug in NoSleep 0.9.0 and Firefox for Android, https://github.com/richtr/NoSleep.js/issues/63 2019-01-13 17:00:59 +01:00
Lucas Verney 76f54932bf Migrate to localforage to support asyncStorage mode 2019-01-04 14:23:39 +01:00
Lucas Verney 068bcdbfc6 Frontend part of the tiles caching 2019-01-01 20:13:23 +01:00
Lucas Verney 5e5a25e59e Bump NoSleep.js version 2018-12-04 14:03:23 +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 fc513cddac Use prefetch for MapView chunk 2018-11-30 12:53:50 +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 947039658b Fix ES6 minification issues 2018-11-29 10:04:56 +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 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 06c02f6ece No need for global catchall when fetching reports 2018-10-16 15:15:11 +02:00
Lucas Verney 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
Lucas Verney 19cbb3165f Better spawn of the notification 2018-09-21 15:11:31 +02:00
Lucas Verney dca0f62394 Add a setting to allow permanent notification or not. 2018-09-21 15:11:31 +02:00
Lucas Verney 04ac3538a4 Basic implementation of notification 2018-09-21 15:11:31 +02:00
Lucas Verney 34a1a93a53 Show speed to user, fix for #37. 2018-09-11 14:54:30 +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 948962987c Move GPX export function and matching node_modules to the same chunk as the map 2018-08-28 16:50:57 +02:00
Lucas Verney 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
Lucas Verney 5d84c6a0e6 Fix a bug when position cannot be fetched 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 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 316527b575 Fix a bug with sharing map view 2018-08-25 16:09:38 +02:00
Lucas Verney 7a7cd21376 Add a way to playback GPX tracks as mock locations 2018-08-23 15:03:47 +02:00
Lucas Verney f5517b292d Fix a missing translation in Onboarding 2018-08-16 11:41:20 +02:00
Lucas Verney d9ec9219f9 Restore accuracy 2018-08-15 12:38:03 +02:00
Lucas Verney 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
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 05cb92d8e3 Store complete GPX data
Rework the store to keep track of everything useful for building a full
GPX trace.
2018-08-03 17:15:03 +02:00
Lucas Verney bb926abbc4 Fix broken chained catch in Promises 2018-08-02 10:49:47 +02:00
Lucas Verney 530184a817 Scroll back to top between onboarding steps. Fix #27. 2018-08-02 10:21:30 +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 aca68fb2e3 Better handling of skip onboarding setting 2018-08-01 11:35:49 +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 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 5e1c3e47fc Add occitan translation + better names for locales in Settings
Huge thanks to Quentin for this translation! https://framagit.org/phyks/cyclassist/merge_requests/1
2018-07-20 15:37:14 +02:00
Lucas Verney 169076dffa Better error messages on geolocation fetching errors 2018-07-17 23:27:07 +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
Lucas Verney edadbd6393 Let user pick a location manually, fix for #3. 2018-07-17 22:49:00 +02:00