Commit graph

8973 commits

Author SHA1 Message Date
Hannu Nyman
af8e2c6d17 Merge pull request #1277 from dibdot/adblock
luci-app-adblock: sync with adblock 2.8.5
2017-08-04 13:35:41 +03:00
Dirk Brenken
0f13f7eb81 luci-app-adblock: sync with adblock 2.8.5
* add preliminary kresd support
* small fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-08-04 11:12:03 +02:00
Hannu Nyman
efb7e5f365 Merge pull request #1275 from dibdot/travelmate
luci-app-travelmate: small bugfixes & optimizations
2017-08-03 18:29:48 +03:00
Dirk Brenken
b110746b98 luci-app-travelmate: small bugfixes & optimizations
* various small bugfixes and optimizations

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-08-03 17:04:58 +02:00
Paul Spooren
b90153386c luci-app-attendedsysupgrade: add package
Add a simple luci view in system tab to perform a sysupgrade
with no hassle.

Asks an external update server for upgrades, downloads and
flashes the upgrade.

This packge is the frontend for my current GSoC project:
https://summerofcode.withgoogle.com/projects/#5684958571003904

More code is found here:
https://github.com/aparcar/gsoc17-attended-sysupgrade

Signed-off-by: Paul Spooren <paul@spooren.de>
[jo@mein.io: squash commits, remove PKGARCH from Makefile]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-08-02 22:28:50 +02:00
Jo-Philipp Wich
bf407f087c Merge pull request #1245 from danweller18/feature_js_headers
luci-base: Remove request headers that are set automatically by browser
2017-08-02 10:34:59 +02:00
Hannu Nyman
317cfd0b4b Merge pull request #1273 from yousong/shadowsocks-libev
luci-app-shadowsocks-libev: add common flag ipv6_first
2017-08-02 10:05:49 +03:00
Yousong Zhou
7fae5f5c22 luci-app-shadowsocks-libev: add common flag ipv6_first
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-02 15:02:31 +08:00
Yousong Zhou
a668c58607 luci-app-shadowsocks-libev: remove redundant duplicate methods
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-02 14:35:32 +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
Hannu Nyman
7387bf619f Merge pull request #1270 from dibdot/travelmate
luci-app-travelmate: rework wireless station re-ordering
2017-08-01 09:20:18 +03:00
Dirk Brenken
3909cf79dc luci-app-travelmate: rework wireless station re-ordering
* rework wireless station re-ordering code, now complete uci index
based, therefore no longer tied to a definite order of wifi-iface
sections

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-07-31 23:07:11 +02: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
Hannu Nyman
c37a953653 Merge pull request #1268 from musashino205/tmate-upd-ja
luci-app-travelmate: Update Japanese translation
2017-07-31 15:37:49 +03:00
INAGAKI Hiroshi
2e5da9b4fe luci-app-travelmate: Update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-07-31 21:18:28 +09:00
INAGAKI Hiroshi
439f0dbafc luci-app-travelmate: Sync translations
Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-07-31 20:56:24 +09:00
Hannu Nyman
0b11fdebf8 Merge pull request #1267 from dibdot/travelmate
luci-app-travelmate: bugfixes
2017-07-31 12:40:43 +03: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
Dirk Brenken
4142839e0d luci-app-travelmate: bugfixes
* fix interface default value on overview page
* fix re-ordering of wireless stations
* added translation fix by INAGAKI Hiroshi <musashino.open@gmail.com>

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-07-31 10:26:09 +02:00
Hannu Nyman
fd6f892bc1 Merge pull request #1263 from musashino205/nbm-add-ja
luci-app-nlbwmon: Add Japanese translation
2017-07-30 19:48:49 +03:00
Hannu Nyman
c22b44b3fb Merge pull request #1261 from dibdot/travelmate
luci-app-travelmate: enhancements & fixes
2017-07-30 19:48:32 +03: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
2523e0f479 Merge pull request #1259 from jow-/introduce-nlbwmon
luci-app-nlbwmon: new package
2017-07-30 11:54:09 +02:00
Dirk Brenken
81f52d4290 luci-app-travelmate: enhancements & fixes
* Further optimized Station Overview & Scan page,
  especially for mobile devices
* add a "Rescan" button in manual mode on overview page
* XHTML fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-07-29 17:36:48 +02: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
Jo-Philipp Wich
4c9ae3f615 luci-base: cbi.js: fix handling of inverse-depends, combobox validation
- Properly handle logic for evaluating inverted dependencies means
   when depending on another field *not* having a given value

 - Perform datatype validation *after* populating combobox choices to
   avoid triggering a false-positive when validating an .rmempty = false
   combobox during form instantiation

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-28 16:14:53 +02:00
Jo-Philipp Wich
4201282559 luci-base: let luci.sys.net.devices() return all netdevs
The previous implementation of the function only returned ethernet
interfaces because it relied on the AF_PACKET family entries returned
by getifaddrs().

Change the function to simply collect all interface names it sees in
order to avoid missing tunnel interfaces.

Fixes FS#917.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-28 15:44:10 +02:00
Hannu Nyman
3630387a94 Merge pull request #1256 from musashino205/mwan3-upd-ja
luci-app-mwan3: Update Japanese translation
2017-07-28 08:09:42 +03:00
Hannu Nyman
9aafb2b294 Merge pull request #1257 from musashino205/base-upd-ja
luci-base: Update Japanese translation
2017-07-28 08:08:40 +03:00
INAGAKI Hiroshi
3604e4756d luci-app-mwan3: Update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-07-28 13:47:25 +09:00
INAGAKI Hiroshi
984b092726 luci-base: Update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-07-28 12:18:22 +09:00
Hannu Nyman
3603e27e30 i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-07-27 19:40:47 +03:00
Hannu Nyman
f450c0403d Merge pull request #1252 from musashino205/mwan3-fix-status
luci-app-mwan3: Add translate strings in update_status()
2017-07-25 08:36:52 +03:00
Hannu Nyman
314dd1aa11 Merge pull request #1251 from dibdot/luci-app-travelmate
luci-app-travelmate: enhancements & fixes
2017-07-25 08:35:53 +03:00
Dirk Brenken
5dd6be4513 luci-app-travelmate: enhancements & fixes
* add re-ordering buttons in Station Overview
* fix possible nil error during wifi scan

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-07-25 07:24:59 +02:00
INAGAKI Hiroshi
ec305ecc82 luci-app-mwan3: Sync translations
Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-07-25 14:12:25 +09:00
INAGAKI Hiroshi
35cfbe09cc luci-app-mwan3: Add translate strings in update_status()
Translation function is not used in "start", "stop", and "restart",
and I modified them because the LuCI i18n-tools cannot be detected.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-07-25 13:56:50 +09:00
Hannu Nyman
6c8a9f104c Merge pull request #1250 from dibdot/luci-app-travelmate
luci-app-travelmate: small bugfixes
2017-07-24 19:54:31 +03:00
Dirk Brenken
31f77a3cfe luci-app-travelmate: small bugfixes
* speed up wireless scan
* emphasize active uplink in Station Overview
* mark hidden SSIDs

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-07-24 16:02:21 +02:00
Hannu Nyman
844a741e7e Merge pull request #1249 from yousong/shadowsocks-libev
luci-app-shadowsocks-libev: auto update instance running state
2017-07-24 14:57:07 +03:00
Hannu Nyman
3f0aead2ea Merge pull request #1248 from musashino205/tmate-upd-ja
luci-app-travelmate: Update Japanese translation
2017-07-24 14:56:51 +03:00
Hannu Nyman
f7cf1dae69 Merge pull request #1239 from kuoruan/zh-cn-tr
Add some translate strings & Update Simplified Chinese translation
2017-07-24 14:51:12 +03:00
INAGAKI Hiroshi
47cf4afa4d luci-app-travelmate: Update Japanese translation
Updated Japanese translations, and cleaned up old translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-07-24 16:25:17 +09:00
Yousong Zhou
06ad394dde luci-app-shadowsocks-libev: auto update instance running state
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-24 14:53:36 +08:00
INAGAKI Hiroshi
01c5bc66a9 luci-app-travelmate: Sync translations
Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-07-24 14:56:48 +09:00
Hannu Nyman
17de308ab7 Merge pull request #1240 from bobmseagithub/luci-app-statistics_Voltage_graphs
luci-app-statistics: Voltage graphs - AC and DC
2017-07-24 08:02:18 +03:00
bobmseagithub
2145b7b33b luci-app-statistics: Voltage graphs - AC and DC
The Voltage graph combines Battery, Input Voltage and Output Voltage.
The Y-Axis scale masks changes in Input/Output voltages over time.
This patch splits the graphs into 2 graphs.
This makes it possible to see variations in AC Input/Output voltages.

Signed-off-by: Bob Meizlik <bobmseagithub@squakmt.com>
2017-07-23 20:44:44 -07:00