oweals/luci.git
9 years agocontrib: remove obsolete luci package definitions
Jo-Philipp Wich [Thu, 8 Jan 2015 14:58:53 +0000 (15:58 +0100)]
contrib: remove obsolete luci package definitions

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-base: luci.util: rewrite threadlocal code to not confuse minifier
Jo-Philipp Wich [Thu, 8 Jan 2015 14:56:35 +0000 (15:56 +0100)]
luci-base: luci.util: rewrite threadlocal code to not confuse minifier

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoRework LuCI build system
Jo-Philipp Wich [Wed, 3 Dec 2014 14:17:05 +0000 (15:17 +0100)]
Rework LuCI build system

 * Rename subdirectories to their repective OpenWrt package names
 * Make each LuCI module its own standalone package
 * Deploy a shared luci.mk which is used by each module Makefile

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoMerge pull request #278 from nmav/ocserv
Jo-Philipp Wich [Mon, 5 Jan 2015 18:04:19 +0000 (19:04 +0100)]
Merge pull request #278 from nmav/ocserv

Print the ocserv's certificate hash and key ID

9 years agoPrint the ocserv's certificate hash and key ID 278/head
Nikos Mavrogiannopoulos [Sat, 3 Jan 2015 17:50:22 +0000 (18:50 +0100)]
Print the ocserv's certificate hash and key ID

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
9 years agoMerge pull request #264 from thess/mjpg-streamer
Jo-Philipp Wich [Mon, 5 Jan 2015 16:16:59 +0000 (17:16 +0100)]
Merge pull request #264 from thess/mjpg-streamer

luci-app-mjpg-streamer: Add new module for mjpg-streamer management

9 years agoMerge pull request #273 from FreifunkUFO/master
Jo-Philipp Wich [Mon, 5 Jan 2015 15:35:50 +0000 (16:35 +0100)]
Merge pull request #273 from FreifunkUFO/master

luci-freifunk-diagnostics: change adress to an ipv6-enabled host

9 years agochange adress to an ipv6-enabled host 273/head
FreifunkUFO [Mon, 29 Dec 2014 18:05:00 +0000 (19:05 +0100)]
change adress to an ipv6-enabled host

9 years agoMerge pull request #271 from FreifunkUFO/master
Manuel Munz [Thu, 25 Dec 2014 09:15:51 +0000 (10:15 +0100)]
Merge pull request #271 from FreifunkUFO/master

package/community-profiles: add profile_31c3

9 years agodetails 31c3 271/head
FreifunkUFO [Wed, 24 Dec 2014 02:50:24 +0000 (03:50 +0100)]
details 31c3

9 years agonew profile for 31c3
FreifunkUFO [Wed, 24 Dec 2014 02:41:38 +0000 (03:41 +0100)]
new profile for 31c3

9 years agoMerge pull request #267 from n3ph/master
Manuel Munz [Thu, 18 Dec 2014 00:53:26 +0000 (01:53 +0100)]
Merge pull request #267 from n3ph/master

package/community-profiles: add profile_freiburg

9 years agoUpdate profile_freiburg 267/head
n3ph [Wed, 17 Dec 2014 17:45:34 +0000 (18:45 +0100)]
Update profile_freiburg

The SSID freiburg.freifunk.net is used as the VAP-SSID so we have to use sth. different for the ad-hoc SSID..

ATM 02:d1:11:37:fc:38 - why not using 02:CA:FF:EE:BA:BE...

9 years agoCreate profile_freiburg 266/head
n3ph [Wed, 17 Dec 2014 17:27:38 +0000 (18:27 +0100)]
Create profile_freiburg

9 years agoMerge pull request #262 from chris5560/master
Jo-Philipp Wich [Tue, 9 Dec 2014 15:38:04 +0000 (16:38 +0100)]
Merge pull request #262 from chris5560/master

luci-app-ddns: Update to support ddns-scripts 2.1.0-3

9 years agoluci-app-mjpg-streamer: Add new module for mjpg-streamer management 264/head
Ted Hess [Fri, 10 Oct 2014 22:27:40 +0000 (18:27 -0400)]
luci-app-mjpg-streamer: Add new module for mjpg-streamer management

Signed-off-by: Ted Hess <thess@kitschensync.net>
9 years agoluci-app-ddns: Update to support ddns-scripts 2.1.0-3 262/head
Christian Schoenebeck [Sun, 7 Dec 2014 20:31:57 +0000 (21:31 +0100)]
luci-app-ddns: Update to support ddns-scripts 2.1.0-3

- modified controller
-- remove support for ddns-scripts Version 1.x
-- ddns-scripts not correctly installed do not start
-- no config file create an empty one
- moved log settings to advanced tab
- set default syslog level "Notice"
- removed special handling for dynamic_dns_helper.sh in postinst

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
9 years agoMerge pull request #256 from chris5560/master
Jo-Philipp Wich [Mon, 24 Nov 2014 10:37:24 +0000 (11:37 +0100)]
Merge pull request #256 from chris5560/master

luci-app-ddns: modified to support ddns-scripts 2.1.0-2

9 years agoMerge pull request #258 from remakeelectric/accept-multi-chunk-post
Jo-Philipp Wich [Sat, 22 Nov 2014 18:21:26 +0000 (19:21 +0100)]
Merge pull request #258 from remakeelectric/accept-multi-chunk-post

luci.http.protocol: Allow posts to contain more than a single chunk

9 years agoluci.http.protocol: Allow posts to contain more than a single chunk 258/head
Karl Palsson [Fri, 21 Nov 2014 18:18:51 +0000 (18:18 +0000)]
luci.http.protocol: Allow posts to contain more than a single chunk

The ltn12.pump.step() loop in parse_message_body was incorrectly testing
for EOF, and returning after the first chunk, even if further chunks
were available.  The loop in parse_message_header made the correct
check, and test code making raw ajax json posts now succeeds for posts
>= 2048 bytes.

Signed-off-by: Karl Palsson <karlp@remake.is>
9 years agoMerge pull request #257 from NeoRaider/master
Jo-Philipp Wich [Mon, 17 Nov 2014 14:21:47 +0000 (15:21 +0100)]
Merge pull request #257 from NeoRaider/master

modules/base: ltn12: fix source.file() termination condition

9 years agomodules/base: ltn12: source.file() should terminate when an empty chunk is read 257/head
Matthias Schiffer [Mon, 17 Nov 2014 13:25:51 +0000 (14:25 +0100)]
modules/base: ltn12: source.file() should terminate when an empty chunk is read

The read method of nixio's file and socket objects both return an empty string
when they reach EOF, not nil, causing the consumer to loop endlessly as
source.file() never terminates.

As there is no other situation in which an empty chunk is read, just change it
to nil to terminate the consumer's loop.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
9 years agoluci-app-ddns: modified to support ddns-scripts 2.1.0-2 256/head
Christian Schoenebeck [Sat, 15 Nov 2014 21:06:18 +0000 (22:06 +0100)]
luci-app-ddns: modified to support ddns-scripts 2.1.0-2

- moved /usr/lib/ddns/dynamic_dns_lucihelper.sh to ddns-scripts package
- fixed error message when validating proxy
- modified validating ip_script to allow the usage of parameters
- using ipkg/postinst AND ipkg/postinst-pkg as long as LuCI Makefiles did not
fullfil requirements of new OpenWrt default_postinst and default_postrm
reported in Issue #255
- cleanup whitespaces at line ends

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
10 years agoMerge pull request #247 from Wedmer/master
Jo-Philipp Wich [Fri, 14 Nov 2014 16:18:33 +0000 (17:18 +0100)]
Merge pull request #247 from Wedmer/master

Create README.md

10 years agoMerge pull request #249 from openwrt-es/luci-next
Jo-Philipp Wich [Fri, 14 Nov 2014 16:17:57 +0000 (17:17 +0100)]
Merge pull request #249 from openwrt-es/luci-next

applications/luci-dump1090: update config to latest version

10 years agoMerge pull request #250 from openwrt-es/luci-next2
Jo-Philipp Wich [Fri, 14 Nov 2014 16:17:39 +0000 (17:17 +0100)]
Merge pull request #250 from openwrt-es/luci-next2

Fix disabling service instance for dump1090/udpxy/shairplay/shairport

10 years agoMerge pull request #248 from chris5560/master
Jo-Philipp Wich [Fri, 14 Nov 2014 16:17:14 +0000 (17:17 +0100)]
Merge pull request #248 from chris5560/master

luci-app-ddns: Update to support ddns-scripts 2.1.0-1

10 years agoMerge pull request #252 from hnyman/update-tz
Jo-Philipp Wich [Fri, 14 Nov 2014 15:29:02 +0000 (16:29 +0100)]
Merge pull request #252 from hnyman/update-tz

Update timezone data to 2014i (from 2011n)

10 years agoUpdate timezone info to 2014i (from 2011n) 252/head
Hannu Nyman [Fri, 14 Nov 2014 15:06:30 +0000 (17:06 +0200)]
Update timezone info to 2014i (from 2011n)

Timezone information embedded in Luci is updated to 2014i.
Afaik, the old data was from version 2011n.

I used build/zoneinfo2lua.pl to pull data from my Ubuntu 14.10 buildhost
that contains 2014i version of the timezone data.

2014j has been released this week, but is not yet embedded in Ubuntu and
Turks&Caicos is the only affected country/zone.
2014i: http://mm.icann.org/pipermail/tz-announce/2014-October/000026.html
2014j: http://mm.icann.org/pipermail/tz-announce/2014-November/000027.html

This update should fix Openwrt bugs #11445 and #18323.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
10 years agomodules/admin-full: make wifi enabling/disabling more reliable
Jo-Philipp Wich [Tue, 11 Nov 2014 21:33:34 +0000 (22:33 +0100)]
modules/admin-full: make wifi enabling/disabling more reliable

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
10 years agoapplications/luci-shairport: fix disabling service instance 250/head
Álvaro Fernández Rojas [Mon, 10 Nov 2014 12:53:43 +0000 (13:53 +0100)]
applications/luci-shairport: fix disabling service instance

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
10 years agoapplications/luci-shairplay: fix disabling service instance
Álvaro Fernández Rojas [Mon, 10 Nov 2014 12:53:24 +0000 (13:53 +0100)]
applications/luci-shairplay: fix disabling service instance

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
10 years agoapplications/luci-udpxy: fix disabling service instance
Álvaro Fernández Rojas [Mon, 10 Nov 2014 12:53:10 +0000 (13:53 +0100)]
applications/luci-udpxy: fix disabling service instance

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
10 years agoapplications/luci-dump1090: fix disabling service instance
Álvaro Fernández Rojas [Mon, 10 Nov 2014 12:52:42 +0000 (13:52 +0100)]
applications/luci-dump1090: fix disabling service instance

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
10 years agoapplications/luci-dump1090: update config to latest version 249/head
Álvaro Fernández Rojas [Mon, 10 Nov 2014 12:31:17 +0000 (13:31 +0100)]
applications/luci-dump1090: update config to latest version

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
10 years agoAdd odhcpd to ucitrack of dhcp
Steven Barth [Sun, 9 Nov 2014 18:41:14 +0000 (19:41 +0100)]
Add odhcpd to ucitrack of dhcp

10 years agoluci-app-ddns: Update to support ddns-scripts 2.1.0-1 248/head
Christian Schoenebeck [Sun, 9 Nov 2014 17:37:15 +0000 (18:37 +0100)]
luci-app-ddns: Update to support ddns-scripts 2.1.0-1

fix verify of entry for DNS server Issue #244
https://github.com/openwrt/luci/issues/244
add support for option 'update_script'
add display of version information when click on "Dynamic DNS" on
overview page
add verify of installed ddns-scripts version and show as hint if not
correct version
modified epoch to date conversation
cbi object Flag did not set section.changed state, fixed in
tools.flag_parse function
ucitrack entry no longer needed and removed
minor fixes

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
10 years agoCreate README.md 247/head
Vladimir Ulrich [Thu, 6 Nov 2014 16:20:34 +0000 (19:20 +0300)]
Create README.md

Add initial README.md file. Used Packages feed README as template.
Signed-off-by: Vladimir Ulrich <admin@evl.su>
10 years agocontrib: move luci-app-ocserv to luci-addons, fix recusrive deps
Jo-Philipp Wich [Tue, 4 Nov 2014 10:23:43 +0000 (11:23 +0100)]
contrib: move luci-app-ocserv to luci-addons, fix recusrive deps

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
10 years agobuild: rewrite mkversion.sh to use git metadata (#239)
Jo-Philipp Wich [Sat, 1 Nov 2014 08:53:02 +0000 (09:53 +0100)]
build: rewrite mkversion.sh to use git metadata (#239)

The current build/mkversion.sh still expected an SVN repository layout,
rewrite it to derive tags and branchnames from git metadata.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
10 years agomodules/admin-full: add CDATA comments to wireless_modefreq.htm script tag
Jo-Philipp Wich [Fri, 31 Oct 2014 11:48:24 +0000 (12:48 +0100)]
modules/admin-full: add CDATA comments to wireless_modefreq.htm script tag

This should fix non-wellformed page errors with XHTML themes.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
10 years agoMerge pull request #242 from openwrt-es/luci-shairport
Jo-Philipp Wich [Thu, 30 Oct 2014 11:40:39 +0000 (12:40 +0100)]
Merge pull request #242 from openwrt-es/luci-shairport

applications/luci-shairport: add new package.

10 years agoapplications/luci-shairport: add new package. 242/head
Álvaro Fernández Rojas [Thu, 30 Oct 2014 11:34:25 +0000 (12:34 +0100)]
applications/luci-shairport: add new package.
This adds support for configuring shairport.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
10 years agoMerge pull request #240 from nmav/master
Jo-Philipp Wich [Wed, 29 Oct 2014 22:30:51 +0000 (23:30 +0100)]
Merge pull request #240 from nmav/master

openconnect proto: added missing makefile

10 years agoopenconnect proto: added missing makefile 240/head
Nikos Mavrogiannopoulos [Wed, 29 Oct 2014 22:28:36 +0000 (23:28 +0100)]
openconnect proto: added missing makefile

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
10 years agoMerge pull request #226 from nmav/openconnect
Jo-Philipp Wich [Wed, 29 Oct 2014 21:40:04 +0000 (22:40 +0100)]
Merge pull request #226 from nmav/openconnect

Openconnect

10 years agoMerge pull request #236 from openwrt-es/luci-next
Jo-Philipp Wich [Wed, 29 Oct 2014 21:38:15 +0000 (22:38 +0100)]
Merge pull request #236 from openwrt-es/luci-next

applications/luci-shairplay: add new package.

10 years agoMerge pull request #237 from openwrt-es/luci-next2
Jo-Philipp Wich [Wed, 29 Oct 2014 21:37:13 +0000 (22:37 +0100)]
Merge pull request #237 from openwrt-es/luci-next2

applications/luci-udpxy: add new package.

10 years agoMerge pull request #238 from openwrt-es/luci-next3
Jo-Philipp Wich [Wed, 29 Oct 2014 21:35:38 +0000 (22:35 +0100)]
Merge pull request #238 from openwrt-es/luci-next3

applications/luci-dump1090: add new package.

10 years agoapplications/luci-dump1090: add new package. 238/head
Álvaro Fernández Rojas [Tue, 28 Oct 2014 18:38:21 +0000 (19:38 +0100)]
applications/luci-dump1090: add new package.
This adds support for configuring dump1090.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
10 years agoapplications/luci-udpxy: add new package. 237/head
Álvaro Fernández Rojas [Tue, 28 Oct 2014 17:03:18 +0000 (18:03 +0100)]
applications/luci-udpxy: add new package.
This adds support for configuring udpxy.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
10 years agoapplications/luci-shairplay: add new package. 236/head
Álvaro Fernández Rojas [Tue, 28 Oct 2014 15:29:29 +0000 (16:29 +0100)]
applications/luci-shairplay: add new package.
This adds support for configuring shairplay.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
10 years agobase: trigger page reload with cbi reset button
Jo-Philipp Wich [Sun, 26 Oct 2014 17:20:17 +0000 (18:20 +0100)]
base: trigger page reload with cbi reset button

Many complex widgets do not reset properly with traditional form reset,
therfore simply reload the page.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
10 years agomodules/admin-full: rework hwmode/htmode/channel selection
Jo-Philipp Wich [Sun, 26 Oct 2014 16:44:50 +0000 (17:44 +0100)]
modules/admin-full: rework hwmode/htmode/channel selection

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
10 years agoMerge pull request #232 from dibdot/master
Jo-Philipp Wich [Sun, 26 Oct 2014 14:42:55 +0000 (15:42 +0100)]
Merge pull request #232 from dibdot/master

Update minidlna status messages for v1.13

10 years agoluci-minidlna: fix status display
Jo-Philipp Wich [Sun, 26 Oct 2014 14:36:09 +0000 (15:36 +0100)]
luci-minidlna: fix status display

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
10 years agoUpdate minidlna.lua 232/head
dibdot [Wed, 22 Oct 2014 19:34:30 +0000 (21:34 +0200)]
Update minidlna.lua

Fix minidlna v1.13 status messages

10 years agomodules/base: work around wireless status changes
Jo-Philipp Wich [Tue, 21 Oct 2014 21:38:51 +0000 (23:38 +0200)]
modules/base: work around wireless status changes

The latest netifd updates changed the ubus wireless status reporting in a
way that breaks the current LuCI integration. Work around the changed
format by translating the extended UCI section syntax back to the plain one.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
10 years agoAdded luci configuration for openconnect protocol 226/head
Nikos Mavrogiannopoulos [Sat, 11 Oct 2014 21:17:56 +0000 (23:17 +0200)]
Added luci configuration for openconnect protocol

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
10 years agoAdded luci configuration for ocserv
Nikos Mavrogiannopoulos [Sat, 11 Oct 2014 21:10:15 +0000 (23:10 +0200)]
Added luci configuration for ocserv

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
10 years agomodules/base: attempt to work around Firefox autocomplete bugs
Jo-Philipp Wich [Mon, 20 Oct 2014 17:44:24 +0000 (19:44 +0200)]
modules/base: attempt to work around Firefox autocomplete bugs

Ref: https://dev.openwrt.org/ticket/18176

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
10 years agoMerge pull request #230 from hubx/master
Manuel Munz [Sun, 19 Oct 2014 21:43:34 +0000 (23:43 +0200)]
Merge pull request #230 from hubx/master

Freifunk: correct bbsid in Potsdam on channel 5

10 years agoFreifunk: correct bbsid in Potsdam on channel 5 230/head
Hubert Hesse [Sun, 19 Oct 2014 21:33:39 +0000 (23:33 +0200)]
Freifunk: correct bbsid in Potsdam on channel 5

10 years agoMerge pull request #229 from cholin/bug/gwcheck_jshn
Manuel Munz [Fri, 17 Oct 2014 16:56:25 +0000 (18:56 +0200)]
Merge pull request #229 from cholin/bug/gwcheck_jshn

fixes missing imports for gwcheck

10 years agofixes missing imports for gwcheck 229/head
Nico Geyso [Fri, 17 Oct 2014 16:25:28 +0000 (18:25 +0200)]
fixes missing imports for gwcheck

since r41281 (83e9122) network.sh depends on jsonfilter instead of jshn.
Therefor jshn is missing for gwcheck and needs to be sourced manually.

10 years agohttpclient: fix logic error for redirects
Manuel Munz [Thu, 16 Oct 2014 10:22:49 +0000 (12:22 +0200)]
httpclient: fix logic error for redirects

10 years agoMerge pull request #228 from FreifunkUFO/master
Jo-Philipp Wich [Tue, 14 Oct 2014 20:23:46 +0000 (22:23 +0200)]
Merge pull request #228 from FreifunkUFO/master

package/community-profiles: fix netmask for freifunk gadow

10 years agopackage/community-profiles: fix netmask for freifunk gadow 228/head
FreifunkUFO [Tue, 14 Oct 2014 17:22:21 +0000 (19:22 +0200)]
package/community-profiles: fix netmask for freifunk gadow

10 years agobuild: generate strictly increasing git revisions (#225)
Jo-Philipp Wich [Tue, 14 Oct 2014 11:46:39 +0000 (13:46 +0200)]
build: generate strictly increasing git revisions (#225)

Instead of simply emitting a "git-$hash" revision, take the commit time into
account to generate strictly increasing revisions to preserve opkg upgrade
capabilities.

The format is "git-YY.DDD.SSSSS-HHHHHHH" with the following defined fields:

  - YY        year number (00..99)
  - DDD       day of year (001..366)
  - SSSSSS    second of day (00000..86399)
  - HHHHHHH   abbreviated git commit hash

An example revision is "git-14.283.50202-bb388f0".

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
10 years agoMerge pull request #227 from okiru/patch-1
Jo-Philipp Wich [Mon, 13 Oct 2014 08:29:52 +0000 (10:29 +0200)]
Merge pull request #227 from okiru/patch-1

Make submenus accessible to screen readers

10 years agoUpdate cascade.css 227/head
Freddy Leitner [Mon, 13 Oct 2014 08:26:23 +0000 (17:26 +0900)]
Update cascade.css

Make submenus accessible to screen readers

10 years agoapplications/luci-olsr: use correct config file for IPv6 plugin config
Jo-Philipp Wich [Sat, 11 Oct 2014 20:50:09 +0000 (22:50 +0200)]
applications/luci-olsr: use correct config file for IPv6 plugin config

Based on patch by Erich N. Pekarek <erich@pekarek.at>

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
10 years agoMerge pull request #223 from chris5560/master
Jo-Philipp Wich [Sat, 11 Oct 2014 10:11:06 +0000 (12:11 +0200)]
Merge pull request #223 from chris5560/master

luci-app-ddns: update/rebuild to support ddns-scripts V 2.x

10 years agoMerge pull request #222 from iXit/master
Jo-Philipp Wich [Sat, 11 Oct 2014 10:08:59 +0000 (12:08 +0200)]
Merge pull request #222 from iXit/master

themes/bootstrap: make theme usable on touchscreen

10 years agoMerge pull request #220 from Wedmer/openvpnfix_dtfix_watchcatfix
Jo-Philipp Wich [Sat, 11 Oct 2014 10:07:35 +0000 (12:07 +0200)]
Merge pull request #220 from Wedmer/openvpnfix_dtfix_watchcatfix

 applications/luci-openvpn: fixes for current openWRT openvpn packages.

10 years agoMerge pull request #221 from openwrt-es/luci-next
Jo-Philipp Wich [Sat, 11 Oct 2014 09:53:05 +0000 (11:53 +0200)]
Merge pull request #221 from openwrt-es/luci-next

modules/admin-full: fix support for broadcom-wl modes

10 years agoluci-app-ddns: update/rebuild to support ddns-scripts V 2.x 223/head
Christian Schoenebeck [Fri, 10 Oct 2014 19:55:22 +0000 (21:55 +0200)]
luci-app-ddns: update/rebuild to support ddns-scripts V 2.x

extends/replaces exising luci-app-ddns to support ddns-scripts starting
Version 2.0.1-8
Still supports ddns-scripts Version 1.0.0-23 with the old interface
including fix for OpenWrt Ticket #18018.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
10 years agothemes/bootstrap: make theme usable on touchscreen 222/head
David Heidelberger [Fri, 10 Oct 2014 19:28:47 +0000 (21:28 +0200)]
themes/bootstrap: make theme usable on touchscreen

When using this theme on touchscreen, after selecting menu it won't
allow me select submenu selection. It directly start loading menu
section (unnecessary, because it's always first link in subsection).
It work only at moment, when you are really fast, which is annoying.

Signed-off-by: David Heidelberger <david.heidelberger@ixit.cz>
10 years agomodules/admin-full: fix support for broadcom-wl modes 221/head
Álvaro Fernández Rojas [Fri, 10 Oct 2014 16:44:45 +0000 (18:44 +0200)]
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>
10 years agoFixed pinghost to pinghosts 220/head
Vladimir Ulrich [Thu, 7 Aug 2014 19:37:11 +0000 (23:37 +0400)]
Fixed pinghost to pinghosts

Signed-off-by: Vladimir Ulrich <admin@evl.su>
10 years agoAdded device tree model support
Vladimir Ulrich [Fri, 18 Jul 2014 15:39:09 +0000 (19:39 +0400)]
Added device tree model support

Signed-off-by: Vladimir Ulrich <admin@evl.su>
10 years agoUpdated openvpn app to work with current openvpn package
Vladimir Ulrich [Mon, 14 Jul 2014 02:03:32 +0000 (06:03 +0400)]
Updated openvpn app to work with current openvpn package

Signed-off-by: Vladimir Ulrich <admin@evl.su>
10 years agomodules/admin-full: add support for configuring mirror port
Jo-Philipp Wich [Fri, 10 Oct 2014 13:56:42 +0000 (15:56 +0200)]
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>
10 years agoAdd initial contribution guidelines
Jo-Philipp Wich [Fri, 10 Oct 2014 13:32:27 +0000 (15:32 +0200)]
Add initial contribution guidelines

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
10 years agoMerge pull request #219 from hnyman/WPS-toggle
Jo-Philipp Wich [Fri, 10 Oct 2014 13:07:43 +0000 (15:07 +0200)]
Merge pull request #219 from hnyman/WPS-toggle

wifi.lua: Add support for toggling WPS button

10 years agowifi.lua: Add support for toggling WPS button. 219/head
Hannu Nyman [Fri, 10 Oct 2014 12:48:54 +0000 (15:48 +0300)]
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>
10 years agoadd support for splash leases plugin
soma [Fri, 10 Oct 2014 08:52:41 +0000 (10:52 +0200)]
add support for splash leases plugin

10 years agomodules/admin-full: fix wifi channel selection on multiple STA networks
Stephan Günther [Sun, 21 Sep 2014 18:35:20 +0000 (20:35 +0200)]
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>
10 years agoluci: initial 802.11ac support trunk
Jo-Philipp Wich [Sat, 4 Oct 2014 09:38:10 +0000 (09:38 +0000)]
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>
10 years agomodules/admin-full: decouple enable/disable button state from assoc state
Jo-Philipp Wich [Fri, 3 Oct 2014 17:28:23 +0000 (17:28 +0000)]
modules/admin-full: decouple enable/disable button state from assoc state

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
10 years agomodules/base: provide disable state in luci.tools.status.wifi_network()
Jo-Philipp Wich [Fri, 3 Oct 2014 17:28:21 +0000 (17:28 +0000)]
modules/base: provide disable state in luci.tools.status.wifi_network()

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
10 years agomodules/admin-full: fix assoc state check for sta mode in wifi overview
Jo-Philipp Wich [Fri, 3 Oct 2014 13:34:56 +0000 (13:34 +0000)]
modules/admin-full: fix assoc state check for sta mode in wifi overview

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
10 years agomodules/freifunk: fix map.html when using https, thanks cholin
Manuel Munz [Wed, 24 Sep 2014 17:40:02 +0000 (17:40 +0000)]
modules/freifunk: fix map.html when using https, thanks cholin

10 years agocollectd: Update luci-statistics / collectd to 5.4.1 - Luci
Jo-Philipp Wich [Thu, 18 Sep 2014 13:29:11 +0000 (13:29 +0000)]
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>
10 years agohttp: ensure .content() works by default
Jo-Philipp Wich [Thu, 18 Sep 2014 09:29:30 +0000 (09:29 +0000)]
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>
10 years agocontrib/community-profiles: add two RtTable parameters for berlin
Manuel Munz [Thu, 11 Sep 2014 15:29:45 +0000 (15:29 +0000)]
contrib/community-profiles: add two RtTable parameters for berlin

10 years agomodules/admin-full: dynamically order lines in connection live status
Jo-Philipp Wich [Thu, 4 Sep 2014 11:35:23 +0000 (11:35 +0000)]
modules/admin-full: dynamically order lines in connection live status

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
10 years agolibs/web: add support for string templates to luci.template module
Jo-Philipp Wich [Thu, 4 Sep 2014 11:35:15 +0000 (11:35 +0000)]
libs/web: add support for string templates to luci.template module

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
10 years agolibs/web: add support for string templates to the template parser
Jo-Philipp Wich [Thu, 4 Sep 2014 11:35:09 +0000 (11:35 +0000)]
libs/web: add support for string templates to the template parser

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
10 years agolibs/web: remove strange 'static' on variable declaration
Jo-Philipp Wich [Thu, 4 Sep 2014 11:35:04 +0000 (11:35 +0000)]
libs/web: remove strange 'static' on variable declaration

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>