Commit Graph

248 Commits

Author SHA1 Message Date
Lucas Verney bc52d4f929 Add 2 new report types: accident + misc. Fix #15. 2018-07-10 15:19:24 +02:00
Lucas Verney 3e2e034fc8 Store settings in store, fix #12 2018-07-10 14:32:48 +02:00
Lucas Verney 1f9c0bd623 Heading is provided by browser in degrees but consumed by Leaflet in radians 2018-07-09 18:37:55 +02:00
Lucas Verney ae9f3892c7 Display a polyline with the previous positions 2018-07-09 15:25:18 +02:00
Lucas Verney 3d134d438d More infos about pressing marker in the About section 2018-07-09 14:49:39 +02:00
Lucas Verney 6c5d62ad69 Better handling of the case when heading is zero 2018-07-09 11:56:15 +02:00
Lucas Verney 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
Lucas Verney dde886d46e Fix lint 2018-07-05 09:53:21 +02:00
Lucas Verney 5c777138f4 Better feedback with connectivity issues when sending reports 2018-07-04 18:20:28 +02:00
Lucas Verney 35851802d0 Fix a bug with tracking position, https://framagit.org/phyks/cyclassist/issues/11 2018-07-04 17:37:28 +02:00
Lucas Verney c7a326bd94 Fix Chrome on Android issue with buttons, see https://bugs.chromium.org/p/chromium/issues/detail?id=428132 2018-07-03 19:54:32 +02:00
Lucas Verney dea82f5298 Lint fix 2018-07-03 19:04:54 +02:00
Lucas Verney 4cd2d49db9 Let user disable sleep prevention 2018-07-03 19:01:56 +02:00
Lucas Verney 37413a7e21 Some fixes for nosleep and moving the map around 2018-07-03 18:48:41 +02:00
Lucas Verney 857e95845c Rework favicon 2018-07-03 18:48:11 +02:00
Lucas Verney e0d6b00a66 Fix a bug with Chrome on Android not firing mousedown/up events 2018-07-02 19:53:11 +02:00
Lucas Verney df187ad8ca Use a regular click on map to add reports in specific location 2018-07-02 18:39:35 +02:00
Lucas Verney 1b3082d02a Fix centering of the map, fix #5 2018-07-02 18:39:13 +02:00
Lucas Verney 60c5b3a7cf Make the page not user-zoomable 2018-07-01 23:05:10 +02:00
Lucas Verney fd473e32b2 Fix a bug with centering of the map when position is moving 2018-07-01 22:55:21 +02:00
Lucas Verney 390d734b9a Add a compass icon to indicate north on the map 2018-07-01 22:27:18 +02:00
Lucas Verney c15ad9ab56 Let users move the view around
* Let user move the view around, without automatic refocusing.
* Add a button to refocus view.
2018-07-01 22:02:54 +02:00
Lucas Verney ac518944d1 Fix a bug with Chrome, #4 2018-06-30 23:24:06 +02:00
Lucas Verney 5b5ec28537 Let users unzoom more 2018-06-30 22:56:33 +02:00
Lucas Verney 7e5cdb881a Add a new obstacle report type 2018-06-30 22:54:38 +02:00
Lucas Verney f499538717 Reset error value when clicking the retry button to fetch location 2018-06-29 15:09:39 +02:00
Lucas Verney 9d91fa0b71 Add links to cyclo.phyks.me + clarify how geolocation is handled 2018-06-29 10:51:43 +02:00
Lucas Verney 302413598b Add link to source code in help 2018-06-28 22:56:59 +02:00
Lucas Verney aa3d2065a9 Settings should not take all available space 2018-06-28 22:49:52 +02:00
Lucas Verney d35e759200 Add a script to purge old GCUM reports 2018-06-28 15:58:36 +02:00
Lucas Verney 4493dc35fe Only start NoSleep after the first user interaction 2018-06-28 15:08:56 +02:00
Lucas Verney a4564ad053 Add the ability to add a report anywhere through long press + preferences section to set the locale 2018-06-28 14:40:56 +02:00
Lucas Verney e682c9818e Add a webmanifest 2018-06-28 11:55:11 +02:00
Lucas Verney 57bf538325 French translation + automatic select best matching locale 2018-06-28 11:15:48 +02:00
Lucas Verney 56b38eba06 Fix a bug in accuracy computation 2018-06-27 22:45:03 +02:00
Lucas Verney 01fa63f916 Fix an issue with MySQL dropping connection after some time 2018-06-27 22:11:30 +02:00
Lucas Verney b097bc2d2a Customizable db path in server 2018-06-27 15:48:17 +02:00
Lucas Verney e65be07fc1 Better icons for reports and matching markers 2018-06-27 14:59:45 +02:00
Lucas Verney ca526a9b71 Faster transition for the bottom sheet 2018-06-27 11:21:29 +02:00
Lucas Verney 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
Lucas Verney 0d54fa29a9 Add customizable tile server 2018-06-26 16:03:14 +02:00
Lucas Verney 6fad8b7fac Add a WSGI file 2018-06-26 15:55:52 +02:00
Lucas Verney ad6cc13681 Add some doc 2018-06-26 15:36:45 +02:00
Lucas Verney f30d000f92 Show the reports as soon as they are added in the db 2018-06-26 11:39:43 +02:00
Lucas Verney e961a8dbb1 Display reports on the map 2018-06-26 11:04:23 +02:00
Lucas Verney dd4075b18c Use NoSleep to prevent sleep of the phone 2018-06-25 23:57:33 +02:00
Lucas Verney d59d84af43 Continue server side code 2018-06-25 18:33:17 +02:00
Lucas Verney 2d27e72b33 Initial commit 2018-06-25 18:29:57 +02:00