project/luci.git
8 years agoluci-base: view: make checkboxes and radio buttons styleable 663/head
Matthias Schiffer [Thu, 3 Mar 2016 21:06:39 +0000 (22:06 +0100)]
luci-base: view: make checkboxes and radio buttons styleable

Add an empty, normally invisible label after checkboxes and radio buttons
with cbi-input-{checkbox,radio} classes to allow CSS styling them as
suggested on http://www.paulund.co.uk/style-checkboxes-with-css

Signed-off-by: Nils Schneider <nils@nilsschneider.net>
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
8 years agoMerge pull request #659 from NeoRaider/default-language
Jo-Philipp Wich [Tue, 1 Mar 2016 16:54:49 +0000 (17:54 +0100)]
Merge pull request #659 from NeoRaider/default-language

modules/base: dispatcher: use default language if automatic choice fails

8 years agomodules/base: dispatcher: use default language if automatic choice fails 659/head
Matthias Schiffer [Tue, 1 Mar 2016 16:25:55 +0000 (17:25 +0100)]
modules/base: dispatcher: use default language if automatic choice fails

Fall back to default language if "auto" is configured, but none provided by
the browser matches.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
8 years agoremove bensheim and heppenheim as requested here: https://github.com/freifunk/meshkit...
Manuel Munz [Mon, 29 Feb 2016 18:17:20 +0000 (19:17 +0100)]
remove bensheim and heppenheim as requested here: https://github.com/freifunk/meshkit/issues/20

8 years agoMerge pull request #653 from tsl0922/tsl0922-patch-1
Hannu Nyman [Mon, 29 Feb 2016 08:49:22 +0000 (10:49 +0200)]
Merge pull request #653 from tsl0922/tsl0922-patch-1

luci-theme-material: remove the double slash (//) from menu url

8 years agoluci-app-adblock: conform to adblock 0.90
Hannu Nyman [Sun, 28 Feb 2016 21:03:14 +0000 (23:03 +0200)]
luci-app-adblock: conform to adblock 0.90

* Add support for disabling "force DNS queries to local resolver" option
* Remove deprecated logging options

Additionally remove unnecessary rmempty definitions.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoi18n: sync translations
Hannu Nyman [Fri, 26 Feb 2016 13:17:01 +0000 (15:17 +0200)]
i18n: sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoluci-mod-admin-full: host-specific dhcp lease time option for static hosts
Hannu Nyman [Fri, 26 Feb 2016 11:48:36 +0000 (13:48 +0200)]
luci-mod-admin-full: host-specific dhcp lease time option for static hosts

Enable setting a host-specific lease time for static hosts.
Format is similar as for the default lease time: e.g. 2m, 12h, 3d, infinite

Default lease time is used for all hosts without host-specific definition.

Support for the option was added to Openwrt trunk by r48801:
https://dev.openwrt.org/changeset/48801

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoluci-theme-material: remove the double slash (//) from menu url 653/head
Shuanglei Tao [Thu, 25 Feb 2016 16:38:22 +0000 (00:38 +0800)]
luci-theme-material: remove the double slash (//) from menu url

Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
8 years agoluci-base: cbi: fix misplaced ID in nullsection template
Jo-Philipp Wich [Wed, 24 Feb 2016 16:40:53 +0000 (17:40 +0100)]
luci-base: cbi: fix misplaced ID in nullsection template

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: cbi: also initialize JS if pageactions are disabled
Jo-Philipp Wich [Wed, 24 Feb 2016 16:39:54 +0000 (17:39 +0100)]
luci-base: cbi: also initialize JS if pageactions are disabled

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: cbi: fix dependency handling of list and multivalues with radio/checkbox...
Jo-Philipp Wich [Tue, 23 Feb 2016 08:27:12 +0000 (09:27 +0100)]
luci-base: cbi: fix dependency handling of list and multivalues with radio/checkbox widgets

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-app-adblock: remove deprecated options
Hannu Nyman [Mon, 22 Feb 2016 20:23:05 +0000 (22:23 +0200)]
luci-app-adblock: remove deprecated options

Remove support for options deprecated in adblock 0.80.1

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoluci-app-adblock: conform to adblock 0.80
Hannu Nyman [Sun, 21 Feb 2016 15:39:19 +0000 (17:39 +0200)]
luci-app-adblock: conform to adblock 0.80

* Change "debug log" to "log"
* Add support for source descriptions
* Support new options for ping targets
* Simplify link to readme

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoluci-base: luci.sys: canonicalize src and dest addrs in luci.sys.net.conntrack()
Jo-Philipp Wich [Sat, 20 Feb 2016 21:14:37 +0000 (22:14 +0100)]
luci-base: luci.sys: canonicalize src and dest addrs in luci.sys.net.conntrack()

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-app-adblock: Add support for optional config values
Hannu Nyman [Sat, 20 Feb 2016 10:34:16 +0000 (12:34 +0200)]
luci-app-adblock: Add support for optional config values

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoluci-base: cbi: fix button handling for dynamic lists
Jo-Philipp Wich [Fri, 19 Feb 2016 16:20:50 +0000 (17:20 +0100)]
luci-base: cbi: fix button handling for dynamic lists

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-app-adblock: Beautify blocklist selection table and reorganise
Hannu Nyman [Fri, 19 Feb 2016 10:13:44 +0000 (12:13 +0200)]
luci-app-adblock: Beautify blocklist selection table and reorganise

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoMerge pull request #644 from chris5560/master
Christian Schoenebeck [Thu, 18 Feb 2016 18:25:41 +0000 (19:25 +0100)]
Merge pull request #644 from chris5560/master

luci-base: fixed tabbed map when using NamedSection of same type

8 years agoMerge pull request #647 from LuttyYang/master
Hannu Nyman [Thu, 18 Feb 2016 13:06:43 +0000 (15:06 +0200)]
Merge pull request #647 from LuttyYang/master

luci-theme-material: Decrease font and spacing

8 years agoluci-theme-material: Rasterization Code 647/head
Lutty Yang [Thu, 18 Feb 2016 12:34:30 +0000 (20:34 +0800)]
luci-theme-material: Rasterization Code

Signed-off-by: Lutty Yang <lutty@wcan.in>
8 years agoluci-theme-material: Decrease font and spacing
Lutty Yang [Thu, 18 Feb 2016 12:29:19 +0000 (20:29 +0800)]
luci-theme-material: Decrease font and spacing

1) Decrease font and spacing
2) Synchronized to the LUCI version 99f5d4e

Signed-off-by: Lutty Yang <lutty@wcan.in>
8 years agoluci-base: cbi.js: properly round down numbers for %u and %d patterns
Jo-Philipp Wich [Wed, 17 Feb 2016 15:33:34 +0000 (16:33 +0100)]
luci-base: cbi.js: properly round down numbers for %u and %d patterns

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-app-adblock: User interface for the 'adblock' package
Hannu Nyman [Tue, 16 Feb 2016 20:28:46 +0000 (22:28 +0200)]
luci-app-adblock: User interface for the 'adblock' package

Simple user interface for the 'adblock' package from packages feed.
Adds 'Adblock' item to the Services menu in LuCI.
Allows enabling/disabling the service and selecting blocklists.

Configuration of the blocklist URLs and selection of Shalla categories
needs to be done manually to the config file, if needed.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoluci-base: cbi.js: string formatting fixes
Jo-Philipp Wich [Mon, 15 Feb 2016 11:45:39 +0000 (12:45 +0100)]
luci-base: cbi.js: string formatting fixes

* Fix left and right justify/padding in formats
* Do not emit decimal numbers for small values in %m format

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-app-firewall: rely on auto-serialization for combobox choices
Jo-Philipp Wich [Wed, 10 Feb 2016 18:38:33 +0000 (19:38 +0100)]
luci-app-firewall: rely on auto-serialization for combobox choices

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: cbi: rely on auto-serialization for combobox choices
Jo-Philipp Wich [Wed, 10 Feb 2016 18:36:37 +0000 (19:36 +0100)]
luci-base: cbi: rely on auto-serialization for combobox choices

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: cbi: rework ListValue and MultiValue templates
Jo-Philipp Wich [Wed, 10 Feb 2016 18:33:01 +0000 (19:33 +0100)]
luci-base: cbi: rework ListValue and MultiValue templates

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: dispatcher: let attr() automatically serialize JSON
Jo-Philipp Wich [Wed, 10 Feb 2016 18:30:43 +0000 (19:30 +0100)]
luci-base: dispatcher: let attr() automatically serialize JSON

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: cbi: properly handle dependant elements without parent
Jo-Philipp Wich [Wed, 10 Feb 2016 18:29:29 +0000 (19:29 +0100)]
luci-base: cbi: properly handle dependant elements without parent

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: cbi: only spawn dynlist sub-comboboxes if choices are available
Jo-Philipp Wich [Wed, 10 Feb 2016 17:23:39 +0000 (18:23 +0100)]
luci-base: cbi: only spawn dynlist sub-comboboxes if choices are available

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-app-firewall: align custom cbi teplates with new code
Jo-Philipp Wich [Wed, 10 Feb 2016 17:13:53 +0000 (18:13 +0100)]
luci-app-firewall: align custom cbi teplates with new code

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: cbi: further refactoring
Jo-Philipp Wich [Wed, 10 Feb 2016 17:11:49 +0000 (18:11 +0100)]
luci-base: cbi: further refactoring

Eliminate more inline scripts in favor to global initialization, use a global
object for sharing fixed strings instead of passing them to each invocation.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-mod-admin-full: fix direct package install
Jo-Philipp Wich [Wed, 10 Feb 2016 12:42:56 +0000 (13:42 +0100)]
luci-mod-admin-full: fix direct package install

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-theme-openwrt: untangle & refactor header.htm code
Jo-Philipp Wich [Wed, 10 Feb 2016 12:41:06 +0000 (13:41 +0100)]
luci-theme-openwrt: untangle & refactor header.htm code

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-theme-openwrt: add some style fixes for interface badges
Jo-Philipp Wich [Tue, 9 Feb 2016 23:47:37 +0000 (00:47 +0100)]
luci-theme-openwrt: add some style fixes for interface badges

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: fix dependency handling of optionals (#645)
Jo-Philipp Wich [Tue, 9 Feb 2016 15:10:55 +0000 (16:10 +0100)]
luci-base: fix dependency handling of optionals (#645)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: cbi: remove duplicate id from template
Jo-Philipp Wich [Tue, 9 Feb 2016 15:10:04 +0000 (16:10 +0100)]
luci-base: cbi: remove duplicate id from template

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: fixed tabbed map when using NamedSection of same type 644/head
Christian Schoenebeck [Mon, 8 Feb 2016 20:04:23 +0000 (21:04 +0100)]
luci-base: fixed tabbed map when using NamedSection of same type

* fixed tabbed map when using NamedSection of same sectiontype
* add error message on which tab(s) the invalid/required fields are located

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
8 years agoMerge pull request #643 from chris5560/master
Christian Schoenebeck [Sun, 7 Feb 2016 21:10:21 +0000 (22:10 +0100)]
Merge pull request #643 from chris5560/master

luci-app-radicale: bump to version 1.1.0

8 years agotimezone data: update to 2016a
Hannu Nyman [Sun, 7 Feb 2016 10:28:16 +0000 (12:28 +0200)]
timezone data: update to 2016a

Update timezone data to 2016a.

http://mm.icann.org/pipermail/tz-announce/2016-January/000035.html

   Changes affecting future time stamps

     America/Cayman will not observe daylight saving this year after all.
     Revert our guess that it would.  (Thanks to Matt Johnson.)

     Asia/Chita switches from +0800 to +0900 on 2016-03-27 at 02:00.
     (Thanks to Alexander Krivenyshev.)

     Asia/Tehran now has DST predictions for the year 2038 and later,
     to be March 21 00:00 to September 21 00:00.  This is likely better
     than predicting no DST, albeit off by a day every now and then.

   Changes affecting past and future time stamps

     America/Metlakatla switched from PST all year to AKST/AKDT on
     2015-11-01 at 02:00.  (Thanks to Steffen Thorsen.)

     America/Santa_Isabel has been removed, and replaced with a
     backward compatibility link to America/Tijuana.  Its contents were
     apparently based on a misreading of Mexican legislation.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoluci-app-radicale: bump to version 1.1.0 643/head
Christian Schoenebeck [Sun, 7 Feb 2016 08:30:29 +0000 (09:30 +0100)]
luci-app-radicale: bump to version 1.1.0

- support Radicale > v1.1
- modified version detection
- adaption to new function version_compare() in ipkg.lua
- adaption to fixed Flag.parse() in cbi.lua
- adaption to new property map.tabbed in cbi.lua using map template with extensions
- change optional values to non optional
- add support new option "system.boot_delay"

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
8 years agoMerge pull request #641 from chris5560/master_ddns
Christian Schoenebeck [Sun, 7 Feb 2016 07:26:57 +0000 (08:26 +0100)]
Merge pull request #641 from chris5560/master_ddns

luci-app-ddns: some fixes

8 years agoluci-app-ddns: some fixes 641/head
Christian Schoenebeck [Sat, 6 Feb 2016 15:33:59 +0000 (16:33 +0100)]
luci-app-ddns: some fixes

- fixes for https://dev.openwrt.org/ticket/21787
- changed detection of BusyBox nslookup compiled with musl, thanks to Arjen de Korte

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
8 years agoi18n: Sync translations
Hannu Nyman [Wed, 3 Feb 2016 09:43:10 +0000 (11:43 +0200)]
i18n: Sync translations

Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoMerge pull request #638 from hnyman/statping
Hannu Nyman [Tue, 2 Feb 2016 13:05:43 +0000 (15:05 +0200)]
Merge pull request #638 from hnyman/statping

luci-app-statistics: Remove usually empty std.dev. graph from ping page

8 years agoluci-app-statistics: Remove usually empty std.dev. graph from ping page 638/head
Hannu Nyman [Tue, 2 Feb 2016 12:22:16 +0000 (14:22 +0200)]
luci-app-statistics: Remove usually empty std.dev. graph from ping page

Remove the usually empty standard deviation graph from the ping page.

The graph is empty for most users as collectd measures standard deviation
of individual pings inside the general interval of statistics collection.
Default setting for both ping interval and general collection interval
is 30s in Luci statistics, meaning just 1 ping per interval, which
leads to empty graph.

(To provide relveant data, the ping interval should be 1/4-1/5 of the
general collection interval. Even then the graph does not look very
informative due to different scaling than the latency graph.)

Note that this commit does not change collectd itself, which continues
to collect and calculate also the std.dev. data, which can be fetched
with 'rrdtool' if needed.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoluci-base: fix parsing of non-TCP streams in conntrack table
Jo-Philipp Wich [Tue, 2 Feb 2016 10:52:33 +0000 (11:52 +0100)]
luci-base: fix parsing of non-TCP streams in conntrack table

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoFix embedded links: github instead of luci.subsignal.org
Hannu Nyman [Tue, 2 Feb 2016 10:07:16 +0000 (12:07 +0200)]
Fix embedded links: github instead of luci.subsignal.org

Fix links to point into Github repo instead of luci.subsignal.org
 - the hint to file a bug in dispatcher
 - footers of Bootstrap and Firefunk themes

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoMerge pull request #637 from matthewreeve/patch-1
Jo-Philipp Wich [Tue, 2 Feb 2016 08:39:35 +0000 (09:39 +0100)]
Merge pull request #637 from matthewreeve/patch-1

luci-mod-admin-full: Identity field is required for EAP-TLS, too.

8 years agoIdentity field is required for EAP-TLS, too. 637/head
matthewreeve [Tue, 2 Feb 2016 00:40:32 +0000 (17:40 -0700)]
Identity field is required for EAP-TLS, too.

This patch enables editing the Identity field in EAP-TLS so that EAP-TLS configuration via LuCI works.

8 years agoMerge pull request #634 from chris5560/master
Christian Schoenebeck [Sun, 31 Jan 2016 19:25:16 +0000 (20:25 +0100)]
Merge pull request #634 from chris5560/master

luci-app-ddns: bump to version 2.4.0-1

8 years agoluci-app-ddns: bump to version 2.4.0-1 634/head
Christian Schöenebeck [Sat, 30 Jan 2016 18:32:55 +0000 (19:32 +0100)]
luci-app-ddns: bump to version 2.4.0-1

- fixes for #611 and #620
- adaptions for ddns-scripts 2.6.0
-- add hint for problems with BusyBox nslookup compiled with musl and offer installing hostip package
-- add hint for not installed certificates inside /etc/ssl/certs and offer installing ca-certificates package https://github.com/openwrt/packages/pull/2243
-- check if malfunctional BusyBox nslookup installed, so disable using option dns_server if not Bind host or hostip installed
- optimizations
- cleanup: remove .po files without any translations

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
8 years agoluci-app-firewall: drop_invalid is default on in OpenWrt now
Jo-Philipp Wich [Fri, 29 Jan 2016 17:50:12 +0000 (18:50 +0100)]
luci-app-firewall: drop_invalid is default on in OpenWrt now

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoUse numeric prefixes for uci-defaults scripts
Jo-Philipp Wich [Wed, 27 Jan 2016 15:47:23 +0000 (16:47 +0100)]
Use numeric prefixes for uci-defaults scripts

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-mod-admin-full: only offer VHT rates which are actually supported by the driver
Jo-Philipp Wich [Mon, 25 Jan 2016 17:16:37 +0000 (18:16 +0100)]
luci-mod-admin-full: only offer VHT rates which are actually supported by the driver

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-mod-admin-full: map DHCPv6 DUIDs to MACs
Jo-Philipp Wich [Mon, 25 Jan 2016 16:54:38 +0000 (17:54 +0100)]
luci-mod-admin-full: map DHCPv6 DUIDs to MACs

Map DUIDs to their corresponding MAC addresses in order to correlate them with
IPv4 information. This is useful to e.g. identify IPv6 hosts which do not send
a name.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-mod-admin-full: fix displaying of VHT rates (#533)
Jo-Philipp Wich [Mon, 25 Jan 2016 16:07:40 +0000 (17:07 +0100)]
luci-mod-admin-full: fix displaying of VHT rates (#533)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: fix initialization of MultiValue options
Jo-Philipp Wich [Sat, 23 Jan 2016 16:34:37 +0000 (17:34 +0100)]
luci-base: fix initialization of MultiValue options

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoMerge pull request #629 from chris5560/master
Jo-Philipp Wich [Sat, 23 Jan 2016 16:09:27 +0000 (17:09 +0100)]
Merge pull request #629 from chris5560/master

sys.lua _nethints(): read location of dhcp.lease file from uci

8 years agosys.lua _nethints(): read location of dhcp.lease file from uci 629/head
Christian Schoenebeck [Thu, 21 Jan 2016 21:17:05 +0000 (22:17 +0100)]
sys.lua _nethints(): read location of dhcp.lease file from uci

status.lua - change default directory of dhcp.leases file
sys.lua - read location of dhcp.leases file from uci

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
8 years agoluci-mod-admin-full: align assoclist in wifi overview with status index page
Jo-Philipp Wich [Wed, 20 Jan 2016 16:29:40 +0000 (17:29 +0100)]
luci-mod-admin-full: align assoclist in wifi overview with status index page

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: luci.sys.net: use luci.ip.neighbors() instead of /proc/net/arp
Jo-Philipp Wich [Wed, 20 Jan 2016 16:27:51 +0000 (17:27 +0100)]
luci-base: luci.sys.net: use luci.ip.neighbors() instead of /proc/net/arp

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-mod-admin-full: show more information in assoc list (#540)
Jo-Philipp Wich [Wed, 20 Jan 2016 15:59:31 +0000 (16:59 +0100)]
luci-mod-admin-full: show more information in assoc list (#540)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-theme-bootstrap: add new utility class for table valign, minor tweaks
Jo-Philipp Wich [Wed, 20 Jan 2016 15:59:00 +0000 (16:59 +0100)]
luci-theme-bootstrap: add new utility class for table valign, minor tweaks

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: add luci.sys.net.host_hints() and regenerate documentation
Jo-Philipp Wich [Wed, 20 Jan 2016 15:55:15 +0000 (16:55 +0100)]
luci-base: add luci.sys.net.host_hints() and regenerate documentation

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-mod-admin-full: fix device selection in wireless and bandwidth realtime stats
Jo-Philipp Wich [Wed, 20 Jan 2016 12:45:27 +0000 (13:45 +0100)]
luci-mod-admin-full: fix device selection in wireless and bandwidth realtime stats

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-mod-admin-full: fx crash in interface model
Jo-Philipp Wich [Wed, 20 Jan 2016 09:52:30 +0000 (10:52 +0100)]
luci-mod-admin-full: fx crash in interface model

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoMerge pull request #626 from dangowrt/improve-wpa-eap
Jo-Philipp Wich [Tue, 19 Jan 2016 10:08:46 +0000 (11:08 +0100)]
Merge pull request #626 from dangowrt/improve-wpa-eap

luci-admin-full: improve WPA(2)-Enterprise client support

8 years agoluci-theme-bootstrap: css fix for map level tabs
Jo-Philipp Wich [Tue, 19 Jan 2016 10:00:15 +0000 (11:00 +0100)]
luci-theme-bootstrap: css fix for map level tabs

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-admin-full: improve WPA(2)-Enterprise client support 626/head
Daniel Golle [Sun, 17 Jan 2016 23:25:05 +0000 (00:25 +0100)]
luci-admin-full: improve WPA(2)-Enterprise client support

* add more WPA-EAP phase2 authentication methods.
* client cert, client key and key password are only relevant for
  WPA EAP-TLS, change dependency accordingly.
* add support for certificates and key for EAP-TLS phase2 auth.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years agoluci-base: cbi: optimize tab hide logic
Jo-Philipp Wich [Tue, 19 Jan 2016 09:36:42 +0000 (10:36 +0100)]
luci-base: cbi: optimize tab hide logic

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: cbi: fix event binding js
Jo-Philipp Wich [Tue, 19 Jan 2016 09:36:04 +0000 (10:36 +0100)]
luci-base: cbi: fix event binding js

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: add missing Lua side changes for new dependency code
Jo-Philipp Wich [Tue, 19 Jan 2016 07:07:28 +0000 (08:07 +0100)]
luci-base: add missing Lua side changes for new dependency code

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: cbi: prevent unintended focus on combobox init
Jo-Philipp Wich [Mon, 18 Jan 2016 19:14:47 +0000 (20:14 +0100)]
luci-base: cbi: prevent unintended focus on combobox init

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: cbi: refactor event handling js
Jo-Philipp Wich [Mon, 18 Jan 2016 18:34:02 +0000 (19:34 +0100)]
luci-base: cbi: refactor event handling js

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: cbi: fix reverse field order after dependency change
Jo-Philipp Wich [Mon, 18 Jan 2016 17:59:14 +0000 (18:59 +0100)]
luci-base: cbi: fix reverse field order after dependency change

When fields got removed and readded due to unsatisfied dependencies, they
got inserted in reverse order into the dom.

Fix this issue by properly passing the element index.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: refactor cbi dependency handling code
Jo-Philipp Wich [Mon, 18 Jan 2016 16:05:36 +0000 (17:05 +0100)]
luci-base: refactor cbi dependency handling code

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: improve tab hide logic
Jo-Philipp Wich [Mon, 18 Jan 2016 10:23:07 +0000 (11:23 +0100)]
luci-base: improve tab hide logic

Do not rely on explicit child counts but inspect the code instead to decide
when to hide tabs or not.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-theme-bootstrap: style fixes for map level tabs and disabled buttons
Jo-Philipp Wich [Mon, 18 Jan 2016 10:06:35 +0000 (11:06 +0100)]
luci-theme-bootstrap: style fixes for map level tabs and disabled buttons

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: add extra css class for map level tabs, don't track tab child count
Jo-Philipp Wich [Mon, 18 Jan 2016 10:04:15 +0000 (11:04 +0100)]
luci-base: add extra css class for map level tabs, don't track tab child count

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: do not render section description tag when description is empty
Jo-Philipp Wich [Mon, 18 Jan 2016 09:59:07 +0000 (10:59 +0100)]
luci-base: do not render section description tag when description is empty

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-mod-admin-full: prevent crash if channel of sta is unknown (#624)
Jo-Philipp Wich [Sun, 17 Jan 2016 18:04:02 +0000 (19:04 +0100)]
luci-mod-admin-full: prevent crash if channel of sta is unknown (#624)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-theme-bootstrap: fix menu url generation (#625)
Jo-Philipp Wich [Sun, 17 Jan 2016 16:59:37 +0000 (17:59 +0100)]
luci-theme-bootstrap: fix menu url generation (#625)

Also untangle Lua code and markup for better readability, use tabs for
indentation and build_url() to construct paths instead of concatenating
them manually.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoMerge pull request #593 from Umeaboy/patch-12
Jo-Philipp Wich [Fri, 15 Jan 2016 18:23:53 +0000 (19:23 +0100)]
Merge pull request #593 from Umeaboy/patch-12

luci-app-splash: Edited Swedish translation

8 years agoUpdated Swedish translation 593/head
Kristoffer Grundström [Fri, 15 Jan 2016 18:21:57 +0000 (19:21 +0100)]
Updated Swedish translation

Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
8 years agoluci-base: add basic support for CBI map level tabbing
Jo-Philipp Wich [Fri, 15 Jan 2016 16:42:40 +0000 (17:42 +0100)]
luci-base: add basic support for CBI map level tabbing

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: prevent CBI map save on invalid values (#618)
Jo-Philipp Wich [Fri, 15 Jan 2016 16:04:28 +0000 (17:04 +0100)]
luci-base: prevent CBI map save on invalid values (#618)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: initialize CBI optionals on initial Map render (#618)
Jo-Philipp Wich [Fri, 15 Jan 2016 15:39:01 +0000 (16:39 +0100)]
luci-base: initialize CBI optionals on initial Map render (#618)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoMerge pull request #563 from cshore/pull-request-app-uhttpd
Jo-Philipp Wich [Fri, 15 Jan 2016 14:20:41 +0000 (15:20 +0100)]
Merge pull request #563 from cshore/pull-request-app-uhttpd

Pull request app uhttpd

8 years agoMerge pull request #613 from tsl0922/tsl0922-patch-1
Jo-Philipp Wich [Fri, 15 Jan 2016 14:17:42 +0000 (15:17 +0100)]
Merge pull request #613 from tsl0922/tsl0922-patch-1

luci-theme-material: set default font-size to 13px

8 years agoluci-mod-admin-full: avoid indexing iw.hwmodelist directly
Jo-Philipp Wich [Fri, 15 Jan 2016 13:13:44 +0000 (14:13 +0100)]
luci-mod-admin-full: avoid indexing iw.hwmodelist directly

Prevent a nil field access when hwmodelist is undefined.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: properly handle ubus connections for non-root (#570, #571)
Jo-Philipp Wich [Wed, 9 Dec 2015 19:32:12 +0000 (20:32 +0100)]
luci-base: properly handle ubus connections for non-root (#570, #571)

Instead of relying on the connect-before-setuid hack, ship a proper
acl definition file whitelisting the procedures that LuCI requires
on its non-root pages.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-proto-ipv6: allow hostnames for dslite peer addresses (#621)
Jo-Philipp Wich [Sun, 10 Jan 2016 12:19:34 +0000 (13:19 +0100)]
luci-proto-ipv6: allow hostnames for dslite peer addresses (#621)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agocommunity-profiles/cottbus: fix some invalid characters
Manuel Munz [Mon, 4 Jan 2016 22:19:26 +0000 (23:19 +0100)]
community-profiles/cottbus: fix some invalid characters

8 years agoa cleaner solution for disabling dyngw and dyngw_plain in freifunk-policyrouting...
Manuel Munz [Mon, 4 Jan 2016 21:34:55 +0000 (22:34 +0100)]
a cleaner solution for disabling dyngw and dyngw_plain in freifunk-policyrouting init

8 years agoMerge pull request #619 from FreifunkHalle/updateProfileHalle
Manuel Munz [Mon, 4 Jan 2016 21:20:47 +0000 (22:20 +0100)]
Merge pull request #619 from FreifunkHalle/updateProfileHalle

update community profile halle

8 years agochange community profile halle 619/head
mfuhrmeister [Mon, 31 Mar 2014 15:06:18 +0000 (17:06 +0200)]
change community profile halle

8 years agoMerge pull request #616 from chris5560/master
Christian Schoenebeck [Thu, 31 Dec 2015 11:20:42 +0000 (12:20 +0100)]
Merge pull request #616 from chris5560/master

luci-app-ddns: removing unneeded assert

8 years agoluci-app-ddns: removing unneeded assert 616/head
Christian Schoenebeck [Thu, 31 Dec 2015 11:14:13 +0000 (12:14 +0100)]
luci-app-ddns: removing unneeded assert

- remove unneeded assert() in tools/ddns.lua
- correct PKG_VERSION to the correct value from controller/ddns.lua

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>