<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luci/libs/luci-lib-base/luasrc/http.lua, branch master</title>
<subtitle>Lua Configuration Interface (mirror)</subtitle>
<id>https://git-03.infra.openwrt.org/project/luci/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/project/luci/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/'/>
<updated>2022-11-04T15:10:12Z</updated>
<entry>
<title>luci-lib-base: ensure that `luci.http` can be required standalone</title>
<updated>2022-11-04T15:10:12Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-11-04T15:06:18Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=911845231380e8e4ecd5151493a561b1a3bfb4ad'/>
<id>urn:sha1:911845231380e8e4ecd5151493a561b1a3bfb4ad</id>
<content type='text'>
Various existing Lua software is requiring the `luci.http` library for
URL encoding/decoding tasks so ensure that it can be loaded in a stand
alone manner even if the emulated Lua runtime environment is not
available.

Fixes: cea2c3578e ("luci-lib-base: forward luci.http.context.request.message to ucode")
Ref: https://forum.openwrt.org/t/x/141817
Ref: https://github.com/openwrt/luci/pull/5976#issuecomment-1296220586
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>luci-lib-base: forward luci.http.context.request.message to ucode</title>
<updated>2022-10-24T23:03:37Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-09-19T12:20:27Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=cea2c3578efe7ab36219f06985d01a4771aeb070'/>
<id>urn:sha1:cea2c3578efe7ab36219f06985d01a4771aeb070</id>
<content type='text'>
Some existing LuCI application code accesses the
`luci.http.context.request.message.params` HTTP parameter table directly.

Forward the `luci.http.context.request.message` object to the ucode
`luci.http.message` instance in order to properly support this.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>treewide: separate Lua runtime resources</title>
<updated>2022-10-24T23:03:37Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-09-13T21:50:12Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=673f38246ac3548caefec41183e3dd7477d9f6f6'/>
<id>urn:sha1:673f38246ac3548caefec41183e3dd7477d9f6f6</id>
<content type='text'>
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 &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>luci-base: move some generic classes into a separate luci-base-libs package</title>
<updated>2020-07-19T18:14:22Z</updated>
<author>
<name>Sven Roederer</name>
</author>
<published>2019-07-01T19:52:07Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=8b8d83e42dd3d10d82e29a8614a7b3e3e94b16c6'/>
<id>urn:sha1:8b8d83e42dd3d10d82e29a8614a7b3e3e94b16c6</id>
<content type='text'>
The new package luci-base-libs provides the modules that not strictly relate
to the web-interface of luci. By separating these libs they can be used by
other packages without having to install the web-components.
This change was inspired by providing a shell-only interface for 4MB-flash
devices, by keeping as much code common with a full install.

Signed-off-by: Sven Roederer &lt;freifunk@it-solutions.geroedel.de&gt;
</content>
</entry>
</feed>
