Jo-Philipp Wich [Sat, 18 Apr 2020 21:10:32 +0000 (23:10 +0200)]
luci-app-acl: add initial version of login management module
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 18 Apr 2020 21:05:01 +0000 (23:05 +0200)]
luci-base: ui.js: hide unsatisfied firstchild menu nodes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 18 Apr 2020 17:58:35 +0000 (19:58 +0200)]
luci-mod-status: hide DHCP and assoclist on insufficient ACLs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 18 Apr 2020 17:57:00 +0000 (19:57 +0200)]
luci-mod-status: index.js: skip includes which failed loading
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Dirk Brenken [Sat, 18 Apr 2020 19:13:15 +0000 (21:13 +0200)]
Merge pull request #3927 from JonnyTischbein/master
luci-app-dawn: Rewrite of Dawn Hearing Map in Table Form
Jo-Philipp Wich [Sat, 18 Apr 2020 17:37:26 +0000 (19:37 +0200)]
luci-app-transmission: fix ACL group name
Fixes:
d733520d6 ("luci-app-transmission: add ACL definitions")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 18 Apr 2020 17:33:51 +0000 (19:33 +0200)]
luci-app-transmission: add ACL definitions
Ref: https://bugs.openwrt.org/index.php?do=details&task_id=3000
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Dirk Brenken [Sat, 18 Apr 2020 14:04:26 +0000 (16:04 +0200)]
Merge pull request #3928 from tobiaswaldvogel/fix_luci_app_statistics_plugin_df
luci_app_statistics: Add missing variable declaration for plugin df
Tobias Waldvogel [Sat, 18 Apr 2020 13:27:54 +0000 (15:27 +0200)]
Add missing variable declaration for luci_app_statistics plugin df
Signed-off-by: Tobias Waldvogel <tobias.waldvogel@gmail.com>
Hannu Nyman [Sat, 18 Apr 2020 11:37:36 +0000 (14:37 +0300)]
luci-app-statistics: fix ACL name
Fix the ACL name.
Instead of referencing openvpn, use the statistics ACL.
Fixes commit
8f34e105c0
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Jonny Tischbein [Sat, 18 Apr 2020 10:42:20 +0000 (12:42 +0200)]
luci-app-dawn: hearing map with div tables
Signed-off-by: Jonny Tischbein <jonny_tischbein@systemli.org>
Jonny Tischbein [Sat, 18 Apr 2020 08:18:29 +0000 (10:18 +0200)]
luci-app-dawn: rewrite dawn hearing map in table form
Signed-off-by: Jonny Tischbein <jonny_tischbein@systemli.org>
Dirk Brenken [Sat, 18 Apr 2020 07:31:39 +0000 (09:31 +0200)]
luci-app-openvpn: parse extended 'remote' syntax as well
* parse special 'remote' syntax (remote <host> <port> <proto> as well
(removed in last commit by accident)
Signed-off-by: Dirk Brenken <dev@brenken.org>
Dirk Brenken [Sat, 18 Apr 2020 06:57:36 +0000 (08:57 +0200)]
luci-app-openvpn: relax port/protocol parser
* relax port/protocol parser for ovpn files
* limit protocol to 'udp' or 'tcp'
Signed-off-by: Dirk Brenken <dev@brenken.org>
Hannu Nyman [Sat, 18 Apr 2020 06:28:59 +0000 (09:28 +0300)]
Merge pull request #3923 from weblate/weblate-openwrt-luci
Translations update from Weblate
Hosted Weblate [Fri, 17 Apr 2020 21:40:46 +0000 (23:40 +0200)]
Translated using Weblate (Portuguese)
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>
Jo-Philipp Wich [Fri, 17 Apr 2020 21:40:14 +0000 (23:40 +0200)]
treewide: fix trailing commans in ACL JSON files
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 17 Apr 2020 14:26:46 +0000 (16:26 +0200)]
luci-base: fix trainling comma in ACL specification
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 17 Apr 2020 14:11:34 +0000 (16:11 +0200)]
build: i18n-scan.pl: make ACL descriptions translatable
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Hannu Nyman [Fri, 17 Apr 2020 13:15:59 +0000 (16:15 +0300)]
Merge pull request #3922 from weblate/weblate-openwrt-luci
Translations update from Weblate
Hosted Weblate [Fri, 17 Apr 2020 11:38:47 +0000 (13:38 +0200)]
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: 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>
Jo-Philipp Wich [Fri, 17 Apr 2020 10:14:50 +0000 (12:14 +0200)]
treewide: add ACL annotations to menu entries
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 17 Apr 2020 07:30:20 +0000 (09:30 +0200)]
luci-base: ui.js: order indicators by ID value
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Dirk Brenken [Fri, 17 Apr 2020 05:42:24 +0000 (07:42 +0200)]
luci-app-adblock: re-apply poll/view class changes
* re-apply poll/view class changes in master after 19.07-branch
split off
Signed-off-by: Dirk Brenken <dev@brenken.org>
Jo-Philipp Wich [Thu, 16 Apr 2020 13:41:31 +0000 (15:41 +0200)]
docs: update js api docs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 16 Apr 2020 13:39:54 +0000 (15:39 +0200)]
luci-mod-system: system.js: disable timesync buttons on readonly map
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 16 Apr 2020 13:38:56 +0000 (15:38 +0200)]
luci-mod-system: startup.js: disable action buttons on insufficient ACLs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 16 Apr 2020 13:38:09 +0000 (15:38 +0200)]
luci-mod-system: sshkeys.js: make readonly on insufficient ACLs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 16 Apr 2020 13:36:39 +0000 (15:36 +0200)]
luci-mod-system: password.js: make readonly on insufficient ACLs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 16 Apr 2020 13:35:51 +0000 (15:35 +0200)]
luci-mod-system: mounts.js: disable umount button in readonly map
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 16 Apr 2020 13:35:13 +0000 (15:35 +0200)]
luci-mod-system: flash.js: make readonly on insufficient ACLs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 16 Apr 2020 13:33:02 +0000 (15:33 +0200)]
luci-mod-system: crontab.js: disable textarea on insufficient ACLs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 16 Apr 2020 13:32:06 +0000 (15:32 +0200)]
luci-mod-status: assoclist: hide wifi disconnect on insufficient ACLs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 16 Apr 2020 13:30:44 +0000 (15:30 +0200)]
luci-app-opkg: disable action buttons on insufficient ACLs
Also flush menu cache after opkg actions.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 16 Apr 2020 13:28:21 +0000 (15:28 +0200)]
luci-mod-network: wireless.js: disable action buttons on insufficient ACLs
Also implement disabled state in custom frequency select widget.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 16 Apr 2020 13:21:03 +0000 (15:21 +0200)]
luci-mod-network: interfaces.js: disable action buttons on insufficient ACLs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 16 Apr 2020 13:13:26 +0000 (15:13 +0200)]
luci-base: ui.js: add LuCI.ui.menu.flushCache() function
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 16 Apr 2020 11:26:27 +0000 (13:26 +0200)]
docs: update js api docs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 16 Apr 2020 11:19:56 +0000 (13:19 +0200)]
luci-theme-openwrt-2020: disabled widget style tweaks
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 16 Apr 2020 11:19:35 +0000 (13:19 +0200)]
luci-base: ui.js: apply disabled attribute to toplevel dynlist node
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 16 Apr 2020 11:17:57 +0000 (13:17 +0200)]
luci-base: luci.js: get rid of global `L` references in internal classes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 15 Apr 2020 20:46:25 +0000 (22:46 +0200)]
luci-theme-bootstrap: rework menu rendering
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>
Jo-Philipp Wich [Wed, 15 Apr 2020 20:43:05 +0000 (22:43 +0200)]
luci-theme-openwrt: rework menu rendering
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>
Jo-Philipp Wich [Wed, 15 Apr 2020 20:35:38 +0000 (22:35 +0200)]
luci-theme-openwrt-2020: rework menu rendering
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>
Jo-Philipp Wich [Wed, 15 Apr 2020 20:30:00 +0000 (22:30 +0200)]
luci-base: ui.js: add LuCI.ui.menu helper class
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 15 Apr 2020 20:25:48 +0000 (22:25 +0200)]
luci-base: implement JSON endpoint to fetch menu information
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 15 Apr 2020 20:18:13 +0000 (22:18 +0200)]
luci-base: ui.js: use session data api to persist tab selection state
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 15 Apr 2020 20:15:28 +0000 (22:15 +0200)]
luci-base: luci.js: disable page action buttons on readonly views
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 15 Apr 2020 20:14:44 +0000 (22:14 +0200)]
luci-base: luci.js: add hasViewPermission() helper
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 15 Apr 2020 20:13:33 +0000 (22:13 +0200)]
luci-base: expose currently dispatched node info to client side JS
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 15 Apr 2020 20:12:39 +0000 (22:12 +0200)]
luci-base: dispatcher.lua: add support for handling menu ACL annotations
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 15 Apr 2020 20:03:20 +0000 (22:03 +0200)]
luci-base: luci.js: fix JSdoc markup issues
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 15 Apr 2020 20:01:55 +0000 (22:01 +0200)]
luci-base: luci.js: convert various probe* functions to session data api
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 15 Apr 2020 19:50:26 +0000 (21:50 +0200)]
luci-base: luci.js: add LuCI.session class
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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)
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
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>