project/luci.git
7 years agoMerge pull request #889 from feckert/firewall_custom_reload
Jo-Philipp Wich [Tue, 20 Dec 2016 15:22:10 +0000 (16:22 +0100)]
Merge pull request #889 from feckert/firewall_custom_reload

luci-app-firewall: restart firewall on /etc/firewall.user write

7 years agoMerge pull request #884 from chloe-jeong/trunk-ko
Hannu Nyman [Tue, 20 Dec 2016 14:21:59 +0000 (16:21 +0200)]
Merge pull request #884 from chloe-jeong/trunk-ko

Adds Korean translation.

7 years agoAdds Korean translation. 884/head
Weongyo Jeong [Wed, 14 Dec 2016 09:09:04 +0000 (18:09 +0900)]
Adds Korean translation.

Adds Korean language supported for Luci of OpenWRT.  Most of msgs which
shown at UI are translated but still not completed for non-popular
features.

Signed-off-by: Weongyo Jeong <weongyo@gmail.com>
7 years agoluci-app-adblock: Adjust to adblock 2.0
Hannu Nyman [Tue, 20 Dec 2016 11:44:11 +0000 (13:44 +0200)]
luci-app-adblock: Adjust to adblock 2.0

Modify the LuCI app to match the simplified adblock 2.0

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoluci-app-firewall: restart firewall on /etc/firewall.user write 889/head
Florian Eckert [Tue, 20 Dec 2016 10:12:42 +0000 (11:12 +0100)]
luci-app-firewall: restart firewall on /etc/firewall.user write

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
7 years agoMerge pull request #886 from musashino205/mjpg-add-ja
Hannu Nyman [Sat, 17 Dec 2016 18:05:43 +0000 (20:05 +0200)]
Merge pull request #886 from musashino205/mjpg-add-ja

luci-app-mjpg-streamer: Add Japanese translation

7 years agoluci-app-mjpg-streamer: Add Japanese translation 886/head
INAGAKI Hiroshi [Sat, 17 Dec 2016 11:41:00 +0000 (20:41 +0900)]
luci-app-mjpg-streamer: Add Japanese translation

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoMerge pull request #883 from musashino205/base-upd-ja
Hannu Nyman [Fri, 16 Dec 2016 11:05:12 +0000 (13:05 +0200)]
Merge pull request #883 from musashino205/base-upd-ja

luci-base: Update Japanese translation

7 years agoluci-base: Update Japanese translation 883/head
musashino205 [Fri, 16 Dec 2016 06:25:17 +0000 (15:25 +0900)]
luci-base: Update Japanese translation

Signed-off-by: musashino205 <musashino.open@gmail.com>
7 years agoluci-base: Update Japanese translation
musashino205 [Thu, 15 Dec 2016 18:55:25 +0000 (03:55 +0900)]
luci-base: Update Japanese translation

Signed-off-by: musashino205 <musashino.open@gmail.com>
7 years agoMerge pull request #880 from musashino205/adblock-add-ja
Hannu Nyman [Thu, 15 Dec 2016 08:11:48 +0000 (10:11 +0200)]
Merge pull request #880 from musashino205/adblock-add-ja

luci-app-adblock: Add Japanese translation

7 years agoluci-app-adblock: Add Japanese translation 880/head
musashino205 [Wed, 14 Dec 2016 19:08:30 +0000 (04:08 +0900)]
luci-app-adblock: Add Japanese translation

Signed-off-by: musashino205 <musashino.open@gmail.com>
7 years agoMerge pull request #873 from arjendekorte/patch-5
Hannu Nyman [Wed, 14 Dec 2016 08:08:37 +0000 (10:08 +0200)]
Merge pull request #873 from arjendekorte/patch-5

luci-theme-bootstrap: fix minor CSS errors

7 years agoMerge pull request #879 from bittorf/master
Hannu Nyman [Wed, 14 Dec 2016 08:08:19 +0000 (10:08 +0200)]
Merge pull request #879 from bittorf/master

freifunk-common: neigh.sh: work also with unprettyfied JSON output

7 years agofreifunk-common: neigh.sh: work also with unprettyfied JSON output 879/head
Bastian Bittorf [Tue, 13 Dec 2016 20:38:29 +0000 (21:38 +0100)]
freifunk-common: neigh.sh: work also with unprettyfied JSON output

Older OLSRd-version outputs JSON humanreadable over multiple lines.
The introduced change in 524439cd1647e5d6d7b48f9c75ec5800a5444109 broke
the output for those users. Fix that be a finer filter regex.
Thanks to Thomas Huehn <thomas@net.t-labs.tu-berlin.de> for spotting that.

7 years agoMerge pull request #870 from danrl/unbound-dns64
Hannu Nyman [Tue, 13 Dec 2016 09:04:21 +0000 (11:04 +0200)]
Merge pull request #870 from danrl/unbound-dns64

luci-app-unbound: added DNS64 support

7 years agoMerge pull request #874 from bittorf/master
Jo-Philipp Wich [Mon, 12 Dec 2016 08:03:47 +0000 (09:03 +0100)]
Merge pull request #874 from bittorf/master

freifunk-common: neigh.sh: fix for new olsrd 0.9.5

7 years agofreifunk-common: neigh.sh: fix for new olsrd 0.9.5 874/head
Bastian Bittorf [Mon, 12 Dec 2016 07:43:23 +0000 (08:43 +0100)]
freifunk-common: neigh.sh: fix for new olsrd 0.9.5

Starting with version 0.9.5 the new olsr-deamon behaves
more standard-compliant and outputs correct HTTP-headers.
This would confuse the script and abort parsing.

Fix that by only trying to parse the JSON-value and
just ignore the other stuff. After this, we can see neighbours again.

Thanks to FreifunkUFO <ufo@rund.freifunk.net> for spotting this.

7 years agoluci-app-unbound: added DNS64 support 870/head
danrl [Fri, 9 Dec 2016 19:24:09 +0000 (20:24 +0100)]
luci-app-unbound: added DNS64 support

Signed-off-by: Dan Luedtke <mail@danrl.com>
7 years agoluci-theme-bootstrap: fix minor CSS errors 873/head
Arjen de Korte [Sat, 10 Dec 2016 21:09:50 +0000 (22:09 +0100)]
luci-theme-bootstrap: fix minor CSS errors

Signed-off-by: Arjen de Korte \<build+luci@de-korte.org\>
7 years agoluci-mod-failsafe: use same string as luci-mod-admin-full
Hannu Nyman [Sat, 10 Dec 2016 17:11:50 +0000 (19:11 +0200)]
luci-mod-failsafe: use same string as luci-mod-admin-full

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoMerge pull request #821 from andrewshadura/luci-route-types
Daniel Dickinson [Sat, 10 Dec 2016 16:00:16 +0000 (11:00 -0500)]
Merge pull request #821 from andrewshadura/luci-route-types

Add support for route types

7 years agoi18n: fix some sysupgrade related string translations
Hannu Nyman [Sat, 10 Dec 2016 14:36:02 +0000 (16:36 +0200)]
i18n: fix some sysupgrade related string translations

Fix translated strings broken by recent changes.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoi18n: sync translations
Hannu Nyman [Sat, 10 Dec 2016 12:34:30 +0000 (14:34 +0200)]
i18n: sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoluci-theme-material: remove link to distro repo from footer
Hannu Nyman [Sat, 10 Dec 2016 12:26:34 +0000 (14:26 +0200)]
luci-theme-material: remove link to distro repo from footer

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoluci-mod-admin-{full,mini}: make more distro agnostic
Hannu Nyman [Sat, 10 Dec 2016 12:12:37 +0000 (14:12 +0200)]
luci-mod-admin-{full,mini}: make more distro agnostic

Remove some non-essential references to explicit distro names.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoMerge pull request #663 from NeoRaider/styleable-checkboxes
Daniel Dickinson [Sat, 10 Dec 2016 11:36:01 +0000 (06:36 -0500)]
Merge pull request #663 from NeoRaider/styleable-checkboxes

luci-base: view: make checkboxes and radio buttons styleable

7 years agoMerge pull request #656 from nlhintz/pull-request
Daniel Dickinson [Sat, 10 Dec 2016 11:34:22 +0000 (06:34 -0500)]
Merge pull request #656 from nlhintz/pull-request

luci: broadcom - add n-mode support

7 years agoFix config files getting overwritten in opkg install
Hannu Nyman [Sat, 10 Dec 2016 09:20:01 +0000 (11:20 +0200)]
Fix config files getting overwritten in opkg install

Commit 39ff053890 accidentally removed the conffiles definitions
from luci-base, statistics, splash and diag-devinfo apps.

That has caused existing config files to get overwritten if the
package has been reinstalled via opkg. Additionally, the splash
text files have not been saved in sysupgrade or backup as they
are located outside /etc/config

This commit adds back the conffiles definitions to the respective
packages.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agotime zone data: Update to 2016j
Hannu Nyman [Fri, 9 Dec 2016 16:10:44 +0000 (18:10 +0200)]
time zone data: Update to 2016j

Changes:
     Saratov, Russia switches from +03 to +04 on 2016-12-04 at 02:00.
     This hives off a new zone Europe/Saratov from Europe/Volgograd.

     The new zone Asia/Atyrau for Atyraū Region, Kazakhstan, is like
     Asia/Aqtau except it switched from +04/+05 to +05/+06 in spring
     1999, not fall 1994.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agomeshwizard: remove local variable definitions outside functions
Hannu Nyman [Fri, 9 Dec 2016 15:51:50 +0000 (17:51 +0200)]
meshwizard: remove local variable definitions outside functions

Adapted from PR #819 by FreifunkUFO

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoluci-mod-admin-full: handle infinite lease times in output
Jo-Philipp Wich [Fri, 9 Dec 2016 12:07:42 +0000 (13:07 +0100)]
luci-mod-admin-full: handle infinite lease times in output

When a lease objects expires property is set to "false", its expiry time is
unlimited, so adjust the templates to properly display that state.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-base: luci.tools.status: properly parse infinite odhcpd leases
Jo-Philipp Wich [Fri, 9 Dec 2016 12:05:44 +0000 (13:05 +0100)]
luci-base: luci.tools.status: properly parse infinite odhcpd leases

The expiry time in an odhcpd lease file line may be -1 to denote an infinite
lease time, so adjust the code to properly support that.

The expiry attribute of the lease object will be set to "false" in case of an
infinite lease.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoMerge pull request #866 from arjendekorte/patch-4
Hannu Nyman [Tue, 6 Dec 2016 09:38:56 +0000 (11:38 +0200)]
Merge pull request #866 from arjendekorte/patch-4

theme-bootstrap: fix invalid use of 'linear-gradient'

7 years agoUpdate cascade.css 866/head
arjendekorte [Mon, 5 Dec 2016 15:31:32 +0000 (16:31 +0100)]
Update cascade.css

The linear-gradient function syntax uses 'to bottom' instead of 'top' for a gradient from top to bottom.

7 years agoMerge pull request #864 from EricLuehrsen/unbound_uci
Hannu Nyman [Mon, 5 Dec 2016 11:31:00 +0000 (13:31 +0200)]
Merge pull request #864 from EricLuehrsen/unbound_uci

Unbound: Basic LuCI to go with recent Unbound UCI enhancements

7 years agoMerge pull request #865 from chris5560/master
Christian Schoenebeck [Sun, 4 Dec 2016 21:26:10 +0000 (22:26 +0100)]
Merge pull request #865 from chris5560/master

luci-app-ddns: update to support ddns-scripts 2.7.6

7 years agoluci-app-ddns: update to support ddns-scripts 2.7.6 865/head
Christian Schoenebeck [Sun, 4 Dec 2016 20:37:17 +0000 (21:37 +0100)]
luci-app-ddns: update to support ddns-scripts 2.7.6

needed changes to support ddns-scripts 2.7.6
- new command line options of dynamic_ddns_lucihelper.sh
- renamed global config options
- new location of services files

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
7 years agoUnbound: Basic LuCI to go with recent Unbound UCI (Oct2016) 864/head
Eric Luehrsen [Sun, 4 Dec 2016 02:16:04 +0000 (21:16 -0500)]
Unbound: Basic LuCI to go with recent Unbound UCI (Oct2016)

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
7 years agoMerge pull request #787 from rogerpueyo/luci-proto-ipip
Christian Schoenebeck [Thu, 1 Dec 2016 19:33:44 +0000 (20:33 +0100)]
Merge pull request #787 from rogerpueyo/luci-proto-ipip

luci-proto-ipip: Add package

7 years agoMerge pull request #863 from danrl/luci-proto-wireguard
Christian Schoenebeck [Thu, 1 Dec 2016 09:31:08 +0000 (10:31 +0100)]
Merge pull request #863 from danrl/luci-proto-wireguard

luci-proto-wireguard: Fix misleading description

7 years agoluci-proto-wireguard: Fix misleading description 863/head
danrl [Thu, 1 Dec 2016 08:01:35 +0000 (09:01 +0100)]
luci-proto-wireguard: Fix misleading description

Description was misleading, as the routes are not created automatically. We have
a flag to create routes. Added a hint what to fill into the AlledIPs field as
users repeatedly have struggled to use it correctly. Thanks to Stefan Agner for
providing feedback on this.

Signed-off-by: Dan Luedtke <mail@danrl.com>
7 years agoMerge pull request #847 from newkit/feature_luci-app-wifischedule
Hannu Nyman [Fri, 25 Nov 2016 15:30:44 +0000 (17:30 +0200)]
Merge pull request #847 from newkit/feature_luci-app-wifischedule

Added luci-app-wifischeduler

7 years agoluci-app-wifischedule: added package 847/head
Nils Koenig [Sat, 12 Nov 2016 16:22:18 +0000 (17:22 +0100)]
luci-app-wifischedule: added package

Turns WiFi on and off according to a schedule

Splitted frontend and backend in different packages.
This feature has now a dependency to the package

    wifischedule

in openwrt/packages/net which needs to be merged as well.

Signed-off-by: Nils Koenig <openwrt@newk.it>
7 years agoluci-proto-ipip: Add package 787/head
Roger Pueyo Centelles [Mon, 21 Nov 2016 10:27:23 +0000 (11:27 +0100)]
luci-proto-ipip: Add package

This package adds LuCI support for IPIP tunnels (IPv4-in-IPv4 RFC2003)

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
7 years agoluci-app-statistics: add support for thermal stats
Hannu Nyman [Sat, 19 Nov 2016 14:06:05 +0000 (16:06 +0200)]
luci-app-statistics: add support for thermal stats

Add support for temperature data from collect-mod-thermal

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoMerge pull request #857 from danrl/luci-proto-wireguard-dependency
Hannu Nyman [Sat, 19 Nov 2016 14:03:15 +0000 (16:03 +0200)]
Merge pull request #857 from danrl/luci-proto-wireguard-dependency

luci-proto-wireguard: do not depend on meta-package

7 years agoluci-proto-wireguard: do not depend on meta-package 857/head
danrl [Sat, 19 Nov 2016 14:00:01 +0000 (15:00 +0100)]
luci-proto-wireguard: do not depend on meta-package

Signed-off-by: Dan Luedtke <mail@danrl.com>
7 years agoMerge pull request #852 from danrl/luci-proto-wireguard
Jo-Philipp Wich [Thu, 17 Nov 2016 19:37:16 +0000 (20:37 +0100)]
Merge pull request #852 from danrl/luci-proto-wireguard

luci-proto-wireguard: WireGuard VPN Protocol (New)

8 years agoluci-proto-wireguard: input validation optimization 852/head
danrl [Tue, 15 Nov 2016 22:57:23 +0000 (23:57 +0100)]
luci-proto-wireguard: input validation optimization

8 years agoMerge branch 'luci-proto-wireguard' of github.com:danrl/openwrt-luci into luci-proto...
danrl [Tue, 15 Nov 2016 20:43:37 +0000 (21:43 +0100)]
Merge branch 'luci-proto-wireguard' of github.com:danrl/openwrt-luci into luci-proto-wireguard

8 years agoluci-proto-wireguard: added maintainer
Dan Lüdtke [Tue, 15 Nov 2016 19:22:18 +0000 (20:22 +0100)]
luci-proto-wireguard: added maintainer

Signed-off-by: Dan Lüdtke <mail@danrl.com>
8 years agoluci-proto-wireguard: WireGuard VPN Protocol (New)
danrl [Tue, 15 Nov 2016 15:55:47 +0000 (16:55 +0100)]
luci-proto-wireguard: WireGuard VPN Protocol (New)

WireGuard is a novel VPN that runs inside the Linux Kernel and utilizes
state-of-the-art cryptography. It aims to be faster, simpler, leaner, and
more useful than IPSec, while avoiding the massive headache. It intends to
be considerably more performant than OpenVPN.  WireGuard is designed as a
general purpose VPN for running on embedded interfaces and super computers
alike, fit for many different circumstances.
It runs over UDP.

Signed-off-by: Dan Lüdtke mail@danrl.com
8 years agoluci-app-statistics: adjust cpufreq graph for single/dual-core CPUs
Hannu Nyman [Thu, 10 Nov 2016 18:34:08 +0000 (20:34 +0200)]
luci-app-statistics: adjust cpufreq graph for single/dual-core CPUs

The original data model definition assumed data from a quad-core CPU,
which caused errors with single- and dual-core processors.
Adjust the data model to work with also them.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoMerge branch 'luci-proto-wireguard' of github.com:danrl/openwrt-luci into luci-proto...
danrl [Tue, 15 Nov 2016 20:41:14 +0000 (21:41 +0100)]
Merge branch 'luci-proto-wireguard' of github.com:danrl/openwrt-luci into luci-proto-wireguard

8 years agoluci-proto-wireguard: WireGuard VPN Protocol (New)
danrl [Tue, 15 Nov 2016 15:55:47 +0000 (16:55 +0100)]
luci-proto-wireguard: WireGuard VPN Protocol (New)

WireGuard is a novel VPN that runs inside the Linux Kernel and utilizes
state-of-the-art cryptography. It aims to be faster, simpler, leaner, and
more useful than IPSec, while avoiding the massive headache. It intends to
be considerably more performant than OpenVPN.  WireGuard is designed as a
general purpose VPN for running on embedded interfaces and super computers
alike, fit for many different circumstances.
It runs over UDP.

Signed-off-by: Dan Lüdtke mail@danrl.com
8 years agoluci-proto-wireguard: added maintainer
Dan Lüdtke [Tue, 15 Nov 2016 19:22:18 +0000 (20:22 +0100)]
luci-proto-wireguard: added maintainer

Signed-off-by: Dan Lüdtke <mail@danrl.com>
8 years agoluci-proto-wireguard: WireGuard VPN Protocol (New)
danrl [Tue, 15 Nov 2016 15:55:47 +0000 (16:55 +0100)]
luci-proto-wireguard: WireGuard VPN Protocol (New)

WireGuard is a novel VPN that runs inside the Linux Kernel and utilizes
state-of-the-art cryptography. It aims to be faster, simpler, leaner, and
more useful than IPSec, while avoiding the massive headache. It intends to
be considerably more performant than OpenVPN.  WireGuard is designed as a
general purpose VPN for running on embedded interfaces and super computers
alike, fit for many different circumstances.
It runs over UDP.

Signed-off-by: Dan Lüdtke mail@danrl.com
8 years agoluci-app-statistics: adjust cpufreq graph for single/dual-core CPUs
Hannu Nyman [Thu, 10 Nov 2016 18:34:08 +0000 (20:34 +0200)]
luci-app-statistics: adjust cpufreq graph for single/dual-core CPUs

The original data model definition assumed data from a quad-core CPU,
which caused errors with single- and dual-core processors.
Adjust the data model to work with also them.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoluci-app-statistics: tweak 'cpufreq' number formatting
Hannu Nyman [Tue, 8 Nov 2016 20:54:44 +0000 (22:54 +0200)]
luci-app-statistics: tweak 'cpufreq' number formatting

Adjust number formatting to display >1GHz values better.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoluci-app-statistics: add support for CPU frequency scaling stats
Hannu Nyman [Tue, 8 Nov 2016 20:24:56 +0000 (22:24 +0200)]
luci-app-statistics: add support for CPU frequency scaling stats

Add support for 'cpufreq' plugin in collectd, which monitors
the CPU cores' frequencies. Some platforms enable dynamic
frequency scaling according to CPU load.

'cpufreq' plugin can currently be built for x86 and mvebu.
(and it should likely be enabled also for ipq806x)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agotime zone data: Update to 2016i
Hannu Nyman [Tue, 8 Nov 2016 10:40:53 +0000 (12:40 +0200)]
time zone data: Update to 2016i

Note that several of the time zones now use a numeric name
that is quoted with < >  (e.g. "<+03>-3")

musl 1.1.15 and earlier have a bug with < > quoted time zone names.
Fix for the bug
* has already been patched in musl upstream with
  http://git.musl-libc.org/cgit/musl/commit/?id=8ca27ac4bfe73bff785d0c26c1de0da92b55e5c6
* has been committed in LEDE with
  https://github.com/lede-project/source/commit/671cb35880308404a17c430c4b3b13dd506a5671
* has been submitted to Openwrt as pull request
  https://github.com/openwrt/openwrt/pull/163

Key changes in 2016d-2016i:
---------------------------

2016d:
     America/Caracas switches from -0430 to -04 on 2016-05-01.

     Asia/Magadan switches from +10 to +11 on 2016-04-24.

     New zone Asia/Tomsk, split off from Asia/Novosibirsk.

2016f:
     Asia/Novosibirsk switches from +06 to +07 on 2016-07-24.

     Asia/Novokuznetsk and Asia/Novosibirsk now use numeric time zone
     abbreviations instead of invented ones.

2016g:
     Turkey switched from EET/EEST (+02/+03) to permanent +03,
     effective 2016-09-07. Use "+03" rather than an invented
     abbreviation for the new time.

     Several zones in Antarctica and the former Soviet Union, along
     with zones intended for ships at sea that cannot use POSIX TZ
     strings, now use numeric time zone abbreviations instead of
     invented or obsolete alphanumeric abbreviations.

2016h:
     Asia/Gaza and Asia/Hebron end DST on 2016-10-29, not
     2016-10-21. Predict that future fall transitions will
     be on the last Saturday of October.

     Asia/Colombo now uses numeric time zone abbreviations like "+0530"
     instead of alphabetic ones like "IST" and "LKT".

2016i:
     Pacific/Tongatapu begins DST on 2016-11-06, ending on
     2017-01-15.  Assume future observances in Tonga will be
     from the first Sunday in November through the third Sunday in
     January, like Fiji. Switch to numeric time zone abbreviations
     for this zone.

     Northern Cyprus is now +03 year round, causing a split in Cyprus
     time zones starting 2016-10-30 at 04:00. This creates a zone
     Asia/Famagusta.

     Antarctica/Casey switched from +08 to +11 on 2016-10-22.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoluci.mk: add simple cache buster
Jo-Philipp Wich [Tue, 1 Nov 2016 15:47:31 +0000 (16:47 +0100)]
luci.mk: add simple cache buster

Append a ?v=version string to any media or resource URL that has a .js or .css
extension.

Also substitute placeholders in the form <%# xxxPKG_VERSION %> where
xxx is replaced verbatim and PKG_VERSION with the actual version, e.g.
<%# ?x=PKG_VERSION %> will result in "?x=git-16.237.30043-f885853".

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agodocumentation: Update i18n advice
Hannu Nyman [Sun, 30 Oct 2016 10:22:58 +0000 (12:22 +0200)]
documentation: Update i18n advice

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoi18n: sync translations
Hannu Nyman [Sun, 30 Oct 2016 08:21:12 +0000 (10:21 +0200)]
i18n: sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoluci-app-travelmate: user interface for Travelmate package
Hannu Nyman [Sun, 30 Oct 2016 08:10:46 +0000 (10:10 +0200)]
luci-app-travelmate: user interface for Travelmate package

Create user interface for Travelmate, a new package that
helps in creating travel router functionality.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoMerge pull request #793 from remakeelectric/rme-master-tweaks
Jo-Philipp Wich [Fri, 28 Oct 2016 14:17:05 +0000 (16:17 +0200)]
Merge pull request #793 from remakeelectric/rme-master-tweaks

wifi_add minor usability tweaks

8 years agoMerge pull request #776 from cshore/pull-request-statistics-nut
Jo-Philipp Wich [Mon, 24 Oct 2016 09:30:50 +0000 (11:30 +0200)]
Merge pull request #776 from cshore/pull-request-statistics-nut

luci-app-statistics: nut: Add additional stats some UPSes report

8 years agoi18n: sync translations
Hannu Nyman [Sun, 23 Oct 2016 18:36:36 +0000 (21:36 +0300)]
i18n: sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoMerge pull request #831 from danrl/patch-1
Hannu Nyman [Sun, 23 Oct 2016 17:21:44 +0000 (20:21 +0300)]
Merge pull request #831 from danrl/patch-1

Typo

8 years agoTypo 831/head
Dan Lüdtke [Fri, 21 Oct 2016 18:24:57 +0000 (20:24 +0200)]
Typo

8 years agoMerge pull request #682 from cshore/pull-request-pppoe-server
Hannu Nyman [Fri, 14 Oct 2016 10:15:35 +0000 (13:15 +0300)]
Merge pull request #682 from cshore/pull-request-pppoe-server

luci-app-pppoe-server: Add PPPoE server configuration

8 years agoMerge pull request #822 from NeoRaider/staging-dir-host
Hannu Nyman [Mon, 10 Oct 2016 16:06:33 +0000 (19:06 +0300)]
Merge pull request #822 from NeoRaider/staging-dir-host

luci-base: use default install paths for host utils (again)

8 years agoluci-base: use default install paths for host utils 822/head
Matthias Schiffer [Sun, 9 Oct 2016 20:43:57 +0000 (22:43 +0200)]
luci-base: use default install paths for host utils

This reverts commit d4c33720208346ee7983213fe764df3102b8a771.

PATH inconsistencies and Host/Install arguments have been fixed in both
LEDE and OpenWrt, so we can revert the revert.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
8 years agoluci-mod-admin-full: routes: specify sizes for metric and MTU 821/head
Andrew Shadura [Sat, 8 Oct 2016 16:41:52 +0000 (18:41 +0200)]
luci-mod-admin-full: routes: specify sizes for metric and MTU

Specify reasonable sizes for metric and MTU fields to
prevent the table from being too wide.

Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk>
8 years agoluci-mod-admin-full: routes: add support for route types
Andrew Shadura [Sat, 8 Oct 2016 16:29:08 +0000 (18:29 +0200)]
luci-mod-admin-full: routes: add support for route types

Allow specifying route types.

Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk>
8 years agoluci-base: remove default diag host from /etc/config/luci
Jo-Philipp Wich [Thu, 6 Oct 2016 15:14:46 +0000 (17:14 +0200)]
luci-base: remove default diag host from /etc/config/luci

Now that luci-mod-admin-full figures out the proper diagnostics host
during postinstall we can remove the UCI section from the default
configuration file.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoluci-mod-admin-full: figure out diagnostics host in postinstall
Jo-Philipp Wich [Thu, 6 Oct 2016 15:13:23 +0000 (17:13 +0200)]
luci-mod-admin-full: figure out diagnostics host in postinstall

Attempt to infer the default diagnostics host for nslookup / ping / traceroute
from the various URLs in /etc/os-release. Fall back to "openwrt.org" if no
host is found to preserve backwards compatibility.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoRevert "luci-base: use default install paths for host utils"
Jo-Philipp Wich [Tue, 4 Oct 2016 23:42:51 +0000 (01:42 +0200)]
Revert "luci-base: use default install paths for host utils"

This reverts commit 87a7570690f7aeffb1aff01f320973c9acb668d3.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoRevert "luci-base: fix luci-base host tool install on OpenWrt"
Jo-Philipp Wich [Tue, 4 Oct 2016 23:42:48 +0000 (01:42 +0200)]
Revert "luci-base: fix luci-base host tool install on OpenWrt"

This reverts commit f7639bcd6a2caf7cc0f03e85744906c577eefeab.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoMerge pull request #813 from NeoRaider/staging-dir-host
Hannu Nyman [Tue, 4 Oct 2016 08:27:31 +0000 (11:27 +0300)]
Merge pull request #813 from NeoRaider/staging-dir-host

luci-base: fix luci-base host tool install on OpenWrt

8 years agoluci-base: fix luci-base host tool install on OpenWrt 813/head
Matthias Schiffer [Mon, 3 Oct 2016 22:34:30 +0000 (00:34 +0200)]
luci-base: fix luci-base host tool install on OpenWrt

OpenWrt doesn't provide an argument to Host/Install like LEDE does; use
HOST_BUILD_PREFIX instead, which is available on both.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
8 years agoMerge pull request #807 from hnyman/ssl-openssl
Hannu Nyman [Mon, 3 Oct 2016 18:11:23 +0000 (21:11 +0300)]
Merge pull request #807 from hnyman/ssl-openssl

luci-ssl-openssl: Provide OpenSSL-based LuCI collection

8 years agoluci-ssl-openssl: Provide OpenSSL-based LuCI collection 807/head
Hannu Nyman [Mon, 3 Oct 2016 18:09:08 +0000 (21:09 +0300)]
luci-ssl-openssl: Provide OpenSSL-based LuCI collection

Add a new OpenSSL-based collection that uses libustream-openssl
instead of the default libustream-polarssl.
(Note: px5g still needs libpolarssl, so both libs will be included)

Mention PolarSSL in the title of luci-ssl.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoluci-base: use default install paths for host utils
Matthias Schiffer [Mon, 3 Oct 2016 11:06:54 +0000 (13:06 +0200)]
luci-base: use default install paths for host utils

Also, don't make any assumptions about the staging dir lua and LuaSrcDiet
were installed to.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
8 years agoi18n: sync translations
Hannu Nyman [Fri, 30 Sep 2016 06:48:56 +0000 (09:48 +0300)]
i18n: sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoMerge pull request #770 from arturdm/patch-1
Hannu Nyman [Thu, 29 Sep 2016 08:59:13 +0000 (11:59 +0300)]
Merge pull request #770 from arturdm/patch-1

luci-app-statistics: Fix missing title in df graphs

8 years agoMerge pull request #805 from chris5560/master
Christian Schoenebeck [Tue, 27 Sep 2016 09:14:34 +0000 (11:14 +0200)]
Merge pull request #805 from chris5560/master

luci-app-ddns: no longer check for name lookup progs to support force ip version

8 years agoluci-app-ddns: correct required ddns-script version 805/head
Christian Schoenebeck [Sun, 25 Sep 2016 08:57:29 +0000 (10:57 +0200)]
luci-app-ddns: correct required ddns-script version

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
8 years agoluci-app-ddns: ignore if name lookup progs not supporting force ip version
Christian Schoenebeck [Sun, 25 Sep 2016 08:53:13 +0000 (10:53 +0200)]
luci-app-ddns: ignore if name lookup progs not supporting force ip version

- no longer verify installed name lookup programs to set has_forceip flag inside tools/ddns.lua
- adapt messages inside hints.lua

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
8 years agowifi_add: allow multi SSID by default if supported. 793/head
Karl Palsson [Wed, 7 Sep 2016 16:41:04 +0000 (16:41 +0000)]
wifi_add: allow multi SSID by default if supported.

Instead of defaulting to replace, even on hardware that supports multi
SSID, make the default to add.  This reduces the chance of locking
oneself out when adding a second network.  If you intended to replace,
ending up with two networks then deleting one is easier than recovering
when the old network configuration is gone.

Signed-off-by: Karl Palsson <karlp@etactica.com>
8 years agowifi_add: help text should match reality
Karl Palsson [Fri, 23 Sep 2016 17:02:41 +0000 (17:02 +0000)]
wifi_add: help text should match reality

An additonal network is created if the box _is_ checked.

8 years agowifi_add: show the SSID of the network being joined.
Karl Palsson [Wed, 7 Sep 2016 16:37:13 +0000 (16:37 +0000)]
wifi_add: show the SSID of the network being joined.

After clicking the "join" button on the scan list, the SSID is no longer
visible, though it's kept in the form to pass to the server.

Show the chosen SSID on the top of the page, to help people confirm that
they're joining the right network.

Signed-off-by: Karl Palsson <karlp@etactica.com>
8 years agofreifunk-p2pblock / luci-app-p2pblock: mark BROKEN
Hannu Nyman [Thu, 22 Sep 2016 18:30:25 +0000 (21:30 +0300)]
freifunk-p2pblock / luci-app-p2pblock: mark BROKEN

Mark freifunk-p2pblock and luci-app-p2pblock BROKEN
as p2pblock needs layer7 support in iptables, which
was removed in early 2015 from iptables-mod-filter:
https://dev.openwrt.org/changeset/45423
https://dev.openwrt.org/changeset/45424

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoMerge pull request #800 from kuoruan/aria2
Hannu Nyman [Tue, 20 Sep 2016 06:47:29 +0000 (09:47 +0300)]
Merge pull request #800 from kuoruan/aria2

luci-app-aria2: fix template name

8 years agoluci-app-aria2: fix template name 800/head
Hsing-Wang Liao [Tue, 20 Sep 2016 03:44:03 +0000 (11:44 +0800)]
luci-app-aria2: fix template name

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
8 years agoMerge pull request #799 from kuoruan/aria2
Hannu Nyman [Mon, 19 Sep 2016 10:31:25 +0000 (13:31 +0300)]
Merge pull request #799 from kuoruan/aria2

luci-app-aria2: fix and update

8 years agoluci-app-aria2: fix bugs and add log option 799/head
Hsing-Wang Liao [Mon, 19 Sep 2016 02:20:36 +0000 (10:20 +0800)]
luci-app-aria2: fix bugs and add log option

* Fix unable save authentication method;
* Use luci.dispatcher.build_url(...) to support Chaos Calmer;
* Add log file and log level options;
* Rename files.

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
8 years agoluci-app-aria2: add maintainer info
Hsing-Wang Liao [Mon, 19 Sep 2016 02:17:11 +0000 (10:17 +0800)]
luci-app-aria2: add maintainer info

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
8 years agoMerge pull request #794 from remakeelectric/wiki-links
Jo-Philipp Wich [Wed, 7 Sep 2016 17:11:46 +0000 (19:11 +0200)]
Merge pull request #794 from remakeelectric/wiki-links

docs: link to the developer wiki documentation