<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luci/applications/luci-app-nut/htdocs, 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-07-20T19:36:44Z</updated>
<entry>
<title>luci-app-nut: update nut_server page for better USB HID UPS experience</title>
<updated>2026-07-20T19:36:44Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-07-04T00:16:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=a1c7bbf5611d272746ae3b1395ed726f1bb096ab'/>
<id>urn:sha1:a1c7bbf5611d272746ae3b1395ed726f1bb096ab</id>
<content type='text'>
With https://github.com/openwrt/packages/pull/29607 the NUT package in OpenWrt
requires that USB HID UPSes define USB productId and vendorId so the initscript
can give the driver(s) permissions to access the UPS. We make this clear on the
nut_server configuration page.

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<entry>
<title>luci-app-nut: remove spurious driverpath config</title>
<updated>2026-07-20T19:36:44Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-07-03T23:56:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=d84da1ffc01abef06209f5600b4ca997a0007afc'/>
<id>urn:sha1:d84da1ffc01abef06209f5600b4ca997a0007afc</id>
<content type='text'>
Making this configurable was never fully implemented in the NUT package,
and it doesn't make sense for OpenWrt. It is being removed in
https://github.com/openwrt/packages/pull/29896. Therefore remove it as an
configurable option, and remove related ACL.

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<entry>
<title>luci-app-nut: only allow admin write access and limit read access</title>
<updated>2026-07-11T17:22:27Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-07-04T01:31:20Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=5cf20c5741dc34eea0faaf7324ef3751b05fa1f3'/>
<id>urn:sha1:5cf20c5741dc34eea0faaf7324ef3751b05fa1f3</id>
<content type='text'>
In order to mitigate GHSA-4f29-2ff2-6hqf: 'authenticated luci-app-nut
configuration user can execute NUT monitor notify commands as root', we
write access to the nut UCI configuration only for admin user, and also
limit some additional read access for non-admin users.

Remove unneeded permissions in luci-app-nut* ACLs

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<entry>
<title>luci-app-nut: update to work with drivers in libexec</title>
<updated>2026-06-23T13:30:48Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-05-10T05:37:05Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=eca60f74efa12b1f395717641d6ba023a11ea3c0'/>
<id>urn:sha1:eca60f74efa12b1f395717641d6ba023a11ea3c0</id>
<content type='text'>
Briefly, due to recent CI changes, it is was longer possible to have
NUT drivers in /lib/nut as they are not libraries. This motivated
moving them to /usr/libexec/nut (as they are executable binaries not
libraries), which is the right thing to do even though the CI now
allows using /lib/nut for the drivers.

openwrt/packages#29592 makes that change for the nut package.

We update luci-app-nut so that it can work with either location. As a
side benefit, this means this commit does not need to wait for the
above PR to land in packages before adding this commit.

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<entry>
<title>luci-app-nut: i18n fix typo in UPS Monitor section title</title>
<updated>2026-06-12T06:21:07Z</updated>
<author>
<name>David Han</name>
</author>
<published>2026-06-08T02:39:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=30e758d8093c43cc7670687c73aed335353d0f56'/>
<id>urn:sha1:30e758d8093c43cc7670687c73aed335353d0f56</id>
<content type='text'>
Remove an accidental trailing parenthesis inside the i18n string
for 'UPS Monitor User Settings)'.

Signed-off-by: David Han &lt;h96643864@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-app-nut: update monitor for package refactor</title>
<updated>2026-04-27T11:37:25Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-04-07T08:54:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=0a8763ee04b2f6a8ee22be2e127d981059388631'/>
<id>urn:sha1:0a8763ee04b2f6a8ee22be2e127d981059388631</id>
<content type='text'>
https://github.com/openwrt/packages/pull/28875 deals with
https://github.com/openwrt/luci/pull/8420#issuecomment-4071252681
and
https://github.com/openwrt/packages/pull/28875#issuecomment-4079307540

by simplifying the configuration of notification messages and flags.

At the same time it modernizes the monitoring user configuration.

Supersedes #8434

This commit syncs luci-app-nut for the nut package changes in
https://github.com/openwrt/packages/pull/28875 .

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<entry>
<title>luci-app-nut: fix value misspelling</title>
<updated>2026-01-31T15:09:17Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2026-01-31T15:09:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=80f9b0d012fc1315bc4aa684a689752b941bad0f'/>
<id>urn:sha1:80f9b0d012fc1315bc4aa684a689752b941bad0f</id>
<content type='text'>
monitor recognizes hostsync not hotsync

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-app-nut: improve confusing driver option text</title>
<updated>2026-01-26T03:09:10Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-01-25T10:39:07Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=95319793a27a3554be06070db8c6db71c6e28df1'/>
<id>urn:sha1:95319793a27a3554be06070db8c6db71c6e28df1</id>
<content type='text'>
Some driver options were noted as '(Display)' even though they are
added to the `ups.conf` configuration file (this is because the drivers
use them in the messages they emit). Since not all drivers support these
options and it is quite a large job to manage the which options apply
to which of the many drivers for nut, for now we add informational
text to inform the user of the situation.

Discussed in #8200 mfr, model fields not valid on usbhid-ups driver
and #8241.

As noted in the latter's comments, more than one driver uses the
problematic options, so the solution is not as simple as hiding the
options for any driver except that one.

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<entry>
<title>luci-app-nut: fix wrong nut_server option</title>
<updated>2025-01-09T18:11:07Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2025-01-09T18:11:07Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=7f6c7271b2581e2261e2f9a004ae389b2c57103c'/>
<id>urn:sha1:7f6c7271b2581e2261e2f9a004ae389b2c57103c</id>
<content type='text'>
There is no driver_path prefix in the original lua code.

https://github.com/openwrt/luci/blob/f6e6b055d514595941db4a4cc11c3d9902eabefb/applications/luci-app-nut/luasrc/model/cbi/nut_server.lua#L132-L135

Currently the uci configuration file does not require this path prefix by default.

Closes #7542

Signed-off-by: Tianshuai Gao &lt;cocopriestyu+github@gmail.com&gt;
Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-app-nut: update package-manager link</title>
<updated>2024-12-15T19:13:55Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2024-12-15T19:13:50Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=500ce17e7a6e8633bf0eeeb159acef10e6345185'/>
<id>urn:sha1:500ce17e7a6e8633bf0eeeb159acef10e6345185</id>
<content type='text'>
opkg is no longer available as the generic name for package-manager

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
</feed>
