summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-commands/ucode
AgeCommit message (Collapse)Author
2024-07-28luci-app-commands: avoid deprecated XHR() usageJo-Philipp Wich
Replace direct usage of deprecated XHR() wrapper with L.request class calls. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-07-28luci-app-commands: move URL building to client sideJo-Philipp Wich
Replace server side dispatcher.build_url() with client side L.url() calls. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-07-28luci-app-commands: use client side translation in JavaScript blocksJo-Philipp Wich
Do not interpolate translated strings on the server side, use browser side translation calls instead to avoid potential quote escaping issues. Fixes: #7213 Fixes: 119fd22ebf ("luci-app-commands: replace i18n single quotes with double-quotes") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-07-28Revert "luci-app-commands: replace i18n single quotes with double-quotes"Jo-Philipp Wich
This reverts commit 119fd22ebfcbccfb46e3298db81a1b4c5861a143. The commit is ineffective and does not solve the reported issue. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-07-27luci-app-commands: replace i18n single quotes with double-quotesPaul Donald
Closes #7213 Signed-off-by: Paul Donald <newtwen+github@gmail.com>
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>