<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luci/libs, 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>2026-11-16T13:47:19Z</updated>
<entry>
<title>rpcd-mod-luci: bump version</title>
<updated>2026-11-16T13:47:19Z</updated>
<author>
<name>David Härdeman</name>
</author>
<published>2026-11-11T22:05:34Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=308411fa5b3a3441d2d84449c4c7e3c9ada4996a'/>
<id>urn:sha1:308411fa5b3a3441d2d84449c4c7e3c9ada4996a</id>
<content type='text'>
Bump PKG_VERSION, as the luci-rpc lease methods now get the odhcpd
leases via ubus instead of parsing odhcpd's lease file.

Signed-off-by: David Härdeman &lt;david@hardeman.nu&gt;
</content>
</entry>
<entry>
<title>rpcd-mod-luci: escape unsafe characters in lease hostnames</title>
<updated>2026-11-16T13:47:19Z</updated>
<author>
<name>David Härdeman</name>
</author>
<published>2026-11-11T22:05:22Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=ab13720f6e8fa46db602a8144490de41ffde9eb6'/>
<id>urn:sha1:ab13720f6e8fa46db602a8144490de41ffde9eb6</id>
<content type='text'>
Lease hostnames are whatever the DHCP clients sent, so they can contain
arbitrary bytes, including control characters and invalid UTF-8. odhcpd
reports them verbatim via ubus (its lease file used to escape them), and
they would end up as-is in the JSON replies sent to the browser.

Escape control characters, backslashes and invalid UTF-8 sequences as
\xNN; valid UTF-8 is passed through unchanged. This applies to the
dnsmasq lease file entries as well.

Signed-off-by: David Härdeman &lt;david@hardeman.nu&gt;
</content>
</entry>
<entry>
<title>rpcd-mod-luci: get odhcpd leases via ubus</title>
<updated>2026-11-16T13:47:19Z</updated>
<author>
<name>David Härdeman</name>
</author>
<published>2026-11-11T22:05:22Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=f6eea3082e43c071169fbb34fabeffe478c49cf8'/>
<id>urn:sha1:f6eea3082e43c071169fbb34fabeffe478c49cf8</id>
<content type='text'>
Instead of parsing the lease file written by odhcpd, ask odhcpd for its
current leases via ubus (dhcp ipv4leases/ipv6leases). This allows
odhcpd to change or drop the lease file, which is an internal detail.

getDHCPLeases, getDUIDHints and getHostHints now defer their replies
and fetch the leases asynchronously before generating the reply. Only
the odhcpd methods which are needed are called (e.g. getDHCPLeases with
family 4 only calls ipv4leases). If odhcpd isn't running, there are
simply no odhcpd leases. dnsmasq leases are still read from its lease
file(s), which getDHCPLeases now opens once instead of once per family.

The reply format is unchanged: odhcpd's ubus data is converted to the
same fields as before. Leases which odhcpd has only offered (i.e. which
aren't bound) are skipped, as they weren't in the lease file either.
DHCPv4 leases from odhcpd now include the DUID and IAID if the client
used a DUID-based client identifier (as dnsmasq leases already did).

Signed-off-by: David Härdeman &lt;david@hardeman.nu&gt;
</content>
</entry>
<entry>
<title>rpcd-mod-luci: don't call back when invoke_ubus() fails</title>
<updated>2026-11-16T13:47:19Z</updated>
<author>
<name>David Härdeman</name>
</author>
<published>2026-11-11T22:02:39Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=68b5cbdb959db407b80792e60b2cd2cd5a2db80c'/>
<id>urn:sha1:68b5cbdb959db407b80792e60b2cd2cd5a2db80c</id>
<content type='text'>
If ubus_invoke_async() fails, invoke_ubus() would call the callback
(with a NULL priv pointer, since that is only set on success) and then
return false. The only caller, the rrdns lookup in getHostHints,
completes the request itself when invoke_ubus() returns false, so the
callback would dereference a NULL reply context and the request would
be completed twice.

Only report the failure through the return value.

Signed-off-by: David Härdeman &lt;david@hardeman.nu&gt;
</content>
</entry>
<entry>
<title>luci-lib-px5g: drop package</title>
<updated>2026-08-07T23:22:00Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2026-08-07T23:18:57Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=cbf6d42c3370e0ffba3195659c4a99c483a3c1df'/>
<id>urn:sha1:cbf6d42c3370e0ffba3195659c4a99c483a3c1df</id>
<content type='text'>
This Lua binding for the PolarSSL based certificate generation logic
contains some buffer overflows in its vendored sources and did not
have an in-tree user since over ten years, so remove it entirely.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>luci-lib-chartjs: js linting fixes</title>
<updated>2026-02-16T23:26:47Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2026-02-16T23:11:31Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=d28ebe176474195f2aefe9d44049327ff003c5b5'/>
<id>urn:sha1:d28ebe176474195f2aefe9d44049327ff003c5b5</id>
<content type='text'>
fix several variable bleed errors:

  10:194  error    'e' is already defined        no-redeclare
  10:245  error    'g' is already defined        no-redeclare
  11:61   error    'c' is already defined        no-redeclare
  11:395  error    'c[a]' is assigned to itself  no-self-assign
  33:391  error    'c' is already defined        no-redeclare
  35:127  error    'b' is already defined        no-redeclare
  37:128  error    'd' is already defined        no-redeclare
  56:85   error    'c' is already defined        no-redeclare
  56:99   error    'e' is already defined        no-redeclare
  56:127  error    'h' is already defined        no-redeclare

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-lib-uqr: lint fixes</title>
<updated>2026-02-16T00:42:57Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2026-02-14T20:15:23Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=fbaa2c60e2d26fea03b4755f2799a95e9779f48a'/>
<id>urn:sha1:fbaa2c60e2d26fea03b4755f2799a95e9779f48a</id>
<content type='text'>
remove unused vars

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>rpcd-mod-rad3-enc: add radicale3 password hasher</title>
<updated>2026-01-15T17:20:51Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-01-10T00:07:34Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=7e25a5c32a76b1a4e2904d54e24cc852df2a3ceb'/>
<id>urn:sha1:7e25a5c32a76b1a4e2904d54e24cc852df2a3ceb</id>
<content type='text'>
There are a number of changes to radicale, passlib and bcrypt,
which means a new rpcd function is needed.

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<entry>
<title>luci-app-radicale2, rpcd-mod-rad2-enc: drop packages</title>
<updated>2026-01-15T17:18:04Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-01-09T16:11:16Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=db37d7dd24608c57b388162cc61d99ac314526ca'/>
<id>urn:sha1:db37d7dd24608c57b388162cc61d99ac314526ca</id>
<content type='text'>
Radicale2 has been dropped from the packages feed as it fails to compile
due to PEP 625 compliance issues.

While the package compiles locally with lowercase filenames, the build
system expects uppercase names. However, PEP 625 enforces lowercase for
distribution filenames (sdists/wheels).

Since radicale3 is available as a replacement, radicale2 is being
removed. LuCI support for radicale3 will be added shortly.

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
<entry>
<title>rpcd-mod-luci: report the interface for leases</title>
<updated>2025-12-03T12:36:29Z</updated>
<author>
<name>David Härdeman</name>
</author>
<published>2025-11-30T18:43:29Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=570b4bfe6f0af576cd192dfef098fe5f8eabb1df'/>
<id>urn:sha1:570b4bfe6f0af576cd192dfef098fe5f8eabb1df</id>
<content type='text'>
This adds support to rpcd-mod-luci's ubus interface to report also which
interface a given lease corresponds to, which will make it possible to
expose that information in LuCI.

Signed-off-by: David Härdeman &lt;david@hardeman.nu&gt;
</content>
</entry>
</feed>
