<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luci/applications/luci-app-vnstat2/htdocs/luci-static, 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>2024-12-03T15:25:21Z</updated>
<entry>
<title>treewide: replace "var m, s, o" with "let m, s, o"</title>
<updated>2024-12-03T15:25:21Z</updated>
<author>
<name>Sergey Ponomarev</name>
</author>
<published>2024-12-01T11:36:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=22d48305afcb3095468756f087610a091d69a116'/>
<id>urn:sha1:22d48305afcb3095468756f087610a091d69a116</id>
<content type='text'>
Signed-off-by: Sergey Ponomarev &lt;stokito@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: declare rpc calls with const</title>
<updated>2024-12-03T15:25:21Z</updated>
<author>
<name>Sergey Ponomarev</name>
</author>
<published>2024-12-01T00:03:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=e1d8f0e6f9ab673a266f7813d267ae6dfaef5784'/>
<id>urn:sha1:e1d8f0e6f9ab673a266f7813d267ae6dfaef5784</id>
<content type='text'>
Signed-off-by: Sergey Ponomarev &lt;stokito@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-app-vnstat2: fix configuration page when database is empty (#6746)</title>
<updated>2023-12-06T01:24:25Z</updated>
<author>
<name>Jan Hoffmann</name>
</author>
<published>2023-12-06T01:24:25Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=c0c37903f2276224c246c2a5ba0fb2732ba0e18a'/>
<id>urn:sha1:c0c37903f2276224c246c2a5ba0fb2732ba0e18a</id>
<content type='text'>
The output of the command "vnstat --dbiflist 1" is empty when there are
no interfaces in the database. Add a check to avoid a "result.stdout is
undefined" error in that case.

Ref: https://forum.openwrt.org/t/error-in-luci-vnstat2-configuration-menu/179700
Fixes: 3ac4f567dfdf ("luci-app-vnstat2: use more efficient way to get database interfaces")

Signed-off-by: Jan Hoffmann &lt;jan@3e8.eu&gt;</content>
</entry>
<entry>
<title>luci-app-vnstat2: use more efficient way to get database interfaces</title>
<updated>2023-11-18T08:52:45Z</updated>
<author>
<name>Jan Hoffmann</name>
</author>
<published>2023-11-18T08:52:45Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=3ac4f567dfdfd6ee989ceffb025241e605790b6d'/>
<id>urn:sha1:3ac4f567dfdfd6ee989ceffb025241e605790b6d</id>
<content type='text'>
The currently used command "vnstat --json f 1" can be very slow when the
database contains many entries. This can result in an XHR timeout error
on the configuration page.

Use the "--dbiflist" option instead, which was added in vnStat 2.7.

Fixes: #6702
Signed-off-by: Jan Hoffmann &lt;jan@3e8.eu&gt;
</content>
</entry>
<entry>
<title>uci-app-vnstat2: refactoring</title>
<updated>2022-02-03T12:48:10Z</updated>
<author>
<name>Helge Mader</name>
</author>
<published>2022-02-03T12:48:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=164e98c7d9708da55c0c7641f4d409faaeaef4ec'/>
<id>urn:sha1:164e98c7d9708da55c0c7641f4d409faaeaef4ec</id>
<content type='text'>
This is a huge change to the already existing vnstat2 LuCI module with some
improvements and some new features.

"Graphs Page":

  - Implementation of refreshing the graphs.

  - Only in the UCI configuration existing interfaces will be shown in any
    case. Before this change, all interfaces existing in the database were
    shown.

  - Introduced a button to clear the statistics for all interfaces (in fact
    this is removing and adding again the interfaces from/to the database).

    Before clearing the data a confirmation dialog is shown.

  - Show user hint if service is not running, so no updating of graphs.

  - "Error image" for a graph which can not be loaded

General:

  - Updated translations, added missing translations for ./po/de

  - Renamed the menu entry from "vnStat Traffic Monitor" to "Traffic Monitor" only

Signed-off-by: Helge Mader &lt;ma@dev.tdt.de&gt;
</content>
</entry>
<entry>
<title>vnstat2: allow graphs side by side</title>
<updated>2021-08-11T07:25:53Z</updated>
<author>
<name>Fritz D. Ansel</name>
</author>
<published>2021-08-02T18:24:40Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=57f325a757a9d037eb08852cc134ebdc111d321c'/>
<id>urn:sha1:57f325a757a9d037eb08852cc134ebdc111d321c</id>
<content type='text'>
an a full-hd screen you will have now 2x3 graphs
instead scrolling through 1x6 graphs

Signed-off-by: Fritz D. Ansel &lt;fdansel@yandex.ru&gt;
</content>
</entry>
<entry>
<title>treewide: transition div tables to actual table markup</title>
<updated>2020-11-27T20:36:40Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2020-11-27T19:54:18Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=03c77dafe3cfb922b995adfe9c0f8a75c98a18af'/>
<id>urn:sha1:03c77dafe3cfb922b995adfe9c0f8a75c98a18af</id>
<content type='text'>
Modern browsers allow decomposing table markup equally well as nested div
constructs, therefor migrate our &lt;div&gt; table markup to actual &lt;table&gt; tags
but keep the old table/tr/th/td CSS classes for now to allow for a smooth
theme transition.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>luci-app-vnstat2: fix ACL rules, disable button on insufficient ACLs</title>
<updated>2020-04-24T16:43:03Z</updated>
<author>
<name>Jan Hoffmann</name>
</author>
<published>2020-04-24T16:43:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=6037c8a847962a52ceb48f3c8059c60300949bc8'/>
<id>urn:sha1:6037c8a847962a52ceb48f3c8059c60300949bc8</id>
<content type='text'>
Signed-off-by: Jan Hoffmann &lt;jan@3e8.eu&gt;
</content>
</entry>
<entry>
<title>treewide: import utility classes explicitly</title>
<updated>2020-04-03T08:00:06Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2020-04-03T08:00:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=3c4bc228a1f7b5731cf464f3f407c9ed9ace3cd2'/>
<id>urn:sha1:3c4bc228a1f7b5731cf464f3f407c9ed9ace3cd2</id>
<content type='text'>
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>luci-app-vnstat2: fully convert to client side rendering</title>
<updated>2020-01-31T07:51:55Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2020-01-30T11:08:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=40c56ddd7797f9e916abe5443784b21ed9ba51cf'/>
<id>urn:sha1:40c56ddd7797f9e916abe5443784b21ed9ba51cf</id>
<content type='text'>
This converts the graph rendering to client side JavaScript and replaces
the route registration with declarative JSON.

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