Commit graph

8075 commits

Author SHA1 Message Date
Hannu Nyman
e87132021b luci-app-adblock: support 1.16
Add support for 'adb_restricted'

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-06-03 17:24:56 +03:00
Hannu Nyman
1709800150 luci-base: fix whitespace
change spaces to tabs

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-06-03 10:35:37 +03:00
Hannu Nyman
b6cdf3706b Merge pull request #732 from kuoruan/aria2
luci-app-aria2: Add package
2016-06-02 11:53:30 +03:00
Hsing-Wang Liao
c88aea6277 luci-app-aria2: Add package
LuCI Support for Aria2

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-05-30 21:27:22 +08:00
Hannu Nyman
f4af114dbc i18n: sync translations
sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-05-30 10:24:47 +03:00
Hannu Nyman
b2a44218af Merge pull request #730 from kuoruan/luci-master
luci-app-adblock: Add translation
2016-05-30 10:16:13 +03:00
kuoruan
77c1a89b3b luci-app-adblock: Add Simplified Chinese translation
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-05-30 08:55:12 +08:00
kuoruan
56e2e967b4 luci-app-adblock: Add po templates
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-05-30 08:54:20 +08:00
Hannu Nyman
c46963613f luci-app-adblock: support adb_fetchttl option
Support adb_fetchttl options from adblock 1.1.15

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-05-26 19:01:12 +03:00
Hannu Nyman
285ef06e5f Merge pull request #727 from LipkeGu/patch-1
ModulesHowTo: Fix typo
2016-05-26 10:18:04 +03:00
Hannu Nyman
e336dbed39 luci-base: remove deprecated 6relayd from ucitrack
Cleanup /etc/config/ucitrack by removing '6relayd' item,
as the whole 6relayd package was removed in 2014.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-05-25 22:26:36 +03:00
Jo-Philipp Wich
9ad8a0695a Merge pull request #728 from LipkeGu/luci-admin-system-fstab-ui
luci-mod-admin-full: Look also if the file /etc/config/fstab exists.
2016-05-23 13:33:04 +02:00
Guido Lipke
350ace2524 luci-mod-admin-full: Look also if the file /etc/config/fstab exists.
This pull request adds a condition, which checks whether the file "/etc/config/fstab" exists before it allows access to "mount points".

Signed-off-by: Guido Lipke <lipkegu@gmail.com>
2016-05-23 13:16:04 +02:00
Guido L
b01b2aa8b4 ModulesHowTo: Fix typo
Signed-off-by: Guido Lipke <lipkegu@gmail.com>
2016-05-23 02:50:01 +02:00
Hannu Nyman
6415c04d13 Merge pull request #723 from 981213/pr_disable_pattern
luci-base:Turn off pattern matching when generating distversion
2016-05-14 10:37:07 +03:00
Chuanhong Guo
c1f0a9971a luci-base:Turn off pattern matching when generating distversion
Otherwize the distrevision may be displayed twice if it contains some special matching patterns.(For example I am using "git-$hash" in my own OpenWrt branch.)
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2016-05-14 11:46:28 +08:00
Hannu Nyman
b213573682 luci-app-statistics: option for max/avg data when not rrasingle
Introduce option that enables the user to select max values
instead of averages for graphs if the user has disabled RRAsingle.

The option defaults to average values, which have been the default
in Luci statistics.

Remove 'optional' from RRASingle, as it is a key option for statistics.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-05-12 10:26:59 +03:00
Hannu Nyman
0c09e4e23f Merge pull request #721 from kdarbyshirebryant/maxrrdtool
Graph the max value rather than avg if rrdsingle disabled
2016-05-12 10:24:42 +03:00
Kevin Darbyshire-Bryant
f960a52868 Graph the max value rather than avg if rrdsingle disabled
With rrdsingle the average values are used for graphing. As the
timescale increases (say over a day or month) the average values
progressively reduce.  Using the maximum value over the longer periods
is arguably no less deceptive but it does produce more informative
graphs.

V2 - Invert the default path logic related to rra.single

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
2016-05-11 13:41:54 +01:00
Hannu Nyman
650c0314a6 Merge pull request #717 from Umeaboy/patch-25
Update wshaper.po
2016-05-10 22:25:35 +03:00
Kristoffer Grundström
37b7c3e868 Update wshaper.po 2016-05-10 18:29:55 +02:00
Hannu Nyman
76fea3e278 Merge pull request #707 from SvenRoederer/fix/freifunk-communitysetting-selection/master
luci-mod-freifunk: fix lookup of community-name
2016-05-10 12:31:38 +03:00
Christian Schoenebeck
2acf3862cb Merge pull request #715 from chris5560/master
luci-app-ddns: adapt to support khost (Knot DNS) and drill (ddns-scri…
2016-05-08 19:29:02 +02:00
Christian Schoenebeck
db8bb549aa luci-app-ddns: adapt to support khost (Knot DNS) and drill (ddns-scripts 2.7.1)
adapt to support khost (Knot DNS) and drill (ddns-scripts 2.7.1)

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-05-08 19:26:53 +02:00
Hannu Nyman
219e52ee8e Merge pull request #703 from t0t3m1n/fix_snr
luci-mod-admin-full: fix wrong dsl stats visualization
2016-05-02 11:01:27 +03:00
Hannu Nyman
c5387a96a6 Merge pull request #709 from SvenRoederer/update_community-profiles/master
freifunk-profiles: remove depreciated profiles
2016-05-02 11:00:27 +03:00
Sven Roederer
c89bf97efa freifunk-profiles: remove depreciated profiles
- 31C3: this was used back in 2014, looking forward for new the congress
- seefeld: died in march 2013 ... (as per note on their Wiki-page)

Signed-off-by: Sven Roederer devel-sven@geroedel.de
2016-05-01 22:38:21 +02:00
Hannu Nyman
b9dbf1bc2c luci-mod-admin-full: dnsmasq options quietdhcp and sequential_ip
Add support for dnsmasq uci options 'quietdhcp' and 'sequential_ip'
(disable logging, allocate ip addresses sequentially)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-05-01 23:30:29 +03:00
Hannu Nyman
3bf4157184 i18n: sync translations
Sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-05-01 16:03:50 +03:00
Hannu Nyman
96c5069ca6 luci-app-adblock: adjust to change in option name
Change also the adb_nullport option name to match 1.1.0

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-05-01 10:51:04 +03:00
Hannu Nyman
b45520011f luci-app-adblock: match adblock 1.1.0
Update the luci app to match adblock 1.1.0
Add support for showing blocklist status info.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-05-01 02:55:45 +03:00
Sven Roederer
61c7157a66 luci-mod-freifunk: fix lookup of community-name
restore the lookup of the freifunk community-name stored in
uci "freifunk.community.name".
In 9780ee382e
the value changed to the complete path of the community-profile, e.g.
"/etc/config/profile_berlin". This causes lookup problems on other
pages, like "mod-freifunk -> overview -> index" (view/freifunk/index.htm line37, line 54).
And as the option suggests it's the community-name not the community-profile path.

Signed-off-by: Sven Roederer devel-sven@geroedel.de
2016-04-28 02:41:35 +02:00
Jo-Philipp Wich
313e325ab1 luci-base: fix syntax error in luci.model.network
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-04-26 21:02:51 +02:00
Jo-Philipp Wich
182506113d luci-base: add more ignore patterns to luci.model.network
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-04-26 21:01:18 +02:00
Jo-Philipp Wich
4983a9b034 luci-base: fix luci.model.network.ignore_interface()
Fix the underlying _iface_ignore() function to not ignore virtual interfaces,
in order to let ignore_interface() return true for PPP and similar devices.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-04-26 21:01:18 +02:00
Manuel Munz
9151103356 Merge pull request #706 from KevinOConnor/anonidentity-20160407
luci-mod-admin-full: Add option to set anonymous_identity field
2016-04-25 16:06:10 +02:00
Luca Debernardi
0490374445 luci-mod-admin-full: fix wrong dsl stats visualization
This patch fixes the wrong visualization of Noise Margin (SNR) and Signal Attenuation (SATN) stats

Signed-off-by: Luca Debernardi <luca.debernardi@gmail.com>
2016-04-18 21:21:59 +02:00
Hannu Nyman
51a7f96877 luci-base: read odhcpd leasefile location via uci
Check the location of the odhcpd leasefile from /etc/config/dhcp
via uci. Fallback to the default location.

This fixes #702

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-04-17 12:12:54 +03:00
Hannu Nyman
4612c241d2 luci-app-transmission: remove dependency on transmission-daemon
transmission-daemon was split to -openssl and -polarssl variants,
so the old dependency needs to be removed.

luci-app-transmission will not install the transmission package
from now on. Instead the required transmission-daemon variant
needs to be installed separately.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-04-16 12:14:53 +03:00
Christian Schoenebeck
9c77aea4df Merge pull request #700 from chris5560/master
fix problem not correctly handling "Bind Network" field
2016-04-09 19:46:11 +02:00
Christian Schoenebeck
c2f22c90ac fix problem not correctly handling "Bind Network" field
- fix problem not correctly handling "Bind Network" field #699
- some german translation extensions

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-04-09 19:44:08 +02:00
Hannu Nyman
cae7d7a301 Merge pull request #698 from cshore/pull-request-fix-lib-depends
luci-base: utils: Make checklib return a boolean
2016-04-08 09:24:38 +03:00
Daniel Dickinson
97f2937034 luci-base: utils: Make checklib return a boolean
Using tristate is counter-intuitive and probably doesn't provide a lot
of benefit so we use a boolean and treat "don't know" as false (because
it is safer than showing options that are not actually available).

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
2016-04-08 02:18:42 -04:00
Kevin O'Connor
d50d11ad52 luci-mod-admin-full: Add option to set anonymous_identity field
Add support for setting the "anonymous_identity" field on EAP type
networks.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2016-04-07 12:09:00 -04:00
Jo-Philipp Wich
c5c199bc00 Merge pull request #692 from oskarirauta/master
Update network.lua
2016-04-01 14:31:10 +02:00
Oskari Rauta
57e58b9bf9 Update network.lua
Fix display of WAN status when WAN is provided by using WWAN device or similar with other similar similar methods.
Explanation:
Before this, protocol was fetched from /etc/config/network for interface which often is wan_4 - but protocol is configured in file as wan, and therefore protocol is always none, since configuration is made for wan and then setup as wan_4 and possibly wan_6 if ipv6 is being used. This commit uses ubus to get used active protocol. For example, in case of qmi, it displays protocol as dhcp since even if I configured wan to use qmi, dhcp was used as a protocol for getting IP address.
2016-04-01 04:15:11 +00:00
Jo-Philipp Wich
75b462fe46 luci-app-firewall: capitalize weekday names (#691)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-03-31 14:27:29 +02:00
Hannu Nyman
2c1777582c Merge pull request #688 from Wedmer/master
[luci-app-openvpn] Optimized code and added suggested fix from #650
2016-03-30 15:29:01 +03:00
Hannu Nyman
859e435378 timezone data: update to 2016c
Update timezone data to 2016c.

2016b: http://mm.icann.org/pipermail/tz-announce/2016-March/000036.html

   Changes affecting future time stamps

     New zones Europe/Astrakhan and Europe/Ulyanovsk for Astrakhan and
     Ulyanovsk Oblasts, Russia, both of which will switch from +03 to +04
     on 2016-03-27 at 02:00 local time.  They need distinct zones since
     their post-1970 histories disagree.  New zone Asia/Barnaul for Altai
     Krai and Altai Republic, Russia, which will switch from +06 to +07
     on the same date and local time.  Also, Asia/Sakhalin moves from +10
     to +11 on 2016-03-27 at 02:00.

     As a trial of a new system that needs less information to be made up,
     the new zones use numeric time zone abbreviations like "+04"
     instead of invented abbreviations like "ASTT".

     Haiti will not observe DST in 2016.

     Palestine's spring-forward transition on 2016-03-26 is at 01:00,
     not 00:00. Guess future transitions will be March's last Saturday
     at 01:00, not March's last Friday at 24:00.

2016c: http://mm.icann.org/pipermail/tz-announce/2016-March/000037.html

   Changes affecting future time stamps

     Azerbaijan no longer observes DST.

     Chile reverts from permanent to seasonal DST.
     Guess that future transitions are August's and May's second
     Saturdays at 24:00 mainland time.  Also, call the period from
     2014-09-07 through 2016-05-14 daylight saving time instead of
     standard time, as that seems more appropriate now.

Note for Openwrt usage:

Either musl or busybox does not like the new timezone format.
Although the rule looks ok in /etc/TZ, timezone is interpreted wrongly
by date, uptime etc. "Old timezones" are handle correctly, but these
new "<+04>-4" style zones do not work. Example below:

Europe/Helsinki
 root@OpenWrt:~# cat /etc/TZ
 EET-2EEST,M3.5.0/3,M10.5.0/4
 root@OpenWrt:~# uptime
  11:00:52 up 18:17,  load average: 0.43, 0.13, 0.11
 root@OpenWrt:~# date
 Wed Mar 30 11:00:55 EEST 2016

Europe/Astrakhan
 ( Time is showed as GMT instead of the correct zone and
   zone name is parsed wrongly )
 root@OpenWrt:~# cat /etc/TZ
 <+04>-4
 root@OpenWrt:~# uptime
  08:02:52 up 18:19,  load average: 0.17, 0.18, 0.13
 root@OpenWrt:~# date
 Wed Mar 30 08:02:59 +04>-4 2016

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-03-30 11:35:18 +03:00
Hannu Nyman
854dd66917 Merge pull request #681 from cshore/pull-request-wifi-interface-name
luci-mod-admin-full: Add option to set wireless interface name
2016-03-29 15:44:48 +03:00