Commit graph

1559 commits

Author SHA1 Message Date
Hannu Nyman
0aaa0c2384 i18n: sync translations
Sync translations to add few new strings.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-02-21 17:58:13 +02:00
Hannu Nyman
e86fedb7dd timezone data: update to 2018i
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 c7776c8959)
2019-01-02 21:36:47 +02:00
Hannu Nyman
883f66f70f timezone data: update to 2018g
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 111ebe2f62)
2018-10-30 19:50:25 +02:00
Hannu Nyman
2cb704f635 timezone data: update to 2018f
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 651937c166)
2018-10-25 18:49:54 +03:00
Hannu Nyman
c04c81f0d9 timezone data: update to 2018e
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 701f6b0819)
2018-10-09 18:27:46 +03:00
Mathias Kresin
7bf0367500 luci-mod-admin-full: set 0 db DSL SNR offset by default
If no DSL SNR offset is set for the dsl line the first entry from the
dropdown list is pre-selected by default, which would apply a -10 db
offset by default.

Pre-select the 0 db option if nothing else is specified in the uci config
files.

Signed-off-by: Mathias Kresin <dev@kresin.me>
(backported from commit cfdeaa91fa)
2018-07-20 09:32:06 +02:00
Jo-Philipp Wich
6d349c5f70 luci-mod-admin-full: allow setting DSL SNR offset for VDSL
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit 08b40acc4e)
2018-07-20 09:31:23 +02:00
Jo-Philipp Wich
46b9d83d9b luci-mod-admin-full: allow a wider range of DSL SNR margins
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit dbb694c699)
2018-07-20 09:30:34 +02:00
Andrea Merello
87a74eedc6 luci-mod-admin-full: add SNR tweak option to DSL
Reported-by: Andrea Merello <andrea.merello@gmail.com>
[rebase onto master, fix indentation, commit subject, depend on adsl mode]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>

(backported from commit f0716ecd6e)
2018-07-20 09:28:49 +02:00
Ansuel Smith
36945b5b03 luci-base: fix broken translation
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 c29ffe4dfc)
2018-05-27 22:11:37 +03:00
Hannu Nyman
d585fd7cca
Merge pull request #1708 from guidosarducci/lede-17.01-add-luci-isolate-mac80211
luci-mod-admin-full: backport add missing "isolate" option for mac80211
2018-05-23 08:30:15 +03:00
Hannu Nyman
3737637a65 timezone data: update to 2018d
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>
2018-04-07 23:30:52 +03:00
fantom-x
d01ad2bdf6 luci-mod-admin-full: "isolate" option is missing for mac80211
Signed-off-by: Marc Benoit marcb6218@gmail.com
[Tony Ambardar: backported from aee99ce9 ('luci-mod-admin-full: "isolate"
                option is missing for mac80211')]
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2018-03-29 21:12:31 -07:00
Jian Chang
d09277299c luci-base: add missing conffiles
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>
2018-03-02 12:57:12 +08:00
Hannu Nyman
3d46f2593a timezone data: update to 2018c
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 eae2f37b62)
2018-02-02 18:26:18 +02:00
Vladimir
9eee806f9f i18n-ru: fixed and updated russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-30 17:48:14 +03:00
Vladimir
a016dbcee1 i18n-ru: fixed and updated russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-29 18:01:03 +03:00
Hannu Nyman
73abb7db50
Merge pull request #1590 from user7887/lede-17.01
i18n-ru: fixed and updated russian translation
2018-01-26 16:22:52 +02:00
Vladimir
b16253ed8f i18n-ru: fixed and updated russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-26 16:59:41 +03:00
Brian J. Murrell
f8682164c1 Fix bad argument #1 to 'tonumber'
Fixes [FS#1118](https://bugs.lede-project.org/index.php?do=details&task_id=1118)

Luci chokes on devices that do not have _iptables_ installed with:

/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute function dispatcher target for entry '/'.
The called action terminated with an exception:
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute firstchild dispatcher target for entry '/admin'.
The called action terminated with an exception:
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute function dispatcher target for entry '/admin/status'.
The called action terminated with an exception:
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute template dispatcher target for entry '/admin/status/overview'.
The called action terminated with an exception:
/usr/lib/lua/luci/template.lua:97: Failed to execute template 'admin_status/index'.
A runtime error occured: [string "/usr/lib/lua/luci/view/admin_status/index.h..."]:34: bad argument #1 to 'tonumber' (string expected, got nil)
stack traceback:
	[C]: in function 'assert'
	/usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch'
	/usr/lib/lua/luci/dispatcher.lua:141: in function </usr/lib/lua/luci/dispatcher.lua:140>

The code should be more defensive.
2018-01-26 18:31:19 +08:00
Vladimir
67c571a1be i18n-sync changes base.po+fixed dynapoint.lua
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-23 23:25:01 +03:00
Sven Roederer
3f6a27fbf5 luci-mod-admin-full: Add mesh_fwding support
* make it only visible for 802.11s mesh-networks
* have it enabled by default

Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
[add empty line before meshfwd assignment]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 63255ec38b)
2018-01-23 18:18:25 +02:00
Kishan Gondaliya
33f6527ccf luci-mod-admin-full: Add meshId support
Signed-off-by: Kishan Gondaliya <kishanpgondaliya@gmail.com>
[move mode before the SSID / Mesh ID setting]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 267bf83db0)
2018-01-23 18:17:48 +02:00
Vladimir
070c297919 i18n-ru: fixed russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-23 13:32:48 +03:00
Vladimir
c6c83abeea i18n-ru: fixed russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-21 19:41:59 +03:00
Vladimir
3894f12e2f i18n-ru: fixed the difference between a trunk and 17.01
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-21 01:36:33 +03:00
Vladimir
bf937ed97e i18n-ru: fixed and updated russian translation+update by script i18n-sync.sh
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-20 23:02:49 +03:00
Hannu Nyman
a9bddc408a timezone data: update to 2017c
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>
2017-11-11 19:01:45 +02:00
Jo-Philipp Wich
07e7ff07aa Fixes #1413.
Reported-by: Wojciech Jowsa <wojciech.jowsa@gmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit fbe7f90eed)
2017-10-25 14:40:05 +02:00
Cye3s
4a0877b4e3 luci_base: Update zh_TW base.po, translate fix 2017-10-23 17:26:20 +08:00
Cye3s
1aae4e9c82 luci_base: Update zh_CN base.po, translate fix
Same as https://github.com/openwrt/luci/pull/1221
But commit to lede-17.01 branch
2017-10-23 17:21:33 +08:00
Jo-Philipp Wich
7fc88b4e6e luci-mod-admin-full: move KRACK countermeasures out of IEEE802.11w condition
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-10-18 15:51:51 +02:00
Jo-Philipp Wich
d3f0685d63 luci-mod-admin-full: tone down KRACK countermeasure description
Backport of b7be0b9d16.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-10-18 00:04:58 +02:00
Jo-Philipp Wich
701d40a76d i18n: update translations
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-10-17 22:57:57 +02:00
Jo-Philipp Wich
13ce0a1e21 luci-mod-admin-full: wifi: expose wpa_disable_eapol_key_retries option
Bacport of 48ed00e5b.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-10-17 22:54:18 +02:00
Hannu Nyman
e8e8544823 i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-10-16 16:31:50 +03:00
Jo-Philipp Wich
7f6fc1681f luci-mod-admin-full: automatically set dns=1 for static leases with hostname
Most users likely want the hostname of a static DHCP lease to be resolveable,
even if the corresponding host is currently offline.

Adjust the form logic to automatically set 'option dns 1' whenever a name is
specified in the static lease entry.

FIxes LEDE FS#815.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-06-02 01:03:07 +02:00
Jo-Philipp Wich
a6054eb38a i18n: sync with master
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-06-01 00:47:04 +02:00
Jo-Philipp Wich
b753cc503f luci-mod-admin-full: use "Lease time" instead of "Leasetime" as translation label
This allows sharing a common translation string between DHCP and interface pages.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-06-01 00:25:53 +02:00
Jo-Philipp Wich
426c1043b1 luci-mod-admin-full: auto-migrate ifnames when changing VLAN configuration
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-01 00:25:38 +02:00
Cody R. Brown
e5ed0e7e78 luci-base: luci.tools.status: properly parse infinite dnsmasq leases
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-01 00:17:32 +02:00
Daniel Dickinson
dbc1a1bfc1 base: status: For odhpcd leases display MAC formatted with colons
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-01 00:17:26 +02:00
Hannu Nyman
dc8ef82e62 i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-05-24 23:47:12 +03:00
Hannu Nyman
10d1c5dbb3 luci-base: support ip6ifaceid option for proto_static
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🅱️c:d::') is received from a delegating
 server, the ip6ifaceid suffix (like '::1') is used to form
 the IPv6 address ('a🅱️c:d::1') for the interface.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

(cherry picked from commit 5ca3864690)
2017-05-24 23:42:17 +03:00
Hannu Nyman
d7d7503a39 luci-base: add Etc/GMT timezones
Add Etc/GMT timezones like GMT+5

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit f2cf516cf7)
2017-05-18 12:09:37 +03:00
Hannu Nyman
6467df385f i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-05-09 11:07:51 +03:00
Hannu Nyman
97ad2a9286 luci-mod-admin-full: add advice to restart cron
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 1970c21e3b)
2017-05-08 16:06:06 +03:00
Jo-Philipp Wich
596f47649c luci-base: luci.dispatcher: allow overriding sysauth template
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-06 15:07:57 +02:00
Jo-Philipp Wich
16ffea4bf5 luci-mod-admin-full: use nf_conntrack_count for counting connections (#1114)
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-20 16:57:58 +02:00
Hannu Nyman
29fabe2639 timezone data: update to 2017b
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 54c97738bc)
2017-04-10 22:36:11 +03:00