project/luci.git
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.

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>