Commit graph

8218 commits

Author SHA1 Message Date
Jo-Philipp Wich
3ea9c85ed6 luci-mod-admin-full: use switch toplogy information for vlan setup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-15 17:57:06 +02:00
Jo-Philipp Wich
8cd6e4efe8 luci-base: support reading switch topology from /etc/board.json
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-15 17:52:28 +02:00
Daniel Dickinson
c9cd869168 luci-app-statistics: nut: Add additional stats some UPSes report
Different UPSes report differents stats; here we add graphing
of some additional statistics supports by some models.

Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
2016-08-13 20:38:56 -04:00
Daniel Dickinson
1f4bda95ff luci-app-pppoe-server: Add PPPoE server configuration
Adds support for rp-pppoe-server configuration once pending
pull request for packages feed gets applied.

Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
2016-08-13 20:36:18 -04:00
Artur Stepniewski
a21bcb5113 Fix missing title in df graphs
It used data source instance name instead of plugin instance name.

Signed-off-by: Artur Stepniewski <artur.stepniewski+openwrt@gmail.com>
2016-08-11 01:07:16 +02:00
Jo-Philipp Wich
6a11f71758 luci-base: cbi.js: handle undefined arguments in formatting
Fix the JavaScript String.format() to not trigger an exception if the argument
for an escaped format like %h or %q is undefined.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-04 11:45:30 +02:00
Jo-Philipp Wich
bd4534496a luci-mod-admin-full: status page formatting fix
Display a question mark for undefined SSID and BSSID strings.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-04 11:45:30 +02:00
Jo-Philipp Wich
123f14b55d luci-base: fix handling of monitor ifaces
Wireless monitor interfaces usually have no SSID set in their config and
various network model utility functions did not handle this case properly,
mainly while trying to incorperate the SSID string into various description
labels.

Fall back to the internal network id (radioX.networkY) in cases where neither
the SSID nor the BSSID are available.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-04 11:45:30 +02:00
Jo-Philipp Wich
240b8c4b6e luci-base: improve string format error reporting
In mod metamethod, execute string format under pcall() and rethrow error in
caller context to report caller of function in errors and not the meta
method itself.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-04 11:45:30 +02:00
Jo-Philipp Wich
1367f7b624 luci-mod-admin-full: fix net diagnostics with missing config
Gracefully handle a missing diag section in /etc/config/luci when rendering
the network diagnostics tool page.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-07-31 16:00:09 +02:00
Jo-Philipp Wich
f9e5d11d62 Merge pull request #766 from feckert/config_diag_url
luci-mod-admin-full: make diagnostics url customizable
2016-07-29 15:28:28 +02:00
Florian Eckert
8b07a65117 luci-mod-admin-full: make diagnostics url customizable
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
2016-07-29 08:21:23 +02:00
Christian Schoenebeck
936d771613 Merge pull request #764 from chris5560/master
luci-app-privoxy: change to tabbed display
2016-07-24 20:29:27 +02:00
Christian Schoenebeck
9549cb6ca2 luci-app-privoxy: change to tabbed display
- changed to tabbed display
- modified version detection
- adaption to new function version_compare() in ipkg.lua
- adaption to fixed Flag.parse() in cbi.lua
- add support new option "system.boot_delay"
- also fix #763

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-07-24 10:59:21 +02:00
Jo-Philipp Wich
6be690473b Merge pull request #743 from HenryGiraldo/master
Closes #741: Can't delete disabled wireless networks
2016-07-08 15:18:21 +02:00
Jo-Philipp Wich
22945a028d Merge pull request #754 from dalmago/translation
luci-app-ddns: adding pt-br translation
2016-07-08 15:16:28 +02:00
Manuel Munz
ca6a8f5b78 Merge pull request #753 from platschi/master
contrib/community_profiles: Add LibreTulum
2016-07-05 20:36:24 +02:00
platschi
ef6dd443af Update LibreTulum Profile 2016-07-05 12:41:49 -05:00
Matheus Dal Mago
23fa83dc7f luci-app-ddns: adding pt-br translation
Signed-off-by: Matheus Dal Mago <matheusdalmago10@gmail.com>
2016-07-02 17:57:39 -03:00
platschi
e430129b99 Add LibreTulum
Adding Profile for LibreTulum
2016-07-01 23:34:23 -05:00
John Crispin
ce3eb113f4 luci-mod-admin-full: add log_file and log_proto support
Signed-off-by: John Crispin <john@phrozen.org>
[Jo-Philipp Wich: remove file datatype constraint]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-06-30 11:54:53 +02:00
Juan Manuel M
d4176328df luci-proto-vpnc: further typo fixes 2016-06-28 16:43:42 +02:00
Vladimir Ulrich
52de960bb5 luci-app-openvpn: various fixes and optimizations
Closes #628 as suggestion was implemented and tested.
Added PID handling function (Fixes https://dev.openwrt.org/ticket/21506).

Signed-off-by: Vladimir Ulrich <admin@evl.su>
2016-06-28 16:40:23 +02:00
Jo-Philipp Wich
af9d1b02a9 Merge pull request #749 from TaiSHiNet/master
Fixed luci-proto-vpnc typos which rendered it unusable
2016-06-28 16:04:07 +02:00
Juan Manuel M
3a6c2872c6 Fixed luci-proto-vpnc typos which rendered it unusable 2016-06-28 11:01:41 -03:00
Hannu Nyman
65c7610b05 Merge pull request #744 from chris5560/master
luci-app-ddns: fix handling of parameter "is_glue" and "dns_seerver"
2016-06-19 19:56:15 +03:00
Christian Schoenebeck
c37eb36207 luci-app-ddns: - fix handling of parameter "is_glue" and "dns_seerver"
- fix handling of parameter "is_glue" and "dns_seerver"
- depends on https://github.com/openwrt/packages/pull/2875

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-06-18 21:58:02 +02:00
Enrique Giraldo
5e1f2a1b58 Closes #741: Can't delete disabled wireless networks
When a wireless network is disabled it can't be removed. From
wifi_overview.htm the delete call is generated as wlan0, wlan1 or
whatever. This wlan is not working because it is disabled, then LuCI
deletes the virtual radio which really is named as wlan0.
2016-06-16 15:08:36 +02:00
Hannu Nyman
cd50f27956 luci-app-adblock: adjust to adblock 1.2.0
* more status info
* change in default nullipv addresses
* two uhttpd instances (for ports 80/443)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-06-12 21:14:54 +03:00
Hannu Nyman
e52406936e Merge pull request #740 from mkresin/master
luci-app-ddns: pass the is_glue option value to the helper
2016-06-12 13:58:58 +03:00
Mathias Kresin
59d391b5bd luci-app-ddns: pass the is_glue option value to the helper
Signed-off-by: Mathias Kresin <dev@kresin.me>
2016-06-12 12:41:17 +02:00
Hannu Nyman
d014234195 Merge pull request #739 from LipkeGu/patch-1
luci-mod-freifunk: Fix "Undefined reference to net.iwdata"
2016-06-11 10:30:33 +03:00
Guido L
1e7466bbda luci-mod-freifunk: Fix "Undefined reference to net.iwdata"
This PR fixes an Internal Server Error when requesting the Wireless Informations in luci-mod-freifunk. 
It checks an unindexed value "net.iwdata".

```
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute template dispatcher target for entry '/freifunk/status'. The called action terminated with an exception: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'freifunk/public_status'. 

A runtime error occured: [string "/usr/lib/lua/luci/view/freifunk/public_stat..."]:116: attempt to index field 'iwdata' (a nil value) stack traceback: [C]: in function 'assert' /usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch' /usr/lib/lua/luci/dispatcher.lua:141: in function...
```

signed-off.by: Guido Lipke <lipkegu@gmail.com>
2016-06-10 01:55:33 +02:00
Hannu Nyman
0b8bfed7c2 luci-app-firewall: cleanup translations
Cleanup the .po files by removing the archived old translation strings.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-06-09 20:26:18 +03:00
Hannu Nyman
3d08224b2e luci-base: cleanup translations
Cleanup the .po files by removing the archived old translation strings.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-06-09 12:51:21 +03:00
Hannu Nyman
f4a446ce72 i18n: sync translations
sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-06-09 11:58:00 +03:00
Hannu Nyman
cc801de89c luci-mod-admin-full/mini: replace Wifi with Wireless in menus
Replace the menu item "Wifi" by "Wireless",
which is already used for page and section headings

This closes #695

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-06-09 11:55:20 +03:00
Jo-Philipp Wich
1575d659a1 Merge pull request #735 from kdarbyshirebryant/srcdietfix
luci-base: fix lua interpreter location
2016-06-08 10:47:39 +02:00
Jo-Philipp Wich
7c5006db68 Merge pull request #733 from kuoruan/jql
luci-theme-bootstrap: Remove jql.min.js which does not exist
2016-06-05 11:47:01 +02:00
Hannu Nyman
e87132021b luci-app-adblock: support 1.16
Add support for 'adb_restricted'

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-06-03 17:24:56 +03:00
Kevin Darbyshire-Bryant
4580faaa5e luci-base: fix lua interpreter location
An lua interpreter is required on the building host to run the
luasrcdiet lua script.  Due to a build change, the interpreter was not
being installed to the correct location.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
2016-06-03 10:24:09 +01:00
Hannu Nyman
1709800150 luci-base: fix whitespace
change spaces to tabs

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-06-03 10:35:37 +03:00
Hannu Nyman
b6cdf3706b Merge pull request #732 from kuoruan/aria2
luci-app-aria2: Add package
2016-06-02 11:53:30 +03:00
Hsing-Wang Liao
c44f04952b luci-theme-bootstrap: Remove jql.min.js which does not exist
Fix 404 error

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-05-31 13:58:39 +08:00
Hsing-Wang Liao
c88aea6277 luci-app-aria2: Add package
LuCI Support for Aria2

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-05-30 21:27:22 +08:00
Hannu Nyman
f4af114dbc i18n: sync translations
sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-05-30 10:24:47 +03:00
Hannu Nyman
b2a44218af Merge pull request #730 from kuoruan/luci-master
luci-app-adblock: Add translation
2016-05-30 10:16:13 +03:00
kuoruan
77c1a89b3b luci-app-adblock: Add Simplified Chinese translation
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-05-30 08:55:12 +08:00
kuoruan
56e2e967b4 luci-app-adblock: Add po templates
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-05-30 08:54:20 +08:00
Hannu Nyman
c46963613f luci-app-adblock: support adb_fetchttl option
Support adb_fetchttl options from adblock 1.1.15

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-05-26 19:01:12 +03:00