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>
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>
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
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>
Hannu Nyman [Thu, 11 Jan 2018 22:33:10 +0000 (00:33 +0200)]
Merge pull request #1528 from user7887/luci-ru
fixed russian translation
Vladimir [Thu, 11 Jan 2018 20:17:43 +0000 (23:17 +0300)]
fixed russian translation
Signed-off-by: Vladimir <picfun@ya.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
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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
Vladimir [Wed, 10 Jan 2018 22:43:46 +0000 (01:43 +0300)]
fixed and updated russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
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
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
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>
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>
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
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
Joda Stößer [Tue, 9 Jan 2018 10:31:55 +0000 (11:31 +0100)]
community-profiles: remove Hannover
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
Vladimir [Sun, 7 Jan 2018 22:48:03 +0000 (01:48 +0300)]
fixed and updated russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
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>
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
Vladimir [Sat, 6 Jan 2018 21:16:54 +0000 (00:16 +0300)]
fixed and updated russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
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>
Vladimir [Sat, 6 Jan 2018 19:34:40 +0000 (22:34 +0300)]
fixed and updated russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
Hannu Nyman [Sat, 6 Jan 2018 11:55:59 +0000 (13:55 +0200)]
Merge pull request #1503 from user7887/master
fixed russian translation
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>
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>
Vladimir [Sat, 6 Jan 2018 10:39:46 +0000 (13:39 +0300)]
fixed russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
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>
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
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
Hannu Nyman [Fri, 5 Jan 2018 18:51:22 +0000 (20:51 +0200)]
Merge pull request #1501 from user7887/master
fixed russian translation
Vladimir [Fri, 5 Jan 2018 18:42:52 +0000 (21:42 +0300)]
fixed russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
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>
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
Vladimir [Fri, 5 Jan 2018 15:08:00 +0000 (18:08 +0300)]
fixed and updated russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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
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>
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
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>
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>
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
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>
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
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>
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
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>
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
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>
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>
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
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
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
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>
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
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>
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'
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.
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>
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>
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
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>
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>