oweals/luci.git
6 years agoluci-mod-admin-full: allow a wider range of DSL SNR margins
Jo-Philipp Wich [Tue, 2 Jan 2018 17:26:16 +0000 (18:26 +0100)]
luci-mod-admin-full: allow a wider range of DSL SNR margins

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-base: reorder private functions
Jo-Philipp Wich [Mon, 1 Jan 2018 23:30:53 +0000 (00:30 +0100)]
luci-base: reorder private functions

The _wifi_sid_by_ifname() function depends on _wifi_state_by_ifname()
so reorder the private helper functions accordingly to avoid nil value
call attempts.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-base: rework wireless state handling (#1179)
Jo-Philipp Wich [Mon, 1 Jan 2018 23:24:10 +0000 (00:24 +0100)]
luci-base: rework wireless state handling (#1179)

 - fix mapping of ubus wireless state to uci declared vifs
 - fix leaking foreign vif info into per-phy iwinfo stats

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-base: require current libuci-lua
Jo-Philipp Wich [Mon, 1 Jan 2018 15:33:53 +0000 (16:33 +0100)]
luci-base: require current libuci-lua

Upcoming changes will require libuci-lua features not present in
versions prior to version 2018-01-01.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci.mk: allow specifying EXTRA_DEPENDS
Jo-Philipp Wich [Mon, 1 Jan 2018 15:32:54 +0000 (16:32 +0100)]
luci.mk: allow specifying EXTRA_DEPENDS

Support a new varable LUCI_EXTRA_DEPENDS which can be used to pass
OpenWrt EXTRA_DEPENDS to buildroot.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoMerge pull request #1490 from dibdot/adblock
Hannu Nyman [Thu, 28 Dec 2017 17:23:37 +0000 (19:23 +0200)]
Merge pull request #1490 from dibdot/adblock

luci-app-adblock: sync with adblock 3.4.0

6 years agoi18n: sync translations
Hannu Nyman [Thu, 28 Dec 2017 12:22:49 +0000 (14:22 +0200)]
i18n: sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agotypo: fileystem --> filesystem
Hannu Nyman [Thu, 28 Dec 2017 12:15:16 +0000 (14:15 +0200)]
typo: fileystem --> filesystem

fix typo:
sed -i "s/fileystem/filesystem/"

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agoluci-app-adblock: sync with adblock 3.4.0 1490/head
Dirk Brenken [Tue, 26 Dec 2017 21:47:20 +0000 (22:47 +0100)]
luci-app-adblock: sync with adblock 3.4.0

* add new extra options (disabled by default):
  - Flush DNS Cache
  - Email Notification
  - Email Notification Count

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoluci-app-attendedsysupgrade: remove outdated checks
Paul Spooren [Wed, 27 Dec 2017 02:10:56 +0000 (03:10 +0100)]
luci-app-attendedsysupgrade: remove outdated checks

the upgrade server used to store a md5 checksum and the image filesize,
due to complexity this was removed.

Instead a sha256sums file is created by the IB with additional
signature. The firmware filesize can be retrived by requesting
Content-Length data.sysupgrade_url.

As the deeper layers (rpcd) currently do not offer an easy way to to
perform a sha256sum check & verify a usign sig these features will be
re-added once supported.

Until then the security of the sysupgrades depend on TLS and so the
luci-app is meant as a demonstration only.

Signed-off-by: Paul Spooren <paul@spooren.de>
6 years agoluci-app-attendedsysupgrade: separate js from html
Paul Spooren [Mon, 25 Dec 2017 21:51:01 +0000 (22:51 +0100)]
luci-app-attendedsysupgrade: separate js from html

also use hide(), show() and $() like jquery

Signed-off-by: Paul Spooren <spooren@informatik.uni-leipzig.de>
6 years agoMerge pull request #1486 from stangri/luci-app-advanced-reboot
Hannu Nyman [Tue, 26 Dec 2017 17:36:40 +0000 (19:36 +0200)]
Merge pull request #1486 from stangri/luci-app-advanced-reboot

luci-app-advanced-reboot: 2 new routers + error reporting

6 years agoluci-app-advanced-reboot: 2 new routers + error reporting 1486/head
Stan Grishin [Tue, 26 Dec 2017 07:23:40 +0000 (23:23 -0800)]
luci-app-advanced-reboot: 2 new routers + error reporting

Added support for: Linksys EA3500 and ZyXEL NBG6817
Added error reporting to both system log and WebUI on errors

Signed-off-by: Stan Grishin <stangri@melmac.net>
6 years agoMerge pull request #1478 from musashino205/l10n/tmate-upd-ja
Hannu Nyman [Sun, 17 Dec 2017 15:15:37 +0000 (17:15 +0200)]
Merge pull request #1478 from musashino205/l10n/tmate-upd-ja

luci-app-travelmate: Update Japanese translation

6 years agoluci-app-travelmate: Update Japanese translation 1478/head
INAGAKI Hiroshi [Sun, 17 Dec 2017 13:24:46 +0000 (22:24 +0900)]
luci-app-travelmate: Update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
6 years agoluci-app-travelmate: Sync translations
INAGAKI Hiroshi [Sun, 17 Dec 2017 05:26:24 +0000 (14:26 +0900)]
luci-app-travelmate: Sync translations

Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
6 years agoMerge pull request #1476 from dibdot/travelmate
Hannu Nyman [Fri, 15 Dec 2017 21:53:14 +0000 (23:53 +0200)]
Merge pull request #1476 from dibdot/travelmate

luci-app-travelmate: sync with travelmate 1.0.0

6 years agoluci-app-travelmate: sync with travelmate 1.0.0 1476/head
Dirk Brenken [Fri, 15 Dec 2017 18:17:07 +0000 (19:17 +0100)]
luci-app-travelmate: sync with travelmate 1.0.0

* Various cleanups & small enhancements

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoMerge pull request #1473 from dibdot/travelmate
Hannu Nyman [Wed, 13 Dec 2017 20:00:36 +0000 (22:00 +0200)]
Merge pull request #1473 from dibdot/travelmate

luci-app-travelmate: enhance wireless security connection settings

6 years agoluci-app-travelmate: enhance wireless security connection settings 1473/head
Dirk Brenken [Wed, 13 Dec 2017 19:21:57 +0000 (20:21 +0100)]
luci-app-travelmate: enhance wireless security connection settings

* fix wpa enterprise options
* add various wpa / wep options

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoMerge pull request #1468 from dibdot/travelmate 1470/head
Hannu Nyman [Sat, 9 Dec 2017 07:39:47 +0000 (09:39 +0200)]
Merge pull request #1468 from dibdot/travelmate

luci-app-travelmate: sync with travelmate 0.9.6

6 years agoluci-app-travelmate: sync with travelmate 0.9.6 1468/head
Dirk Brenken [Sat, 9 Dec 2017 07:23:31 +0000 (08:23 +0100)]
luci-app-travelmate: sync with travelmate 0.9.6

* Turris omnia compability fixes
* OpenWrt theme fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoMerge pull request #1466 from musashino205/l10n/tmate-upd-ja
Hannu Nyman [Fri, 8 Dec 2017 14:45:18 +0000 (16:45 +0200)]
Merge pull request #1466 from musashino205/l10n/tmate-upd-ja

luci-app-travelmate: Update Japanese translation

6 years agoluci-app-travelmate: Update Japanese translation 1466/head
INAGAKI Hiroshi [Fri, 8 Dec 2017 06:14:58 +0000 (15:14 +0900)]
luci-app-travelmate: Update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
6 years agoluci-app-travelmate: Sync translations
INAGAKI Hiroshi [Fri, 8 Dec 2017 05:40:12 +0000 (14:40 +0900)]
luci-app-travelmate: Sync translations

Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
6 years agoMerge pull request #1454 from kubco2/mwan3-fix-member-metric
Hannu Nyman [Thu, 7 Dec 2017 19:20:32 +0000 (21:20 +0200)]
Merge pull request #1454 from kubco2/mwan3-fix-member-metric

luci-app-mwan3: fix member metric allowed values

6 years agoMerge pull request #1452 from mkresin/master
Jo-Philipp Wich [Thu, 7 Dec 2017 13:03:54 +0000 (14:03 +0100)]
Merge pull request #1452 from mkresin/master

fix DHCPv6 hostname display

6 years agoMerge pull request #1465 from dibdot/travelmate
Hannu Nyman [Wed, 6 Dec 2017 16:58:25 +0000 (18:58 +0200)]
Merge pull request #1465 from dibdot/travelmate

luci-app-travelmate: sync with travelmate 0.9.5

6 years agoluci-app-travelmate: sync with travelmate 0.9.5 1465/head
Dirk Brenken [Wed, 6 Dec 2017 16:05:40 +0000 (17:05 +0100)]
luci-app-travelmate: sync with travelmate 0.9.5

* add support for hidden uplinks
* add support for wpa enterprise uplinks
* various small fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoMerge pull request #1463 from dibdot/adblock
Hannu Nyman [Tue, 5 Dec 2017 14:15:18 +0000 (16:15 +0200)]
Merge pull request #1463 from dibdot/adblock

luci-app-adblock: fix minor visual issue

6 years agoluci-app-adblock: fix minor visual issue 1463/head
Dirk Brenken [Mon, 4 Dec 2017 21:26:18 +0000 (22:26 +0100)]
luci-app-adblock: fix minor visual issue

* fix visual issue in runtime section (originally provided by @ansuel)

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoMerge pull request #1459 from brianjmurrell/patch-1
Jo-Philipp Wich [Mon, 4 Dec 2017 14:03:42 +0000 (15:03 +0100)]
Merge pull request #1459 from brianjmurrell/patch-1

Fix bad argument #1 to 'tonumber'

6 years agoFix bad argument #1 to 'tonumber' 1459/head
Brian J. Murrell [Mon, 4 Dec 2017 13:44:00 +0000 (08:44 -0500)]
Fix bad argument #1 to 'tonumber'

Fixes [FS#1118](https://bugs.lede-project.org/index.php?do=details&task_id=1118)

Luci chokes on devices that do not have _iptables_ installed with:

/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute function dispatcher target for entry '/'.
The called action terminated with an exception:
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute firstchild dispatcher target for entry '/admin'.
The called action terminated with an exception:
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute function dispatcher target for entry '/admin/status'.
The called action terminated with an exception:
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute template dispatcher target for entry '/admin/status/overview'.
The called action terminated with an exception:
/usr/lib/lua/luci/template.lua:97: Failed to execute template 'admin_status/index'.
A runtime error occured: [string "/usr/lib/lua/luci/view/admin_status/index.h..."]:34: bad argument #1 to 'tonumber' (string expected, got nil)
stack traceback:
[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:141: in function </usr/lib/lua/luci/dispatcher.lua:140>

The code should be more defensive.

6 years agoluci-app-mwan3: fix member metric allowed values 1454/head
Jakub Janco [Tue, 28 Nov 2017 23:26:51 +0000 (00:26 +0100)]
luci-app-mwan3: fix member metric allowed values

mwan3 accepts only 1-256 metric of member, if it is more, member is ignored.
This patch fix translations and allowed values of member metric input.

Signed-off-by: Jakub Janco <kubco2@gmail.com>
7 years agoluci-app-attendedsysupgrade: use rpc-sys pkglist
Paul Spooren [Sun, 19 Nov 2017 13:38:49 +0000 (14:38 +0100)]
luci-app-attendedsysupgrade: use rpc-sys pkglist

The bash package rpcd-mod-packagelist is no longer required as it has
been ported to rpc-sys by @dangowrt. The luci app now uses that feature.

The packagelist.acls is no longer required and has been removed.

luci-app-attendedsysupgrade: follow new server api

a new api uses more status codes and headers instead of genric 400 code
with json payload.

show error message when ubus call fail

fix typo

more info here
https://github.com/aparcar/attendedsysupgrade-server#response-status-codes

luci-app-attendedsysupgrade: refactoring

luci-app-attendedsysupgrade: use checksum

now compares cgi-io md5 checksum with md5 of server
as well checks if enough free memory is available to store image

Added needed ACL to let Luci request "system info"

rename "image" to "firmware" in output strings. This was requested as
"unification"

rpcd-mod-packelist used to return a variable called "packagelist", the
new "rpc-sys packagelist" returns a variable called "packages". This has
been adapted.

Signed-off-by: Paul Spooren <paul@spooren.de>
7 years agoMerge pull request #1445 from dibdot/travelmate
Hannu Nyman [Tue, 21 Nov 2017 03:51:17 +0000 (05:51 +0200)]
Merge pull request #1445 from dibdot/travelmate

luci-app-travelmate: Chaos Calmer bugfixes

7 years agoluci-app-travelmate: Chaos Calmer bugfixes 1445/head
Dirk Brenken [Sun, 19 Nov 2017 19:04:46 +0000 (20:04 +0100)]
luci-app-travelmate: Chaos Calmer bugfixes

* fixes for Chaos Calmer compatibility

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agoluci-mod-admin-full: indicate DHCPv6 hostname mismatch 1452/head
Mathias Kresin [Thu, 16 Nov 2017 07:22:14 +0000 (08:22 +0100)]
luci-mod-admin-full: indicate DHCPv6 hostname mismatch

In case the DUID can be mapped to the MAC-Address of an already known
host, show the already know hostname next to the DHCPv6 supplied one in
case they differ.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoluci-mod-admin-full: always indicate missing DHCPv6 hostname
Mathias Kresin [Thu, 16 Nov 2017 06:32:58 +0000 (07:32 +0100)]
luci-mod-admin-full: always indicate missing DHCPv6 hostname

Don't show a DHCPv6 supplied hostname if none was send. It happens in
case the DUID can be mapped to the MAC-Address of an existing host and
the existing host has a name set.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoluci-mod-admin-full: don't replace DHCPv6 hostname
Mathias Kresin [Thu, 16 Nov 2017 06:16:59 +0000 (07:16 +0100)]
luci-mod-admin-full: don't replace DHCPv6 hostname

Don't replace the DHCPv6 supplied hostname if the DUID can be mapped to
the MAC-Address of an already known host.

It hides the issue of a missing DHCPv6 hostname and could lead to the
conclution that the already known host has an IPv6 address.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoluci-app-attendedsysupgrade: use common
Paul Spooren [Sun, 5 Nov 2017 20:52:11 +0000 (21:52 +0100)]
luci-app-attendedsysupgrade: use common

use attendedsysupgrade-common package and rpc-sys instead of
rpcd-mod-attendedsysupgrade

luci-app-attendedsysupgrade: editable server url

the server url can now be changed. The solution is kept as simple as
possible to not introduce any lua code.

Small cleanup, but needs a refactoring.

Add acl rights to edit the attendedsysupgrade file

Add cgi-io as a dependencie to upload image to router

Signed-off-by: Paul Spooren <paul@spooren.de>
7 years agotimezone data: update to 2017c
Hannu Nyman [Sat, 11 Nov 2017 16:49:09 +0000 (18:49 +0200)]
timezone data: update to 2017c

Update timezone data to 2017c

http://mm.icann.org/pipermail/tz-announce/2017-October/000047.html

   Briefly:
   Northern Cyprus switches from +03 to +02/+03 on 2017-10-29.
   Fiji ends DST 2018-01-14, not 2018-01-21.
   Namibia switches from +01/+02 to +02 on 2018-04-01.
   Sudan switches from +03 to +02 on 2017-11-01.
   Tonga likely switches from +13/+14 to +13 on 2017-11-05.
   Turks & Caicos switches from -04 to -05/-04 on 2018-11-04.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoMerge pull request #1436 from artioni81/patch-5
Hannu Nyman [Sat, 11 Nov 2017 14:10:42 +0000 (16:10 +0200)]
Merge pull request #1436 from artioni81/patch-5

Update openvpn.po

7 years agoluci-app-openvpn: update Italian translation 1436/head
artioni81 [Sat, 11 Nov 2017 11:42:55 +0000 (12:42 +0100)]
luci-app-openvpn: update Italian translation

Signed-off-by: Artion Karreci <artionkarreci@gmail.com>
7 years agoMerge pull request #1438 from musashino205/l10n/upnp-upd-ja
Hannu Nyman [Sat, 11 Nov 2017 09:10:19 +0000 (11:10 +0200)]
Merge pull request #1438 from musashino205/l10n/upnp-upd-ja

luci-app-upnp: Update Japanese translation

7 years agoluci-app-upnp: Update Japanese translation 1438/head
INAGAKI Hiroshi [Sat, 11 Nov 2017 03:18:59 +0000 (12:18 +0900)]
luci-app-upnp: Update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoi18n: Sync translations
INAGAKI Hiroshi [Sat, 11 Nov 2017 03:14:52 +0000 (12:14 +0900)]
i18n: Sync translations

Synchronized translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-mod-admin-full: add SNR tweak option to DSL
Andrea Merello [Tue, 16 May 2017 16:41:10 +0000 (18:41 +0200)]
luci-mod-admin-full: add SNR tweak option to DSL

Reported-by: Andrea Merello <andrea.merello@gmail.com>
[rebase onto master, fix indentation, commit subject, depend on adsl mode]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-mod-admin-full: restrict DSL xfer_mode and line_mode options to VDSL modems
Jo-Philipp Wich [Fri, 10 Nov 2017 13:36:38 +0000 (14:36 +0100)]
luci-mod-admin-full: restrict DSL xfer_mode and line_mode options to VDSL modems

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoUpdate openvpn.po
artioni81 [Fri, 10 Nov 2017 13:23:49 +0000 (14:23 +0100)]
Update openvpn.po

7 years agoprotocols: fix various interface patterns
Jo-Philipp Wich [Fri, 10 Nov 2017 13:20:50 +0000 (14:20 +0100)]
protocols: fix various interface patterns

The virtual interface match patterns of various protocols were improperly
quoted, causing them to over- or undermatch.

Follow up of #1435.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoMerge pull request #1435 from TDT-GmbH/proto_4x6_pattern_fix
Jo-Philipp Wich [Fri, 10 Nov 2017 13:06:54 +0000 (14:06 +0100)]
Merge pull request #1435 from TDT-GmbH/proto_4x6_pattern_fix

luci-proto-ipv6: fix patterns in proto_4x6.lua

7 years agoluci-proto-ipv6: fix patterns in proto_4x6.lua 1435/head
Martin Schiller [Fri, 10 Nov 2017 12:49:45 +0000 (13:49 +0100)]
luci-proto-ipv6: fix patterns in proto_4x6.lua

The dash '-' needs to be escaped by a '%', otherwise it will
be interpreted as minus, which means '0 or more repetitions'.

This fixes LEDE FS#1157.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
7 years agoMerge pull request #980 from NvrBst/pull-request-upnp_description
Jo-Philipp Wich [Fri, 10 Nov 2017 12:06:10 +0000 (13:06 +0100)]
Merge pull request #980 from NvrBst/pull-request-upnp_description

luci-app-upnp: Adding and displaying "Description" to upnp data

7 years agoluci-mod-admin-full: add DUID option to static leases section
Jan Pavlinec [Wed, 8 Feb 2017 11:54:04 +0000 (12:54 +0100)]
luci-mod-admin-full: add DUID option to static leases section

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
[add field validation]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoMerge pull request #1428 from BigNerd95/wifi-80211r
Jo-Philipp Wich [Fri, 10 Nov 2017 11:53:05 +0000 (12:53 +0100)]
Merge pull request #1428 from BigNerd95/wifi-80211r

luci-mod-admin-full: wifi.lua: ft_psk_generate_local and ft_over_ds

7 years agoMerge pull request #1409 from FreifunkUFO/patch-1
Jo-Philipp Wich [Fri, 10 Nov 2017 11:46:12 +0000 (12:46 +0100)]
Merge pull request #1409 from FreifunkUFO/patch-1

meshwizard: upgrade version for some olsr-plugins

7 years agoluci-mod-admin-full: wifi.lua: 80211r ft_over_ds 1428/head
Lorenzo Santina [Mon, 6 Nov 2017 13:15:43 +0000 (14:15 +0100)]
luci-mod-admin-full: wifi.lua: 80211r ft_over_ds

Allow user to chose if use FT over DS protocol or
FT over the Air protocol for Fast BSS Transition

Signed-off-by: Lorenzo Santina <lorenzo.santina@edu.unito.it>
7 years agoluci-mod-admin-full: wifi.lua: 80211r ft_psk_generate_local
Lorenzo Santina [Mon, 6 Nov 2017 13:10:18 +0000 (14:10 +0100)]
luci-mod-admin-full: wifi.lua: 80211r ft_psk_generate_local

Add local generation of PMK when using a PSK.
So 802.11r is easier to configure and no inter AP
communication is needed any more.

Signed-off-by: Lorenzo Santina <lorenzo.santina@edu.unito.it>
7 years agoMerge pull request #1427 from musashino205/l10n/adblk-upd-ja
Hannu Nyman [Sun, 5 Nov 2017 08:40:41 +0000 (10:40 +0200)]
Merge pull request #1427 from musashino205/l10n/adblk-upd-ja

luci-app-adblock: Update Japanese translation

7 years agoluci-app-adblock: Update Japanese translation 1427/head
INAGAKI Hiroshi [Sun, 5 Nov 2017 04:33:52 +0000 (13:33 +0900)]
luci-app-adblock: Update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-app-adblock: Sync translations
INAGAKI Hiroshi [Sat, 4 Nov 2017 14:42:02 +0000 (23:42 +0900)]
luci-app-adblock: Sync translations

Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-app-attendedsysupgrade: upgrade to version 2
Paul Spooren [Sat, 21 Oct 2017 15:01:07 +0000 (17:01 +0200)]
luci-app-attendedsysupgrade: upgrade to version 2

Add required ubus acls from package rpcd-mod-attendedsysupgrade.

luci-app-attendedsysupgrade: add postinst script

removes caches and restarts uhttpd as mentioned here:
https://github.com/aparcar/gsoc17-attended-sysupgrade/issues/58#issuecomment-339370803

luci-app-attendedsysupgrade: redesign

simplified the interface and made it more "luci" like

simplify ubus interaction, use uci_call und ubus_call functions

add optional settings:

auto_search:
search on opening the view without clicking

advanced_mode:
if set, allow package edits, show build log

rename updateserver to upgradeserver
rename url to server_url

luci-app-attendedsysupgrade: rename uci options

remove leading "upgrade" from uci options
also rename server_url to url

cleaning

use new api/ urls

wait for successfull reboot

Signed-off-by: Paul Spooren <paul@spooren.de>
7 years agoMerge pull request #1426 from dibdot/app-adblock
Hannu Nyman [Sat, 4 Nov 2017 13:51:41 +0000 (15:51 +0200)]
Merge pull request #1426 from dibdot/app-adblock

luci-app-adblock: sync with adblock 3.1.0

7 years agoluci-app-adblock: sync with adblock 3.1.0 1426/head
Dirk Brenken [Sat, 4 Nov 2017 13:13:22 +0000 (14:13 +0100)]
luci-app-adblock: sync with adblock 3.1.0

* add support for new 'whitelist mode'
* fix a small css issue in advanced edit tabs

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agoMerge pull request #1425 from TDT-GmbH/pr/20171103-luci-app-mwan3-fix-spelling
Hannu Nyman [Fri, 3 Nov 2017 12:56:47 +0000 (14:56 +0200)]
Merge pull request #1425 from TDT-GmbH/pr/20171103-luci-app-mwan3-fix-spelling

luci-app-mwan3: fix i18n spelling

7 years agoluci-app-mwan3: fix i18n spelling 1425/head
Florian Eckert [Fri, 3 Nov 2017 08:56:58 +0000 (09:56 +0100)]
luci-app-mwan3: fix i18n spelling

Fix i18n en spelling

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
7 years agoMerge pull request #1418 from yangfl/master
Hannu Nyman [Sun, 29 Oct 2017 08:04:54 +0000 (10:04 +0200)]
Merge pull request #1418 from yangfl/master

i18n: Update Chinese translation

7 years agoMerge pull request #1417 from felixonmars/patch-1
Hannu Nyman [Sun, 29 Oct 2017 08:02:02 +0000 (10:02 +0200)]
Merge pull request #1417 from felixonmars/patch-1

Fix typos in luci-base/luasrc/http/protocol.lua

7 years agoi18n: Update Chinese translation 1418/head
yangfl [Sun, 29 Oct 2017 07:58:43 +0000 (15:58 +0800)]
i18n: Update Chinese translation

Signed-off-by: David Yang <mmyangfl@gmail.com>
7 years agoFix typos in luci-base/luasrc/http/protocol.lua 1417/head
Felix Yan [Sun, 29 Oct 2017 07:39:21 +0000 (15:39 +0800)]
Fix typos in luci-base/luasrc/http/protocol.lua

7 years agoMerge pull request #1416 from yangfl/master
Hannu Nyman [Sat, 28 Oct 2017 12:48:05 +0000 (15:48 +0300)]
Merge pull request #1416 from yangfl/master

i18n: Update Chinese translation

7 years agoi18n: Update Chinese translation 1416/head
yangfl [Sat, 28 Oct 2017 08:59:31 +0000 (16:59 +0800)]
i18n: Update Chinese translation

Signed-off-by: David Yang <mmyangfl@gmail.com>
7 years agoi18n: sync translations
Hannu Nyman [Sat, 28 Oct 2017 07:21:41 +0000 (10:21 +0300)]
i18n: sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoMerge pull request #1414 from musashino205/l10n/minidlna-upd-ja
Hannu Nyman [Wed, 25 Oct 2017 18:19:31 +0000 (21:19 +0300)]
Merge pull request #1414 from musashino205/l10n/minidlna-upd-ja

luci-app-minidlna: Update Japanese translation

7 years agoluci-app-minidlna: Update Japanese translation 1414/head
INAGAKI Hiroshi [Wed, 25 Oct 2017 13:34:06 +0000 (22:34 +0900)]
luci-app-minidlna: Update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-app-minidlna: Sync translations
INAGAKI Hiroshi [Wed, 25 Oct 2017 13:24:48 +0000 (22:24 +0900)]
luci-app-minidlna: Sync translations

Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-app-minidlna: Fix UI text
INAGAKI Hiroshi [Wed, 25 Oct 2017 13:16:14 +0000 (22:16 +0900)]
luci-app-minidlna: Fix UI text

Add missing colon ":" to the UI text for widelink option.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-app-minidlna: Fix errors in po files
INAGAKI Hiroshi [Wed, 25 Oct 2017 13:06:16 +0000 (22:06 +0900)]
luci-app-minidlna: Fix errors in po files

Modified incorrect "msgid" to "msgstr".

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-base: fix client side "host" datatype validator
Jo-Philipp Wich [Wed, 25 Oct 2017 12:23:45 +0000 (14:23 +0200)]
luci-base: fix client side "host" datatype validator

Fixes #1413.

Reported-by: Wojciech Jowsa <wojciech.jowsa@gmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoMerge pull request #1296 from TDT-GmbH/sort-language
Hannu Nyman [Mon, 23 Oct 2017 15:30:56 +0000 (18:30 +0300)]
Merge pull request #1296 from TDT-GmbH/sort-language

luci.mk: sort languages in lexical order

7 years agomeshwizard: upgrade version for some olsr-plugins 1409/head
FreifunkUFO [Sat, 21 Oct 2017 19:56:21 +0000 (21:56 +0200)]
meshwizard: upgrade version for some olsr-plugins

inside OLSR some plugins recently got newer version numbers (and of course improvements)
Signed-off-by: Ufo <ufo@rund.freifunk.net>
7 years agoMerge pull request #1380 from jcadduono/minidlna
Hannu Nyman [Sat, 21 Oct 2017 06:50:01 +0000 (09:50 +0300)]
Merge pull request #1380 from jcadduono/minidlna

luci-app-minidlna: add allow wide links option

7 years agoMerge pull request #1405 from FireBurn/master
Hannu Nyman [Sat, 21 Oct 2017 06:15:52 +0000 (09:15 +0300)]
Merge pull request #1405 from FireBurn/master

luci-app-minidlna: Don't specify media_dir=

7 years agoMerge pull request #1404 from aparcar/edit_packages
Hannu Nyman [Fri, 20 Oct 2017 14:33:48 +0000 (17:33 +0300)]
Merge pull request #1404 from aparcar/edit_packages

luci-app-attendedsysupgrade: editable packagelist

7 years agoFix syntax errors in swedish translation
Jo-Philipp Wich [Fri, 20 Oct 2017 08:55:22 +0000 (10:55 +0200)]
Fix syntax errors in swedish translation

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-app-aria2: fix duplicate message id
Jo-Philipp Wich [Fri, 20 Oct 2017 08:51:42 +0000 (10:51 +0200)]
luci-app-aria2: fix duplicate message id

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-app-aria2: Update Chinese translation
Angus Ding [Tue, 17 Oct 2017 09:40:14 +0000 (17:40 +0800)]
luci-app-aria2: Update Chinese translation

Update Chinese translations.

Signed-off-by: Angus Ding <angus.ding@gmail.com>
7 years agoluci-app-upnp: Update Chinese translation
Angus Ding [Tue, 17 Oct 2017 09:42:57 +0000 (17:42 +0800)]
luci-app-upnp: Update Chinese translation

Fix Chinese translations.

Signed-off-by: Angus Ding <angus.ding@gmail.com>
7 years agoMerge pull request #1365 from psyborg55/master
Jo-Philipp Wich [Fri, 20 Oct 2017 08:22:52 +0000 (10:22 +0200)]
Merge pull request #1365 from psyborg55/master

luci-mod-admin-full: add fontsize style parameter

7 years agoMerge pull request #1406 from musashino205/l10n/base-upd-ja
Jo-Philipp Wich [Fri, 20 Oct 2017 08:21:18 +0000 (10:21 +0200)]
Merge pull request #1406 from musashino205/l10n/base-upd-ja

luci-base: Update Japanese translation

7 years agoluci-base: Update Japanese translation 1406/head
INAGAKI Hiroshi [Fri, 20 Oct 2017 04:55:17 +0000 (13:55 +0900)]
luci-base: Update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-app-minidlna: Don't specify media_dir= 1405/head
Mike Lothian [Fri, 20 Oct 2017 00:36:01 +0000 (01:36 +0100)]
luci-app-minidlna: Don't specify media_dir=

This is added automatically. Entering it twice stops minidlna from
starting as the config ends up with

media_dir=media_dir=A,/dir/name

Signed-off-by: Mike Lothian <mike@fireburn.co.uk>
7 years agoluci-app-attendedsysupgrade: editable packagelist 1404/head
Paul Spooren [Thu, 31 Aug 2017 15:39:18 +0000 (17:39 +0200)]
luci-app-attendedsysupgrade: editable packagelist

add textarea with all to be installed packages, allows user to changes
packages before requesting the image

add button to open build log in

Signed-off-by: Paul Spooren <paul@spooren.de>
7 years agoMerge pull request #1399 from Umeaboy/patch-2
Hannu Nyman [Wed, 18 Oct 2017 14:12:52 +0000 (17:12 +0300)]
Merge pull request #1399 from Umeaboy/patch-2

luci-app-adblock: Translated some Swedish

7 years agoMerge pull request #1400 from Umeaboy/patch-3
Hannu Nyman [Wed, 18 Oct 2017 14:12:24 +0000 (17:12 +0300)]
Merge pull request #1400 from Umeaboy/patch-3

luci-app-diag-devinfo: Updated Swedish translation

7 years agoMerge pull request #1398 from Umeaboy/patch-1
Hannu Nyman [Wed, 18 Oct 2017 14:11:57 +0000 (17:11 +0300)]
Merge pull request #1398 from Umeaboy/patch-1

Created luci-app-simple-adblock.po

7 years agoMerge pull request #1401 from Umeaboy/patch-4
Hannu Nyman [Wed, 18 Oct 2017 14:11:34 +0000 (17:11 +0300)]
Merge pull request #1401 from Umeaboy/patch-4

luci-app-splash: Updated some Swedish

7 years agoMerge pull request #1402 from Umeaboy/patch-5
Hannu Nyman [Wed, 18 Oct 2017 14:11:19 +0000 (17:11 +0300)]
Merge pull request #1402 from Umeaboy/patch-5

luci-base: Massive Swedish translation

7 years agoluci-base: Massive Swedish translation 1402/head
Kristoffer Grundström [Wed, 18 Oct 2017 03:08:29 +0000 (05:08 +0200)]
luci-base: Massive Swedish translation

Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>