summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
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>
2020-04-10treewide: stage ACL rules for legacy applicationsJo-Philipp Wich
Fixes: #3866 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-10luci-app-adblock: grant uci access in read ACL ruleJo-Philipp Wich
Fixes: #3866 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-10luci-mod-system: fix dropbear write ACL ruleJo-Philipp Wich
Fixes: #3872 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-10luci-base: uci.js: let internal RPC functions reject on errorsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-10luci-base: rpc.js: add ability to reject nonzero ubus statusesJo-Philipp Wich
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>
2020-04-10luci-base: uhttpd.lua: expose all CGI variablesJo-Philipp Wich
Fixes: #3873 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-10luci-base: form.js: improve save error handlingJo-Philipp Wich
Fixes: #3552 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-10Merge pull request #3868 from PolynomialDivision/feature/luci-updateHannu Nyman
luci-app-dawn: fix typos and dependencies
2020-04-10luci-app-dawn: add dependenciesPolynomialdivision
Missing: - luci-compat - luci-lib-json Fixes #3836 Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-04-10luci-app-dawn: fix typosPolynomialdivision
Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-04-10Merge pull request #3865 from weblate/weblate-openwrt-luciHannu Nyman
Translations update from Weblate
2020-04-10Translated using Weblate (Polish)Hosted Weblate
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>