Commit graph

7186 commits

Author SHA1 Message Date
Álvaro Fernández Rojas
0c3398c4b6 modules/admin-full: fix support for broadcom-wl modes
This adds N modes support for proprietary Broadcom WiFi driver and adds a/b/g modes detection.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2014-10-10 18:46:15 +02:00
Jo-Philipp Wich
bb388f0873 modules/admin-full: add support for configuring mirror port
This adds the LuCI support for setting a mirror port on AR8327 switches.
Patch provided by Colin Leitner <colin.leitner@gmail.com>

Ref: https://dev.openwrt.org/attachment/ticket/10202

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-10 15:56:42 +02:00
Jo-Philipp Wich
0726313815 Add initial contribution guidelines
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-10 15:32:27 +02:00
Jo-Philipp Wich
fa13788fc7 Merge pull request #219 from hnyman/WPS-toggle
wifi.lua: Add support for toggling WPS button
2014-10-10 15:07:43 +02:00
Hannu Nyman
2a0e842d00 wifi.lua: Add support for toggling WPS button.
The patch checks the existence of the needed files for the WPS support and if they are present, shows the option to toggle WPS pushbutton settings.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2014-10-10 15:48:54 +03:00
soma
ccdc6535a9 add support for splash leases plugin 2014-10-10 10:52:41 +02:00
Stephan Günther
da022f9157 modules/admin-full: fix wifi channel selection on multiple STA networks
Besides several AP networks, I have configured two STA networks on my
openwrt box - both on the same radio and thus on the same channel.
This was done via LuCI.

However after both STA networks were set up, I am unable to edit the
channel on neither network. When editing the one STA network, LuCI
tells me that the channel is locked by the other STA network. Same for
the other STA network.

Looks like a bug to me, so I made a patch.

Signed-off-by: Stephan Günther <steph.guenther@googlemail.com>
2014-10-10 01:04:28 +02:00
Jo-Philipp Wich
d2c1882786 luci: initial 802.11ac support
While working with 802.11ac (ath10k) I've noticed the web interface
configuration missing basic support for 11ac devices - unable to set VHT
(htmode) and 11ac (hwmode).

This patch adds initial support for luci admin-full page and 802.11ac
MAC80211 devices.

v2:
* replace obsolete 11nac mode with 11a + vhtmode (jow in ticket: #17323)

Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>
[jow: fix typo in get_i18n()]
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-04 09:38:10 +00:00
Jo-Philipp Wich
371355c0f6 modules/admin-full: decouple enable/disable button state from assoc state
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-03 17:28:23 +00:00
Jo-Philipp Wich
4fcb6d56bc modules/base: provide disable state in luci.tools.status.wifi_network()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-03 17:28:21 +00:00
Jo-Philipp Wich
cee38c1177 modules/admin-full: fix assoc state check for sta mode in wifi overview
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-03 13:34:56 +00:00
Manuel Munz
3d3fdcbd59 modules/freifunk: fix map.html when using https, thanks cholin 2014-09-24 17:40:02 +00:00
Jo-Philipp Wich
0dc160db71 collectd: Update luci-statistics / collectd to 5.4.1 - Luci
[PATCH 1/2] [packages] collectd: Update luci-statistics / collectd to 5.4.1 -
packages
[PATCH 2/2] [luci] collectd: Update luci-statistics / collectd to 5.4.1 - Luci

Collectd, the backbone of Luci statistics module, has been recently updated
already to 5.4.1, while Openwrt is still with 4.10.8.

5.0-5.4 branches have been released in 2011-2013 and the last Collectd
release in January 2014 only contained 5.4.1. 4.10.x is being "phased out"
and new commits have been made only rarely. No 4.10.x release for ages.

My ar71xx/wndr3700 build has been using 5.4.1 since March (and used 5.3.1
long before that).

I have compile-tested (with ar71xx) all collectd modules, and I have verified
the real-life functionality of the following plugins: Conntrack,
CPU/Processor, DNS, Interfaces, Memory, Ping, Processes, TCP Connections,
System Load, Uptime, Wireless.

The version bump requires changes both to "collectd" in the packages feed and
to "luci-statistics" in the luci feed, as some of the data items have changed
name or file structure.

I am including two separate patches: one for collectd in packages and one for
luci-statistics in Luci trunk.

Collectd:
Explanation of main changes in the patches for collectd in packages feed:

Patches to be removed:

- 120-fix_kernel_2.6.37.patch is unnecessary. The file to be patched has been
removed upstream.

- 130-timeleft-max.patch is included upstream. Patch removed.
http://git.verplant.org/?p=collectd.git;a=commitdiff;h=d5b09f2bb673ac9396da52b85bcbd16c98b3d633

Changed patches:

- 003-remove-werror.patch: Quilt choked on some -Werror related changes, so I
removed them.

- 900-add-iwinfo-plugin.patch: Changed to patch configure.ac instead of
configure.in

New patches:

- 140-fix-fqdnlookup.patch : FQDNLookup option has been turned on by default
since 5.1. If that option is enabled, it causes collectd to refuse to start
in a basic Openwrt box as typically a fully qualified domain name does not
exist for the router. (That error related can only be properly seen when
console is used to start collectd. Otherwise Luci statistics collectd simply
dies immediately after starting it.) That option should be false by default.
I included a new patch 140-fix-fqdnlookup.patch to turn the option off by
default.
http://git.verplant.org/?p=collectd.git;a=commit;h=e58f85bb68b4c45130bb6fdf40b51db95d2b71e5

- 150-fix-interface-af-link : a FreeBSD10-specific change broke build for me,
so I reverted the change.
http://git.verplant.org/?p=collectd.git;a=commitdiff;h=645dadb3fcc466e8880fda4eb23b21ad433631fc

- 905-disable-sigrok-glib: libsigrok checks for a glib-related macro that
breaks configure. Bypass the invalid macro. I have also added a disabling
option in Makefile.

Luci:
Data presentation in luci-statistics requires three changes in the Luci sources:

-conntrack result data has changed name from "entropy" to "value".
-ping result data has changed name from "ping" to "value".
http://git.verplant.org/?p=collectd.git;a=commitdiff;h=77a6905147798210ec17173bd5e4410adcc3a112

-interface plugin has changed rrd data file structure so that the plugin
instances (=interfaces) have separate data files. Luci needs to draw the
graph for each plugin instance, not for each data instance.
http://git.verplant.org/?p=collectd.git;a=commitdiff;h=cc3640ba512862cd5745446f1f1a997dd4344454

My previous patches for upgrading to earlier 5.x series can be marked as
superseeded in Patchwork.
http://patchwork.openwrt.org/patch/2457/
http://patchwork.openwrt.org/patch/3300/
http://patchwork.openwrt.org/patch/4204/
http://patchwork.openwrt.org/patch/4205/

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2014-09-18 13:29:11 +00:00
Jo-Philipp Wich
a16c0c3200 http: ensure .content() works by default
filehandler was always set, so the default handler was never being
called.  This led to calls to http.content() always returning nil.

Signed-off-by: Karl Palsson <karlp@remake.is>
2014-09-18 09:29:30 +00:00
Manuel Munz
2898d8072f contrib/community-profiles: add two RtTable parameters for berlin 2014-09-11 15:29:45 +00:00
Jo-Philipp Wich
f16df257b8 modules/admin-full: dynamically order lines in connection live status
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-09-04 11:35:23 +00:00
Jo-Philipp Wich
8fab048554 libs/web: add support for string templates to luci.template module
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2014-09-04 11:35:15 +00:00
Jo-Philipp Wich
35eaa9f85f libs/web: add support for string templates to the template parser
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2014-09-04 11:35:09 +00:00
Jo-Philipp Wich
84de0fbe02 libs/web: remove strange 'static' on variable declaration
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2014-09-04 11:35:04 +00:00
Jo-Philipp Wich
f8f558291a libs/web: rename template_parser field "mmap" to the more generic "data"
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2014-09-04 11:34:27 +00:00
Manuel Munz
3ccdaa9b48 contrib/community-profiles: Add namservers for berlin, see https://github.com/freifunk-berlin/firmware/issues/15#issuecomment-52959079 2014-08-24 07:53:05 +00:00
Manuel Munz
89a03c45c5 applications/status-olsr: Disable neightbl calls in olsrd neighbors view because neightbl segfaults on BB and it wasn't used anyways. 2014-08-12 17:08:49 +00:00
Translation System
1dbb71c117 Commit from LuCI Translation Portal by user jow.: 24 of 73 messages translated (0 fuzzy). 2014-08-12 12:12:27 +00:00
Translation System
980dceb94a Commit from LuCI Translation Portal by user jow.: 48 of 80 messages translated (1 fuzzy). 2014-08-12 12:12:23 +00:00
Translation System
4aba0952e7 Commit from LuCI Translation Portal by user jow.: 69 of 69 messages translated (0 fuzzy). 2014-08-12 12:12:16 +00:00
Translation System
a6174a7d89 Commit from LuCI Translation Portal by user jow.: 65 of 104 messages translated (0 fuzzy). 2014-08-12 12:12:13 +00:00
Translation System
728e55ce8e Commit from LuCI Translation Portal by user jow.: 11 of 57 messages translated (0 fuzzy). 2014-08-12 12:12:08 +00:00
Translation System
b1564644c3 Commit from LuCI Translation Portal by user jow.: 28 of 103 messages translated (0 fuzzy). 2014-08-12 12:12:04 +00:00
Translation System
2ed6255d0c Commit from LuCI Translation Portal by user jow.: 8 of 9 messages translated (0 fuzzy). 2014-08-12 12:12:02 +00:00
Translation System
d15cd9e3f5 Commit from LuCI Translation Portal by user jow.: 47 of 177 messages translated (0 fuzzy). 2014-08-12 12:11:58 +00:00
Translation System
545e9aecd2 Commit from LuCI Translation Portal by user jow.: 34 of 34 messages translated (0 fuzzy). 2014-08-12 12:11:49 +00:00
Translation System
61b3e41ec6 Commit from LuCI Translation Portal by user jow.: 29 of 44 messages translated (0 fuzzy). 2014-08-12 12:11:46 +00:00
Translation System
b1f1dcda31 Commit from LuCI Translation Portal by user jow.: 91 of 120 messages translated (2 fuzzy). 2014-08-12 12:11:38 +00:00
Translation System
5fec081961 Commit from LuCI Translation Portal by user jow.: 5 of 9 messages translated (0 fuzzy). 2014-08-12 12:11:34 +00:00
Translation System
8a22f19b63 Commit from LuCI Translation Portal by user jow.: 39 of 47 messages translated (0 fuzzy). 2014-08-12 12:11:25 +00:00
Translation System
f1a5e7728d Commit from LuCI Translation Portal by user jow.: 47 of 63 messages translated (0 fuzzy). 2014-08-12 12:11:18 +00:00
Translation System
7551fecf12 Commit from LuCI Translation Portal by user jow.: 25 of 26 messages translated (0 fuzzy). 2014-08-12 12:11:04 +00:00
Translation System
64bcf29a89 Commit from LuCI Translation Portal by user jow.: 14 of 34 messages translated (0 fuzzy). 2014-08-12 12:09:59 +00:00
Translation System
3472ac7596 Commit from LuCI Translation Portal by user jow.: 20 of 44 messages translated (0 fuzzy). 2014-08-12 12:09:52 +00:00
Translation System
0e36ed9c62 Commit from LuCI Translation Portal by user jow.: 32 of 63 messages translated (0 fuzzy). 2014-08-12 12:09:49 +00:00
Translation System
8e410723bd Commit from LuCI Translation Portal by user jow.: 5 of 5 messages translated (0 fuzzy). 2014-08-12 12:09:44 +00:00
Translation System
be46efb212 Commit from LuCI Translation Portal by user jow.: 103 of 103 messages translated (0 fuzzy). 2014-08-12 12:09:14 +00:00
Translation System
acde37b018 Commit from LuCI Translation Portal by user jow.: 41 of 41 messages translated (0 fuzzy). 2014-08-12 12:08:47 +00:00
Translation System
7322ae4c7d Commit from LuCI Translation Portal by user jow.: 175 of 175 messages translated (0 fuzzy). 2014-08-12 12:08:34 +00:00
Translation System
5d8a607e44 Commit from LuCI Translation Portal by user jow.: 10 of 10 messages translated (0 fuzzy). 2014-08-12 12:08:03 +00:00
Translation System
533293e30b Commit from LuCI Translation Portal by user jow.: 54 of 92 messages translated (0 fuzzy). 2014-08-12 12:07:43 +00:00
Translation System
b195ee8176 Commit from LuCI Translation Portal by user jow.: 40 of 73 messages translated (0 fuzzy). 2014-08-12 12:07:37 +00:00
Translation System
cd0c8084c4 Commit from LuCI Translation Portal by user jow.: 162 of 175 messages translated (0 fuzzy). 2014-08-12 12:07:00 +00:00
Translation System
483b5f14f0 Commit from LuCI Translation Portal by user jow.: 54 of 80 messages translated (0 fuzzy). 2014-08-12 12:06:49 +00:00
Translation System
ce8e265d4a Commit from LuCI Translation Portal by user jow.: 22 of 25 messages translated (3 fuzzy). 2014-08-12 12:06:27 +00:00