Commit graph

4760 commits

Author SHA1 Message Date
Hannu Nyman
d851570070 treewide: backport i18n translations from master
Backport translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2021-05-26 19:11:37 +03:00
Liangbin Lian
19de3acdde luci-app-samba4: support listen on multiple interfaces
/etc/init.d/samba4 already support that

Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
(cherry picked from commit 169ab9979eee780758256c2859f7c2ee86a0b0ae)
2021-05-25 20:04:30 +03:00
Hannu Nyman
53c572ac9b treewide: i18n - Backport translations
Backport translations from master and sync.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2021-05-16 20:52:12 +03:00
Hannu Nyman
766e8f8cbf treewide: backport translations i18n
Backport translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2021-05-08 17:05:54 +03:00
Paul Spooren
56c323505b luci-app-attendedsysupgrade: fix branch detection
The running branch determines which upgrades are suggested. A jump to a
newer branch (e.g. 19.07.8 to 21.02.1) is only suggested if the advanced
mode is enable, since it may break the router.

OpenWrt versions end in either `-SNAPSHOT`, `.X-rcY` or `.x`. All these
suffixes are removed, resulting in the branch name.

Previously the `-SNAPSHOT` suffix wasn't removed resulting in wrong
branch names.

Also clean up some log spam.

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 85e9ee3123)
2021-05-07 03:45:32 -10:00
Paul Spooren
29d3ed290c luci-app-attendedsysupgrade: hide branch update
Branch updates (e.g. 19.07 to 21.02) are risky and shouldn't be
suggested by default. Hide those unless the advanced mode is enabled.

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 9184721fab)
2021-05-07 03:45:32 -10:00
Florian Eckert
424d11381b luci-app-mwan3: i18n sync translations
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-05-06 12:27:00 +02:00
Florian Eckert
0ddb72dec2 luci-app-mwan3: fix css status with
This commit fixes the width of the mwan3 status page for the
openwrt-2020 theme.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 6fa40fffca)
2021-05-06 12:23:21 +02:00
Florian Eckert
ea334e254e luci-app-mwan3: add i18n to status page
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 2b0fbcb0c8)
2021-05-06 12:23:12 +02:00
Florian Eckert
d31345fc77 luci-app-mwan3: update status page for no tracked interfaces
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 4fee871630)
2021-05-06 12:23:04 +02:00
Florian Eckert
9dc93d5d2f treewide: i18n sync translations
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-05-04 09:16:04 +02:00
Dirk Brenken
11cfd83648
luci-app-banip: switch IP query provider
* switch to IPWHOIS.IO for IP report queries, the IP geolocation API is
  more accurate & faster

Signed-off-by: Dirk Brenken <dev@brenken.org>
2021-05-02 22:11:25 +02:00
Dirk Brenken
0eb4e0911a
luci-app-travelmate: typo fix
* typo fix & sync translations

Signed-off-by: Dirk Brenken <dev@brenken.org>
2021-05-01 11:11:32 +02:00
Paul Spooren
33aa61ff25 luci-app-attendedsysupgrade: add target in reuqest
The updated ASU api requires `target` within reuqests since the
`profile` or `board_name` is never truely unique. This is especially a
problem for x86 devices which mostly use `generic` as profile name.

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit c6b4d4ab5a)
2021-04-28 01:31:04 -10:00
Hannu Nyman
a27b10dd36 treewide: i18n - backport translations from master
Backport translations from master.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2021-04-27 23:31:27 +03:00
Jo-Philipp Wich
9344026efd luci-app-statistics: treat APC UPS "host" setting as single value option
Existing Lua code incorrectly stated that the "Host" option takes a space
sparated list of hostnames which is not the case since the collect plugin
does not handle multiple hosts.

This change reverts the configuration to a simple value as proposed by
the original PR and adjusts the config summary accordingly, while retaining
the translation string.

Ref: https://github.com/openwrt/luci/pull/5010#issuecomment-827285319
Fixes: dd5d96afd ("luci-app-statistics: fix APC UPS host configuration")
Fixes: e7d22dce5 ("luci-app-statistics: convert collectd configuration to client side views")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 8816c8fff7)
2021-04-27 10:18:14 +02:00
Jo-Philipp Wich
a6efaee0dc luci-app-statistics: fix APC UPS host configuration
Ensure that list of hosts is stored as space separated list, like it was
done in the previous Lua implementation.

Fixes: #5010
Fixes: e7d22dce5 ("luci-app-statistics: convert collectd configuration to client side views")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit dd5d96afdb)
2021-04-26 17:41:19 +02:00
Dirk Brenken
bbc677096d
luci-app-banip: sync with banIP 0.7.7
* support the new 'Whitelist Only' mode
* sync translations

Signed-off-by: Dirk Brenken <dev@brenken.org>
2021-04-22 06:04:22 +02:00
Florian Eckert
a7845594f5 luci-app-dockerman: Carelessness fixed during branch rebasing
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit c4f3ac0528)
2021-04-21 23:00:29 +02:00
Florian Eckert
7d913b9976 luci-app-dockerman: update I18n
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-04-19 16:27:34 +02:00
Florian Eckert
0e664b6c56 luci-app-dockerman: revised the information for the individual page
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit ad05a0187b)
2021-04-19 16:26:45 +02:00
Florian Eckert
cef2ac7942 luci-app-dockerman: move docker uci configuration to own page
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit a9b196edaf)
2021-04-19 16:26:35 +02:00
Florian Eckert
f6ec2b545b luci-app-dockerman: if remote_endpoint is selected a port must be set
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 483f1005b1)
2021-04-19 16:26:29 +02:00
Florian Eckert
fa69377ad3 luci-app-dockerman: if remote_endpoint is selected a host must be set
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 2ffdf1988e)
2021-04-19 16:26:23 +02:00
Florian Eckert
4b4850ead6 luci-app-dockerman: add datatype and detail info for remote_host option
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit f406004c9c)
2021-04-19 16:26:16 +02:00
Florian Eckert
48d8a1a732 luci-app-dockerman: add log_level i18n translation
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 0e29a0ecc6)
2021-04-19 16:26:10 +02:00
Florian Eckert
31abfc71ee luci-app-dockerman: do not set log_level for dockerd default setting
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 36869ffd2b)
2021-04-19 16:26:04 +02:00
Florian Eckert
b03a826846 luci-app-dockerman: do not preset value selection
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 9fd1278698)
2021-04-19 16:25:58 +02:00
Florian Eckert
e88a046c1e luci-app-dockerman: set examle registry url as placeholder
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit ec564ddf6b)
2021-04-19 16:25:52 +02:00
Florian Eckert
a0d1d9f0fb luci-app-dockerman: remove setting default bip option
If no bip option is set, then the default configuration of dockerd should
be used. The option does not need to be set explicitly.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit a9fe74d8fb)
2021-04-19 16:25:46 +02:00
Florian Eckert
e23eec581b luci-app-dockerman: removal of the option socket_path
This option is for debug purposes only. It makes no sense to offer this
option to the user. Especially as it is not used for a remote
connection.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 63c5cb5614)
2021-04-19 16:25:37 +02:00
Dirk Brenken
0cdf59d845
luci-app-adblock: sync with adblock 4.1.1
* support new RPZ-Trigger 'RPZ-CLIENT-IP' (currently bind only)
* Reporting tweaks/mailing
* cosmetics
* sync translations

Signed-off-by: Dirk Brenken <dev@brenken.org>
2021-04-18 21:07:37 +02:00
Hannu Nyman
30ca1dbae5 treewide: Backport translations - i18n
Backport translations from master.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2021-04-17 19:21:32 +03:00
Ptilopsis Leucotis
93c869efe1 luci-app-fwknopd: add support for ENABLE_CMD_EXEC
Add support for execution commands on the fwknopd server.

Signed-off-by: Ptilopsis Leucotis <PtilopsisLeucotis@yandex.com>
(cherry picked from commit 57839f183b)
2021-04-13 19:12:59 +03:00
Eneas U de Queiroz
49d2a94ebd luci-app-xlc: don't build package for arc
lxc does not build on arc.  Since luci-app-xlc selects lxc, it needs to
check @!arc first.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit c6d196cc82)
2021-04-13 19:12:42 +03:00
Alexander Egorenkov
a953870b3b luci-app-transmission: fix '&nbsp' exception in OpenWrt theme
Convert '&nbsp;' to '&#160;' which is both syntactically correct (semicolon present) and XHTML compliant.

Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
(cherry picked from commit afd096edfc)
2021-04-13 19:12:34 +03:00
Stan Grishin
4f7ccf0d85 luci-app-simple-adblock: bugfix: crash when dnsmasq.ipset selected
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-04-10 18:45:01 +00:00
Jo-Philipp Wich
3fff72a3f5 luci-app-commands: prevent page reload on invoking command actions
Fixes: f117b7f ("luci-app-commands: use <button> elements")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 36959dc0d1)
2021-04-09 14:37:03 +02:00
Jo-Philipp Wich
99a089f81b luci-app-commands: use <button> elements
Use <button> instead of <input type=button> elements to fix compatibility
with OpenWrt 2020 theme.

Ref: https://github.com/openwrt/luci/issues/4972
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit f117b7f1ec)
2021-04-09 14:31:06 +02:00
Hannu Nyman
8cdf93e876 treewide: i18n - backport translations from master
Backport translations from master.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2021-04-09 11:40:47 +03:00
Jo-Philipp Wich
d627abeff2 luci-app-dawn: fix custom markup
- Properly indent HTML markup
 - Replace div-based table markup with actual tables
 - Escape SSID, hostname and interface values to prevent potential XSS

Fixes: #4942
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 32f0ff25a2)
2021-03-29 11:52:21 +02:00
Philip L. McMahon
b60b838027 luci-app-statistics: remove rrd path triple escape
Fixes rendering errors when RRD file names contain IPv6 addresses and the
colon (":") characters are triple escaped.

Adapts the Lua-specific fix in #4340 to Javascript.

Signed-off-by: Philip L. McMahon <philip.l.mcmahon@gmail.com>
(cherry picked from commit d44302b3ac of PR #4358)
2021-03-27 11:06:42 +02:00
Hannu Nyman
0907151172 treewide: Backport translations and sync
Backport translations from master

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2021-03-27 11:00:11 +02:00
Stan Grishin
5db241b2b5 luci-app-vpnbypass: client-side rendering
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-03-25 05:26:22 +00:00
Florian Eckert
73b420b09c luci-app-watchcat: sync i18n because of javascript porting
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-03-22 08:56:05 +01:00
Florian Eckert
e3686d5e9b luci-app-eoip: fix i18n for en
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-03-22 08:53:14 +01:00
Florian Eckert
8619c8b97f
Merge pull request #4932 from TDT-AG/pr/20210318-openwrt-21.02-luci-app-watchcat
luci-app-watchcat: add support for new features and convert to JavaScript
2021-03-22 08:48:23 +01:00
Florian Eckert
7bc377f67c luci-app-watchcat: change interface selection to device
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 3d48d79321)
2021-03-22 08:46:57 +01:00
Florian Eckert
1e99df56df luci-app-watchcat: fix render fails with XHTML themes
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 0e19741553)
2021-03-22 08:46:43 +01:00
Jo-Philipp Wich
6639e31a06 luci-app-opkg: fix parsing empty package repository indexes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 3bcbcbf088)
2021-03-20 17:16:38 +01:00