summaryrefslogtreecommitdiffhomepage
path: root/modules
AgeCommit message (Collapse)Author
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>
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-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>
2017-01-16Merge pull request #953 from musashino205/mount-fix-dispDaniel Dickinson
luci-mod-admin-full: Fix display problems of mount
2017-01-16Merge pull request #917 from aa65535/masterDaniel Dickinson
luci-base:adjust the code order
2017-01-16Merge pull request #946 from chloe-jeong/trunk-koDaniel Dickinson
Updates korean languages.
2017-01-16Merge pull request #861 from ynezz/masterDaniel Dickinson
luci-mod-admin-full: Store system time into RTC also
2017-01-16Merge pull request #859 from feckert/realtime_wlanDaniel Dickinson
luci-mod-admin-full: show realtime wlan graph only if iw command is installed
2017-01-16luci-base: sync translationsINAGAKI Hiroshi
Recently a string to be translated were added to Lua source, so I synchronized po templates and po file of each language with Lua source. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-16luci-mod-admin-full: Fix display problems of mountINAGAKI Hiroshi
Fixed some display problems where the UUID label of the drop down list does not exist and the positions of other labels are misplaced in mount settings page. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-15luci-mod-admin-full: Fix display problem of wifi_addINAGAKI Hiroshi
Fixed an issue where the network name is displayed as "%q" on wlan connection destination network settings page. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-14luci-base: Updates korean language.Weongyo Jeong
Signed-off-by: Weongyo Jeong <weongyo@gmail.com>
2017-01-11i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-01-11luci-mod-admin-full: fix help text for wifi join optionsHannu Nyman
Clarify the help text in the wifi join dialog. Reference to #793, #876, #897 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-01-10Merge pull request #930 from cshore-firmware/pull-request-fix-webadminDaniel Dickinson
base: webadmin: Don't take substring of nil variable
2017-01-07Merge pull request #923 from kuoruan/i18n-zh-cnHannu Nyman
Update Simplified Chinese translation
2017-01-07luci-base: Update Simplified Chinese translationHsing-Wang Liao
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2017-01-05luci-base: update LuaSrcDiet download locationHannu Nyman
Update the googlecode download address to the current one. Change hash to SHA256 at the same time. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-01-03luci-base:adjust the code orderJian Chang
The `cbi_validate_field` should be after data initialized. Signed-off-by: Jian Chang <aa65535@live.com>
2016-12-30base: webadmin: Don't take substring of nil variableDaniel Dickinson
When converting interface names to UCI network names webadmin fails if there is no UCI network name because webadmin failed to ensure uciname has a value before attempting to take a substring. Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
2016-12-22i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-12-21luci-base: luci.sys.iptparser: properly check for table supportJo-Philipp Wich
Do not assume that the "raw" table is present on any system, instead check /proc/net/ip{,6}_tables_names to determine which iptables tables are available. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-12-21Fix a few typos in Czech translationjose1711
Signed-off-by: Jose Riha <jose1711@gmail.com>
2016-12-20Merge pull request #884 from chloe-jeong/trunk-koHannu Nyman
Adds Korean translation.
2016-12-20Adds Korean translation.Weongyo Jeong
Adds Korean language supported for Luci of OpenWRT. Most of msgs which shown at UI are translated but still not completed for non-popular features. Signed-off-by: Weongyo Jeong <weongyo@gmail.com>
2016-12-16luci-base: Update Japanese translationmusashino205
Signed-off-by: musashino205 <musashino.open@gmail.com>
2016-12-16luci-base: Update Japanese translationmusashino205
Signed-off-by: musashino205 <musashino.open@gmail.com>
2016-12-12luci-mod-admin-full: show realtime wlan graph only if iw command is installedFlorian Eckert
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
2016-12-10luci-mod-failsafe: use same string as luci-mod-admin-fullHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-12-10Merge pull request #821 from andrewshadura/luci-route-typesDaniel Dickinson
Add support for route types
2016-12-10i18n: fix some sysupgrade related string translationsHannu Nyman
Fix translated strings broken by recent changes. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-12-10i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-12-10luci-mod-admin-{full,mini}: make more distro agnosticHannu Nyman
Remove some non-essential references to explicit distro names. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-12-10Merge pull request #663 from NeoRaider/styleable-checkboxesDaniel Dickinson
luci-base: view: make checkboxes and radio buttons styleable
2016-12-10Merge pull request #656 from nlhintz/pull-requestDaniel Dickinson
luci: broadcom - add n-mode support
2016-12-10Fix config files getting overwritten in opkg installHannu Nyman
Commit 39ff053890 accidentally removed the conffiles definitions from luci-base, statistics, splash and diag-devinfo apps. That has caused existing config files to get overwritten if the package has been reinstalled via opkg. Additionally, the splash text files have not been saved in sysupgrade or backup as they are located outside /etc/config This commit adds back the conffiles definitions to the respective packages. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-12-09time zone data: Update to 2016jHannu Nyman
Changes: Saratov, Russia switches from +03 to +04 on 2016-12-04 at 02:00. This hives off a new zone Europe/Saratov from Europe/Volgograd. The new zone Asia/Atyrau for Atyraū Region, Kazakhstan, is like Asia/Aqtau except it switched from +04/+05 to +05/+06 in spring 1999, not fall 1994. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>