Commit Graph

138 Commits

Author SHA1 Message Date
95ef4d2c4d Update translations 2018-08-05 22:12:26 +02:00
7ccf427685 Upgrade dependencies and group all polyfills in a dedicated file 2018-08-05 15:47:28 +02:00
d5dcf96af8 Let user download GPX trace from menu 2018-08-03 17:15:03 +02:00
05cb92d8e3 Store complete GPX data
Rework the store to keep track of everything useful for building a full
GPX trace.
2018-08-03 17:15:03 +02:00
bb926abbc4 Fix broken chained catch in Promises 2018-08-02 10:49:47 +02:00
530184a817 Scroll back to top between onboarding steps. Fix #27. 2018-08-02 10:21:30 +02:00
194c4cf3d7 Misc fixes with vibrate and sound 2018-08-01 19:29:39 +02:00
0f9544bf16 Update locales 2018-08-01 18:07:44 +02:00
a6808d6d07 Fix a bug with locale setting loading from localStorage 2018-08-01 17:55:33 +02:00
d2bae9e532 Add statistics about the instance under the About section. 2018-08-01 17:54:48 +02:00
aca68fb2e3 Better handling of skip onboarding setting 2018-08-01 11:35:49 +02:00
54eb950a80 Update locales 2018-07-31 20:34:19 +02:00
4f64204ff0 Add beep and vibration when coming close to a known report 2018-07-31 15:46:18 +02:00
66b110e9ef Hide details when clicking upvote/downvote 2018-07-30 20:35:52 +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
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
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
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
e9b4593abf Fix OpenGraph icon, OG does not support SVG 2018-07-11 16:54:02 +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
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
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
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
d35e759200 Add a script to purge old GCUM reports 2018-06-28 15:58:36 +02:00
4493dc35fe Only start NoSleep after the first user interaction 2018-06-28 15:08:56 +02:00
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
57bf538325 French translation + automatic select best matching locale 2018-06-28 11:15:48 +02:00
56b38eba06 Fix a bug in accuracy computation 2018-06-27 22:45:03 +02:00
e65be07fc1 Better icons for reports and matching markers 2018-06-27 14:59:45 +02:00
ca526a9b71 Faster transition for the bottom sheet 2018-06-27 11:21:29 +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
0d54fa29a9 Add customizable tile server 2018-06-26 16:03:14 +02:00
ad6cc13681 Add some doc 2018-06-26 15:36:45 +02:00
f30d000f92 Show the reports as soon as they are added in the db 2018-06-26 11:39:43 +02:00
e961a8dbb1 Display reports on the map 2018-06-26 11:04:23 +02:00
dd4075b18c Use NoSleep to prevent sleep of the phone 2018-06-25 23:57:33 +02:00
2d27e72b33 Initial commit 2018-06-25 18:29:57 +02:00