summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-nlbwmon
AgeCommit message (Collapse)Author
2019-02-15luci-app-nlbwmon: Fixed incorrect period parameter/displayJo-Philipp Wich
Switch from using the unreliable string data constructor syntax to a more explicit year / month / day variant and pass through the period value as-is in order to ensure that the proper start date is requested from the backend. This should fix issues with prevent the display of older data periods in the nlbwmon gui. Ref: https://github.com/jow-/nlbwmon/issues/25 Ref: https://github.com/openwrt/luci/pull/2496 Suggested-by: Aktanusa <chanam.geo@yahoo.com> [squashed commits, add a more thorough commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-20i18n: sync translationsINAGAKI Hiroshi
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-12-11luci-app-nlbwmon: rewrite display sectionJo-Philipp Wich
- Move CSS and JS code to external files - Use responsive table markup Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-07i18n: sync translations, add location annotatationsHannu Nyman
Thanks to a recent commit, the translation files will now have info about locations where the string is used. That can help is deciding the correct translation, as all contexts are more easily found. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-10-02luci-app-nlbwmon: fix nil value concatJo-Philipp Wich
Do not concatenate the yet undefined mtime variable to avoid a controller error with backtrace. Fixes: b3642f476 ("luci-app-nlbwmon: add proper file names for json and csv exports.") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29luci-app-nlbwmon: the default CSV delimiter should be a commaAmeer Dawood
Suggested-by: Ameer Dawood <ameer1234567890@gmail.com> [slightly reword commit subject] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29luci-app-nlbwmon: add proper file names for json and csv exports.Ameer Dawood
Currently, the json and csv exports are just named `data` which is not intuitive. This adds proper file name extensions using the Content-disposition HTTP header. Suggested-by: Ameer Dawood <ameer1234567890@gmail.com> [slightly reword commit message, squash commits] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-01i18n: sync translationsINAGAKI Hiroshi
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-08-11luci-app: update Chinese translationyangfl
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-07-09treewide: always include cbi.jsJo-Philipp Wich
Include cbi.js in the main header template like it is done for xhr.js and remove the page specific includes. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-02-05luci-app-nlbwmon: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-01-26i18n-ru: fixed and updated russian translationVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-17luci-app-nlbw: fix sporadic premature EOF when rendering JSON dataJo-Philipp Wich
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>
2017-08-07Merge pull request #1285 from kuoruan/i18n-zh-cnHannu Nyman
luci-app-nlbwmon: Fix and update Simplified Chinese translation
2017-08-07luci-app-nlbwmon: Fix and update Simplified Chinese translationkuoruan
Signed-off-by: Hsing-wang Liao <kuoruan@gmail.com>
2017-08-07luci-app-nlbw: make display template XHTML compliantJo-Philipp Wich
This allows proper rendering in OpenWrt theme. Fixes #1284. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-08-06luci-app-nlbwmon: Add Simplified Chinese translationkuoruan
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2017-08-01Merge pull request #1271 from musashino205/nbm-upd-jaJo-Philipp Wich
luci-app-nlbwmon: Update Japanese translation
2017-08-01luci-app-nlbwmon: always fetch latest dataJo-Philipp Wich
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-01luci-app-nlbwmon: Update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-07-31luci-app-nlbwmon: remove version marker from javascriptsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-31luci-app-nlbwmon: improve initial viewJo-Philipp Wich
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-31luci-app-nlbwmon: add missing charting libraryJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-30luci-app-nlbwmon: Add Japanese translationINAGAKI Hiroshi
Added po templates and Japanese translation. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-07-28luci-app-nlbwmon: new packageJo-Philipp Wich
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>