Commit graph

8219 commits

Author SHA1 Message Date
Lutty Yang
aede64fd78 luci-theme-material: Rasterization Code
Signed-off-by: Lutty Yang <lutty@wcan.in>
2016-02-18 20:34:30 +08:00
Lutty Yang
c63f8be459 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>
2016-02-18 20:29:19 +08:00
Jo-Philipp Wich
99f5d4e902 luci-base: cbi.js: properly round down numbers for %u and %d patterns
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-02-17 16:33:34 +01:00
Hannu Nyman
21bf16ce04 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>
2016-02-16 22:28:46 +02:00
Jo-Philipp Wich
a860de860a 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>
2016-02-15 12:45:42 +01:00
Jo-Philipp Wich
5cfad4338f luci-app-firewall: rely on auto-serialization for combobox choices
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-02-10 19:38:44 +01:00
Jo-Philipp Wich
5b09d39e9c luci-base: cbi: rely on auto-serialization for combobox choices
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-02-10 19:36:37 +01:00
Jo-Philipp Wich
afdc349ab4 luci-base: cbi: rework ListValue and MultiValue templates
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-02-10 19:33:01 +01:00
Jo-Philipp Wich
8f409a45ab luci-base: dispatcher: let attr() automatically serialize JSON
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-02-10 19:31:10 +01:00
Jo-Philipp Wich
9ce798abd4 luci-base: cbi: properly handle dependant elements without parent
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-02-10 19:29:34 +01:00
Jo-Philipp Wich
58e2f557da luci-base: cbi: only spawn dynlist sub-comboboxes if choices are available
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-02-10 18:23:39 +01:00
Jo-Philipp Wich
f33695d456 luci-app-firewall: align custom cbi teplates with new code
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-02-10 18:13:53 +01:00
Jo-Philipp Wich
6d126649f0 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>
2016-02-10 18:11:49 +01:00
Jo-Philipp Wich
4990ec831c luci-mod-admin-full: fix direct package install
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-02-10 13:42:56 +01:00
Jo-Philipp Wich
5e113afdd7 luci-theme-openwrt: untangle & refactor header.htm code
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-02-10 13:41:06 +01:00
Jo-Philipp Wich
76041e7f99 luci-theme-openwrt: add some style fixes for interface badges
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-02-10 00:47:37 +01:00
Jo-Philipp Wich
cd85ef388c luci-base: fix dependency handling of optionals (#645)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-02-09 16:12:02 +01:00
Jo-Philipp Wich
84de513a79 luci-base: cbi: remove duplicate id from template
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-02-09 16:12:02 +01:00
Christian Schoenebeck
5fdfd903f4 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>
2016-02-08 21:04:23 +01:00
Christian Schoenebeck
cde9a6234e Merge pull request #643 from chris5560/master
luci-app-radicale: bump to version 1.1.0
2016-02-07 22:10:21 +01:00
Hannu Nyman
9b5724d39e 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>
2016-02-07 12:28:16 +02:00
Christian Schoenebeck
026ac8d033 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>
2016-02-07 09:30:29 +01:00
Christian Schoenebeck
26d009aff9 Merge pull request #641 from chris5560/master_ddns
luci-app-ddns: some fixes
2016-02-07 08:26:57 +01:00
Christian Schoenebeck
e4856c7631 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>
2016-02-06 16:33:59 +01:00
Hannu Nyman
8ae57f6204 i18n: Sync translations
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-02-03 11:43:10 +02:00
Hannu Nyman
1adf81aa77 Merge pull request #638 from hnyman/statping
luci-app-statistics: Remove usually empty std.dev. graph from ping page
2016-02-02 15:05:43 +02:00
Hannu Nyman
8f8957f90f 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>
2016-02-02 14:34:10 +02:00
Jo-Philipp Wich
d65235f64a luci-base: fix parsing of non-TCP streams in conntrack table
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-02-02 11:52:51 +01:00
Hannu Nyman
c2cf5d1855 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>
2016-02-02 12:07:16 +02:00
Jo-Philipp Wich
6d7b293692 Merge pull request #637 from matthewreeve/patch-1
luci-mod-admin-full: Identity field is required for EAP-TLS, too.
2016-02-02 09:39:35 +01:00
matthewreeve
4074440529 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.
2016-02-01 17:40:32 -07:00
Christian Schoenebeck
6982bbb3fe Merge pull request #634 from chris5560/master
luci-app-ddns: bump to version 2.4.0-1
2016-01-31 20:25:16 +01:00
Christian Schöenebeck
7f57a70110 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>
2016-01-30 19:32:55 +01:00
Jo-Philipp Wich
2e92c0718a luci-app-firewall: drop_invalid is default on in OpenWrt now
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-29 18:50:24 +01:00
Jo-Philipp Wich
8eaac4b637 Use numeric prefixes for uci-defaults scripts
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-27 16:50:19 +01:00
Jo-Philipp Wich
445ae20db8 luci-mod-admin-full: only offer VHT rates which are actually supported by the driver
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-25 18:16:37 +01:00
Jo-Philipp Wich
02a93bca50 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>
2016-01-25 17:54:44 +01:00
Jo-Philipp Wich
4f47a18bb1 luci-mod-admin-full: fix displaying of VHT rates (#533)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-25 17:07:40 +01:00
Jo-Philipp Wich
61239741d8 luci-base: fix initialization of MultiValue options
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-23 17:34:53 +01:00
Jo-Philipp Wich
8d451c77c1 Merge pull request #629 from chris5560/master
sys.lua _nethints(): read location of dhcp.lease file from uci
2016-01-23 17:09:27 +01:00
Christian Schoenebeck
f779b00d88 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>
2016-01-21 22:17:05 +01:00
Jo-Philipp Wich
63d70daae1 luci-mod-admin-full: align assoclist in wifi overview with status index page
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-20 17:29:40 +01:00
Jo-Philipp Wich
df7ab69eba luci-base: luci.sys.net: use luci.ip.neighbors() instead of /proc/net/arp
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-20 17:27:51 +01:00
Jo-Philipp Wich
258836441b luci-mod-admin-full: show more information in assoc list (#540)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-20 16:59:31 +01:00
Jo-Philipp Wich
c1f7cb36b8 luci-theme-bootstrap: add new utility class for table valign, minor tweaks
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-20 16:59:06 +01:00
Jo-Philipp Wich
c23885f6a7 luci-base: add luci.sys.net.host_hints() and regenerate documentation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-20 16:56:25 +01:00
Jo-Philipp Wich
e0988b089b luci-mod-admin-full: fix device selection in wireless and bandwidth realtime stats
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-20 13:45:27 +01:00
Jo-Philipp Wich
e03f2b780a luci-mod-admin-full: fx crash in interface model
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-20 10:52:37 +01:00
Jo-Philipp Wich
8630a1dbfb Merge pull request #626 from dangowrt/improve-wpa-eap
luci-admin-full: improve WPA(2)-Enterprise client support
2016-01-19 11:08:46 +01:00
Jo-Philipp Wich
c57d60e3e6 luci-theme-bootstrap: css fix for map level tabs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-19 11:00:15 +01:00