Commit graph

7983 commits

Author SHA1 Message Date
Hannu Nyman
f4a67353a7 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>
2016-02-28 23:03:14 +02:00
Hannu Nyman
06cf8b1b6f i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-02-26 15:17:01 +02:00
Hannu Nyman
dd0848b3fa 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>
2016-02-26 13:48:36 +02:00
Jo-Philipp Wich
55597da3a8 luci-base: cbi: fix misplaced ID in nullsection template
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-02-24 17:40:53 +01:00
Jo-Philipp Wich
e78759ad5a luci-base: cbi: also initialize JS if pageactions are disabled
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-02-24 17:40:01 +01:00
Jo-Philipp Wich
385a49277a luci-base: cbi: fix dependency handling of list and multivalues with radio/checkbox widgets
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-02-23 09:27:25 +01:00
Hannu Nyman
1f4f828503 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>
2016-02-22 22:23:05 +02:00
Hannu Nyman
e270083cfe 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>
2016-02-21 17:39:19 +02:00
Jo-Philipp Wich
4323935a1e luci-base: luci.sys: canonicalize src and dest addrs in luci.sys.net.conntrack()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-02-20 22:14:47 +01:00
Hannu Nyman
6ee5c593b3 luci-app-adblock: Add support for optional config values
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-02-20 12:34:16 +02:00
Jo-Philipp Wich
3b86fd1d1b luci-base: cbi: fix button handling for dynamic lists
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-02-19 17:21:06 +01:00
Hannu Nyman
3749c45f80 luci-app-adblock: Beautify blocklist selection table and reorganise
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-02-19 12:13:44 +02:00
Christian Schoenebeck
77f5390472 Merge pull request #644 from chris5560/master
luci-base: fixed tabbed map when using NamedSection of same type
2016-02-18 19:25:41 +01:00
Hannu Nyman
7e60685071 Merge pull request #647 from LuttyYang/master
luci-theme-material: Decrease font and spacing
2016-02-18 15:06:43 +02:00
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