mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 17:04:35 +04:00
bf7d15af13a9610512e585b45fe3c5bd1aebf285
fs.stat() and fs.exec() require broad rpcd permissions (ubus file.*) which prevent luci-app-wol from working for restricted users and expose more access than necessary. This introduces a dedicated RPC backend (luci.wol) providing safe stat/exec wrappers for etherwake and wakeonlan, and simplifies ACLs to only allow these two RPC calls. Also adds the missing 'getNetworkDevices' ACL required by DeviceSelect. Signed-off-by: Martin Devolder <martin.devolder2@gmail.com>
OpenWrt luci feed
Description
This is the OpenWrt "luci"-feed containing LuCI - OpenWrt Configuration Interface.
Usage
This feed is enabled by default. Your feeds.conf.default (or feeds.conf) should contain a line like:
src-git luci https://github.com/openwrt/luci.git
To install all its package definitions, run:
./scripts/feeds update luci
./scripts/feeds install -a -p luci
API Reference
You can browse the generated API documentation directly on Github.
- Server side Lua APIs; Note: deprecated - Lua will be removed in future. Use ucode rpcd for server side operations.
- Client side JavaScript APIs
Development
Documentation for developing and extending LuCI can be found in the Wiki
License
See LICENSE file.
Package Guidelines
See CONTRIBUTING.md file.
Translation status
Use Weblate instead of direct editing of the *.po files.
Description
Languages
JavaScript
59.2%
C
18.4%
Lua
11.2%
CSS
3.8%
HTML
2.3%
Other
5%