summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base
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-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-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-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-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-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-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-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-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-base: mvalue: fix column wrappingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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-20base: 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-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-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-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-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>