oweals/luci.git
6 years agoluci-mod-admin-full: set 0 db DSL SNR offset by default 1536/head
Mathias Kresin [Sat, 13 Jan 2018 06:44:29 +0000 (07:44 +0100)]
luci-mod-admin-full: set 0 db DSL SNR offset by default

If no DSL SNR offset is set for the dsl line the first entry from the
dropdown list is pre-selected by default, which would apply a -10 db
offset by default.

Pre-select the 0 db option if nothing else is specified in the uci config
files.

Signed-off-by: Mathias Kresin <dev@kresin.me>
6 years agoMerge pull request #1534 from user7887/luci-ru
Hannu Nyman [Fri, 12 Jan 2018 21:38:14 +0000 (23:38 +0200)]
Merge pull request #1534 from user7887/luci-ru

fixed russian translation

6 years agofixed russian translation 1534/head
Vladimir [Fri, 12 Jan 2018 20:11:58 +0000 (23:11 +0300)]
fixed russian translation

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoMerge pull request #1532 from user7887/luci-ru
Hannu Nyman [Fri, 12 Jan 2018 16:58:26 +0000 (18:58 +0200)]
Merge pull request #1532 from user7887/luci-ru

fixed and updated russian translation

6 years agofixed and updated russian translation 1532/head
Vladimir [Fri, 12 Jan 2018 16:39:21 +0000 (19:39 +0300)]
fixed and updated russian translation

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoi18n: sync translations
Hannu Nyman [Fri, 12 Jan 2018 15:21:02 +0000 (17:21 +0200)]
i18n: sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agoluci-app-firewall: rename tr() helper function to _()
Jo-Philipp Wich [Fri, 12 Jan 2018 14:06:55 +0000 (15:06 +0100)]
luci-app-firewall: rename tr() helper function to _()

Rename tr() to _() so that i18n-scan.pl picks up the language strings.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoMerge pull request #1529 from musashino205/l10n/tmate-upd-ja
Hannu Nyman [Fri, 12 Jan 2018 07:30:29 +0000 (09:30 +0200)]
Merge pull request #1529 from musashino205/l10n/tmate-upd-ja

luci-app-travelmate: update Japanese translation

6 years agoluci-app-travelmate: update Japanese translation 1529/head
INAGAKI Hiroshi [Fri, 12 Jan 2018 05:59:36 +0000 (14:59 +0900)]
luci-app-travelmate: update Japanese translation

Updated japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
6 years agoMerge pull request #1528 from user7887/luci-ru
Hannu Nyman [Thu, 11 Jan 2018 22:33:10 +0000 (00:33 +0200)]
Merge pull request #1528 from user7887/luci-ru

fixed russian translation

6 years agofixed russian translation 1528/head
Vladimir [Thu, 11 Jan 2018 20:17:43 +0000 (23:17 +0300)]
fixed russian translation

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoMerge pull request #1527 from user7887/luci-ru
Hannu Nyman [Thu, 11 Jan 2018 16:26:32 +0000 (18:26 +0200)]
Merge pull request #1527 from user7887/luci-ru

Correction by script i18n-sync.sh with editing of Russian translation

6 years agoCorrection by script i18n-sync.sh with editing of Russian translation 1527/head
Vladimir [Thu, 11 Jan 2018 16:22:07 +0000 (19:22 +0300)]
Correction by script i18n-sync.sh with editing of Russian translation

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoMerge pull request #1526 from TDT-AG/pr/20180111-luci-app-mwan3-refactoring
Hannu Nyman [Thu, 11 Jan 2018 14:46:24 +0000 (16:46 +0200)]
Merge pull request #1526 from TDT-AG/pr/20180111-luci-app-mwan3-refactoring

luci-app-mwan3: refactoring

6 years agoluci-app-mwan3: remove configuration tab 1526/head
Florian Eckert [Thu, 11 Jan 2018 13:10:01 +0000 (14:10 +0100)]
luci-app-mwan3: remove configuration tab

remove configuration tab

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: remove direct configuration possibility for /etc/config files
Florian Eckert [Thu, 11 Jan 2018 12:31:50 +0000 (13:31 +0100)]
luci-app-mwan3: remove direct configuration possibility for /etc/config files

With this change it is not longer possible to edit the following
configuration files directly.

- mwan3
- wireless
- network

The user should edit the configuration over the provided luci pages.
which will do input checks and so prevent from miss configuration.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: rename status page files
Florian Eckert [Thu, 11 Jan 2018 12:18:28 +0000 (13:18 +0100)]
luci-app-mwan3: rename status page files

rename status page files

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: update entry naming
Florian Eckert [Thu, 11 Jan 2018 12:11:31 +0000 (13:11 +0100)]
luci-app-mwan3: update entry naming

udpate entry nameing

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: move diagnostic and troubleshooting page to status page
Florian Eckert [Thu, 11 Jan 2018 09:55:09 +0000 (10:55 +0100)]
luci-app-mwan3: move diagnostic and troubleshooting page to status page

move diagnostic and troubleshooting page to status page

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: move status information to status menu entry
Florian Eckert [Thu, 11 Jan 2018 08:18:50 +0000 (09:18 +0100)]
luci-app-mwan3: move status information to status menu entry

move status information to status menu entry

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: refactoring notify page
Florian Eckert [Wed, 10 Jan 2018 14:18:17 +0000 (15:18 +0100)]
luci-app-mwan3: refactoring notify page

clean up notify page

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: move/rename hotplugscript tab
Florian Eckert [Wed, 10 Jan 2018 14:17:19 +0000 (15:17 +0100)]
luci-app-mwan3: move/rename hotplugscript tab

- move hotplugscript tab to Configuration
- rename hotplugscript tab to notify

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoMerge pull request #1525 from user7887/luci-ru
Hannu Nyman [Thu, 11 Jan 2018 06:37:54 +0000 (08:37 +0200)]
Merge pull request #1525 from user7887/luci-ru

fixed and updated russian translation

6 years agofixed and updated russian translation 1525/head
Vladimir [Wed, 10 Jan 2018 22:43:46 +0000 (01:43 +0300)]
fixed and updated russian translation

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoMerge pull request #1524 from dibdot/travelmate
Hannu Nyman [Wed, 10 Jan 2018 21:45:50 +0000 (23:45 +0200)]
Merge pull request #1524 from dibdot/travelmate

luci-app-travelmate: sync with travelmate 1.0.2

6 years agoMerge pull request #1523 from dibdot/adblock
Hannu Nyman [Wed, 10 Jan 2018 21:45:04 +0000 (23:45 +0200)]
Merge pull request #1523 from dibdot/adblock

luci-app-adblock: sync with adblock 3.4.3

6 years agoluci-app-travelmate: sync with travelmate 1.0.2 1524/head
Dirk Brenken [Wed, 10 Jan 2018 18:48:01 +0000 (19:48 +0100)]
luci-app-travelmate: sync with travelmate 1.0.2

* refine status view
* add two missing eap auth variants
* small visual fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoluci-app-adblock: sync with adblock 3.4.3 1523/head
Dirk Brenken [Wed, 10 Jan 2018 18:35:39 +0000 (19:35 +0100)]
luci-app-adblock: sync with adblock 3.4.3

* add 'Download Utility' select box
* add new "running" status
* small visual fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoMerge pull request #1516 from dibdot/dnscrypt-proxy
Ted Hess [Tue, 9 Jan 2018 14:06:59 +0000 (09:06 -0500)]
Merge pull request #1516 from dibdot/dnscrypt-proxy

luci-app-dnscrypt-proxy: Updates for new repository/maintainer

6 years agoMerge pull request #1517 from SimJoSt/master
Jo-Philipp Wich [Tue, 9 Jan 2018 10:50:37 +0000 (11:50 +0100)]
Merge pull request #1517 from SimJoSt/master

community-profiles: remove Hannover

6 years agocommunity-profiles: remove Hannover 1517/head
Joda Stößer [Tue, 9 Jan 2018 10:31:55 +0000 (11:31 +0100)]
community-profiles: remove Hannover

6 years agoluci-app-dnscrypt-proxy: Updates for new repository/maintainer 1516/head
Dirk Brenken [Tue, 9 Jan 2018 09:23:13 +0000 (10:23 +0100)]
luci-app-dnscrypt-proxy: Updates for new repository/maintainer

* change csv download url to new maintainer
* small fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoi18n: Added and updated russian translation
Vladimir [Mon, 8 Jan 2018 22:30:16 +0000 (01:30 +0300)]
i18n: Added and updated russian translation

Signed-off-by: Vladimir <picfun@ya.ru>
[squashed commits]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-mod-admin-full: led config: add support for Switch Port Mask
Martin Schiller [Thu, 21 Dec 2017 14:04:00 +0000 (15:04 +0100)]
luci-mod-admin-full: led config: add support for Switch Port Mask

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
6 years agoluci-mod-admin-full: fix incorrect length of DUID-LL
Arjen de Korte [Fri, 8 Dec 2017 09:55:18 +0000 (10:55 +0100)]
luci-mod-admin-full: fix incorrect length of DUID-LL

The length of DUID-LL is 80 bits (16 bit DUID type, 16 bit hardware type, 48 bit mac)
which corresponds to 20 nibbles. Also lower the minimum required length of DUID to
20 nibbles in order to allow entering a DUID-LL.

Signed-off-by: Arjen de Korte <build+github@de-korte.org>
6 years agoluci-app-firewall: show port opening cbi section independently of lan zone definition
Florian Eckert [Mon, 11 Dec 2017 09:20:23 +0000 (10:20 +0100)]
luci-app-firewall: show port opening cbi section independently of lan zone definition

Current the append traffic rules for "port forwarding" and "port opening"
to the router are only shown if 'wan' and 'lan' zone are defined at
once.

For "port opening" to the router only need a 'wan' zone. Removing
'lan' zone dependency for 'port opening' reflect this behavior.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-base: adjust translations
Jo-Philipp Wich [Tue, 9 Jan 2018 07:03:03 +0000 (08:03 +0100)]
luci-base: adjust translations

 - Modify labels for mesh forwarding and 802.11b rate options
 - Synchronize translations
 - Complete german base translation

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-mod-admin-full: Add 802.11b legacy_rates support
Sven Roederer [Mon, 8 Jan 2018 20:02:54 +0000 (21:02 +0100)]
luci-mod-admin-full: Add 802.11b legacy_rates support

this was added to LEDE with ed62d91f4b5296a4aa883ce975d76f590ef4e910 and defaults to enable.

Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
6 years agoluci-mod-admin-full: Add mesh_fwding support
Sven Roederer [Mon, 8 Jan 2018 19:35:10 +0000 (20:35 +0100)]
luci-mod-admin-full: Add mesh_fwding support

* make it only visible for 802.11s mesh-networks
* have it enabled by default

Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
[add empty line before meshfwd assignment]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-mod-admin-full: allow setting DSL SNR offset for VDSL
Jo-Philipp Wich [Mon, 8 Jan 2018 09:31:03 +0000 (10:31 +0100)]
luci-mod-admin-full: allow setting DSL SNR offset for VDSL

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoMerge pull request #1509 from user7887/luci-ru
Hannu Nyman [Mon, 8 Jan 2018 07:18:23 +0000 (09:18 +0200)]
Merge pull request #1509 from user7887/luci-ru

fixed and updated russian translation

6 years agofixed and updated russian translation 1509/head
Vladimir [Sun, 7 Jan 2018 22:48:03 +0000 (01:48 +0300)]
fixed and updated russian translation

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoluci-mod-admin-full: Add meshId support
Kishan Gondaliya [Tue, 12 Sep 2017 10:05:37 +0000 (15:35 +0530)]
luci-mod-admin-full: Add meshId support

Signed-off-by: Kishan Gondaliya <kishanpgondaliya@gmail.com>
[move mode before the SSID / Mesh ID setting]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoMerge pull request #1504 from user7887/master
Hannu Nyman [Sat, 6 Jan 2018 21:54:10 +0000 (23:54 +0200)]
Merge pull request #1504 from user7887/master

fixed and updated russian translation

6 years agofixed and updated russian translation 1504/head
Vladimir [Sat, 6 Jan 2018 21:16:54 +0000 (00:16 +0300)]
fixed and updated russian translation

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agofixed by script i18n-sync.sh
Vladimir [Sat, 6 Jan 2018 19:45:37 +0000 (22:45 +0300)]
fixed by script i18n-sync.sh

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agofixed and updated russian translation
Vladimir [Sat, 6 Jan 2018 19:34:40 +0000 (22:34 +0300)]
fixed and updated russian translation

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoMerge pull request #1503 from user7887/master
Hannu Nyman [Sat, 6 Jan 2018 11:55:59 +0000 (13:55 +0200)]
Merge pull request #1503 from user7887/master

fixed russian translation

6 years agogive a similar look to all applications, a proper name with a capital letter 1503/head
Vladimir [Sat, 6 Jan 2018 11:24:09 +0000 (14:24 +0300)]
give a similar look to all applications, a proper name with a capital letter

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agolost space when moving, was 'файлукак' done 'файлу как'
Vladimir [Sat, 6 Jan 2018 11:00:10 +0000 (14:00 +0300)]
lost space when moving, was 'файлукак' done 'файлу как'

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agofixed russian translation
Vladimir [Sat, 6 Jan 2018 10:39:46 +0000 (13:39 +0300)]
fixed russian translation

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoi18n: sync translations
Hannu Nyman [Sat, 6 Jan 2018 07:40:39 +0000 (09:40 +0200)]
i18n: sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agoMerge pull request #1499 from yousong/shadowsocks-libev
Hannu Nyman [Sat, 6 Jan 2018 07:33:18 +0000 (09:33 +0200)]
Merge pull request #1499 from yousong/shadowsocks-libev

shadowsocks-libev: sync with packages repo

6 years agoMerge pull request #1502 from dibdot/adblock
Hannu Nyman [Fri, 5 Jan 2018 20:31:09 +0000 (22:31 +0200)]
Merge pull request #1502 from dibdot/adblock

luci-app-adblock: sync with adblock 3.4.1

6 years agoMerge pull request #1501 from user7887/master
Hannu Nyman [Fri, 5 Jan 2018 18:51:22 +0000 (20:51 +0200)]
Merge pull request #1501 from user7887/master

fixed russian translation

6 years agofixed russian translation 1501/head
Vladimir [Fri, 5 Jan 2018 18:42:52 +0000 (21:42 +0300)]
fixed russian translation

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoluci-app-adblock: sync with adblock 3.4.1 1502/head
Dirk Brenken [Fri, 5 Jan 2018 17:56:39 +0000 (18:56 +0100)]
luci-app-adblock: sync with adblock 3.4.1

* refine logfile search term
* textarea 'autoscroll down' in logfile view
* left-align blocklist source table plus a more compact design

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoMerge pull request #1500 from user7887/master
Hannu Nyman [Fri, 5 Jan 2018 15:17:38 +0000 (17:17 +0200)]
Merge pull request #1500 from user7887/master

fixed and updated russian translation

6 years agofixed and updated russian translation 1500/head
Vladimir [Fri, 5 Jan 2018 15:08:00 +0000 (18:08 +0300)]
fixed and updated russian translation

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoluci-app-shadowsocks-libev: remove option manager_address 1499/head
Yousong Zhou [Thu, 4 Jan 2018 06:38:40 +0000 (14:38 +0800)]
luci-app-shadowsocks-libev: remove option manager_address

It's an option that is supposed to be fed by ss-manager.  It can be
in the form of host:port or path to unix dgram socket.  Drop it now with
the assumption that it has no real user at the moment

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
6 years agoluci-app-shadowsocks-libev: support option no_delay
Yousong Zhou [Thu, 4 Jan 2018 06:45:53 +0000 (14:45 +0800)]
luci-app-shadowsocks-libev: support option no_delay

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
6 years agoluci-app-shadowsocks-libev: display disabled state of remote server
Yousong Zhou [Fri, 25 Aug 2017 07:40:49 +0000 (15:40 +0800)]
luci-app-shadowsocks-libev: display disabled state of remote server

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
6 years agoluci-mod-admin-full: remove unused button cbi model
Jo-Philipp Wich [Wed, 3 Jan 2018 22:25:35 +0000 (23:25 +0100)]
luci-mod-admin-full: remove unused button cbi model

Remove the unused admin_system/buttons cbi model. It has been broken,
was not exposed in the controller and the corresponding support code
which only ever was available for the ath25 target has been dropped in
with https://git.lede-project.org/0a3d721in June 2016.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agofixed and updated russian translation
Vladimir [Mon, 1 Jan 2018 16:37:37 +0000 (19:37 +0300)]
fixed and updated russian translation

Signed-off-by: Vladimir <picfun@ya.ru>
[renamed swedish advanced-reboot.po as well, fixed a syntax error,
 filtered updated files through ./build/i18n-sync.sh]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-base: fix luci.sys.wifi.getiwinfo() on radio names
Jo-Philipp Wich [Wed, 3 Jan 2018 20:27:10 +0000 (21:27 +0100)]
luci-base: fix luci.sys.wifi.getiwinfo() on radio names

Fall back to using a phy-wide iwinfo handle if the vif query yields no result.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoMerge pull request #1495 from dibdot/travelmate
Hannu Nyman [Wed, 3 Jan 2018 08:59:40 +0000 (10:59 +0200)]
Merge pull request #1495 from dibdot/travelmate

luci-app-travelmate: sync with 1.0.1

6 years agoluci-app-travelmate: sync with 1.0.1 1495/head
Dirk Brenken [Wed, 3 Jan 2018 08:19:46 +0000 (09:19 +0100)]
luci-app-travelmate: sync with 1.0.1

* LuCI: BSSID will be ignored by default in 'wireless add' dialog
* LuCI: Textarea 'autoscroll down' in logfile view
* LuCI: refine logfile search term

Signed-off-by: Dirk Brenken <dev@brenken.org>
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.