Jo-Philipp Wich
|
01129d5297
|
luci-mod-system: mounts.js: disable umount button in readonly map
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-16 15:35:51 +02:00 |
|
Jo-Philipp Wich
|
684f7dd7dc
|
luci-mod-system: flash.js: make readonly on insufficient ACLs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-16 15:35:13 +02:00 |
|
Jo-Philipp Wich
|
92902225fb
|
luci-mod-system: crontab.js: disable textarea on insufficient ACLs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-16 15:33:02 +02:00 |
|
Jo-Philipp Wich
|
17770e49eb
|
luci-mod-status: assoclist: hide wifi disconnect on insufficient ACLs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-16 15:32:32 +02:00 |
|
Jo-Philipp Wich
|
dc57e4bc6c
|
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>
|
2020-04-16 15:30:44 +02:00 |
|
Jo-Philipp Wich
|
0306b14d20
|
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>
|
2020-04-16 15:28:21 +02:00 |
|
Jo-Philipp Wich
|
c63c902163
|
luci-mod-network: interfaces.js: disable action buttons on insufficient ACLs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-16 15:21:03 +02:00 |
|
Jo-Philipp Wich
|
90a51ab3b9
|
luci-base: ui.js: add LuCI.ui.menu.flushCache() function
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-16 15:13:26 +02:00 |
|
Jo-Philipp Wich
|
3f1d6870ff
|
docs: update js api docs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-16 13:30:48 +02:00 |
|
Jo-Philipp Wich
|
52486e5862
|
luci-theme-openwrt-2020: disabled widget style tweaks
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-16 13:30:36 +02:00 |
|
Jo-Philipp Wich
|
46d31efc73
|
luci-base: ui.js: apply disabled attribute to toplevel dynlist node
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-16 13:30:35 +02:00 |
|
Jo-Philipp Wich
|
616d2a61e4
|
luci-base: luci.js: get rid of global L references in internal classes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-16 13:30:35 +02:00 |
|
Jo-Philipp Wich
|
1ac8df2614
|
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>
|
2020-04-16 13:30:35 +02:00 |
|
Jo-Philipp Wich
|
48269ade61
|
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>
|
2020-04-16 13:30:35 +02:00 |
|
Jo-Philipp Wich
|
a1aa0af102
|
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>
|
2020-04-16 13:30:35 +02:00 |
|
Jo-Philipp Wich
|
930f28b606
|
luci-base: ui.js: add LuCI.ui.menu helper class
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-16 13:30:35 +02:00 |
|
Jo-Philipp Wich
|
e56e442d6a
|
luci-base: implement JSON endpoint to fetch menu information
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-16 13:30:35 +02:00 |
|
Jo-Philipp Wich
|
51186355ea
|
luci-base: ui.js: use session data api to persist tab selection state
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-16 13:30:35 +02:00 |
|
Jo-Philipp Wich
|
adeb0f3aa6
|
luci-base: luci.js: disable page action buttons on readonly views
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-16 13:30:35 +02:00 |
|
Jo-Philipp Wich
|
b739fc17ea
|
luci-base: luci.js: add hasViewPermission() helper
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-16 13:30:35 +02:00 |
|
Jo-Philipp Wich
|
94a0c57181
|
luci-base: expose currently dispatched node info to client side JS
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-16 13:30:35 +02:00 |
|
Jo-Philipp Wich
|
125916f2f4
|
luci-base: dispatcher.lua: add support for handling menu ACL annotations
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-16 13:30:35 +02:00 |
|
Jo-Philipp Wich
|
06af541c37
|
luci-base: luci.js: fix JSdoc markup issues
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-16 13:30:35 +02:00 |
|
Jo-Philipp Wich
|
b0c8221926
|
luci-base: luci.js: convert various probe* functions to session data api
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-16 13:30:35 +02:00 |
|
Jo-Philipp Wich
|
ef718246b1
|
luci-base: luci.js: add LuCI.session class
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-16 13:30:35 +02:00 |
|
Jo-Philipp Wich
|
e385640505
|
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>
|
2020-04-16 10:49:05 +02:00 |
|
Jo-Philipp Wich
|
237db822bd
|
luci-app-nextdns: add uci ACL rules
Ref: https://github.com/openwrt/luci/pull/3921
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-16 10:18:27 +02:00 |
|
Jo-Philipp Wich
|
df892cc167
|
luci-app-ddns: add uci write permission
Fixes: #3919
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-15 17:55:00 +02:00 |
|
Jo-Philipp Wich
|
06fea062b7
|
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>
|
2020-04-15 14:58:54 +02:00 |
|
Jo-Philipp Wich
|
62be45c466
|
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>
|
2020-04-15 12:44:57 +02:00 |
|
Jo-Philipp Wich
|
09a8460750
|
luci-app-samba4: add uci ACL rules
Fixes: #3918
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-15 11:48:11 +02:00 |
|
Jo-Philipp Wich
|
0e22d4d87e
|
luci-base: network.js: don't fail loading network config on missing wireless
Fixes: #3914
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-15 09:29:29 +02:00 |
|
Hannu Nyman
|
d8516b2734
|
Merge pull request #3910 from weblate/weblate-openwrt-luci
Translations update from Weblate
|
2020-04-14 22:47:09 +03:00 |
|
Hosted Weblate
|
8dce8e5aa1
|
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>
|
2020-04-14 19:45:12 +02:00 |
|
Dirk Brenken
|
e7cb6efb5a
|
luci-app-adblock: accept capital letters in DNS filter
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
2020-04-14 19:44:58 +02:00 |
|
Jo-Philipp Wich
|
0705657747
|
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>
|
2020-04-14 18:42:59 +02:00 |
|
Jo-Philipp Wich
|
b9dda90716
|
Revert "build: luci.mk: gracefully handle missing or unversioned po subdirectories"
This reverts commit e6f77d5d72 .
Commit contained unrelated changes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-14 18:42:36 +02:00 |
|
Jo-Philipp Wich
|
e6f77d5d72
|
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>
|
2020-04-14 18:29:13 +02:00 |
|
Jo-Philipp Wich
|
6c82e2a678
|
luci-app-ksmbd: add uci permissions
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-14 18:06:43 +02:00 |
|
Jo-Philipp Wich
|
f2731ceaa9
|
luci-app-frps: allow /etc/config/frps, /etc/group and /etc/passwd access
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-14 17:51:09 +02:00 |
|
Jo-Philipp Wich
|
1dad678379
|
luci-app-statistics: allow /etc/group and /etc/passwd access
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-14 17:50:41 +02:00 |
|
Jo-Philipp Wich
|
9d8e99f9be
|
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>
|
2020-04-14 17:43:08 +02:00 |
|
Jo-Philipp Wich
|
5c22340f43
|
luci-base: form.js: make map readonly on insufficient uci permissions
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-14 17:13:19 +02:00 |
|
Jo-Philipp Wich
|
c89fd0a7f3
|
luci-base: tools/widgets.js: honour map readonly property too
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-14 17:12:47 +02:00 |
|
Jo-Philipp Wich
|
b6e93d54a0
|
luci-base: ui.js: use standard indicator framework to display uci changes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-14 17:10:06 +02:00 |
|
Jo-Philipp Wich
|
952b169167
|
luci-app-firewall: tools/firewall.js: honour readonly property
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-14 17:09:12 +02:00 |
|
Jo-Philipp Wich
|
0f8e5b2536
|
luci-base: tools/widgets.js: honour readonly property
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-14 17:09:12 +02:00 |
|
Jo-Philipp Wich
|
9279448148
|
luci-base: form.js: implement readonly property for forms and options
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-14 17:08:36 +02:00 |
|
Jo-Philipp Wich
|
86c797041a
|
luci-base: ui.js: add disabled property to widgets
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-14 17:07:34 +02:00 |
|
Jo-Philipp Wich
|
eb8eeb45de
|
luci-theme-openwrt-2020: add styles for disabled input elements
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2020-04-14 17:06:34 +02:00 |
|