oweals/luci.git
4 years agoluci-base: luci.js: share environment object among LuCI base classes
Jo-Philipp Wich [Thu, 16 Apr 2020 08:46:45 +0000 (10:46 +0200)]
luci-base: luci.js: share environment object among LuCI base classes

This allows us to get rid of global `L` references in luci.js itself.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-app-nextdns: add uci ACL rules
Jo-Philipp Wich [Thu, 16 Apr 2020 08:17:47 +0000 (10:17 +0200)]
luci-app-nextdns: add uci ACL rules

Ref: https://github.com/openwrt/luci/pull/3921
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-app-ddns: add uci write permission
Jo-Philipp Wich [Wed, 15 Apr 2020 15:55:00 +0000 (17:55 +0200)]
luci-app-ddns: add uci write permission

Fixes: #3919
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-compat: add wildcard ACL allowing access to all uci configurations
Jo-Philipp Wich [Wed, 15 Apr 2020 12:57:20 +0000 (14:57 +0200)]
luci-compat: add wildcard ACL allowing access to all uci configurations

Ref: https://github.com/openwrt/luci/issues/3917
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agobuild: luci.mk: fix compatibility with older Git versions
Jo-Philipp Wich [Wed, 15 Apr 2020 10:24:15 +0000 (12:24 +0200)]
build: luci.mk: fix compatibility with older Git versions

Fixes: 9d8e99f9b build: gracefully handle non-Git source trees
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-app-samba4: add uci ACL rules
Jo-Philipp Wich [Wed, 15 Apr 2020 09:48:11 +0000 (11:48 +0200)]
luci-app-samba4: add uci ACL rules

Fixes: #3918
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: network.js: don't fail loading network config on missing wireless
Jo-Philipp Wich [Wed, 15 Apr 2020 07:27:10 +0000 (09:27 +0200)]
luci-base: network.js: don't fail loading network config on missing wireless

Fixes: #3914
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoMerge pull request #3910 from weblate/weblate-openwrt-luci
Hannu Nyman [Tue, 14 Apr 2020 19:47:09 +0000 (22:47 +0300)]
Merge pull request #3910 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoTranslated using Weblate (German) 3910/head
Hosted Weblate [Tue, 14 Apr 2020 14:40:27 +0000 (16:40 +0200)]
Translated using Weblate (German)

Currently translated at 90.2% (37 of 41 strings)

Translation: OpenWrt/LuCI/applications/advanced-reboot
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadvanced-reboot/de/

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Translated using Weblate (German)

Currently translated at 90.2% (37 of 41 strings)

Translation: OpenWrt/LuCI/applications/advanced-reboot
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadvanced-reboot/de/

Signed-off-by: ce4 <chregger@gmail.com>
Translated using Weblate (Ukrainian)

Currently translated at 100.0% (1349 of 1349 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/uk/

Signed-off-by: Yurii Petrashko <yuripet@gmail.com>
4 years agoluci-app-adblock: accept capital letters in DNS filter
Dirk Brenken [Tue, 14 Apr 2020 17:44:58 +0000 (19:44 +0200)]
luci-app-adblock: accept capital letters in DNS filter

Signed-off-by: Dirk Brenken <dev@brenken.org>
4 years agobuild: luci.mk: gracefully handle missing or unversioned po subdirectories
Jo-Philipp Wich [Tue, 14 Apr 2020 16:42:59 +0000 (18:42 +0200)]
build: luci.mk: gracefully handle missing or unversioned po subdirectories

Fixes: #3911
Fixes: 9d8e99f9b build: gracefully handle non-Git source trees
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoRevert "build: luci.mk: gracefully handle missing or unversioned po subdirectories"
Jo-Philipp Wich [Tue, 14 Apr 2020 16:42:33 +0000 (18:42 +0200)]
Revert "build: luci.mk: gracefully handle missing or unversioned po subdirectories"

This reverts commit e6f77d5d72c0e13ed3eb370419abab52c4920a32.
Commit contained unrelated changes.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agobuild: luci.mk: gracefully handle missing or unversioned po subdirectories
Jo-Philipp Wich [Tue, 14 Apr 2020 16:27:45 +0000 (18:27 +0200)]
build: luci.mk: gracefully handle missing or unversioned po subdirectories

Fixes: #3911
Fixes: 9d8e99f9b build: gracefully handle non-Git source trees
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-app-ksmbd: add uci permissions
Jo-Philipp Wich [Tue, 14 Apr 2020 16:06:43 +0000 (18:06 +0200)]
luci-app-ksmbd: add uci permissions

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-app-frps: allow /etc/config/frps, /etc/group and /etc/passwd access
Jo-Philipp Wich [Tue, 14 Apr 2020 15:51:09 +0000 (17:51 +0200)]
luci-app-frps: allow /etc/config/frps, /etc/group and /etc/passwd access

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-app-statistics: allow /etc/group and /etc/passwd access
Jo-Philipp Wich [Tue, 14 Apr 2020 15:50:41 +0000 (17:50 +0200)]
luci-app-statistics: allow /etc/group and /etc/passwd access

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agobuild: gracefully handle non-Git source trees
Jo-Philipp Wich [Tue, 14 Apr 2020 15:43:08 +0000 (17:43 +0200)]
build: gracefully handle non-Git source trees

Fixes: #3911
Fixes: 59fe4086f ("build: luci.mk: drop support for non-Git SCMs")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: form.js: make map readonly on insufficient uci permissions
Jo-Philipp Wich [Mon, 13 Apr 2020 15:48:06 +0000 (17:48 +0200)]
luci-base: form.js: make map readonly on insufficient uci permissions

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: tools/widgets.js: honour map readonly property too
Jo-Philipp Wich [Tue, 14 Apr 2020 15:12:47 +0000 (17:12 +0200)]
luci-base: tools/widgets.js: honour map readonly property too

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: ui.js: use standard indicator framework to display uci changes
Jo-Philipp Wich [Mon, 13 Apr 2020 10:31:54 +0000 (12:31 +0200)]
luci-base: ui.js: use standard indicator framework to display uci changes

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-app-firewall: tools/firewall.js: honour readonly property
Jo-Philipp Wich [Mon, 13 Apr 2020 15:36:16 +0000 (17:36 +0200)]
luci-app-firewall: tools/firewall.js: honour readonly property

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: tools/widgets.js: honour readonly property
Jo-Philipp Wich [Mon, 13 Apr 2020 14:55:49 +0000 (16:55 +0200)]
luci-base: tools/widgets.js: honour readonly property

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: form.js: implement readonly property for forms and options
Jo-Philipp Wich [Mon, 13 Apr 2020 14:53:10 +0000 (16:53 +0200)]
luci-base: form.js: implement readonly property for forms and options

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: ui.js: add disabled property to widgets
Jo-Philipp Wich [Mon, 13 Apr 2020 14:11:35 +0000 (16:11 +0200)]
luci-base: ui.js: add disabled property to widgets

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-theme-openwrt-2020: add styles for disabled input elements
Jo-Philipp Wich [Mon, 13 Apr 2020 14:04:41 +0000 (16:04 +0200)]
luci-theme-openwrt-2020: add styles for disabled input elements

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-theme-openwrt-2020: remove xhr_poll_status markup
Jo-Philipp Wich [Mon, 13 Apr 2020 10:42:17 +0000 (12:42 +0200)]
luci-theme-openwrt-2020: remove xhr_poll_status markup

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: luci.js: use standard indicator framework for poll status
Jo-Philipp Wich [Mon, 13 Apr 2020 10:41:26 +0000 (12:41 +0200)]
luci-base: luci.js: use standard indicator framework for poll status

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-mod-system: convert menu controller to declarative JSON
Jo-Philipp Wich [Mon, 13 Apr 2020 16:42:32 +0000 (18:42 +0200)]
luci-mod-system: convert menu controller to declarative JSON

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: uci.js: do not issue malformed uci/delete requests
Jo-Philipp Wich [Tue, 14 Apr 2020 15:02:42 +0000 (17:02 +0200)]
luci-base: uci.js: do not issue malformed uci/delete requests

Fixes: #3912
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit ec3a202b69b5bf5785c0785b2ac39efbe5cae2b7)

4 years agoMerge pull request #3904 from weblate/weblate-openwrt-luci
Hannu Nyman [Mon, 13 Apr 2020 14:14:00 +0000 (17:14 +0300)]
Merge pull request #3904 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoTranslated using Weblate (Romanian) 3904/head
Hosted Weblate [Mon, 13 Apr 2020 14:11:20 +0000 (16:11 +0200)]
Translated using Weblate (Romanian)

Currently translated at 14.8% (4 of 27 strings)

Translation: OpenWrt/LuCI/applications/vnstat2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvnstat2/ro/

Signed-off-by: Danut Vornicu <ovisadang@yahoo.com>
Translated using Weblate (Polish)

Currently translated at 88.1% (89 of 101 strings)

Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/pl/

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Romanian)

Currently translated at 68.1% (107 of 157 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/ro/

Signed-off-by: Danut Vornicu <ovisadang@yahoo.com>
Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (157 of 157 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/pt_BR/

Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Translated using Weblate (Spanish)

Currently translated at 100.0% (157 of 157 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/es/

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Romanian)

Currently translated at 90.8% (1226 of 1349 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ro/

Signed-off-by: Danut Vornicu <ovisadang@yahoo.com>
4 years agoluci-base: uci.js: fix variable clash
Jo-Philipp Wich [Mon, 13 Apr 2020 10:22:13 +0000 (12:22 +0200)]
luci-base: uci.js: fix variable clash

Don't overwrite the `r` variable which is supposed to refer to the reordered
uci sections with temporary data for collecting uci add parameters.

Fixes stray uci/get permission errors caused by an attempt to load
nonsensical uci package names.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: luci.js: add ability to add "preload" classes
Jo-Philipp Wich [Sun, 12 Apr 2020 20:54:02 +0000 (22:54 +0200)]
luci-base: luci.js: add ability to add "preload" classes

Extend the LuCI bootstrap procedure to scan for class files in
/www/luci-static/preload/. Any JavaScript file found there will be
required automatically before setting up the view, allowing to stage
code that should run on every page load.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: luci.js: add LuCI.fspath() helper
Jo-Philipp Wich [Sun, 12 Apr 2020 20:27:16 +0000 (22:27 +0200)]
luci-base: luci.js: add LuCI.fspath() helper

The LuCI.fspath() function allows constructing absolute filesystem paths
from path segments relative to the document root.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoMerge pull request #3901 from weblate/weblate-openwrt-luci
Hannu Nyman [Sun, 12 Apr 2020 13:02:02 +0000 (16:02 +0300)]
Merge pull request #3901 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoTranslated using Weblate (Portuguese (Brazil)) 3901/head
Hosted Weblate [Sun, 12 Apr 2020 06:00:39 +0000 (08:00 +0200)]
Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (95 of 95 strings)

Translation: OpenWrt/LuCI/applications/vpn-policy-routing
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/pt_BR/

Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (41 of 41 strings)

Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/pt_BR/

Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Translated using Weblate (Spanish)

Currently translated at 100.0% (41 of 41 strings)

Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/es/

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Spanish)

Currently translated at 100.0% (95 of 95 strings)

Translation: OpenWrt/LuCI/applications/vpn-policy-routing
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/es/

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (41 of 41 strings)

Translation: OpenWrt/LuCI/applications/advanced-reboot
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadvanced-reboot/pt_BR/

Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (27 of 27 strings)

Translation: OpenWrt/LuCI/applications/vpnbypass
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpnbypass/pt_BR/

Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Translated using Weblate (Spanish)

Currently translated at 100.0% (27 of 27 strings)

Translation: OpenWrt/LuCI/applications/vpnbypass
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpnbypass/es/

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Spanish)

Currently translated at 100.0% (41 of 41 strings)

Translation: OpenWrt/LuCI/applications/advanced-reboot
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadvanced-reboot/es/

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (101 of 101 strings)

Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/pt_BR/

Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Translated using Weblate (Spanish)

Currently translated at 100.0% (101 of 101 strings)

Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/es/

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (1349 of 1349 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt_BR/

Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Translated using Weblate (Spanish)

Currently translated at 100.0% (1349 of 1349 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/es/

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (German)

Currently translated at 100.0% (1349 of 1349 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/de/

Signed-off-by: Jo <jo@mein.io>
Translated using Weblate (German)

Currently translated at 99.5% (1343 of 1349 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/de/

Signed-off-by: Jo <jo@mein.io>
4 years agoluci-app-wol: add read access to etherwake UCI config
Jo-Philipp Wich [Sun, 12 Apr 2020 09:07:38 +0000 (11:07 +0200)]
luci-app-wol: add read access to etherwake UCI config

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-app-ttyd: add ACL rules
Jo-Philipp Wich [Sun, 12 Apr 2020 09:05:18 +0000 (11:05 +0200)]
luci-app-ttyd: add ACL rules

Ref: https://github.com/openwrt/luci/issues/3902#issuecomment-612551325
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-app-upnp: fix uci read ACL
Jo-Philipp Wich [Sun, 12 Apr 2020 08:59:41 +0000 (10:59 +0200)]
luci-app-upnp: fix uci read ACL

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-app-adblock: more DNS Report tweaks
Dirk Brenken [Sun, 12 Apr 2020 08:00:34 +0000 (10:00 +0200)]
luci-app-adblock: more DNS Report tweaks

* revert last page loading change,
  this breaks the filter functionality on that page
* Add a short paragraph to explain the page functionality
* Fix search to accept ":" character as well
  (e.g. for IPv6 address search)

Signed-off-by: Dirk Brenken <dev@brenken.org>
4 years agoluci-app-advanced-reboot: fix syntax
Hannu Nyman [Sun, 12 Apr 2020 05:57:38 +0000 (08:57 +0300)]
luci-app-advanced-reboot: fix syntax

Add the missing ")" to lines 45 and 54.
Fixes 75a4a80c1dd
Fixes #3903

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agotreewide: resync translation templates
Jo-Philipp Wich [Sat, 11 Apr 2020 19:31:00 +0000 (21:31 +0200)]
treewide: resync translation templates

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agobuild: luci.mk: honour PKG_VERSION if set
Jo-Philipp Wich [Sat, 11 Apr 2020 19:25:19 +0000 (21:25 +0200)]
build: luci.mk: honour PKG_VERSION if set

Also pass correct variable to builds to ensure that version.lua and cache
buster strings are properly interpolated.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: network.js: gracefully handle missing wireless config
Jo-Philipp Wich [Sat, 11 Apr 2020 19:24:21 +0000 (21:24 +0200)]
luci-base: network.js: gracefully handle missing wireless config

Ref: https://github.com/openwrt/luci/issues/3895
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-app-adblock: refresh report data on page load
Dirk Brenken [Sat, 11 Apr 2020 18:35:06 +0000 (20:35 +0200)]
luci-app-adblock: refresh report data on page load

* refresh report data on page load (without hitting
  the refresh button explicity)

Signed-off-by: Dirk Brenken <dev@brenken.org>
4 years agoluci-mod-network: dhcp.js: allow lease hostname to be empty
Jo-Philipp Wich [Sat, 11 Apr 2020 16:34:54 +0000 (18:34 +0200)]
luci-mod-network: dhcp.js: allow lease hostname to be empty

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-mod-network: dhcp.js: fix validation logic
Jo-Philipp Wich [Sat, 11 Apr 2020 16:19:59 +0000 (18:19 +0200)]
luci-mod-network: dhcp.js: fix validation logic

The `server` option allows plain IPs besides the `/domain/addr` format.

Fixes: #3870
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoMerge pull request #3896 from stangri/master-luci-app-vpn-policy-routing
Hannu Nyman [Sat, 11 Apr 2020 12:40:15 +0000 (15:40 +0300)]
Merge pull request #3896 from stangri/master-luci-app-vpn-policy-routing

luci-app-vpn-policy-routing: improve i18n

4 years agoMerge pull request #3898 from stangri/master-luci-app-simple-adblock
Hannu Nyman [Sat, 11 Apr 2020 12:39:21 +0000 (15:39 +0300)]
Merge pull request #3898 from stangri/master-luci-app-simple-adblock

luci-app-simple-adblock: improve i18n

4 years agoluci-app-vpn-policy-routing: improve i18n 3896/head
Stan Grishin [Sat, 11 Apr 2020 11:42:11 +0000 (11:42 +0000)]
luci-app-vpn-policy-routing: improve i18n

Signed-off-by: Stan Grishin <stangri@melmac.net>
4 years agoMerge pull request #3875 from ce-4/patch-2
Hannu Nyman [Sat, 11 Apr 2020 11:40:20 +0000 (14:40 +0300)]
Merge pull request #3875 from ce-4/patch-2

use translatef instead of translate

4 years agoluci-app-simple-adblock: improve i18n 3898/head
Stan Grishin [Sat, 11 Apr 2020 11:39:11 +0000 (11:39 +0000)]
luci-app-simple-adblock: improve i18n

Signed-off-by: Stan Grishin <stangri@melmac.net>
4 years agoluci-app-simple-adblock: use translatef instead of translate 3875/head
Christian Egger [Fri, 10 Apr 2020 21:22:35 +0000 (23:22 +0200)]
luci-app-simple-adblock: use translatef instead of translate

Signed-off-by: Christian Egger <chregger@gmail.com>
4 years agoMerge pull request #3876 from weblate/weblate-openwrt-luci
Hannu Nyman [Sat, 11 Apr 2020 07:55:01 +0000 (10:55 +0300)]
Merge pull request #3876 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoTranslated using Weblate (Chinese (Simplified)) 3876/head
Hosted Weblate [Sat, 11 Apr 2020 07:51:46 +0000 (09:51 +0200)]
Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (36 of 36 strings)

Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/zh_Hans/

Signed-off-by: 01230 <4585006@gmail.com>
Translated using Weblate (Chinese (Simplified))

Currently translated at 99.4% (176 of 177 strings)

Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/zh_Hans/

Signed-off-by: 01230 <4585006@gmail.com>
Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (1345 of 1345 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hans/

Signed-off-by: 01230 <4585006@gmail.com>
Translated using Weblate (German)

Currently translated at 86.9% (93 of 107 strings)

Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/de/

Signed-off-by: ce4 <chregger@gmail.com>
Translated using Weblate (Spanish)

Currently translated at 100.0% (1345 of 1345 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/es/

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
4 years agoMerge pull request #3877 from stangri/master-luci-app-advanced-reboot
Hannu Nyman [Sat, 11 Apr 2020 07:50:45 +0000 (10:50 +0300)]
Merge pull request #3877 from stangri/master-luci-app-advanced-reboot

luci-app-advanced-reboot: improve localization by moving from translate to translatef

4 years agoMerge pull request #3889 from stangri/master-luci-app-https-dns-proxy
Hannu Nyman [Sat, 11 Apr 2020 07:49:27 +0000 (10:49 +0300)]
Merge pull request #3889 from stangri/master-luci-app-https-dns-proxy

luci-app-https-dns-proxy: improve i18n

4 years agoluci-app-https-dns-proxy: improve i18n 3889/head
Stan Grishin [Sat, 11 Apr 2020 02:30:03 +0000 (02:30 +0000)]
luci-app-https-dns-proxy: improve i18n

Signed-off-by: Stan Grishin <stangri@melmac.net>
4 years agoluci-app-advanced-reboot: improve localization by moving from translate to translatef 3877/head
Stan Grishin [Sat, 11 Apr 2020 01:11:26 +0000 (01:11 +0000)]
luci-app-advanced-reboot: improve localization by moving from translate to translatef

Signed-off-by: Stan Grishin <stangri@melmac.net>
4 years agoluci.mk: correct titles of zh_Hans and zh_Hant
DENG Qingfang [Fri, 10 Apr 2020 09:48:31 +0000 (17:48 +0800)]
luci.mk: correct titles of zh_Hans and zh_Hant

zh_Hans: 简体中文 (Chinese Simplified)
zh_Hant: 繁體中文 (Chinese Traditional)

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
4 years agotreewide: stage ACL rules for legacy applications
Jo-Philipp Wich [Fri, 10 Apr 2020 21:21:35 +0000 (23:21 +0200)]
treewide: stage ACL rules for legacy applications

Fixes: #3866
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-app-adblock: grant uci access in read ACL rule
Jo-Philipp Wich [Fri, 10 Apr 2020 20:55:06 +0000 (22:55 +0200)]
luci-app-adblock: grant uci access in read ACL rule

Fixes: #3866
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-mod-system: fix dropbear write ACL rule
Jo-Philipp Wich [Fri, 10 Apr 2020 20:53:31 +0000 (22:53 +0200)]
luci-mod-system: fix dropbear write ACL rule

Fixes: #3872
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: uci.js: let internal RPC functions reject on errors
Jo-Philipp Wich [Fri, 10 Apr 2020 20:52:52 +0000 (22:52 +0200)]
luci-base: uci.js: let internal RPC functions reject on errors

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: rpc.js: add ability to reject nonzero ubus statuses
Jo-Philipp Wich [Fri, 10 Apr 2020 20:50:41 +0000 (22:50 +0200)]
luci-base: rpc.js: add ability to reject nonzero ubus statuses

Add a new declare option `reject` which makes the generated RPC call
function reject with an error in case the remote ubus call returned
a non-zero status.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: uhttpd.lua: expose all CGI variables
Jo-Philipp Wich [Fri, 10 Apr 2020 19:03:19 +0000 (21:03 +0200)]
luci-base: uhttpd.lua: expose all CGI variables

Fixes: #3873
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: form.js: improve save error handling
Jo-Philipp Wich [Fri, 10 Apr 2020 18:38:58 +0000 (20:38 +0200)]
luci-base: form.js: improve save error handling

Fixes: #3552
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoMerge pull request #3868 from PolynomialDivision/feature/luci-update
Hannu Nyman [Fri, 10 Apr 2020 09:59:05 +0000 (12:59 +0300)]
Merge pull request #3868 from PolynomialDivision/feature/luci-update

luci-app-dawn: fix typos and dependencies

4 years agoluci-app-dawn: add dependencies 3868/head
Polynomialdivision [Fri, 10 Apr 2020 08:39:49 +0000 (10:39 +0200)]
luci-app-dawn: add dependencies

Missing:
- luci-compat
- luci-lib-json

Fixes #3836

Signed-off-by: Nick Hainke <vincent@systemli.org>
4 years agoluci-app-dawn: fix typos
Polynomialdivision [Fri, 10 Apr 2020 08:38:27 +0000 (10:38 +0200)]
luci-app-dawn: fix typos

Signed-off-by: Nick Hainke <vincent@systemli.org>
4 years agoMerge pull request #3865 from weblate/weblate-openwrt-luci
Hannu Nyman [Fri, 10 Apr 2020 06:03:09 +0000 (09:03 +0300)]
Merge pull request #3865 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoTranslated using Weblate (Polish) 3865/head
Hosted Weblate [Fri, 10 Apr 2020 06:01:55 +0000 (08:01 +0200)]
Translated using Weblate (Polish)

Currently translated at 13.8% (5 of 36 strings)

Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/pl/

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (German)

Currently translated at 5.5% (2 of 36 strings)

Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/de/

Signed-off-by: ce4 <chregger@gmail.com>
Translated using Weblate (Polish)

Currently translated at 100.0% (98 of 98 strings)

Translation: OpenWrt/LuCI/applications/vpn-policy-routing
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/pl/

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (German)

Currently translated at 41.8% (41 of 98 strings)

Translation: OpenWrt/LuCI/applications/vpn-policy-routing
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/de/

Signed-off-by: ce4 <chregger@gmail.com>
Translated using Weblate (Polish)

Currently translated at 100.0% (40 of 40 strings)

Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/pl/

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (German)

Currently translated at 100.0% (40 of 40 strings)

Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/de/

Signed-off-by: ce4 <chregger@gmail.com>
Translated using Weblate (Polish)

Currently translated at 100.0% (23 of 23 strings)

Translation: OpenWrt/LuCI/applications/vpnbypass
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpnbypass/pl/

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (French)

Currently translated at 31.3% (37 of 118 strings)

Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/fr/

Signed-off-by: Claude Villermain <cvi@villermain.net>
Translated using Weblate (Polish)

Currently translated at 100.0% (107 of 107 strings)

Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/pl/

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (German)

Currently translated at 87.8% (94 of 107 strings)

Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/de/

Signed-off-by: ce4 <chregger@gmail.com>
Translated using Weblate (Polish)

Currently translated at 100.0% (23 of 23 strings)

Translation: OpenWrt/LuCI/applications/lxc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationslxc/pl/

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (German)

Currently translated at 100.0% (23 of 23 strings)

Translation: OpenWrt/LuCI/applications/lxc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationslxc/de/

Signed-off-by: ce4 <chregger@gmail.com>
Translated using Weblate (Polish)

Currently translated at 100.0% (156 of 156 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/pl/

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (German)

Currently translated at 100.0% (23 of 23 strings)

Translation: OpenWrt/LuCI/applications/vpnbypass
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpnbypass/de/

Signed-off-by: ce4 <chregger@gmail.com>
Translated using Weblate (German)

Currently translated at 100.0% (158 of 158 strings)

Translation: OpenWrt/LuCI/applications/mwan3
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/de/

Signed-off-by: ce4 <chregger@gmail.com>
Translated using Weblate (Polish)

Currently translated at 100.0% (177 of 177 strings)

Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/pl/

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (German)

Currently translated at 99.4% (176 of 177 strings)

Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/de/

Signed-off-by: ce4 <chregger@gmail.com>
Translated using Weblate (French)

Currently translated at 100.0% (58 of 58 strings)

Translation: OpenWrt/LuCI/applications/uhttpd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsuhttpd/fr/

Translated using Weblate (French)

Currently translated at 46.4% (52 of 112 strings)

Translation: OpenWrt/LuCI/applications/radicale2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale2/fr/

Translated using Weblate (French)

Currently translated at 100.0% (304 of 304 strings)

Translation: OpenWrt/LuCI/applications/statistics
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/fr/

Translated using Weblate (German)

Currently translated at 100.0% (81 of 81 strings)

Translation: OpenWrt/LuCI/applications/splash
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssplash/de/

Translated using Weblate (Russian)

Currently translated at 100.0% (1345 of 1345 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ru/

Signed-off-by: Anton Kikin <a.a.kikin@gmail.com>
Translated using Weblate (Polish)

Currently translated at 100.0% (1345 of 1345 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pl/

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (French)

Currently translated at 100.0% (1345 of 1345 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/fr/

Signed-off-by: Claude Villermain <cvi@villermain.net>
Translated using Weblate (German)

Currently translated at 99.3% (1336 of 1345 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/de/

Signed-off-by: ce4 <chregger@gmail.com>
4 years agobuild: luci.mk: rework package version handling
Jo-Philipp Wich [Thu, 9 Apr 2020 21:11:41 +0000 (23:11 +0200)]
build: luci.mk: rework package version handling

 - Derive the version of packages from the last change of the sources
 - Derive the version of i18n packages from the last change of the po dir

Fixes: #2257
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agobuild: luci.mk: drop support for non-Git SCMs
Jo-Philipp Wich [Thu, 9 Apr 2020 21:08:13 +0000 (23:08 +0200)]
build: luci.mk: drop support for non-Git SCMs

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agotreewide: reorganize base ACLs
Jo-Philipp Wich [Thu, 9 Apr 2020 20:52:37 +0000 (22:52 +0200)]
treewide: reorganize base ACLs

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoMerge pull request #3859 from weblate/weblate-openwrt-luci
Jo-Philipp Wich [Thu, 9 Apr 2020 07:06:30 +0000 (09:06 +0200)]
Merge pull request #3859 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoTranslated using Weblate (French) 3859/head
Hosted Weblate [Wed, 8 Apr 2020 23:38:48 +0000 (01:38 +0200)]
Translated using Weblate (French)

Currently translated at 8.3% (3 of 36 strings)

Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 48.8% (21 of 43 strings)

Translation: OpenWrt/LuCI/applications/ser2net
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsser2net/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 27.6% (18 of 65 strings)

Translation: OpenWrt/LuCI/applications/yggdrasil
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsyggdrasil/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 28.5% (28 of 98 strings)

Translation: OpenWrt/LuCI/applications/vpn-policy-routing
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 39.5% (19 of 48 strings)

Translation: OpenWrt/LuCI/applications/ttyd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsttyd/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 71.9% (77 of 107 strings)

Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 20.0% (23 of 115 strings)

Translation: OpenWrt/LuCI/applications/radicale
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 13.7% (17 of 124 strings)

Translation: OpenWrt/LuCI/applications/privoxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsprivoxy/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 29.5% (18 of 61 strings)

Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 20.0% (23 of 115 strings)

Translation: OpenWrt/LuCI/applications/nlbwmon
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnlbwmon/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 14.8% (8 of 54 strings)

Translation: OpenWrt/LuCI/applications/nft-qos
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnft-qos/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 28.4% (45 of 158 strings)

Translation: OpenWrt/LuCI/applications/mwan3
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 63.3% (19 of 30 strings)

Translation: OpenWrt/LuCI/applications/dynapoint
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdynapoint/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 25.4% (14 of 55 strings)

Translation: OpenWrt/LuCI/applications/dump1090
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdump1090/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 43.7% (28 of 64 strings)

Translation: OpenWrt/LuCI/applications/dnscrypt-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdnscrypt-proxy/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 100.0% (11 of 11 strings)

Translation: OpenWrt/LuCI/applications/bcp38
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbcp38/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 38.4% (60 of 156 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 10.3% (6 of 58 strings)

Translation: OpenWrt/LuCI/applications/uhttpd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsuhttpd/fr/

Translated using Weblate (French)

Currently translated at 8.3% (11 of 132 strings)

Translation: OpenWrt/LuCI/applications/nut
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnut/fr/

Translated using Weblate (French)

Currently translated at 21.0% (4 of 19 strings)

Translation: OpenWrt/LuCI/applications/fwknopd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfwknopd/fr/

Translated using Weblate (French)

Currently translated at 16.8% (17 of 101 strings)

Translation: OpenWrt/LuCI/applications/transmission
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstransmission/fr/

Translated using Weblate (French)

Currently translated at 48.0% (146 of 304 strings)

Translation: OpenWrt/LuCI/applications/statistics
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/fr/

Translated using Weblate (French)

Currently translated at 19.2% (11 of 57 strings)

Translation: OpenWrt/LuCI/applications/polipo
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationspolipo/fr/

Translated using Weblate (French)

Currently translated at 100.0% (1345 of 1345 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 65.4% (70 of 107 strings)

Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/fr/

Signed-off-by: anonymous <noreply@weblate.org>
Translated using Weblate (German)

Currently translated at 62.6% (67 of 107 strings)

Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/de/

Signed-off-by: ce4 <chregger@gmail.com>
4 years agoluci-app-sqm: Fix run path
Toke Høiland-Jørgensen [Wed, 8 Apr 2020 21:01:31 +0000 (23:01 +0200)]
luci-app-sqm: Fix run path

luci-app-sqm was using the wrong path to look for the available_qdiscs
file. This happened to work because by default /var is symlinked to /tmp on
OpenWrt. However, it breaks badly when this is not the case, and the
sqm.conf file for OpenWrt uses /var/run anyway, so update the luci code to
do this as well.

Fixes #3860.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
4 years agoMerge pull request #3857 from weblate/weblate-openwrt-luci
Hannu Nyman [Wed, 8 Apr 2020 14:05:16 +0000 (17:05 +0300)]
Merge pull request #3857 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoMerge pull request #3858 from cvillerm/luci-fr-translation-fixes
Hannu Nyman [Wed, 8 Apr 2020 14:03:12 +0000 (17:03 +0300)]
Merge pull request #3858 from cvillerm/luci-fr-translation-fixes

luci-fr: typos fixes and translations proposal

4 years agoluci-fr: typos fixes and translations proposal 3858/head
Claude Villermain [Wed, 8 Apr 2020 12:17:08 +0000 (14:17 +0200)]
luci-fr: typos fixes and translations proposal

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Signed-off-by: Claude Villermain <cvi@villermain.net>
4 years agoTranslated using Weblate (French) 3857/head
Hosted Weblate [Wed, 8 Apr 2020 09:39:09 +0000 (11:39 +0200)]
Translated using Weblate (French)

Currently translated at 2.7% (1 of 36 strings)

Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 18.6% (8 of 43 strings)

Translation: OpenWrt/LuCI/applications/ser2net
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsser2net/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 21.5% (14 of 65 strings)

Translation: OpenWrt/LuCI/applications/yggdrasil
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsyggdrasil/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 100.0% (27 of 27 strings)

Translation: OpenWrt/LuCI/applications/noddos
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnoddos/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 68.0% (32 of 47 strings)

Translation: OpenWrt/LuCI/applications/mjpg-streamer
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmjpg-streamer/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 82.6% (19 of 23 strings)

Translation: OpenWrt/LuCI/applications/lxc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationslxc/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 89.4% (17 of 19 strings)

Translation: OpenWrt/LuCI/applications/ltqtapi
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsltqtapi/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 100.0% (39 of 39 strings)

Translation: OpenWrt/LuCI/applications/clamav
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsclamav/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 100.0% (172 of 172 strings)

Translation: OpenWrt/LuCI/applications/aria2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsaria2/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 28.2% (44 of 156 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 100.0% (177 of 177 strings)

Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/fr/

Signed-off-by: Florian L. <florian.ligneul@gmail.com>
Translated using Weblate (French)

Currently translated at 45.5% (51 of 112 strings)

Translation: OpenWrt/LuCI/applications/radicale2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale2/fr/

Translated using Weblate (French)

Currently translated at 100.0% (10 of 10 strings)

Translation: OpenWrt/LuCI/applications/p910nd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsp910nd/fr/

4 years agoluci-app-statistics: sync translations
Hannu Nyman [Wed, 8 Apr 2020 07:51:03 +0000 (10:51 +0300)]
luci-app-statistics: sync translations

Correct translations:  /spash/splash/

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agoluci-app-aria2: Fix incorrect closing tag
Jo-Philipp Wich [Tue, 10 Mar 2020 05:38:21 +0000 (13:38 +0800)]
luci-app-aria2: Fix incorrect closing tag

Suggested-by: taeasy <88336@live.com>
[fix commit subject]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoMerge pull request #3769 from dibdot/logread-fix
Jo-Philipp Wich [Wed, 8 Apr 2020 07:19:09 +0000 (09:19 +0200)]
Merge pull request #3769 from dibdot/logread-fix

luci-base: accept alternative logread location

4 years agoMerge pull request #3749 from Ansuel/fix_relayd
Jo-Philipp Wich [Wed, 8 Apr 2020 07:15:38 +0000 (09:15 +0200)]
Merge pull request #3749 from Ansuel/fix_relayd

luci-base: fix error 404 on missing relay protocol

4 years agoluci-proto-openconnect: fix certificate file paths
Friendly fellow [Thu, 26 Mar 2020 15:49:55 +0000 (18:49 +0300)]
luci-proto-openconnect: fix certificate file paths

This addresses the issue of openconnect.sh from openconnect package expecting
a vpn- suffix for the files, while the frontend didn't.

Signed-off-by: Friendly fellow <DasTestament@users.noreply.github.com>
[reword commit message]
Ref: https://github.com/openwrt/packages/issues/11584
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoMerge pull request #3819 from ptpt52/theme
Jo-Philipp Wich [Wed, 8 Apr 2020 07:07:55 +0000 (09:07 +0200)]
Merge pull request #3819 from ptpt52/theme

set mediaurlbase only when it is the first time to be installed

4 years agoluci-app-statistics: splash_leases.js: fix typo in configSummary string
ce-4 [Wed, 1 Apr 2020 18:43:42 +0000 (18:43 +0000)]
luci-app-statistics: splash_leases.js: fix typo in configSummary string

Suggested-by: ce-4 <chr.egger@gmail.com>
[reword commit subject]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoMerge pull request #3778 from jjm2473/patch-4
Jo-Philipp Wich [Wed, 8 Apr 2020 07:03:25 +0000 (09:03 +0200)]
Merge pull request #3778 from jjm2473/patch-4

ucitrack: fix bug for exec with params

4 years agoMerge pull request #3855 from weblate/weblate-openwrt-luci
Hannu Nyman [Tue, 7 Apr 2020 19:10:19 +0000 (22:10 +0300)]
Merge pull request #3855 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoTranslated using Weblate (Portuguese) 3855/head
Hosted Weblate [Tue, 7 Apr 2020 18:07:53 +0000 (20:07 +0200)]
Translated using Weblate (Portuguese)

Currently translated at 25.0% (9 of 36 strings)

Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/pt/

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Ukrainian)

Currently translated at 2.7% (1 of 36 strings)

Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/uk/

Signed-off-by: Yurii Petrashko <yuripet@gmail.com>
Translated using Weblate (Spanish)

Currently translated at 100.0% (1345 of 1345 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/es/

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 19.4% (7 of 36 strings)

Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/pt/

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Hindi)

Currently translated at 6.2% (84 of 1345 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/hi/

Signed-off-by: Zeeshan Khan <zkhan1093@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 69.1% (74 of 107 strings)

Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/pt/

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Portuguese)

Currently translated at 100.0% (1345 of 1345 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt/

Signed-off-by: ssantos <ssantos@web.de>
4 years agoluci-base: resync translations
Jo-Philipp Wich [Tue, 7 Apr 2020 16:20:09 +0000 (18:20 +0200)]
luci-base: resync translations

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base, luci-mod-network: adjust ZoneSelect / NetworkSelect descriptions
Jo-Philipp Wich [Tue, 7 Apr 2020 16:19:19 +0000 (18:19 +0200)]
luci-base, luci-mod-network: adjust ZoneSelect / NetworkSelect descriptions

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoMerge pull request #3851 from dibdot/adblock
Jo-Philipp Wich [Tue, 7 Apr 2020 15:53:18 +0000 (17:53 +0200)]
Merge pull request #3851 from dibdot/adblock

luci-app-adblock: revert poll/view class changes

4 years agodocs: update js api docs
Jo-Philipp Wich [Tue, 7 Apr 2020 14:34:58 +0000 (16:34 +0200)]
docs: update js api docs

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: form.js: add documentation
Jo-Philipp Wich [Tue, 7 Apr 2020 14:33:09 +0000 (16:33 +0200)]
luci-base: form.js: add documentation

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoMerge pull request #3852 from stangri/master-luci-app-https-dns-proxy
Hannu Nyman [Tue, 7 Apr 2020 07:17:58 +0000 (10:17 +0300)]
Merge pull request #3852 from stangri/master-luci-app-https-dns-proxy

luci-app-https-dns-proxy: Move help links to providers files

4 years agoluci-base: reintroduce accidentally lost isCreateable() function
Jo-Philipp Wich [Mon, 6 Apr 2020 18:49:44 +0000 (20:49 +0200)]
luci-base: reintroduce accidentally lost isCreateable() function

Fixes: FS#2976
Fixes: 711f75927 ("luci-base: harmonize JS class naming and requesting")
Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2976
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-app-https-dns-proxy: Move help links to providers files, Add LibreDNS. 3852/head
Stan Grishin [Mon, 6 Apr 2020 14:00:09 +0000 (14:00 +0000)]
luci-app-https-dns-proxy: Move help links to providers files, Add LibreDNS.

Signed-off-by: Stan Grishin <stangri@melmac.net>