mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 14:54:36 +04:00
ece28ab5a4d476c73d404fbbb6d3b919832fea13
responseProgress callback and stderr option
for LuCI.request and `fs.exec_direct()`. This commit adds XHR response progress event option in luci.js and fs.js. And diagnostics.js will use this new event to update command output. This commit also adds a `stderr` option in `fs.exec_direct()`, and requires a patch for `cgi-io`. Currently `cgi-io` redirects stderr to /dev/null, which makes user unable to see error messages. The patch adds a `stderr` option, and if it's set to `1`, redirects stderr to stdout. Signed-off-by: Richard Yu <yurichard3839@gmail.com> Link: https://github.com/openwrt/luci/pull/7920
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%