summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2017-02-09luci-mod-admin-full: add support for 802.11w optionsHannu Nyman
Add support for IEEE802.11w Management Frame Protection options. Mention in the help text that the full version of wpad/hostapd is needed. Currently supported by ath9k and ath10k, and in LEDE also by mwlwifi and mt76. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-02-09luci-mod-admin-full: add validation to more 802.11r optionsHannu Nyman
Apply hexstring datatype to mobility domain and r1_key_holder. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-02-09luci-base: add hexstring datatypeHannu Nyman
Add datatype 'hexstring' for input validaiton datatypes. It will accept any hexadecimal string. (no length validation, as rangelength can be used for that.) Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-02-09luci-mod-admin-full: improve 802.11r supportHannu Nyman
* Add WPA/WPA2-PSK mixed mode to the list of allowed modes * Add datatype validation to some fields * Add help texts * Reformat longest lines Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-02-09Add support for 802.11r fast transition to wireless configmuddyfeet
Adds support for 802.11r fast transition to luci. Corrects the deletion on nasid in issue #844 The R0KH & R1KH options are not perfect as it would be better to separate out each option and do some sanity checking on the values, but that is beyond my capabilities. Signed-off-by: Warren Linton warren@linton.id.au (squashed from three original commits in #994. commit message reworded)
2017-02-09luci-mod-admin-full: prevent accidental deletion of 802.11r nasidHannu Nyman
The same wifi option 'nasid' is used for two purposes, RADIUS NAS ID and 802.11r NAS ID / R0KH-ID. In LuCI the 'nasid' option has depended on WPA-EAP/WPA2-EAP, which can lead to accidental deletion of the option, if the user modifies any wifi settings while he has WPA(2)-PSK & 802.11r mode. 802.11r can also be with WPA(2)-PSK, so add them to the dependency list of allowed encryptions. (Note: after this fix the 'nasid' field is shown unnecessarily to "normal" WPA(2)-PSK users. It might later be set to depend on 802.11r being used, after 802.11r has been added to LuCI.) Reference to bugs: https://github.com/openwrt/luci/issues/844 https://dev.openwrt.org/ticket/20764 https://bugs.lede-project.org/index.php?do=details&task_id=274 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-02-07Merge pull request #965 from cshore-firmware/pull-request-odhcpd-macDaniel Dickinson
base: status: For odhpcd leases display MAC formatted with colons
2017-02-07Merge pull request #798 from thoto/feature_lstatDaniel Dickinson
luci-lib-nixio: nixio_lstat calls stat instead of lstat
2017-02-07luci-app-wshaper: remove packageHannu Nyman
wshaper was removed from the Packages repo so remove also the corresponding LuCI app. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-02-05Merge pull request #992 from dibdot/masterHannu Nyman
luci-app-adblock: put backup options to global section
2017-02-05luci-app-adblock: put backup options to global sectionDirk Brenken
this PR reflect the changes made in adblock 2.3.0 Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-02-03Merge pull request #988 from danrl/proto-wireguardHannu Nyman
luci-proto-wireguard: fix wrong maximum MTU
2017-02-03luci-proto-wireguard: fix wrong maximum MTUdanrl
Signed-off-by: Dan Luedtke <mail@danrl.com>
2017-01-31luci-ssl-openssl: use OpenSSL for key generation, drop px5gHannu Nyman
Replace a dependency for px5g with openssl-util. Both LEDE and Openwrt have now uhttpd versions that can generate keys with OpenSSL cmd tools if px5g is not found. This change enables an "OpenSSL-only" version of LuCI without mbedTLS/PolarSSL. (Note: if px5g is found, uhttpd will prefer that.) Relevant commits in uhttpd: LEDE: https://github.com/lede-project/source/commit/3c4858eeb2bbb3107f87bb3be07d5c172c8e0ef9 https://github.com/lede-project/source/commit/82132540a3efbc98f8f4379b26d4b4541013e69d https://github.com/lede-project/source/commit/9097dc5ad844c336020be11085e1c8c80390ac9c Openwrt: https://github.com/openwrt/openwrt/commit/6ec32832d25335355d205c4601d4a8ca5dfd6808 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-01-30luci-base: fix logic errors in ipmask4 and ipmask6 datatype validatorsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-30luci-mod-admin-full: fixes for usbport LED triggersJo-Philipp Wich
The previous commit erroneously used "ports" instead of "port" as name for the option widget, causing wrong uci values to be written. Also work around some cbi idiosyncrasies regarding MultiValue widgets which prevented rendering the correct initial selection state. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-30Merge pull request #984 from musashino205/base-upd-jaHannu Nyman
luci-base: Update Japanese translation
2017-01-30luci-base: Update Japanese translationINAGAKI Hiroshi
Added and modified some Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-30luci-base: Sync translationsINAGAKI Hiroshi
Synchronized translations with Lua sources. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-28Merge pull request #983 from stangri/luci-app-vpnbypass_makefileFixHannu Nyman
luci-app-vpnbypass: luci tree Makefile + i18n support.
2017-01-28luci-app-vpnbypass: switch to luci-tree Makefile, i18n supportStan Grishin
Signed-off-by: Stan Grishin <stangri@melmac.net> luci-app-vpnbypass: fixed makefile, fixed pot-file Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-01-28Merge pull request #981 from NvrBst/pull-request-ipv6_prefix_status_displayJo-Philipp Wich
mod-admin-full: Add IPv6 Prefix Delegation information to Status Pages
2017-01-28mod-admin-full: Add IPv6 Prefix Delegation information to Status PagesCody R. Brown
The Overview page and Network>Interfaces page currently do not give much information about IPv6, particularly with Prefix Delegated setups. In these setups, ISP will delegate a prefix to the router. Currently LuCI doesn't display this Prefix Delegation from the ISP anywhere. A number of changes was added to this commit: 1) self:_ubus("ipv6-prefix") was extracted and put into protocol.ip6prefix. 2) Network>Interfaces page, if a .ip6prefix is present, show it under Status. (IPv6-PD). 3) On the Overview page, "Type" and "Prefix Delegated" has been added to the IPv6 Network Overview Status: - Type will display the .proto, similar to the IPv4 case. If a .ip6prefix is present, it'll display a "-pd" at the end of the Type: i.e. dhcpv6-pd vs. dhcpv6. - If no .ip6prefix is present, it'll do what it does currently, and just show Address, or :: if no address is present. - If .ip6prefix is present, it'll show the "Prefix Delegated", it'll also hide "Address" if no address is present, else it'll show ifc6.ip6addr as well. Signed-off-by: Cody R. Brown <dev@codybrown.ca>
2017-01-27Merge pull request #979 from musashino205/wol-upd-jaHannu Nyman
luci-app-wol: Update Japanese translation
2017-01-27Merge pull request #977 from stangri/luci-app-vpnbypassHannu Nyman
luci-app-vpnbypass: initial commit of companion app to vpnbypass package
2017-01-27luci-app-wol: Update Japanese translationINAGAKI Hiroshi
Added one Japanese translation of recently added string. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-27luci-app-wol: Sync translationsINAGAKI Hiroshi
Synchronized translations with Lua sources. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-27luci-app-wol: add ability to send packet to broadcast addressHannu Nyman
Add the ability to send the WOL packet to the broadcast address, if etherwake is used as the wol tool. Modified from the original idea in #975 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-01-27luci-app-wol: move to services menuHannu Nyman
Move the wake-on-lan app from the network menu to services menu, where other similar apps are located. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-01-26luci-app-vpnbypass: initial commit of companion app to vpnbypass packageStan Grishin
Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-01-26Merge pull request #974 from musashino205/base-upd-jaHannu Nyman
luci-base: Update Japanese translation
2017-01-26luci-base: Update Japanese translationINAGAKI Hiroshi
Added and modified some translations for Japanese. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-26Merge pull request #973 from musashino205/sync-transHannu Nyman
i18n: Sync translations
2017-01-26i18n: Sync translationsINAGAKI Hiroshi
Synchronized translations with Lua sources. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-26luci-mod-admin-full: admin: change password in Map.parse()Jo-Philipp Wich
Move the password setting into the .parse() callback to ensure that it is updated regardless of whether "Save" or "Save & Apply" has been pressed. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-26luci-mod-admin-full: support configuring usbport LED triggersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-26luci-base: mvalue: fix column wrappingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-25luci-mod-admin-full: reload wifi settings page after changing countey codeJo-Philipp Wich
Reloading the page ensures that the allowed tx power values and channel select lists are properly populated with the new effective values. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-25luci-mod-admin-full: allow unset txpower valueRafał Miłecki
Sometimes txpower is not set so we should have an option with empty value to let it stay unset. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2017-01-24luci-base: datatypes.lua: add missing parentheses in conditionalJo-Philipp Wich
The missing parens lead to a wrong expression precedence, causing a runtime error when attempting to compare nil with a number. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-24Merge pull request #972 from musashino205/stat-upd-jaHannu Nyman
luci-app-statistics: Update Japanese translation
2017-01-24luci-app-statistics: Update Japanese translationINAGAKI Hiroshi
Added some Japanese translations and fixed some mistranslations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-24luci-app-statistics: Sync translationsINAGAKI Hiroshi
Synchronized translation of each language po file and po templates with Lua source. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-24Merge pull request #959 from EricLuehrsen/unbound_odhcpdHannu Nyman
unbound: update UCI for odhcpd and hostname
2017-01-24unbound: update UCI for odhcpd and hostnameEric Luehrsen
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2017-01-23luci-app-statistics: add advice about data directory permissionsHannu Nyman
Add advice about the permissions needed for the data directory: Pages are rendered as user 'nobody', so the *.rrd files, data directory and all its parent directories need to be world readable. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-01-23luci-app-firewall: use new ipmask validation types when applicableJo-Philipp Wich
This allows for address specifications like "fdca:1234:0123::abcd/::ffff:ffff:ffff:ffff" which only match the last 64 bits of an address. This syntax is legal and already supported by iptables and firewall3. Fixes https://bugs.lede-project.org/index.php?do=details&task_id=417 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-23luci-base: ipmask, ipmask4 and ipmask6 validatorsJo-Philipp Wich
These validators accept IP address specifications in the form - address - address/bits - address/netmask Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-23luci-base: datatypes.lua: cleanup white spaceJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-23luci-base: luci.tools.status: properly parse infinite dnsmasq leasesCody R. Brown
The expiry time in a dnsmasq lease file line may be 0 (i.e. expiry date = 01/01/1970 00:00:00 GMT) to denote an infinite lease time, so adjust the code to properly support that. The expiry attribute of the lease object will be set to "false" in case of an infinite lease. This is to mimic the odhcp code below. If the expiry date is not equal to 0, then just do exactly what was done before (return the os.diff of current time and ts). Signed-off-by: Cody R. Brown <dev@codybrown.ca>