Commit Graph

81 Commits

Author SHA1 Message Date
5063d6d4da Fix a bug with Moment locale in production build 2018-07-25 11:56:04 +02:00
0bf72e55f4 Use English locale as fallback 2018-07-22 16:15:50 +02:00
4ee603a767 Use Zanata Python client and improve OC translation 2018-07-21 18:39:28 +02:00
41db1c0d12 Localize MomentJS in Occitan as well 2018-07-21 18:27:02 +02:00
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
3da34cb148 Use Zanata to handle translations 2018-07-20 15:15:26 +02:00
c5183a570f Use a token to protect POST API queries 2018-07-18 15:30:30 +02:00
20a162e915 Update nginx config 2018-07-18 15:07:40 +02:00
3182dbb985 Improve About section 2018-07-18 14:57:04 +02:00
169076dffa Better error messages on geolocation fetching errors 2018-07-17 23:27:07 +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
edadbd6393 Let user pick a location manually, fix for #3. 2018-07-17 22:49:00 +02:00
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