Commit Graph

88 Commits

Author SHA1 Message Date
0d0a5d85d6 Forgot to add VSwitch Vuetify component 2018-07-27 15:24:36 +02:00
431ccd5865 Spare 30kb in production-ready JS 2018-07-27 14:40:42 +02:00
da7e582cf9 Add a way to resend unsent reports, fix for #14. 2018-07-26 13:56:51 +02:00
79b4625dc9 Fix a PropType issue 2018-07-26 13:56:51 +02:00
b9315a83cd Start working on a way to resend unsent reports 2018-07-26 13:56:42 +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
3e8ec40330 Fix English translation for GCUM 2018-07-25 14:31:49 +02:00
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