diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 2f2419e2..2f863133 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -32,6 +32,7 @@ - [Fixing Widget CORS Errors](#widget-cors-errors) - [Widget Shows Error Incorrectly](#widget-shows-error-incorrectly) - [Weather Forecast Widget 401](#weather-forecast-widget-401) +- [Widget Displaying Inaccurate Data](#widget-displaying-inaccurate-data) - [Font Awesome Icons not Displaying](#font-awesome-icons-not-displaying) - [Copy to Clipboard not Working](#copy-to-clipboard-not-working) - [How to Reset Local Settings](#how-to-reset-local-settings) @@ -447,7 +448,19 @@ Since the forecasting API requires an upgraded plan. ULPT: You can get a free, p A future update will be pushed out, to use a free weather forecasting API. -See also: [#803](https://github.com/Lissy93/dashy/issues/803), [#789](https://github.com/Lissy93/dashy/issues/789), [#577](https://github.com/Lissy93/dashy/issues/577), [#621](https://github.com/Lissy93/dashy/issues/621), [#578](https://github.com/Lissy93/dashy/issues/578) +See also: [#803](https://github.com/Lissy93/dashy/issues/803), [#789](https://github.com/Lissy93/dashy/issues/789), [#577](https://github.com/Lissy93/dashy/issues/577), [#621](https://github.com/Lissy93/dashy/issues/621), [#578](https://github.com/Lissy93/dashy/issues/578), [#806](https://github.com/Lissy93/dashy/discussions/806) + +--- + +## Widget Displaying Inaccurate Data + +If any widget is not displaying the data you expect, first confirm that your config is correct, then try manually calling the API endpoint. + +If the raw API output is correct, yet the widget is rendering incorrect results, then it is likely a bug, and a ticket should be raised. You can start to debug the issue, by looking at the widget's code ([here](https://github.com/Lissy93/dashy/tree/master/src/components/Widgets)), and the browser console + networking tab. + +If the API itself is returning incorrect, incomplete or inaccurate data then an issue needs to be raised **with the API provider** (not Dashy!). You can find the API provider included within the widget docs, or for a full list see the [Privacy Docs](https://github.com/Lissy93/dashy/blob/master/docs/privacy.md#widgets). + +See also: [#807](https://github.com/Lissy93/dashy/issues/807) (re, domain monitor) --- diff --git a/docs/widgets.md b/docs/widgets.md index a45a2591..7a31041c 100644 --- a/docs/widgets.md +++ b/docs/widgets.md @@ -1838,7 +1838,7 @@ Display info from the Gluetun VPN container public IP API. This can show the IP **Field** | **Type** | **Required** | **Description** --- | --- | --- | --- -**`visibleFields`** | `string` | Required | A comma separated list of the fields you want visible in the widget. You can have any number of the following : `public_ip`, `region`, `country`, `city`, `location`, `organisation`, `postal_code`, `timezone` +**`visibleFields`** | `string` | Required | A comma separated list of the fields you want visible in the widget. You can have any number of the following : `public_ip`, `region`, `country`, `city`, `location`, `organisation`, `postal_code`, `timezone`. Defaults to just `public_ip` **`host`** | `string` | Required | The url to the gluetun HTTP control server. E.g. `http://gluetun:8000` diff --git a/package.json b/package.json index c4a71454..e7a82693 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "simple-icons": "^6.9.0", "v-jsoneditor": "^1.4.5", "v-tooltip": "^2.1.3", - "vue": "^2.6.14", + "vue": "^2.7.0", "vue-i18n": "^8.27.2", "vue-js-modal": "^2.0.1", "vue-json-tree-view": "^2.1.6", @@ -63,7 +63,7 @@ "sass-loader": "^7.1.0", "vue-cli-plugin-yaml": "^1.0.2", "vue-svg-loader": "^0.16.0", - "vue-template-compiler": "^2.6.14" + "vue-template-compiler": "^2.7.0" }, "engines": { "node": ">=16.0.0" diff --git a/src/assets/locales/en.json b/src/assets/locales/en.json index efdaf631..404e3da8 100644 --- a/src/assets/locales/en.json +++ b/src/assets/locales/en.json @@ -304,6 +304,16 @@ "up": "Up", "down": "Down" }, + "gluetun-status": { + "vpn-ip": "VPN IP", + "country": "Country", + "region": "Region", + "city": "City", + "post-code": "Post Code", + "location": "Location", + "timezone": "Timezone", + "organization": "Organization" + }, "nextcloud": { "active": "active", "and": "and", diff --git a/src/components/Widgets/GluetunStatus.vue b/src/components/Widgets/GluetunStatus.vue index 381265e6..c07e96e2 100644 --- a/src/components/Widgets/GluetunStatus.vue +++ b/src/components/Widgets/GluetunStatus.vue @@ -1,35 +1,35 @@