summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/ucode/controller/admin
AgeCommit message (Collapse)Author
2024-09-20luci-base: expunge correct transport cookies on logoutPaul Donald
Closes #7269 Thanks to @mikma Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2022-11-03luci-base: fix empty reply format in ubus gateway fallback codeJo-Philipp Wich
The ubus gateway fallback code incorrectly formatted ubus replies containing no payload data when forwarding them via HTTP, leading to `TypeError: Unexpected reply data format` errors in at least the `luci.fs` class when receiving replies without payload. Fix this issue by ensuring that the result array never contains a `null` value for the payload, send an one-element array containing just the status code in this case instead. Fixes: #6074 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25treewide: separate Lua runtime resourcesJo-Philipp Wich
Move classes required for Lua runtime support into a new `luci-lua-runtime` package. Also replace the `luci.http` and `luci.util` classes in `luci-lib-base` with stubbed versions interacting with the ucode based runtime environment. Finally merge `luci-base-ucode` into the remainders of `luci-base`. Signed-off-by: Jo-Philipp Wich <jo@mein.io>