summaryrefslogtreecommitdiff
path: root/modules/luci-lua-runtime/luasrc/ucodebridge.lua
Commit message (Collapse)AuthorAgeFilesLines
* luci-lua-runtime: preload luci.ltn12Jo-Philipp Wich2022-11-111-4/+5
| | | | | | | | 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>
* luci-lua-runtime: preload luci.sysJo-Philipp Wich2022-10-251-0/+1
| | | | | | | 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>
* treewide: separate Lua runtime resourcesJo-Philipp Wich2022-10-251-0/+52
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>