Commit Graph

31 Commits

Author SHA1 Message Date
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
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
012c6fd1be Bump version 2018-08-29 18:59:22 +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
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
7a7cd21376 Add a way to playback GPX tracks as mock locations 2018-08-23 15:03:47 +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
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
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
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
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
6ddaf1fdc0 Restore true geolocation 2018-07-13 16:25:21 +02:00
57552197a9 Show details for the nearest report 2018-07-13 15:04:51 +02:00
bc52d4f929 Add 2 new report types: accident + misc. Fix #15. 2018-07-10 15:19:24 +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
1b3082d02a Fix centering of the map, fix #5 2018-07-02 18:39:13 +02:00
5b5ec28537 Let users unzoom more 2018-06-30 22:56:33 +02:00
7e5cdb881a Add a new obstacle report type 2018-06-30 22:54:38 +02:00
e65be07fc1 Better icons for reports and matching markers 2018-06-27 14:59:45 +02:00
989db3b787 Few UI improvements
* Better info message when fetching geolocation
* No longer displaying a marker with heading if heading is unknown. Use
a circle marker instead.
* Display the accuracy area
2018-06-27 11:19:07 +02:00
e961a8dbb1 Display reports on the map 2018-06-26 11:04:23 +02:00
2d27e72b33 Initial commit 2018-06-25 18:29:57 +02:00