<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luci/applications/luci-app-commands/ucode/template, 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>2026-06-23T13:54:28Z</updated>
<entry>
<title>luci-app-commands: add optional description field for commands</title>
<updated>2026-06-23T13:54:28Z</updated>
<author>
<name>Michael Pfeifroth</name>
</author>
<published>2026-06-19T08:30:25Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=32ed4d2e93c2b3981fe84d7537a2175215a149c3'/>
<id>urn:sha1:32ed4d2e93c2b3981fe84d7537a2175215a149c3</id>
<content type='text'>
Add an optional 'description' UCI attribute that is displayed below
the command line on the Custom Commands execution page. This allows
administrators to provide a human-readable explanation of what a
command does, visible before executing it.

Also rename the existing 'name' field label from 'Description' to
'Name' in the configuration page to avoid confusion with the new
description field.

Signed-off-by: Michael Pfeifroth &lt;michael.pfeifroth@westermo.com&gt;
</content>
</entry>
<entry>
<title>treewide: vectorise iconography</title>
<updated>2025-06-12T16:55:53Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2025-04-25T21:39:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=ae5d91da903b6f1d3086d6082ca622231e34f555'/>
<id>urn:sha1:ae5d91da903b6f1d3086d6082ca622231e34f555</id>
<content type='text'>
Clear, crisp, resolution independent vector graphics replace the trusty
microscopic PNG. Some minor CSS changes were needed to constrain images
in some locations to make sure they don't consume too much space.

Iconography taken from Mate desktop theme with minor adjustments:

https://github.com/mate-desktop/mate-icon-theme/

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: HTML Cleanup</title>
<updated>2024-11-22T21:39:46Z</updated>
<author>
<name>Mustafa Can Elmacı</name>
</author>
<published>2024-11-17T12:52:45Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=ae8bbb814f16c2dc2a82e88d408bee1812ceda9c'/>
<id>urn:sha1:ae8bbb814f16c2dc2a82e88d408bee1812ceda9c</id>
<content type='text'>
* HTML Cleanup: Meta tags.
* Converted charset to shorthand.
* Removed meta tags with `Content-Script-Type` attribute. (Invalid in HTML5 spec.)

* HTML Cleanup: CSS tags.
* Removed `type` attribute with CSS files from link tags. (HTML5 spec recommends omitting it.)
* Removed `type` attribute from style tags. (Deprecated in HTML5 spec.)
https://html.spec.whatwg.org/#attr-link-type
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style

* HTML Cleanup: Convert from XHTML to HTML5
* Removed XML declaration.
* Removed XML namespace.
* Changed doctype to HTML5.

* HTML Cleanup: CDATA tags.
* CDATA sections should not be used within HTML they are considered as comments and not displayed.
https://developer.mozilla.org/en-US/docs/Web/API/CDATASection

* HTML Cleanup: Script tags.
* Removed `language` attribute from script tags. (No longer valid in HTML5)
* Removed `type` attribute with JavaScript MIME type from script tags. (HTML5 spec recommends omitting it.)
https://html.spec.whatwg.org/multipage/scripting.html#attr-script-type
https://mimesniff.spec.whatwg.org/#javascript-mime-type

Signed-off-by: Mustafa Can Elmacı &lt;mustafacan@elmaci.net&gt;
</content>
</entry>
<entry>
<title>luci-app-commands: correctly pass custom arguments as query string</title>
<updated>2024-09-18T21:24:03Z</updated>
<author>
<name>Daniel Nilsson</name>
</author>
<published>2024-09-18T19:37:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=72255eb46c9425fbcb3ab4e000032f6b2a0cef2d'/>
<id>urn:sha1:72255eb46c9425fbcb3ab4e000032f6b2a0cef2d</id>
<content type='text'>
Commit 702c007 changed the request to be invoked via the Request.get function
instead of the deprecated XHR one. The request options object requires the
query string to be located inside of the subobject "query", otherwise they are
not picked up. This resulted in breaking the custom arguments functionality as
the input would simply be ignored.

Fixes #7255

Signed-off-by: Daniel Nilsson &lt;dannil+github@protonmail.com&gt;
</content>
</entry>
<entry>
<title>luci-app-commands: avoid deprecated XHR() usage</title>
<updated>2024-07-27T23:36:22Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2024-07-27T23:21:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=702c0073657017a4bed10b18d0d92bd5464d2046'/>
<id>urn:sha1:702c0073657017a4bed10b18d0d92bd5464d2046</id>
<content type='text'>
Replace direct usage of deprecated XHR() wrapper with L.request class calls.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>luci-app-commands: move URL building to client side</title>
<updated>2024-07-27T23:14:46Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2024-07-27T23:14:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=0f9c168fa643089abd073b59ffbfcc6abe220dea'/>
<id>urn:sha1:0f9c168fa643089abd073b59ffbfcc6abe220dea</id>
<content type='text'>
Replace server side dispatcher.build_url() with client side L.url() calls.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>luci-app-commands: use client side translation in JavaScript blocks</title>
<updated>2024-07-27T23:08:01Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2024-07-27T23:06:25Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=385129bd51d7c88f71615ec0dc37039dbb1d2adf'/>
<id>urn:sha1:385129bd51d7c88f71615ec0dc37039dbb1d2adf</id>
<content type='text'>
Do not interpolate translated strings on the server side, use browser
side translation calls instead to avoid potential quote escaping issues.

Fixes: #7213
Fixes: 119fd22ebf ("luci-app-commands: replace i18n single quotes with double-quotes")
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>Revert "luci-app-commands: replace i18n single quotes with double-quotes"</title>
<updated>2024-07-27T22:21:24Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2024-07-27T22:21:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=1021ecef108532b0d9af3409cf754b842e344b20'/>
<id>urn:sha1:1021ecef108532b0d9af3409cf754b842e344b20</id>
<content type='text'>
This reverts commit 119fd22ebfcbccfb46e3298db81a1b4c5861a143.

The commit is ineffective and does not solve the reported issue.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>luci-app-commands: replace i18n single quotes with double-quotes</title>
<updated>2024-07-27T19:56:02Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2024-07-27T19:56:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=119fd22ebfcbccfb46e3298db81a1b4c5861a143'/>
<id>urn:sha1:119fd22ebfcbccfb46e3298db81a1b4c5861a143</id>
<content type='text'>
Closes #7213

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-app-commands: rewrite to client side rendering</title>
<updated>2022-10-24T23:03:38Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-10-24T22:55:14Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=dd1c538b2ed4e025be6a4006e0e8e2a2bf37ad18'/>
<id>urn:sha1:dd1c538b2ed4e025be6a4006e0e8e2a2bf37ad18</id>
<content type='text'>
Rewrite the luci-app-command configuration to client side cbi forms and
port the server side templates and controller logic to ucode.

Also utilize a query string parameter to pass custom arguments.

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