summaryrefslogtreecommitdiffhomepage
path: root/modules
AgeCommit message (Collapse)Author
2017-12-07Merge pull request #1452 from mkresin/masterJo-Philipp Wich
fix DHCPv6 hostname display
2017-12-04Fix bad argument #1 to 'tonumber'Brian J. Murrell
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.
2017-11-17luci-mod-admin-full: indicate DHCPv6 hostname mismatchMathias Kresin
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>
2017-11-17luci-mod-admin-full: always indicate missing DHCPv6 hostnameMathias Kresin
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>
2017-11-17luci-mod-admin-full: don't replace DHCPv6 hostnameMathias Kresin
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>
2017-11-11timezone data: update to 2017cHannu Nyman
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>
2017-11-11i18n: Sync translationsINAGAKI Hiroshi
Synchronized translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-11-10luci-mod-admin-full: add SNR tweak option to DSLAndrea Merello
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>
2017-11-10luci-mod-admin-full: restrict DSL xfer_mode and line_mode options to VDSL modemsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-11-10luci-mod-admin-full: add DUID option to static leases sectionJan Pavlinec
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz> [add field validation] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-11-06luci-mod-admin-full: wifi.lua: 80211r ft_over_dsLorenzo Santina
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>
2017-11-06luci-mod-admin-full: wifi.lua: 80211r ft_psk_generate_localLorenzo Santina
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>
2017-10-29Merge pull request #1418 from yangfl/masterHannu Nyman
i18n: Update Chinese translation
2017-10-29i18n: Update Chinese translationyangfl
Signed-off-by: David Yang <mmyangfl@gmail.com>
2017-10-29Fix typos in luci-base/luasrc/http/protocol.luaFelix Yan
2017-10-28i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-10-25luci-base: fix client side "host" datatype validatorJo-Philipp Wich
Fixes #1413. Reported-by: Wojciech Jowsa <wojciech.jowsa@gmail.com> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-10-20Fix syntax errors in swedish translationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-10-20Merge pull request #1365 from psyborg55/masterJo-Philipp Wich
luci-mod-admin-full: add fontsize style parameter
2017-10-20luci-base: Update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-10-18luci-base: Massive Swedish translationKristoffer Grundström
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2017-10-18luci-mod-admin-full: tone down KRACK countermeasure descriptionJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-10-17i18n: update translationsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-10-17luci-mod-admin-full: wifi: expose "wpa_disable_eapol_key_retries" optionJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-10-17i18n: synchronize and fix translation filesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-10-17luci-mod-admin-full: wifi.lua: fix indentationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-10-17luci-base: gracefully handle broken firewall forwarding sectionsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-10-11luci-base: fix PKG_HASH field nameHannu Nyman
Use PKG_HASH instead of PKG_MD5SUM Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-09-24luci-proto-vpnc: fix typoHannu Nyman
fix: 'enaled' --> 'enabled' Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-09-23luci-base: Fixes for Italian TranslationBubu83
Signed-off-by: Alessio Casagrande bubu83@gmail.com
2017-09-17luci-base: Fixes for Italian TranslationBubu83
Signed-off-by: Alessio Casagrande bubu83@gmail.com
2017-09-13add fontsize style parameterpsyborg55
add fontsize style parameter to reduce output text size Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
2017-09-13add fontsize style parameterpsyborg55
add fontsize style parameter to reduce output text size Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
2017-09-08luci-base: Updated Catalan translationRoger Pueyo Centelles
Add missing translations and fix a few typos. Signed-off-by; Roger Pueyo Centelles <roger.pueyo@guifi.net>
2017-09-05luci-base: Updated Italian TranslationBubu83
Updated Italian Translation Signed-off-by: Alessio Casagrande bubu83@gmail.com
2017-09-02http: add random security headersJo-Philipp Wich
Fixes #1343. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-08-22luci-base: datatypes: add cidr, ipnet validator typeYousong Zhou
- Rewrite ipmask to use these subtypes - Add ip{4,6}prefix validators to cbi.js Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-13luci-base: improve language detectionJo-Philipp Wich
Properly deal with client accept languages containing a culture identifier such as "zh-CN" or "pt-BR". Fixes #1226. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-08-13Merge pull request #1235 from aa65535/luci-baseJo-Philipp Wich
luci-base: add missing conffiles
2017-08-09[PATCH] luci-mod-admin-full: 802.11r AP-WDS mode enableAnton Engelhardt
Made 802.11r selection availible in AP-WDS mode Signed-off-by: Anton Engelhardt anton@neednow.de
2017-08-07luci-mod-admin-full: add 'auto' xfer_mode to dsl configurationMartin Schiller
This change is needed to support the new default 'auto' xfer_mode setting. Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2017-08-06luci-base: add missing conffilesJian Chang
Signed-off-by: Jian Chang <aa65535@live.com>
2017-08-06luci-base: Some fix of Simplified Chinese translationkuoruan
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2017-08-02Merge pull request #1245 from danweller18/feature_js_headersJo-Philipp Wich
luci-base: Remove request headers that are set automatically by browser
2017-07-28luci-base: cbi.js: fix handling of inverse-depends, combobox validationJo-Philipp Wich
- Properly handle logic for evaluating inverted dependencies means when depending on another field *not* having a given value - Perform datatype validation *after* populating combobox choices to avoid triggering a false-positive when validating an .rmempty = false combobox during form instantiation Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-28luci-base: let luci.sys.net.devices() return all netdevsJo-Philipp Wich
The previous implementation of the function only returned ethernet interfaces because it relied on the AF_PACKET family entries returned by getifaddrs(). Change the function to simply collect all interface names it sees in order to avoid missing tunnel interfaces. Fixes FS#917. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-28luci-base: Update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-07-27i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-07-24Merge pull request #1239 from kuoruan/zh-cn-trHannu Nyman
Add some translate strings & Update Simplified Chinese translation
2017-07-23Merge pull request #1242 from yousong/shadowsocks-libevHannu Nyman
luci-app-shadowsocks-libev: rewrite for shadowsocks-libev 3.0.6-2