Commit graph

265 commits

Author SHA1 Message Date
INAGAKI Hiroshi
325f6d4138 luci-app-nlbwmon: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-02-05 15:24:16 +09:00
Vladimir
d74ff878e1 i18n-ru: fixed and updated russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-26 16:57:15 +03:00
Jo-Philipp Wich
08916f4335 luci-app-nlbw: fix sporadic premature EOF when rendering JSON data
Specific timing patterns sometimes caused the LuCI controller to prematurely
stop reading data, resulting in truncated JSON output.

Turn the nonblocking waitpid() call into a blocking call after the IO read
loop to avoid this issue.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-01-17 21:15:47 +01:00
Hannu Nyman
71fd98c44a Merge pull request #1285 from kuoruan/i18n-zh-cn
luci-app-nlbwmon: Fix and update Simplified Chinese translation
2017-08-07 16:02:53 +03:00
kuoruan
2bcf29d54a luci-app-nlbwmon: Fix and update Simplified Chinese translation
Signed-off-by: Hsing-wang Liao <kuoruan@gmail.com>
2017-08-07 18:28:29 +08:00
Jo-Philipp Wich
1fdad2616d luci-app-nlbw: make display template XHTML compliant
This allows proper rendering in OpenWrt theme. Fixes #1284.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-08-07 09:56:30 +02:00
kuoruan
2c32ed1863 luci-app-nlbwmon: Add Simplified Chinese translation
Signed-off-by: Hsing-Wang Liao  <kuoruan@gmail.com>
2017-08-06 22:21:05 +08:00
Jo-Philipp Wich
f438c1c1ab Merge pull request #1271 from musashino205/nbm-upd-ja
luci-app-nlbwmon: Update Japanese translation
2017-08-01 14:00:14 +02:00
Jo-Philipp Wich
e276df2051 luci-app-nlbwmon: always fetch latest data
When displaying the most current accounting period, pass an empty timestamp
to the backend in order to query the current in-memory data instead of the
latest committed values.

This ensures that the dashboard always renders the most current data in its
default view.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-08-01 13:51:45 +02:00
INAGAKI Hiroshi
feca480f5f luci-app-nlbwmon: Update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-08-01 19:41:57 +09:00
Jo-Philipp Wich
6f9b75cc42 luci-app-nlbwmon: remove version marker from javascripts
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-31 19:32:02 +02:00
Jo-Philipp Wich
3722aa0286 luci-app-nlbwmon: improve initial view
Make sure that placeholder pie charts are rendered, display a hint about
yet missing data in the tables and offer a link to force-commit ("Reload")
the data.

Also fix some mixed white space, an imbalanced dom operation and sync
translation template.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-31 19:15:17 +02:00
Jo-Philipp Wich
f7a9c713e5 luci-app-nlbwmon: add missing charting library
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-31 11:11:21 +02:00
INAGAKI Hiroshi
7594c52888 luci-app-nlbwmon: Add Japanese translation
Added po templates and Japanese translation.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-07-30 19:08:36 +09:00
Jo-Philipp Wich
0fe93fc3a3 luci-app-nlbwmon: new package
This commit introduces luci-app-nlbwmon, a frontend for nlbwmon, the
lightweight NetLink BandWidth Montor.

The nlbwmon daemon gathers per-host traffic statistics by querying netlink
accounting data. Due to this approach, the executable is very small and does
not rely on libpcap and CPU intensive raw sockets to monitor traffic.

Depends on PR https://github.com/openwrt/packages/pull/4646

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-28 16:26:42 +02:00