Age | Commit message (Collapse) | Author |
|
Since the section labels are already HTML-escaped implicitely by the
striptags() function, we must not escape them again in attr() or
ifattr().
Fixes: #2524
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Extend the attr() and ifattr() template functions to take an optional
further parameter indicating that the passed value should not be escaped.
This is needed for cases where the input already is escaped through
other means, e.g. when the value was previously filtered through the
striptags() template helper.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Rework the regexp pattern to allow both IP addresses without mask
and IPv6 addresses with netmask instead of CIDR notation.
Fixes: #2495, #2530
Fixes: f6bfac211 ("luci-mod-status: rework iptables status page")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Zheng Qian <sotux82@gmail.com>
|
|
Signed-off-by: Yurii yuripet@gmail.com
|
|
Updated Japanese translations.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
Drop the "secret" value from RPC session objects in order to make them
compatible with ordinary web sessions used by the LuCI web interface.
That secret value was never used for anything and is the only difference
compared to normal LuCI login sessions.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
luci-mod-network: Add mesh_rssi_threshold and encryption
|
|
SSID escaping
|
|
Signed-off-by: Yurii yuripet@gmail.com
|
|
Signed-off-by: Zheng Qian <sotux82@gmail.com>
|
|
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
Remove old LEDE references.
Also remove one obviously wrong translation from pt-br
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
luci-mod-system: add pollinterval option
|
|
* make mesh_rssi_threshold configurable
* add SAE encryption support
Signed-off-by: Enrique Giraldo <enrique.giraldo@galgus.net>
|
|
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
|
|
Signed-off-by: Sibren Vasse <github@sibrenvasse.nl>
|
|
luci-mod-freifunk: fix the list of community profiles
|
|
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
|
|
The get_all() function has changed and how it was used before no
longer works properly. These changes not only change to individual
get() calls, but actually adds to the readability of the code and reduces
file size.
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
|
|
luci-base: Fix addr:port validate always fails
|
|
Signed-off-by: Zheng Qian <sotux82@gmail.com>
|
|
Make pollinterval configurable.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Polish translation has been updated.
Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
|
|
In cbi.js there is an error which causes ipaddrport validation to always fail.
JS match() return the entire match as ret[0] and individual matches (for multiple ()) as the
subsequent list members. So we fix it by just fixing the index in the calls that want the
individual parts.
Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
|
|
treewide: fix redirecting to System->Software
|
|
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>
|
|
Right now the handler only recognizes "query=xx" argument, others will
be ignored.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
|
|
By replacing url "admin/system/packages" with "admin/system/opkg"
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
|
|
Signed-off-by: Yurii yuripet@gmail.com
|
|
Do not call cbi_init() from the browser field template but lazily initialize
the field, like it is being done for all other widgets as well.
Fixes: #2398
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixed Japanese translation.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
Fixes #1092
Signed-off-by: Simmar Kalsi simmarkalsi@gmail.com
[reword commit message subject]
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
|
|
Replace all XHR poll time number with -1 so they will use the default
poll interval time value from "/etc/config/luci". If this is not set then
5 seconds as default is used.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Make poll interval configurable. Use option from
----
config core 'main'
option pollinterval '5'
---
This will only be used if the interval option is less or equal zero.
If the poll interval is not configured then a default value of 5 seconds
is used.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Updated Japanese translations.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
luci-mod-system: add translation for led trigger names
|
|
Signed-off-by: Zheng Qian <sotux82@gmail.com>
|
|
Fixes: b33192a03 ("luci-base: support cidr list notation for option ipaddr and ip6addr")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
When an interface configuration specifies both "option ipaddr 1.2.3.4/24"
and "option netmask", then netifd will ignore the netmask in favor to the
prefix encoded in the cidr string.
Support this variant as well by treating a sole cidr string value as
singöe-item cidr list.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
|
|
Fixes #2366.
Fixes: 76e9c0305 ("luci-base: rework ui tabbing code")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Split status page into a series of partials as discussed in PR #2359.
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
|