summaryrefslogtreecommitdiffhomepage
path: root/modules
AgeCommit message (Collapse)Author
2017-05-09i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-05-08luci-base: add Etc/GMT timezonesHannu Nyman
Add Etc/GMT timezones like GMT+5 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-05-08luci-mod-admin-full: add advice to restart cronHannu Nyman
Cron init script starts the service only if a crontab file exists. If there is no crontab file at boot and the user later creates one, he needs to manually restart the service. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-05-06luci-base: luci.dispatcher: allow overriding sysauth templateJo-Philipp Wich
In some cases it is useful to be able to override the template used for the sysauth login dialog. Add a new property "sysauth_template" which allows overriding the template name from controller files. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-05-02i18n: Sync translationsINAGAKI Hiroshi
Synchronized translations with sources. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-05-01luci-mod-admin-full: "isolate" option is missing for mac80211fantom-x
Signed-off-by: Marc Benoit marcb6218@gmail.com
2017-04-25luci-mod-admin-full: correct logic for dnsmasq boguspriv keywordmuddyfeet
Prevents deletion of the UCI dns boguspriv keyword and explicitly sets it to either 0 or removes it as the LEDE/Openwrt dnsmasq.conf default is 1 - not 0. This allows boguspriv to be turned off from the GUI. Signed-off-by: Warren Linton <warren@linton.id.au> [Jo-Philipp Wich: squashed commits, updated commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-04-20luci-mod-admin-full: use `nf_conntrack_count` for counting connections (#1114)Jo-Philipp Wich
As suggested by PR #1114, use `/proc/sys/net/netfilter/nf_conntrack_count` instead of counting the lines in `/proc/net/nf_conntrack` but use a slightly more efficient approach which avoids spawning an extra `cat` command. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-04-10timezone data: update to 2017bHannu Nyman
Update timezone data to 2017b. http://mm.icann.org/pipermail/tz-announce/2017-February/000045.html http://mm.icann.org/pipermail/tz-announce/2017-March/000046.html Key changes in 2017a-2017b: * Mongolia no longer observes DST. * Chile's Region of Magallanes moves from -04/-03 to -03 year-round. * Switch to numeric time zone abbreviations for South America, as part of the ongoing project of removing invented abbreviations. * Haiti resumed observance of DST in 2017. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-04-09luci-base: Update Simplified Chinese translationHsing-Wang Liao
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2017-04-06Merge pull request #1071 from TDT-GmbH/add-force-link-optionHannu Nyman
luci-mod-admin-full: Add force link option in interfaces advanced settings section
2017-04-03luci-base: Update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-03-31i18n: Sync translationsINAGAKI Hiroshi
Synchronized all translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-03-15luci-base: update i18nFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-03-14luci-mod-admin-full: add advanced force_link optionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-03-07luci-base: update german translationFlorian Eckert
Added some missing german translations Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-03-04i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-02-28treewide: cleanup references to madwifi from LuCIHannu Nyman
Remove the code related to the deprecated madwifi driver. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-02-28luci-mod-admin-full: new hostapd functionality for 80211w/r detectionHannu Nyman
Use the new hostapd functionality (in LEDE) to detect 802.11r and 802.11w more properly. Leave the old logic in place for Openwrt. Adjust 802.11w default value from "0" to "" in order to avoid unnecessary "option ieee80211w 0" lines in /etc/config/wireless Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-02-27Merge pull request #1039 from danrl/luci-proto-wireguardHannu Nyman
luci-proto-wireguard: add support for fwmark option
2017-02-27luci-proto-wireguard: add support for fwmark optiondanrl
Adds support for the fwmark option. FwMark is a 32-bit fwmark for outgoing packets. If set to 0 or "off", this option is disabled. Signed-off-by: Dan Luedtke <mail@danrl.com>
2017-02-26Merge pull request #1034 from feckert/bootstrap_javascript_warningHannu Nyman
luci-theme-boostrap: add javascript warning if disabled
2017-02-22i18n: complete pt-br translationLuiz Angelo Daros de Luca
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2017-02-22luci-base/po: update JavaScript nameingFlorian Eckert
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
2017-02-21luci-base: sync translationsFlorian Eckert
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
2017-02-15Merge pull request #1014 from danrl/datatypesHannu Nyman
luci-base: added datatypes `hostid` and `base64`
2017-02-15luci-base: added dhcpv6 datatypesdanrl
Signed-off-by: Dan Luedtke <mail@danrl.com>
2017-02-15luci-base: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-02-15luci-mod-admin-full: change html for compatibility with openwrt themeHannu Nyman
Openwrt theme apparently accepsts slightly different html than Bootstrap or Material. Cahnge code to <br /> to make it compatible. This fixes #1011 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-02-14luci-mod-admin-full: place 80211w options behind a check for wpad-fullHannu Nyman
The default hostapd/wpad mini version does not support ieee80211w and the option's visibility in LuCI may lead it to be placed in user's /etc/config/wireless preventing wifi from starting. Check for hostapd/wpad full before exposing the option. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-02-10luci: ignore '::1' in realtime connectionsEric Luehrsen
luci ignores only 127.0.0.1 in real time connections. The dnsmasq.init script sets up resolv.conf(s) as such. With alternate DNS servers configured 'localhost' will resolve to '127.0.0.1' or '::1'. The connections graph will spam itself. openwrt/luci#996 Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2017-02-11luci-base: Update Japanese translationINAGAKI Hiroshi
Added some Japanese translations of recently added strings. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-02-11luci-base: Sync translationsINAGAKI Hiroshi
Synchronized translations with Lua sources. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-02-10luci-mod-admin-full: tweak 80211w optionsHannu Nyman
Use ListValue type and enable translation of the option values. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
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-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-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-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-26luci-base: Update Japanese translationINAGAKI Hiroshi
Added and modified some translations for Japanese. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
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>