summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
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>
2020-04-15luci-app-samba4: add uci ACL rulesJo-Philipp Wich
Fixes: #3918 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-15luci-base: network.js: don't fail loading network config on missing wirelessJo-Philipp Wich
Fixes: #3914 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-14Merge pull request #3910 from weblate/weblate-openwrt-luciHannu Nyman
Translations update from Weblate
2020-04-14Translated using Weblate (German)Hosted Weblate
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-14luci-app-adblock: accept capital letters in DNS filterDirk Brenken
Signed-off-by: Dirk Brenken <dev@brenken.org>
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>