Commit Graph

169 Commits

Author SHA1 Message Date
a67462fab0 Explain what permissions are used for in the onboarding 2018-07-17 17:04:49 +02:00
959cdba36c Force user to click at least once on a button before showing the map, otherwise NoSleep might not work 2018-07-17 16:37:46 +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
8921833619 Use store to get nosleep setting in map view 2018-07-17 16:22:18 +02:00
e9b4f41b1e Add an onboarding screen to get users started
Fix for #17.
2018-07-17 15:10:51 +02:00
959578cfe9 Fix comment error in nginx support file 2018-07-13 18:45:00 +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
6ddaf1fdc0 Restore true geolocation 2018-07-13 16:25:21 +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
0d6df10fbd Drop useless moment locales from built file 2018-07-12 16:47:19 +02:00
f17f672de6 Display an error message when JS is disabled. 2018-07-11 20:34:46 +02:00
c18f061548 Add basic configuration files for nginx and uwsgi 2018-07-11 16:58:50 +02:00
e9b4593abf Fix OpenGraph icon, OG does not support SVG 2018-07-11 16:54:02 +02:00
037d4627e9 Better handling of favicon generation 2018-07-11 16:53:58 +02:00
8bdd98a8bf Use font-display CSS property and add OpenGraph meta tags 2018-07-11 01:51:26 +02:00
27631855af Proper aria labels for buttons 2018-07-11 01:14:54 +02:00
b49f3182cb Add lang attribute to html tag 2018-07-10 23:44:18 +02:00
96048aeb4c Add robots.txt and humans.txt files 2018-07-10 19:23:32 +02:00
9d6ed7e74c Better handling of expiration of GCUM and accidents report types. 2018-07-10 15:55:45 +02:00
bc52d4f929 Add 2 new report types: accident + misc. Fix #15. 2018-07-10 15:19:24 +02:00
3e2e034fc8 Store settings in store, fix #12 2018-07-10 14:32:48 +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
3d134d438d More infos about pressing marker in the About section 2018-07-09 14:49:39 +02:00
6c5d62ad69 Better handling of the case when heading is zero 2018-07-09 11:56:15 +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
dde886d46e Fix lint 2018-07-05 09:53:21 +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
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
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
857e95845c Rework favicon 2018-07-03 18:48:11 +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
60c5b3a7cf Make the page not user-zoomable 2018-07-01 23:05:10 +02:00
fd473e32b2 Fix a bug with centering of the map when position is moving 2018-07-01 22:55:21 +02:00
390d734b9a Add a compass icon to indicate north on the map 2018-07-01 22:27:18 +02:00
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
ac518944d1 Fix a bug with Chrome, #4 2018-06-30 23:24:06 +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
f499538717 Reset error value when clicking the retry button to fetch location 2018-06-29 15:09:39 +02:00
9d91fa0b71 Add links to cyclo.phyks.me + clarify how geolocation is handled 2018-06-29 10:51:43 +02:00
302413598b Add link to source code in help 2018-06-28 22:56:59 +02:00
aa3d2065a9 Settings should not take all available space 2018-06-28 22:49:52 +02:00