Commit graph

12332 commits

Author SHA1 Message Date
Stan Grishin
ce5c5c864d luci-app-https-dns-proxy: add OpenDNS servers
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-07-29 09:41:27 +00:00
Jo-Philipp Wich
8750495992 luci-mod-system: ignore empty /proc/mtd on flash page
A present, but empty /proc/mtd causes validation on the flash page to fail,
preventing any other operation.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit d2d3738d90)
2020-07-22 10:29:45 +02:00
Hannu Nyman
91ac7214be treewide: i18n - backport translations
Backport translations from master and sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-07-18 14:22:34 +03:00
Florian Eckert
210b4893d8
Merge pull request #4262 from TDT-AG/pr/20200713-luci-app-mwan3
luci-app-mwan3: sync changes with mwan3
2020-07-15 15:47:35 +02:00
Florian Eckert
e7609bdd39 luci-app-mwan3: fix diagnostics status page style issues
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 9daf129cba)
2020-07-14 12:35:50 +02:00
Florian Eckert
123d7a5d17 luci-app-mwan3: use ucitrack is now done with mwan3 procd
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 40957b1c78)
2020-07-14 12:35:24 +02:00
Florian Eckert
ff8791774e luci-app-mwan3: fix diagnostics status page style issues
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 9daf129cba)
2020-07-13 08:15:00 +02:00
Florian Eckert
b89cfb1a67 luci-app-mwan3: use ucitrack is now done with mwan3 procd
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 40957b1c78)
2020-07-13 08:14:56 +02:00
Jo-Philipp Wich
282dbf8f37 luci-app-firewall: migrate syn_flood option to synflood_protect on save
Fixes: #4220
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 0abcb39b62)
2020-07-05 00:53:09 +02:00
Jo-Philipp Wich
0105851235 luci-base: ui.js: order menu entries with the same weight by name
The previous server side menu rendering ordered items first by their order
weight value, then by their internal name.

Do the same for client side menu rendering.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 0c479891ae)
2020-07-05 00:53:09 +02:00
Karl Palsson
b573f106a1 luci-base: allow themes to provide sysauth.htm
Support for sysauth_template was (inadvertently) dropped in refactorings
to support the json menu construction.  This does not restore that
functionality, which allowed different templates for every node in the
dispatcher tree, but provides an alternative mechanism that allows a
theme to provide a sysauth.htm template file instead.

Tested-by: Karl Palsson <karlp@etactica.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 8f9433127e)
2020-06-30 18:14:13 +02:00
Dirk Brenken
ce35d0852f
luci-app-travelmate: qrcode fix
* escape more special chars which disturb qrcode generation

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 06ce62b65d)
2020-06-26 19:41:41 +02:00
Stan Grishin
e11af3aba9 luci-app-https-dns-proxy: bugfix: remove eDNS support
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-06-25 13:10:17 -07:00
Hannu Nyman
451313eab2 treewide: i18n - backport translations
Backport translations from master.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-06-24 23:26:31 +03:00
Hannu Nyman
87da00ae8a treewide: i18n - backport translations
Backport translations from master.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-06-15 20:12:48 +03:00
Jo-Philipp Wich
b894a3b9aa luci-base: form.js: fix handling of array sections in JSONMap forms
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 682f628ea6)
2020-06-14 16:42:17 +02:00
Stan Grishin
79fa9ba183 luci-app-simple-adblock: racially-neutral names
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-06-13 15:13:41 -07:00
Dirk Brenken
81342b17c2
Merge pull request #4168 from dibdot/adb-19.07
luci-app-adblock [19.07]: sync with adblock 4.0.6
2020-06-13 08:37:59 +02:00
Dirk Brenken
959f368f4f
luci-app-adblock [19.07]: sync with adblock 4.0.6
* made SafeSearch provider configurable, you can limit
  SafeSearch to certain providers
* add an explanation paragraph to report settings
  tab (regarding restart requirement)
* sync translations

Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-06-13 08:30:37 +02:00
Stan
f6e0694678
Merge pull request #4153 from stangri/19.07-luci-app-advanced-reboot
[19.07] luci-app-advanced-reboot: bugfix: new board names for Linksys WRT-devices
2020-06-11 12:56:14 -07:00
Stan Grishin
990c9abd0d luci-app-advanced-reboot: bugfix: support new board names for Linksys WRT-devices
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-06-10 16:49:11 +00:00
Hannu Nyman
777fe39774 luci(-ssl)-nginx: depend on luci-app-opkg
Commit 391e82d6a3 in 2018 added luci-app-opkg dependency to
the 'luci' collection and its derivatives, but as nginx collections
do not depend on main 'luci', they did not get the intended change.

Fixes #4148

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 219f0ce891)
2020-06-09 23:30:57 +03:00
Stan
f35803e935
Merge pull request #4102 from stangri/19.07-luci-app-simple-adblock
[19.07] luci-app-simple-adblock: bugfix: proper processing of failed downloads; decrease reliance on shell commands; proper acl.d file
2020-06-03 08:27:44 -07:00
Hannu Nyman
f1eeb85be6 treewide: i18n - backport translations
Backport translations from master.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-06-03 17:21:23 +03:00
Stan
8bf301aab3
Merge pull request #4118 from stangri/19.07-luci-app-https-dns-proxy
[19.07] luci-app-https-dns-proxy: decrease reliance on shell commands; proper acl.d file; add cloudflare family/protect
2020-06-02 06:18:34 -07:00
Stan Grishin
4ff9c263b0 luci-app-https-dns-proxy: decrease reliance on shell commands; proper acl.d file; add cloudflare family/protect
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-05-30 11:41:12 +00:00
Dirk Brenken
217d331d8d
luci-app-openvpn: fix recipe selection
* add read acl for 'openvpn_recipes', fixed #4112

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit b646576696)
2020-05-29 19:17:38 +02:00
Jo-Philipp Wich
dd9624d35a luci-base: luci.js: properly skip comments when finding require tokens
Fixes: #4020, #4022, #4111
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 6be8f8dbae)
2020-05-29 10:42:24 +02:00
Stan Grishin
a0cb8b64cd luci-app-simple-adblock: bugfix: proper processing of failed dowloads; decrease reliance on shell commands; proper acl.d file
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-05-27 00:38:29 +00:00
Hannu Nyman
39d5f2e5a6 treewide: i18n - backport translations from master
Backport translations from master.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-05-25 18:04:15 +03:00
Anton Kikin
515bd927da luci-base: ui.js: fix function declaration in nested statement
Fix "SyntaxError: Strict mode does not allow function declarations
in a lexically nested statement" error that may occur in some old
browsers (detected on QtWebKit 5.212).

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
(cherry picked from commit c00d0d9473)
2020-05-24 18:25:00 +02:00
Brian J. Murrell
c7a1693de5 luci-app-mwan3: Remove unnecessary dependency
There is no need to depend on luci-app-firewall, so remove the dependency.

I have examined the code and cannot see any reason for the dependency
and I have built a router with luci-app-mwan3, and without firewall,
luci-app-firewall and it all functions just fine.

Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>
(cherry picked from commit 70089cc212)
2020-05-24 18:07:54 +02:00
Jo-Philipp Wich
7fca170275 luci-base: firewall.js: remove further zone network/name fallback logic
Fixes: #4093
Fixes: 4052436d8 ("luci-base: firewall.js: don't treat zone name as network fallback")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit f6f4005d0b)
2020-05-24 17:33:53 +02:00
Hannu Nyman
0c6fd62d65 luci-app-statistics: modify default amount of data items in RRD
Increase the default number of data items in the RRD database
from 100 to 144. That leads to better matching summarising/averaging
moments between day & week and week & month at the averaging intervals:
30sec, 10min, 70 min, 5h10min, 2d13h

Previous 100 led too easily to situations, where the longer period's
more scarce data gets selected for displaying in the graph. That could
happen if the longer period's last data point was stored more recently
than the last data item in the originally required period.
(E.g. if the last "week data item" was more recent than the last
"day data item", the week data was used for the day chart.)

(Note: this change only applies in a live router if the RRD database is
empty. E.g after reboot or after emptying the RRD database dir.)

Reference to discussion at #4065

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 591b918ea4)
2020-05-21 17:19:55 +03:00
Jo-Philipp Wich
8d89f0d4e6 luci-app-vpnbypass: don't clobber permissions of VPN menu
Ref: https://github.com/openwrt/luci/issues/4066
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 7f4de85b0b9c4f6bd9a19bf5a44af3825b31e8c1)
2020-05-19 12:43:40 +02:00
Jo-Philipp Wich
b73ca28c42 luci-app-vpn-policy-routing: don't clobber permissions of VPN menu
Ref: https://github.com/openwrt/luci/issues/4066
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 4dcab51ca522407cf63a51883bc6505cf24fbd64)
2020-05-19 12:43:40 +02:00
Jo-Philipp Wich
3c441efa02 build: reload rpcd in package postinstall
Send a SIGHUP to rpcd after installing LuCI packages to reload ACL rules.

Also remove redundant code while we're at it.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit ca558f4f93)
2020-05-19 12:41:35 +02:00
Jo-Philipp Wich
ecd49247eb treewide: stage ACL rules for legacy applications
Fixes: #3866
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 43e872871a)
2020-05-19 12:38:17 +02:00
Jo-Philipp Wich
ccd9d67598 luci-mod-system: make dropbear pages depend on dropbear executable
Fixes: #4052
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit c7686d4b3c)
2020-05-17 19:33:54 +02:00
Hannu Nyman
fb2f363067
Merge pull request #4048 from hnyman/i18n-merge
build/i18n-merge-master: ignore apps deleted in master
2020-05-15 16:45:37 +03:00
Jo-Philipp Wich
ba0fb08d6d luci-mod-network: fix reading static route table value
Ref: https://forum.openwrt.org/t/static-route-shows-incorrect-table/63514
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 8747513951)
2020-05-13 17:21:31 +02:00
Hannu Nyman
e4baee8d25 build/i18n-merge-master: ignore apps deleted in master
Refine the code to ignore apps that have been deleted from master
but still exist in release branches. E.g. luci-app-samba

Previously the unhandled git error from non-existing master
mangled the .po files in the release branch: the 18n header was
removed and all non-ASCII chars were deleted from translation.

Fix this by processing only those files where 'git show' succeeds.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-05-13 18:06:31 +03:00
Hannu Nyman
bcdb9fdc7f treewide: i18n - backport translations from master
Backport translations from master

1) i18n-sync to sync 19.07 itself
2) i18n-merge-master to backport from master
3) i18n-sync to clean-up, as merge-master makes also errors
4) revert luci-app-samba that gets mishandled  (removal from master causes ???)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-05-10 16:19:47 +03:00
Hannu Nyman
07e6cfaa89 timezone data: update to 2020a
Update timezone data to 2020a

http://mm.icann.org/pipermail/tz-announce/2020-April/000058.html

2020a:
    Morocco springs forward on 2020-05-31, not 2020-05-24.
    Canada's Yukon advanced to -07 year-round on 2020-03-08.
    America/Nuuk renamed from America/Godthab.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit e5fe16c9ea)
2020-05-09 09:48:06 +03:00
Hannu Nyman
5366acbb6d treewide: i18n - backport translations from master
Backport translations from master.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-05-07 22:57:19 +03:00
Hannu Nyman
c835abaa40 treewide: sync translations
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-05-07 22:52:56 +03:00
Jo-Philipp Wich
74b3715651 luci-base: optimize some PNG files
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit f8cf115d9b)
2020-05-07 20:06:32 +02:00
Jo-Philipp Wich
618a1df922 luci-base: move old cbi icons to luci-compat
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 102124115d)
2020-05-07 19:40:50 +02:00
Jo-Philipp Wich
20acf73b79 luci-base: replace filebrowser icons with SVG variants
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit b34b7fc504)
2020-05-07 19:40:50 +02:00
Jo-Philipp Wich
4decb6e3f2 luci-app-nlbwmon: use legacy L.dom attribute
Until it is converted to a proper view, we need to use the legacy alias.

Fixes: #3835
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit af6fd6dfab)
2020-05-07 19:40:50 +02:00