summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2020-04-14build: luci.mk: gracefully handle missing or unversioned po subdirectoriesJo-Philipp Wich
Fixes: #3911 Fixes: 9d8e99f9b build: gracefully handle non-Git source trees Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-14Revert "build: luci.mk: gracefully handle missing or unversioned po ↵Jo-Philipp Wich
subdirectories" This reverts commit e6f77d5d72c0e13ed3eb370419abab52c4920a32. Commit contained unrelated changes. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-14build: luci.mk: gracefully handle missing or unversioned po subdirectoriesJo-Philipp Wich
Fixes: #3911 Fixes: 9d8e99f9b build: gracefully handle non-Git source trees Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-14luci-app-ksmbd: add uci permissionsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-14luci-app-frps: allow /etc/config/frps, /etc/group and /etc/passwd accessJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-14luci-app-statistics: allow /etc/group and /etc/passwd accessJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-14build: gracefully handle non-Git source treesJo-Philipp Wich
Fixes: #3911 Fixes: 59fe4086f ("build: luci.mk: drop support for non-Git SCMs") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-14luci-base: form.js: make map readonly on insufficient uci permissionsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-14luci-base: tools/widgets.js: honour map readonly property tooJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-14luci-base: ui.js: use standard indicator framework to display uci changesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-14luci-app-firewall: tools/firewall.js: honour readonly propertyJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-14luci-base: tools/widgets.js: honour readonly propertyJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-14luci-base: form.js: implement readonly property for forms and optionsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-14luci-base: ui.js: add disabled property to widgetsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-14luci-theme-openwrt-2020: add styles for disabled input elementsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-14luci-theme-openwrt-2020: remove xhr_poll_status markupJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-14luci-base: luci.js: use standard indicator framework for poll statusJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-14luci-mod-system: convert menu controller to declarative JSONJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-14luci-base: uci.js: do not issue malformed uci/delete requestsJo-Philipp Wich
Fixes: #3912 Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit ec3a202b69b5bf5785c0785b2ac39efbe5cae2b7)
2020-04-13Merge pull request #3904 from weblate/weblate-openwrt-luciHannu Nyman
Translations update from Weblate
2020-04-13Translated using Weblate (Romanian)Hosted Weblate
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>
2020-04-13luci-base: uci.js: fix variable clashJo-Philipp Wich
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>
2020-04-12luci-base: luci.js: add ability to add "preload" classesJo-Philipp Wich
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>
2020-04-12luci-base: luci.js: add LuCI.fspath() helperJo-Philipp Wich
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>
2020-04-12Merge pull request #3901 from weblate/weblate-openwrt-luciHannu Nyman
Translations update from Weblate
2020-04-12Translated using Weblate (Portuguese (Brazil))Hosted Weblate
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>
2020-04-12luci-app-wol: add read access to etherwake UCI configJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-12luci-app-ttyd: add ACL rulesJo-Philipp Wich
Ref: https://github.com/openwrt/luci/issues/3902#issuecomment-612551325 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-12luci-app-upnp: fix uci read ACLJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-12luci-app-adblock: more DNS Report tweaksDirk Brenken
* 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>
2020-04-12luci-app-advanced-reboot: fix syntaxHannu Nyman
Add the missing ")" to lines 45 and 54. Fixes 75a4a80c1dd Fixes #3903 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-04-11treewide: resync translation templatesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-11build: luci.mk: honour PKG_VERSION if setJo-Philipp Wich
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>
2020-04-11luci-base: network.js: gracefully handle missing wireless configJo-Philipp Wich
Ref: https://github.com/openwrt/luci/issues/3895 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-11luci-app-adblock: refresh report data on page loadDirk Brenken
* refresh report data on page load (without hitting the refresh button explicity) Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-04-11luci-mod-network: dhcp.js: allow lease hostname to be emptyJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-11luci-mod-network: dhcp.js: fix validation logicJo-Philipp Wich
The `server` option allows plain IPs besides the `/domain/addr` format. Fixes: #3870 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-11Merge pull request #3896 from stangri/master-luci-app-vpn-policy-routingHannu Nyman
luci-app-vpn-policy-routing: improve i18n
2020-04-11Merge pull request #3898 from stangri/master-luci-app-simple-adblockHannu Nyman
luci-app-simple-adblock: improve i18n
2020-04-11luci-app-vpn-policy-routing: improve i18nStan Grishin
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-04-11Merge pull request #3875 from ce-4/patch-2Hannu Nyman
use translatef instead of translate
2020-04-11luci-app-simple-adblock: improve i18nStan Grishin
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-04-11luci-app-simple-adblock: use translatef instead of translateChristian Egger
Signed-off-by: Christian Egger <chregger@gmail.com>
2020-04-11Merge pull request #3876 from weblate/weblate-openwrt-luciHannu Nyman
Translations update from Weblate
2020-04-11Translated using Weblate (Chinese (Simplified))Hosted Weblate
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>
2020-04-11Merge pull request #3877 from stangri/master-luci-app-advanced-rebootHannu Nyman
luci-app-advanced-reboot: improve localization by moving from translate to translatef
2020-04-11Merge pull request #3889 from stangri/master-luci-app-https-dns-proxyHannu Nyman
luci-app-https-dns-proxy: improve i18n
2020-04-11luci-app-https-dns-proxy: improve i18nStan Grishin
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-04-11luci-app-advanced-reboot: improve localization by moving from translate to ↵Stan Grishin
translatef Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-04-11luci.mk: correct titles of zh_Hans and zh_HantDENG Qingfang
zh_Hans: 简体中文 (Chinese Simplified) zh_Hant: 繁體中文 (Chinese Traditional) Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>