summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2020-04-18Merge pull request #3928 from tobiaswaldvogel/fix_luci_app_statistics_plugin_dfDirk Brenken
luci_app_statistics: Add missing variable declaration for plugin df
2020-04-18Add missing variable declaration for luci_app_statistics plugin dfTobias Waldvogel
Signed-off-by: Tobias Waldvogel <tobias.waldvogel@gmail.com>
2020-04-18luci-app-statistics: fix ACL nameHannu Nyman
Fix the ACL name. Instead of referencing openvpn, use the statistics ACL. Fixes commit 8f34e105c0 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-04-18luci-app-openvpn: parse extended 'remote' syntax as wellDirk Brenken
* parse special 'remote' syntax (remote <host> <port> <proto> as well (removed in last commit by accident) Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-04-18luci-app-openvpn: relax port/protocol parserDirk Brenken
* relax port/protocol parser for ovpn files * limit protocol to 'udp' or 'tcp' Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-04-18Merge pull request #3923 from weblate/weblate-openwrt-luciHannu Nyman
Translations update from Weblate
2020-04-17Translated using Weblate (Portuguese)Hosted Weblate
Currently translated at 28.4% (27 of 95 strings) Translation: OpenWrt/LuCI/applications/vpn-policy-routing Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/pt/ Signed-off-by: ssantos <ssantos@web.de> Translated using Weblate (Portuguese) 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/ Signed-off-by: ssantos <ssantos@web.de> Translated using Weblate (Portuguese) Currently translated at 27.7% (10 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 (Portuguese) Currently translated at 27.3% (26 of 95 strings) Translation: OpenWrt/LuCI/applications/vpn-policy-routing Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/pt/ Signed-off-by: ssantos <ssantos@web.de> Translated using Weblate (Portuguese) Currently translated at 92.6% (38 of 41 strings) Translation: OpenWrt/LuCI/applications/https-dns-proxy Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/pt/ Signed-off-by: ssantos <ssantos@web.de> Translated using Weblate (Portuguese) Currently translated at 100.0% (27 of 27 strings) Translation: OpenWrt/LuCI/applications/vpnbypass Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpnbypass/pt/ Signed-off-by: ssantos <ssantos@web.de> Translated using Weblate (Portuguese) 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/ Signed-off-by: ssantos <ssantos@web.de> Translated using Weblate (Portuguese) Currently translated at 67.3% (68 of 101 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% (1349 of 1349 strings) Translation: OpenWrt/LuCI/modules/luci-base Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt/ Signed-off-by: ssantos <ssantos@web.de> Translated using Weblate (Russian) Currently translated at 68.8% (42 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: sergio <sergio+it@outerface.net> Translated using Weblate (Russian) 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/ru/ Signed-off-by: sergio <sergio+it@outerface.net> Translated using Weblate (Russian) Currently translated at 100.0% (64 of 64 strings) Translation: OpenWrt/LuCI/applications/dnscrypt-proxy Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdnscrypt-proxy/ru/ Signed-off-by: sergio <sergio+it@outerface.net> Translated using Weblate (Russian) Currently translated at 11.3% (15 of 132 strings) Translation: OpenWrt/LuCI/applications/nut Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnut/ru/ Translated using Weblate (Russian) Currently translated at 100.0% (190 of 190 strings) Translation: OpenWrt/LuCI/applications/openvpn Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/ru/ Translated using Weblate (Russian) Currently translated at 96.2% (78 of 81 strings) Translation: OpenWrt/LuCI/applications/splash Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssplash/ru/ Translated using Weblate (Russian) Currently translated at 68.8% (42 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: anonymous <noreply@weblate.org> Translated using Weblate (Russian) Currently translated at 68.8% (42 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: sergio <sergio+it@outerface.net> Translated using Weblate (Russian) Currently translated at 67.2% (41 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: anonymous <noreply@weblate.org> Translated using Weblate (Russian) Currently translated at 67.2% (41 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: sergio <sergio+it@outerface.net> Translated using Weblate (Russian) Currently translated at 55.7% (34 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: anonymous <noreply@weblate.org> Translated using Weblate (Russian) Currently translated at 55.7% (34 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: sergio <sergio+it@outerface.net> Translated using Weblate (Russian) Currently translated at 54.0% (33 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: anonymous <noreply@weblate.org> Translated using Weblate (Russian) Currently translated at 54.0% (33 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: sergio <sergio+it@outerface.net> Translated using Weblate (Russian) Currently translated at 49.1% (30 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: anonymous <noreply@weblate.org> Translated using Weblate (Russian) Currently translated at 49.1% (30 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: sergio <sergio+it@outerface.net> Translated using Weblate (Russian) Currently translated at 45.9% (28 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: anonymous <noreply@weblate.org> Translated using Weblate (Russian) Currently translated at 44.2% (27 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: sergio <sergio+it@outerface.net>
2020-04-17treewide: fix trailing commans in ACL JSON filesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-17luci-base: fix trainling comma in ACL specificationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-17build: i18n-scan.pl: make ACL descriptions translatableJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-17Merge pull request #3922 from weblate/weblate-openwrt-luciHannu Nyman
Translations update from Weblate
2020-04-17Translated using Weblate (Russian)Hosted Weblate
Currently translated at 44.2% (27 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: anonymous <noreply@weblate.org> Translated using Weblate (Russian) Currently translated at 44.2% (27 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: sergio <sergio+it@outerface.net> Translated using Weblate (Russian) Currently translated at 42.6% (26 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: anonymous <noreply@weblate.org> Translated using Weblate (Russian) Currently translated at 42.6% (26 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: sergio <sergio+it@outerface.net> Translated using Weblate (Russian) Currently translated at 40.9% (25 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: anonymous <noreply@weblate.org> Translated using Weblate (Russian) Currently translated at 40.9% (25 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: sergio <sergio+it@outerface.net> Translated using Weblate (Russian) Currently translated at 39.3% (24 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: anonymous <noreply@weblate.org> Translated using Weblate (Russian) Currently translated at 39.3% (24 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: sergio <sergio+it@outerface.net> Translated using Weblate (Russian) Currently translated at 36.0% (22 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: anonymous <noreply@weblate.org> Translated using Weblate (Russian) Currently translated at 36.0% (22 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: sergio <sergio+it@outerface.net> Translated using Weblate (Russian) Currently translated at 34.4% (21 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: anonymous <noreply@weblate.org> Translated using Weblate (Russian) Currently translated at 34.4% (21 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: sergio <sergio+it@outerface.net> Translated using Weblate (Russian) Currently translated at 32.7% (20 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: anonymous <noreply@weblate.org> Translated using Weblate (Russian) Currently translated at 32.7% (20 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: sergio <sergio+it@outerface.net> Translated using Weblate (Russian) Currently translated at 26.2% (16 of 61 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/ Signed-off-by: anonymous <noreply@weblate.org> Translated using Weblate (Russian) Currently translated at 2.7% (1 of 36 strings) Translation: OpenWrt/LuCI/applications/sqm Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/ru/ Signed-off-by: Alex <allxxx@mail.ru> Translated using Weblate (Russian) Currently translated at 3.3% (2 of 60 strings) Translation: OpenWrt/LuCI/applications/frps Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrps/ru/ Signed-off-by: Alex <allxxx@mail.ru> Translated using Weblate (Russian) Currently translated at 8.3% (6 of 72 strings) Translation: OpenWrt/LuCI/applications/frpc Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrpc/ru/ Signed-off-by: Alex <allxxx@mail.ru> Translated using Weblate (Greek) 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/el/ Signed-off-by: george k <norhorn@gmail.com> Translated using Weblate (Russian) Currently translated at 40.1% (63 of 157 strings) Translation: OpenWrt/LuCI/applications/adblock Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/ru/ Signed-off-by: Alex <allxxx@mail.ru> Translated using Weblate (Russian) Currently translated at 100.0% (177 of 177 strings) Translation: OpenWrt/LuCI/applications/ddns Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/ru/ Signed-off-by: Alex <allxxx@mail.ru> Translated using Weblate (Russian) Currently translated at 100.0% (101 of 101 strings) Translation: OpenWrt/LuCI/applications/transmission Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstransmission/ru/ Translated using Weblate (Russian) Currently translated at 100.0% (1349 of 1349 strings) Translation: OpenWrt/LuCI/modules/luci-base Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ru/ Signed-off-by: Alex <allxxx@mail.ru> Translated using Weblate (German) Currently translated at 40.6% (48 of 118 strings) Translation: OpenWrt/LuCI/applications/travelmate Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/de/ Signed-off-by: ce4 <chregger@gmail.com>
2020-04-17treewide: add ACL annotations to menu entriesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-17luci-base: ui.js: order indicators by ID valueJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-17luci-app-adblock: re-apply poll/view class changesDirk Brenken
* re-apply poll/view class changes in master after 19.07-branch split off Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-04-16docs: update js api docsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-mod-system: system.js: disable timesync buttons on readonly mapJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-mod-system: startup.js: disable action buttons on insufficient ACLsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-mod-system: sshkeys.js: make readonly on insufficient ACLsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-mod-system: password.js: make readonly on insufficient ACLsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-mod-system: mounts.js: disable umount button in readonly mapJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-mod-system: flash.js: make readonly on insufficient ACLsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-mod-system: crontab.js: disable textarea on insufficient ACLsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-mod-status: assoclist: hide wifi disconnect on insufficient ACLsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-app-opkg: disable action buttons on insufficient ACLsJo-Philipp Wich
Also flush menu cache after opkg actions. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-mod-network: wireless.js: disable action buttons on insufficient ACLsJo-Philipp Wich
Also implement disabled state in custom frequency select widget. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-mod-network: interfaces.js: disable action buttons on insufficient ACLsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-base: ui.js: add LuCI.ui.menu.flushCache() functionJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16docs: update js api docsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-theme-openwrt-2020: disabled widget style tweaksJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-base: ui.js: apply disabled attribute to toplevel dynlist nodeJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-base: luci.js: get rid of global `L` references in internal classesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-theme-bootstrap: rework menu renderingJo-Philipp Wich
Utilize the LuCI.ui.menu class to load, traverse and cache the menu tree in the local session store. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-theme-openwrt: rework menu renderingJo-Philipp Wich
Utilize the LuCI.ui.menu class to load, traverse and cache the menu tree in the local session store. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-theme-openwrt-2020: rework menu renderingJo-Philipp Wich
Utilize the LuCI.ui.menu class to load, traverse and cache the menu tree in the local session store. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-base: ui.js: add LuCI.ui.menu helper classJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-base: implement JSON endpoint to fetch menu informationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-base: ui.js: use session data api to persist tab selection stateJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-base: luci.js: disable page action buttons on readonly viewsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-base: luci.js: add hasViewPermission() helperJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-base: expose currently dispatched node info to client side JSJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-base: dispatcher.lua: add support for handling menu ACL annotationsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-base: luci.js: fix JSdoc markup issuesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-base: luci.js: convert various probe* functions to session data apiJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-base: luci.js: add LuCI.session classJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-base: luci.js: share environment object among LuCI base classesJo-Philipp Wich
This allows us to get rid of global `L` references in luci.js itself. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-app-nextdns: add uci ACL rulesJo-Philipp Wich
Ref: https://github.com/openwrt/luci/pull/3921 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-15luci-app-ddns: add uci write permissionJo-Philipp Wich
Fixes: #3919 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-15luci-compat: add wildcard ACL allowing access to all uci configurationsJo-Philipp Wich
Ref: https://github.com/openwrt/luci/issues/3917 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-15build: luci.mk: fix compatibility with older Git versionsJo-Philipp Wich
Fixes: 9d8e99f9b build: gracefully handle non-Git source trees Signed-off-by: Jo-Philipp Wich <jo@mein.io>