<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luci/contrib, branch master</title>
<subtitle>Lua Configuration Interface (mirror)</subtitle>
<id>https://git.openwrt.org/project/luci/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/luci/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/'/>
<updated>2025-10-07T15:56:21Z</updated>
<entry>
<title>lucihttp: adjust to cmake 4.x compatibility</title>
<updated>2025-10-07T15:56:21Z</updated>
<author>
<name>Hannu Nyman</name>
</author>
<published>2025-10-07T15:56:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=721369b8bf04f87974e9757c465f827df936ef69'/>
<id>urn:sha1:721369b8bf04f87974e9757c465f827df936ef69</id>
<content type='text'>
New cmake versions require at least 3.5 as 'cmake_minimum_required'
in CMakeLists.txt. In future 3.10 will be required.

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
</content>
</entry>
<entry>
<title>csstidy: Fix PKG_MIRROR_HASH after .zst change</title>
<updated>2024-04-07T12:38:34Z</updated>
<author>
<name>Hannu Nyman</name>
</author>
<published>2024-04-07T12:38:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=5dd6b148eea1fe4dd6d4b8cf705842980a2087db'/>
<id>urn:sha1:5dd6b148eea1fe4dd6d4b8cf705842980a2087db</id>
<content type='text'>
Adjust PKG_MIRROR_HASH to the filename change due to .zst adoption.

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
</content>
</entry>
<entry>
<title>lucihttp: Fix PKG_MIRROR_HASH after .zst change</title>
<updated>2024-04-07T12:35:07Z</updated>
<author>
<name>Hannu Nyman</name>
</author>
<published>2024-04-07T12:35:07Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=d1269d63dae00a0d3611d740bcd1fc77a48f5876'/>
<id>urn:sha1:d1269d63dae00a0d3611d740bcd1fc77a48f5876</id>
<content type='text'>
Adjust PKG_MIRROR_HASH to the filename change due to .zst adoption.

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
</content>
</entry>
<entry>
<title>csstidy: Fix PKG_MIRROR_HASH after APK changes</title>
<updated>2024-04-03T17:35:47Z</updated>
<author>
<name>Hannu Nyman</name>
</author>
<published>2024-04-03T17:35:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=03418d4e40d6960140bfe074016fc0b3164f566a'/>
<id>urn:sha1:03418d4e40d6960140bfe074016fc0b3164f566a</id>
<content type='text'>
Adjust PKG_MIRROR_HASH to the filename logic change due to
APK preparations.

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
</content>
</entry>
<entry>
<title>lucihttp: Fix PKG_MIRROR_HASH after APK changes</title>
<updated>2024-04-03T17:32:02Z</updated>
<author>
<name>Hannu Nyman</name>
</author>
<published>2024-04-03T17:32:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=b2f8d0e2ad8c64f8fd74eb824476a46b07e428e0'/>
<id>urn:sha1:b2f8d0e2ad8c64f8fd74eb824476a46b07e428e0</id>
<content type='text'>
Adjust PKG_MIRROR_HASH to the filename logic change due to
APK preparations.

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
</content>
</entry>
<entry>
<title>ucode-mod-html: fix build with gcc 5</title>
<updated>2023-08-08T18:49:31Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2023-08-08T18:49:31Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=b3d661cd84760a0cdf084a25f21556a07e369d33'/>
<id>urn:sha1:b3d661cd84760a0cdf084a25f21556a07e369d33</id>
<content type='text'>
Older gcc versions raise a `label at end of compound statement` error due
to the empty default case. Fix the problem by adding an explicit `break`
statement.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>lucihttp: update to latest Git HEAD</title>
<updated>2023-03-15T00:07:09Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2023-03-15T00:05:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=0f6e1663ca0370ab3f8ca3927a9d0a37b015d0f4'/>
<id>urn:sha1:0f6e1663ca0370ab3f8ca3927a9d0a37b015d0f4</id>
<content type='text'>
9b5b683 multipart-parser: properly handle parts with trailing CR

Fixes: #6282
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>contrib: introduce ucode-mod-html</title>
<updated>2022-10-24T23:03:36Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-09-02T15:04:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=5c5f4a8d1f4560b5c0ac90402f5f957b166c96a3'/>
<id>urn:sha1:5c5f4a8d1f4560b5c0ac90402f5f957b166c96a3</id>
<content type='text'>
The ucode-mod-html library provides assorted utility functions for dealing
with HTML markup data.

Example usage:

    #!/usr/bin/ucode

    'use strict';

    import { tokenize, striptags, entitydecode, entityencode,
             OPEN, ATTR, TEXT, CLOSE, RAW, COMMENT, CDATA, PROCINST, EOF } from 'html';

    tokenize('&lt;div class="example"&gt;Hello world!&lt;/div&gt;...',
        function(type, text, value) {
            switch (type) {
            case OPEN:     print(`Opening tag: ${text}\n`); break;
            case ATTR:     print(`Attribute:   ${text}${value ? `=${value}`}\n`; break;
            case TEXT:     print(`Text data:   ${text}\n`); break;
            case CLOSE:    print(`Closing tag: ${text}\n`); break;
            case RAW:      print(`Script/CSS:  ${text}\n`); break;
            case COMMENT:  print(`Comment:     ${text}\n`); break;
            case CDATA:    print(`CDATA text:  ${text}\n`); break;
            case PROCINST: print(`&lt;!...&gt; tag:  ${text}\n`); break;
            case EOF:      print(`End of input\n`);         break;
            }
        }
    );

    print(striptags('&lt;p&gt;This is some &lt;b&gt;text&lt;/b&gt; with &lt;br&gt; markup&lt;/p&gt;\n'));
    print(entitydecode('&amp;#60; &amp;#x20; &amp;amp; &amp;auml;'));
    print(entityencode('1 &lt; 2 &amp;&amp; "foo"'));

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>ucode-mod-lua: improve error reporting</title>
<updated>2022-10-24T23:03:36Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-09-15T14:25:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=c1ceeebdd037e0d3e591fff1241482f118eef286'/>
<id>urn:sha1:c1ceeebdd037e0d3e591fff1241482f118eef286</id>
<content type='text'>
Avoid redundancies in generated exception messages and include Lua
tracebacks when catching exceptions in protected calls.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>ucode-mod-lua: various fixes</title>
<updated>2022-08-29T22:06:15Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-08-26T12:11:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=629eb171b7ec47c7f608962d013a4f7894fac00d'/>
<id>urn:sha1:629eb171b7ec47c7f608962d013a4f7894fac00d</id>
<content type='text'>
Properly handle accesses to properties of the userdatum itself in the
lua_uv_index() __index metamethod and treat integer keys as array indexes
in case of wrapped ucode array values. Also fix an incorrect refcount
decrement in the function.

Also fix uc_lua_vm_get() and uc_lua_lv_getraw() to gracefully handle
accesses to not defined or non-table values and ensure that those functions
properly reset the Lua stack after they complete.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
</feed>
