summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2017-06-01luci-app-commands: Allow executing without downloading on public linkst123yh
Signed-off-by: t123yh <t123yh@outlook.com>
2017-06-01luci-theme-openwrt: fix JavaScript nameingFlorian Eckert
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
2017-06-01luci-app-hd-idle: removed dashes in menu items and text labelsfantom-x
"hd-idle" replaced with "HDD Idle" in the menu and on the page. All translation files updated accordingly. Signed-off-by: Marc Benoit marcb6218@gmail.com
2017-06-01luci-theme-freifunk: fix a few broken translation directivesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-06-01luci-proto-wireguard: use "Optional" instead of "Optional." as translationJo-Philipp Wich
This allows sharing the translation string with other components. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-06-01luci-mod-admin-full: use "Lease time" instead of "Leasetime" as translation ↵Jo-Philipp Wich
label This allows sharing a common translation string between DHCP and interface pages. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-06-01luci-proto-ipv6: use "Automatic" instead as "automatic" as translation labelJo-Philipp Wich
This allows sharing a common translation string with all other protocols. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-06-01luci-proto-openconnect: fix authgroup translationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-06-01luci-mod-admin-full: auto-migrate ifnames when changing VLAN configurationJo-Philipp Wich
This change extends the switch VLAN configuration page to automatically adjust interface ifname options when altering VLAN settings. For example "eth0" is changed to "eth0.1" when a previously untagged LAN VLAN is switched to tagged on the CPU port and vice versa. Notifications are displayed in the page header if an auto migration was performed. This change should make the switch configuration more user friendly and less prone to soft bricking. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-06-01luci-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>
2017-06-01base: status: For odhpcd leases display MAC formatted with colonsDaniel Dickinson
This should result in the MAC address display being the same using odhcpd for v4 DHCP as when using DNSMasq for v4 DHCP. Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
2017-06-01changed stat to lstat in nixio_lstat functionThorsten M
Signed-off-by: Thorsten M. <thoto@devtal.de>
2017-05-24i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-05-24luci.mk: Update language name for Chineseamitabha
Rectification of non-standard name for language Chinese. Signed-off-by: Angus Ding angus.ding@gmail.com (cherry picked from commit d3861e7f8deb581cb34c6f789457153b43457ff4)
2017-05-24luci-base: support ip6ifaceid option for proto_staticHannu Nyman
Add support for 'ip6ifaceid' option for proto_static in LuCI. Information about the option: The option is optional and defaults to '::1'. Allowed values: 'eui64', 'random', fixed value like '::1' or '::1:2' When IPv6 prefix (like 'a:b:c:d::') is received from a delegating server, the ip6ifaceid suffix (like '::1') is used to form the IPv6 address ('a:b:c:d::1') for the interface. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit 5ca386469071d606609beb19a7f09325f3a8ed29)
2017-05-18luci-app-statistics: check that uci config sections existHannu Nyman
A missing or faulty luci_statistics config file may prevent LuCI access completely already at the login phase as the statistics config is parsed already then. The error is like: .../statistics/datatree.lua:16: attempt to index upvalue 'sections' (a nil value) User may be completely locked out of LuCI until he figures out the need to have a proper luci_statistics config file. Prevent the error by checking for the existence of the uci config sections before trying to use values from them. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit d04f667383ec2894a5ecefde7ad9284d07563a67)
2017-05-18luci-base: add Etc/GMT timezonesHannu Nyman
Add Etc/GMT timezones like GMT+5 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit f2cf516cf7d50c191e3ea94f4696a6c60348cf92)
2017-05-18build/zoneinfo2lua.pl: logic for Etc/GMT timezonesHannu Nyman
Add logic to add Etc/GMT timezones (like GMT+5) although the zones are not included in zone.tab Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit f8eee09f55faa375b11cf00b2f96915c92f924f4)
2017-05-09i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-05-09luci-app-statistics: processes: fix graph visibilityHannu Nyman
Fix graph visibility on processes page based on plugin instance. The overview instance is empty, while monitored processes have their own instances. Original version of the patch created by @koblack and discussed in #1021 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit 0a6ce204234c9485549e290230e51484b1fceb64)
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> (cherry picked from commit 1970c21e3bbd70adc991cf6baf153129a1356c9b)
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-02luci-app-statistics: fix whitespaceHannu Nyman
* fix whitespace in config file * place the contextswitch item corerrctly in the sorted options list Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit 2bc2f935a0428b8d31a6ff2b967157b5ca02e06b)
2017-04-30luci-app-statistics: processes plugin: add labels, correct dataHannu Nyman
Enhance processes statistics page: * add proper labels to graphs * correct RSS memory stats title, add VSZ stats Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit b737831e56854f55fedbc6a6394d385ee0aef6e3)
2017-04-30luci.mk: fix length of abbreviated hash in versionHannu Nyman
Fix the length of the abbreviated commit hash used in the LuCI version string used in the package names. Use the old standard of seven characters in hash. New git versions vary the length of the abbreviated commit hash based on the number of objects in repo. That may lead into different hash lengths with e.g. having full/shallow git history, having all/single branch or having different git versions in different build hosts. Different hash lengths in package name may lead to sneaky opkg install errors, as opkg apparently preserves info for removed packages and may prefer that. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit b9159c53472d1788284d363dc6ffff8c2542e4be)
2017-04-30luci-app-statistics: remove non-functional links from graphsHannu Nyman
The statistics graphs on the pages with multiple data sources have contained links to the data sources, but those links have not worked. Remove the links as they are unnecessary. This commit fixes #1006 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit 298f838d390a7ad032405ecdf34085bdde3fe2a4)
2017-04-30luci-app-adblock: backport updates to match 2.6.2Hannu Nyman
Backport updates to luci-app-adblock that correspond to the adblock 2.6.2 version. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-04-29Support for collectd-mod-contextswitchfantom-x
Signed-off-by: Marc Benoit marcb6218@gmail.com (cherry picked from commit 5bf636732efab13fdd92dabfd746cafb156dd4f6)
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> (cherry picked from commit 54c97738bcfd715bc36fd88fac46605bac596e04)
2017-03-14luci-app-firewall: adjust drop_invalid default (#1068)Jo-Philipp Wich
Since firewall3 commit b33f78371e7c7b6a131c2b6c01673cbd4b3c13d1 the drop_invalid option is off by default. Adjust LuCI view to properly handle the changed semantics. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-03-04i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-03-03Merge pull request #1050 from luizluca/17.01/pt-br-translationHannu Nyman
i18n: complete pt-br translation
2017-03-03i18n: complete pt-br translationLuiz Angelo Daros de Luca
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com> (partial cherry pick from commit fe9d39c06c3535ecb8f7b4f611747d21c1050a2c)
2017-03-02Merge pull request #1041 from EricLuehrsen/unbound_17_01Hannu Nyman
[lede-17.01] luci-app-unbound: service updates coordinated with application package
2017-03-01luci-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. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (partial cherry pick from commit b0943391d84546d7161709ef521410b9cfd21df9)
2017-02-28luci-mod-admin-full: adjust 80211w option default valueHannu Nyman
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> (partial cherry pick from commit b0943391d84546d7161709ef521410b9cfd21df9)
2017-02-28luci-base: backport cbi datatype changesHannu Nyman
Backport the new cbi datatypes and whitespace fixes from master. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-02-25unbound: add uci-default scriptEric Luehrsen
Also if unbound-control is installed, then configure so luci-app-commands can quickly show the "local zones" and "local data" (aka hosts). This helps diagnose DHCP-DNS zone data and adblock zone data. Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2017-02-25unbound: update UCI for odhcpd and hostnameEric Luehrsen
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2017-02-20mod-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> (cherry picked from commit 5377d22b4a8d8f2234ddb5e65783343a6f2f6897) (commit message reformatted)
2017-02-20luci: 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> (cherry picked from commit 52771816a03b9250a22a76af77c27704067d07c5)
2017-02-20luci.mk: only use remote branch detectionJo-Philipp Wich
LEDE's scripts/feeds script creates local branches named after the checked out commit hash, confusing local branch detection. Solely use remote branch detection to avoid misidentifying such cases. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-02-20luci.mk: fix branch detection in detached HEAD stateJo-Philipp Wich
When LuCI is checked out via pinned feeds configuration, its source tree will end up in detached head state, requiring some more magic to figure out the proper branch. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-02-16i18n: 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 accepts slightly different html than Bootstrap or Material. Change code to <br /> to make it compatible. This fixes #1011 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit 6a2a62fa4f9b220398fd2ed1a1fe79197b0019c9)
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> (cherry picked from commit 07e01d094eb25e1f036e85b8cfc5aceccc56003c)
2017-02-14Merge pull request #998 from hnyman/backport-80211r-80211wHannu Nyman
Backport 802.11r and 802.11w LuCI support to lede-17.01
2017-02-10Backport: support for 802.11w Management Frame ProtectionHannu Nyman
Add support for IEEE802.11w Management Frame Protection options into the wireless config. Mention in the help text that the full version of wpad/hostapd is needed. Currently supported in LEDE by ath9k and ath10k, mwlwifi and mt76. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit 4ddb6b28168e030263bc4ee7242880b8176637b7) (cherry picked from commit 4d31f7ca30efc7158f8184885df86b9325ecdcba)
2017-02-10Backport: support for 802.11r fast transition in wireless configHannu Nyman
Backports from master the commits that add support for IEEE802.11r Fast Transition to luci. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit f02794f28c343070487bbc794b425f91b675fdb9) (cherry picked from commit 171c06146ad2a45b1026e3a9779766855964fc2d) (cherry picked from commit 02bed261881dd60f212f81e7ed3e3afeb4bd890d) (cherry picked from commit c491c181ea69dc544b49dff66d999f62ebf48619)