Age | Commit message (Collapse) | Author |
|
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.
|
|
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>
|
|
luci-app-travelmate: Chaos Calmer bugfixes
|
|
* fixes for Chaos Calmer compatibility
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
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>
|
|
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>
|
|
Update openvpn.po
|
|
Signed-off-by: Artion Karreci <artionkarreci@gmail.com>
|
|
luci-app-upnp: Update Japanese translation
|
|
Updated Japanese translations.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
Synchronized translations.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
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>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
|
|
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>
|
|
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>
|
|
luci-app-upnp: Adding and displaying "Description" to upnp data
|
|
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
[add field validation]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
luci-mod-admin-full: wifi.lua: ft_psk_generate_local and ft_over_ds
|
|
meshwizard: upgrade version for some olsr-plugins
|
|
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>
|
|
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>
|
|
luci-app-adblock: Update Japanese translation
|
|
Updated Japanese translations.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
Synchronized translations with sources.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
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>
|
|
luci-app-adblock: sync with adblock 3.1.0
|
|
* add support for new 'whitelist mode'
* fix a small css issue in advanced edit tabs
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
luci-app-mwan3: fix i18n spelling
|
|
Fix i18n en spelling
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
i18n: Update Chinese translation
|
|
Fix typos in luci-base/luasrc/http/protocol.lua
|
|
Signed-off-by: David Yang <mmyangfl@gmail.com>
|
|
|
|
i18n: Update Chinese translation
|
|
Signed-off-by: David Yang <mmyangfl@gmail.com>
|
|
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
luci-app-minidlna: Update Japanese translation
|
|
Updated Japanese translations.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
Synchronized translations with sources.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
Add missing colon ":" to the UI text for widelink option.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
Modified incorrect "msgid" to "msgstr".
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
Fixes #1413.
Reported-by: Wojciech Jowsa <wojciech.jowsa@gmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
luci.mk: sort languages in lexical order
|
|
inside OLSR some plugins recently got newer version numbers (and of course improvements)
Signed-off-by: Ufo <ufo@rund.freifunk.net>
|
|
luci-app-minidlna: add allow wide links option
|
|
luci-app-minidlna: Don't specify media_dir=
|
|
luci-app-attendedsysupgrade: editable packagelist
|