summaryrefslogtreecommitdiff
path: root/modules/luci-base
Commit message (Collapse)AuthorAgeFilesLines
* timezone data: update to 2019clede-17.01Hannu Nyman2019-09-281-2/+2
| | | | | | | | | | | | | Update timezone data to 2019c http://mm.icann.org/pipermail/tz-announce/2019-September/000057.html 2019c: * Fiji observes DST from 2019-11-10 to 2020-01-12. * Norfolk Island starts observing Australian-style DST. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit cf887ba62f4a2aec06ec169eba3f3829967ee344)
* timezone data: update to 2019bHannu Nyman2019-09-281-5/+7
| | | | | | | | | | | | | | | | | Update timezone data to 2019b http://mm.icann.org/pipermail/tz-announce/2018-December/000055.html http://mm.icann.org/pipermail/tz/2019-July/028249.html 2019a: * Palestine "springs forward" on 2019-03-30 instead of 2019-03-23. * Brazil no longer observes DST. 2019b: * Palestine's 2019 spring-forward transition was on 03-29, not 03-30. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit 2f769ee0872aab8dd31bd793739b7a527e8789f6)
* fill a translate in Chinesedragon100a2019-02-241-1/+1
| | | for msgid "Obtain IPv6-Address"
* i18n: sync translationsHannu Nyman2019-02-2127-5/+326
| | | | | | Sync translations to add few new strings. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* timezone data: update to 2018iHannu Nyman2019-01-021-5/+4
| | | | | | | | | | | | | | | | | | | | Update timezone data to 2018i http://mm.icann.org/pipermail/tz-announce/2018-December/000053.html http://mm.icann.org/pipermail/tz-announce/2018-December/000054.html 2018h: * Qyzylorda, Kazakhstan moved from +06 to +05 on 2018-12-21. * New zone Asia/Qostanay because Qostanay, Kazakhstan didn't move. * Metlakatla, Alaska observes PST this winter only. * Guess Morocco will continue to adjust clocks around Ramadan. * Add predictions for Iran from 2038 through 2090. 2018i: * São Tomé and Príncipe switches from +01 to +00 on 2019-01-01. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit c7776c8959b1297b03de9eb836edf3a447b0b6fa)
* timezone data: update to 2018gHannu Nyman2018-10-302-3/+3
| | | | | | | | | | | Update timezone data to 2018g http://mm.icann.org/pipermail/tz-announce/2018-October/000052.html * Morocco switches to permanent +01 on 2018-10-27. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit 111ebe2f62f28f3aa1fa038983e7d0b65e9df46c)
* timezone data: update to 2018fHannu Nyman2018-10-251-5/+5
| | | | | | | | | | | | | Update timezone data to 2018f http://mm.icann.org/pipermail/tz-announce/2018-October/000051.html Volgograd moves from +03 to +04 on 2018-10-28. Fiji ends DST 2019-01-13, not 2019-01-20. Most of Chile changes DST dates, effective 2019-04-06. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit 651937c166b4f2b8e3b1e1228f3a7f38411e4f5a)
* timezone data: update to 2018eHannu Nyman2018-10-092-3/+3
| | | | | | | | | | | | Update timezone data to 2018e http://mm.icann.org/pipermail/tz-announce/2018-May/000050.html North Korea switches back to +09 on 2018-05-05. The main format uses negative DST again, for Ireland Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit 701f6b0819a902e8c45e19c95aad7121f9c50145)
* luci-base: fix broken translationAnsuel Smith2018-05-271-2/+4
| | | | | | | Currently this translation refer to an old string, sync to the new one. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> (cherry picked from commit c29ffe4dfc76ffe4a38aee9bb363a1a3e0b8328c)
* timezone data: update to 2018dHannu Nyman2018-04-071-3/+3
| | | | | | | | | | | | Update timezone data to 2018d http://mm.icann.org/pipermail/tz-announce/2018-March/000049.html In 2018, Palestine starts DST on March 24, not March 31. Adjust future predictions accordingly. Casey Station in Antarctica changed from +11 to +08 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* luci-base: add missing conffilesJian Chang2018-03-021-0/+1
| | | | | | | Signed-off-by: Jian Chang <aa65535@live.com> [Yousong Zhou: Backported from master branch 37b11db ("luci-base: add missing conffiles")] Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* timezone data: update to 2018cHannu Nyman2018-02-021-4/+4
| | | | | | | | | | | | | Update timezone data to 2018c http://mm.icann.org/pipermail/tz-announce/2018-January/000048.html Briefly: Sao Tome and Príncipe switched from +00 to +01. Brazil's DST will now start on November's first Sunday. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit eae2f37b62393b0355238507ffdddb045b7d2fdb)
* i18n-ru: fixed and updated russian translationVladimir2018-01-301-2/+3
| | | | Signed-off-by: Vladimir <picfun@ya.ru>
* i18n-ru: fixed and updated russian translationVladimir2018-01-291-17/+16
| | | | Signed-off-by: Vladimir <picfun@ya.ru>
* i18n-ru: fixed and updated russian translationVladimir2018-01-261-22/+22
| | | | Signed-off-by: Vladimir <picfun@ya.ru>
* i18n-sync changes base.po+fixed dynapoint.luaVladimir2018-01-2327-1/+163
| | | | Signed-off-by: Vladimir <picfun@ya.ru>
* i18n-ru: fixed russian translationVladimir2018-01-231-2/+2
| | | | Signed-off-by: Vladimir <picfun@ya.ru>
* i18n-ru: fixed russian translationVladimir2018-01-211-1/+1
| | | | Signed-off-by: Vladimir <picfun@ya.ru>
* i18n-ru: fixed the difference between a trunk and 17.01Vladimir2018-01-211-1/+1
| | | | Signed-off-by: Vladimir <picfun@ya.ru>
* i18n-ru: fixed and updated russian translation+update by script i18n-sync.shVladimir2018-01-2027-839/+917
| | | | Signed-off-by: Vladimir <picfun@ya.ru>
* timezone data: update to 2017cHannu Nyman2017-11-111-6/+6
| | | | | | | | | | | | | | | | Update timezone data to 2017c http://mm.icann.org/pipermail/tz-announce/2017-October/000047.html Briefly: Northern Cyprus switches from +03 to +02/+03 on 2017-10-29. Fiji ends DST 2018-01-14, not 2018-01-21. Namibia switches from +01/+02 to +02 on 2018-04-01. Sudan switches from +03 to +02 on 2017-11-01. Tonga likely switches from +13/+14 to +13 on 2017-11-05. Turks & Caicos switches from -04 to -05/-04 on 2018-11-04. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* Fixes #1413.Jo-Philipp Wich2017-10-251-1/+1
| | | | | | Reported-by: Wojciech Jowsa <wojciech.jowsa@gmail.com> Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit fbe7f90eed4545e4b23a940a47043a2001625429)
* luci_base: Update zh_TW base.po, translate fixCye3s2017-10-231-1/+1
|
* luci_base: Update zh_CN base.po, translate fixCye3s2017-10-231-1/+1
| | | | Same as https://github.com/openwrt/luci/pull/1221 But commit to lede-17.01 branch
* luci-mod-admin-full: tone down KRACK countermeasure descriptionJo-Philipp Wich2017-10-1827-28/+28
| | | | | | Backport of b7be0b9d16c8bd28cefc2566ae542aedea1639e9. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* i18n: update translationsJo-Philipp Wich2017-10-1727-4/+280
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* i18n: sync translationsHannu Nyman2017-10-1627-0/+81
| | | | Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* i18n: sync with masterJo-Philipp Wich2017-06-0127-1450/+1503
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* luci-base: luci.tools.status: properly parse infinite dnsmasq leasesCody R. Brown2017-06-011-2/+3
| | | | | | | | | | | | | 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>
* base: status: For odhpcd leases display MAC formatted with colonsDaniel Dickinson2017-06-011-0/+10
| | | | | | | 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>
* i18n: sync translationsHannu Nyman2017-05-2427-0/+270
| | | | Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* luci-base: support ip6ifaceid option for proto_staticHannu Nyman2017-05-241-0/+9
| | | | | | | | | | | | | | | | 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)
* luci-base: add Etc/GMT timezonesHannu Nyman2017-05-181-0/+27
| | | | | | | Add Etc/GMT timezones like GMT+5 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit f2cf516cf7d50c191e3ea94f4696a6c60348cf92)
* i18n: sync translationsHannu Nyman2017-05-0927-0/+135
| | | | Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* luci-base: luci.dispatcher: allow overriding sysauth templateJo-Philipp Wich2017-05-061-3/+3
| | | | | | | | | | 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>
* timezone data: update to 2017bHannu Nyman2017-04-102-211/+118
| | | | | | | | | | | | | | | | | | 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)
* i18n: sync translationsHannu Nyman2017-03-0427-3/+159
| | | | Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* i18n: complete pt-br translationLuiz Angelo Daros de Luca2017-03-031-301/+435
| | | | | Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com> (partial cherry pick from commit fe9d39c06c3535ecb8f7b4f611747d21c1050a2c)
* luci-base: backport cbi datatype changesHannu Nyman2017-02-281-4/+27
| | | | | | Backport the new cbi datatypes and whitespace fixes from master. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* mod-admin-full: Add IPv6 Prefix Delegation information to Status PagesCody R. Brown2017-02-201-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | 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)
* i18n: sync translationsHannu Nyman2017-02-1627-2/+2702
| | | | Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* luci-base: add hexstring datatypeHannu Nyman2017-02-101-0/+7
| | | | | | | | | | | 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> (cherry picked from commit 11f23559e4be78f202aa55d811d5b58cb0ca0a78)
* luci-base: fix logic errors in ipmask4 and ipmask6 datatype validatorsJo-Philipp Wich2017-01-301-2/+2
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* luci-base: mvalue: fix column wrappingJo-Philipp Wich2017-01-261-1/+1
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* luci-base: datatypes.lua: add missing parentheses in conditionalJo-Philipp Wich2017-01-241-2/+2
| | | | | | | 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>
* luci-base: add ipmask, ipmask4 and ipmask6 validatorsJo-Philipp Wich2017-01-232-0/+78
| | | | | | | | | | These validators accept IP address specifications in the form - address - address/bits - address/netmask Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* luci-base: datatypes.lua: cleanup white spaceJo-Philipp Wich2017-01-231-23/+23
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* Merge pull request #953 from musashino205/mount-fix-dispDaniel Dickinson2017-01-1627-0/+81
|\ | | | | luci-mod-admin-full: Fix display problems of mount
| * luci-base: sync translationsINAGAKI Hiroshi2017-01-1627-0/+81
| | | | | | | | | | | | | | | | 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>
* | Merge pull request #917 from aa65535/masterDaniel Dickinson2017-01-161-7/+7
|\ \ | | | | | | luci-base:adjust the code order