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