summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-commands/luasrc
AgeCommit message (Collapse)Author
2022-10-25luci-app-commands: rewrite to client side renderingJo-Philipp Wich
Rewrite the luci-app-command configuration to client side cbi forms and port the server side templates and controller logic to ucode. Also utilize a query string parameter to pass custom arguments. Fixes: #5559 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-04-09luci-app-commands: prevent page reload on invoking command actionsJo-Philipp Wich
Fixes: f117b7f ("luci-app-commands: use <button> elements") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-04-09luci-app-commands: use <button> elementsJo-Philipp Wich
Use <button> instead of <input type=button> elements to fix compatibility with OpenWrt 2020 theme. Ref: https://github.com/openwrt/luci/issues/4972 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-05-11luci-app-commands: show hint in status page if no entry defined yetHelge Mader
Signed-off-by: Helge Mader <ma@dev.tdt.de>
2020-04-19applications: add ACL dependency annotations to legacy controllersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-18luci-app-commands: do not escape pipe on cmd lineFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-07-09treewide: always include cbi.jsJo-Philipp Wich
Include cbi.js in the main header template like it is done for xhr.js and remove the page specific includes. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-07luci-app-commands: fix link generationYousong Zhou
Fixes openwrt/luci##824 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-04-04luci-app-commands: use FULL_REQUEST_URIJo-Philipp Wich
Switch from using the REQUEST_URI CGI variable directly to the canonicalized FULL_REQUEST_URI property. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-15luci-app-commands: Allow executing without downloading on public linkst123yh
Signed-off-by: t123yh <t123yh@outlook.com>
2015-10-07Globally replace luci.dispatcher.build_url(...) with url(...) invocationsJo-Philipp Wich
Also concat multiple string arguments into one while we're at it. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-06Globally convert headline anchors into name attributes.Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16Globally reduce copyright headersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08Rework LuCI build systemJo-Philipp Wich
* Rename subdirectories to their repective OpenWrt package names * Make each LuCI module its own standalone package * Deploy a shared luci.mk which is used by each module Makefile Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>