mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 17:04:35 +04:00
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