summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-lua-runtime/luasrc/ucodebridge.lua
AgeCommit message (Collapse)Author
2022-11-11luci-lua-runtime: preload luci.ltn12Jo-Philipp Wich
Some existing legacy code expects the luci.ltn12 namespace to be implicitly available, even without requiring it beforehand. Fixes: #6091 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25luci-lua-runtime: preload luci.sysJo-Philipp Wich
Some existing model code expects the luci.sys namespace to be implicitly available, even without requiring it beforehand. 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>