Hannu Nyman
1bfac46f40
Merge pull request #3824 from stangri/19.07-luci-app-vpn-policy-routing
...
[19.07] luci-app-vpn-policy-routing: better service control & buttons styling
2020-04-03 15:52:37 +03:00
Hannu Nyman
c2273d607c
Merge pull request #3821 from stangri/19.07-luci-app-simple-adblock
...
[19.07] luci-app-simple-adblock: better service control & buttons styling
2020-04-03 15:51:01 +03:00
Stan Grishin
667ce2920f
luci-app-https-dns-proxy: better service control & buttons styling
...
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-04-03 12:50:22 +00:00
Stan Grishin
322e368108
luci-app-vpnbypass: better service control & buttons styling
...
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-04-03 12:32:36 +00:00
Stan Grishin
50f351e19b
luci-app-vpn-policy-routing: better service control & buttons styling
...
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-04-03 12:30:05 +00:00
Stan Grishin
cb2f7ad044
luci-app-simple-adblock: better service control & buttons styling
...
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-04-03 12:25:28 +00:00
Jo-Philipp Wich
e2aaef6eca
luci-mod-network: rework signal badge disabled state
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit eb1422defe
)
2020-04-02 15:28:28 +02:00
Jo-Philipp Wich
cfc55b7fd0
luci-mod-wireless: avoid signal badge wrapping in scan list
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 515069f9ec
)
2020-04-02 15:28:23 +02:00
Jo-Philipp Wich
5f5f46961e
luci-mod-network, luci-mod-status: allow assoclist wrapping
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit a600ebb5fe14b13cb53669eb73b86f66cc699e94)
(cherry picked from commit 04c73f1613
)
2020-04-02 15:28:09 +02:00
Jo-Philipp Wich
dfd0da39e2
luci-mod-network: adjust assoclist markup for easier styling
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 1b7e923cf6
)
2020-04-02 15:27:43 +02:00
Jo-Philipp Wich
b572c6d82e
luci-mod-network: properly handle "no signal" and "disabled" in signal badges
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit cf09705ee3
)
2020-04-02 15:27:38 +02:00
Jo-Philipp Wich
50c9be16b9
luci-base: ui.js: properly handle null choices in dropdown constructor
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit f1aa3f8f6e
)
2020-04-01 18:45:46 +02:00
Jo-Philipp Wich
e5e71a55ab
luci-mod-status: luci-bwc: skip "." and ".." when finding netdevs
...
Skip the "." and ".." directory entries of "/sys/class/net/" instead of
passing them on to libiwinfo's probe function. This avoids a situation
where the kernel requests a modprobe of "netdev-." and "netdev-.." over
and over again, resulting in high load on lower end systems.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 16f0997bdb
)
2020-04-01 18:45:46 +02:00
Hannu Nyman
f89efcf8be
Merge pull request #3793 from stangri/19.07-luci-app-simple-adblock
...
[19.07] luci-app-simple-adblock: better status/error display, better service control
2020-03-29 10:01:58 +03:00
Stan Grishin
ed1d6b5a81
luci-app-simple-adblock: better status/error display
...
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-03-29 05:22:37 +00:00
Dirk Brenken
ed1fc639ac
luci-app-openvpn: fix upload input validator
...
* accept/replace common '.' seperator in instance names as well,
see comment in #2235
Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 51579cd49e
)
2020-03-27 16:49:19 +01:00
Jo-Philipp Wich
f1f33c8a34
luci-mod-network: add WPA3-EAP and mixed WPA2/WPA3-EAP settings
...
Fixes : #3363
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit cae8045367
)
2020-03-26 22:10:52 +01:00
Jo-Philipp Wich
1cb07c011c
luci-app-firewall: use Firewall.removeZone() helper
...
Fixes: FS#2932
Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2932
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 0ff4dc822b
)
2020-03-26 19:16:00 +01:00
Jo-Philipp Wich
f9a0654b54
luci-base: firewall.js: fix Firewall.removeZone()
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 4c55e8226d
)
2020-03-26 19:16:00 +01:00
Hannu Nyman
12f0dacf6a
Merge pull request #3777 from aparcar/noci-19
...
[19.07]CI: remove circleci
2020-03-21 21:57:43 +02:00
Paul Spooren
eab7ae378b
CI: remove circleci
...
LuCI packages are mostly architecture independent and therefore require
no compile checks.
Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-03-21 09:54:03 -10:00
Jo-Philipp Wich
4778aa62af
Merge pull request #3763 from oofnikj/openwrt-19.07
...
add ipv6 firewall view
2020-03-21 17:54:26 +01:00
Jordan Sokolic
e19698ea77
luci-app-statistics: add ipv6 firewall view
...
Signed-off-by: Jordan Sokolic <oofnik@gmail.com>
2020-03-16 21:55:21 +02:00
Jo-Philipp Wich
acad60de4d
luci-theme-rosy: mark as broken
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit fff15e4e71
)
2020-03-16 10:38:46 +01:00
Jo-Philipp Wich
06884b9502
themes: ensure that data-page attribute is escaped
...
Fixes : #3757
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 5d7dc391d4
)
2020-03-15 17:49:15 +01:00
Jo-Philipp Wich
cf18bdde36
Revert "luci-base: require minimum versions of rpcd and cgi-io"
...
This reverts commit fb679333a5
.
Version constraints are not correctly handled by luci-app-opkg.
Ref: https://forum.openwrt.org/t/something-changed-luci-compat/56959/5
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-07 10:54:59 +01:00
Jo-Philipp Wich
177f110700
Revert "luci-base: move unused tools.webadmin class to luci-compat"
...
This reverts commit a22e8bc2e5
.
Moving the class file causes too much churn in stable due to the
need to upgrade luci-base for legacy apps.
Ref: #3726
Ref: https://forum.openwrt.org/t/package-install-issues/57010
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-06 17:35:08 +01:00
Jo-Philipp Wich
e8c638c869
luci-app-firewall: tools.firewall: properly handle protocol 0
...
The existing code failed to anticipate that '' == 0 in JS.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 2c036b36ce
)
2020-03-04 20:22:56 +01:00
Jo-Philipp Wich
fb679333a5
luci-base: require minimum versions of rpcd and cgi-io
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-04 09:56:45 +01:00
Jo-Philipp Wich
a22e8bc2e5
luci-base: move unused tools.webadmin class to luci-compat
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-04 09:50:32 +01:00
Jo-Philipp Wich
14b46fe887
luci-theme-bootstrap: fix overview wireless display quirks
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit aa2445cdd8
)
2020-03-04 09:29:50 +01:00
Jo-Philipp Wich
6e72bec1c2
luci-mod-status: don't drop lines with negated addresses
...
Fixes : #3642
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit c3b07fb358
)
2020-03-04 08:50:21 +01:00
Jo-Philipp Wich
2af17f2096
luci-mod-status: routes.js: remove debug code
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit acef56726c
)
2020-03-04 08:50:21 +01:00
Jo-Philipp Wich
01d8af7eb6
luci-mod-status: reimplement route status page as client side view
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit 16d049f7cd
)
2020-03-04 08:50:21 +01:00
Jo-Philipp Wich
4306c1859a
luci-mod-status: reimplement log pages as client side views
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit 939b371bc7
)
2020-03-04 08:50:21 +01:00
Jo-Philipp Wich
b2129101db
luci-mod-status: reimplement iptables status page as client side view
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit b9bb34612e
)
2020-03-04 08:50:21 +01:00
Jo-Philipp Wich
72205026ed
luci-mod-status: replace iptables controller actions with cgi-io calls
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit 43a4481e10
)
2020-03-04 08:50:21 +01:00
Jo-Philipp Wich
50722058cf
luci-mod-network: replace controller address check action with cgi-io script
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit 3a657b8ab5
)
2020-03-04 08:50:21 +01:00
Jo-Philipp Wich
c6a6d25cd5
luci-mod-network: reimplement diagnostics page as client side view
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit ab07b8c4d9
)
2020-03-04 08:50:21 +01:00
Jo-Philipp Wich
598e368518
luci-base: fs.js: exec_direct(): add ability to encode command as latin1
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit dc60aaeb77
)
2020-03-04 08:50:21 +01:00
Jo-Philipp Wich
9b90ff9d55
luci-base: fs.js: support Blob/JSON in read_direct() and exec_direct()
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit da4b0f0483
)
2020-03-04 08:50:21 +01:00
Jo-Philipp Wich
ad4c2f5ae9
luci-base: luci.js: allow overriding response type for requests
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 478ed0d886
)
2020-03-04 08:50:21 +01:00
Ansuel Smith
c1fd6f5222
luci-base: remove hardcoded cgi-bin path
...
Currently LuCI can be loaded only when placed in the root of the server as the cgi-bin path are hardcoded. Change the index.html to load the cgi-bin path from the current level.
Also add a new entry in the env Object to make the cgi_base path easily accessible.
This variable will be based on the position of /cgi-bin/luci.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
(cherry picked from commit 5e6ec8562f
)
2020-03-04 08:50:21 +01:00
Jo-Philipp Wich
7295b326de
treewide: resync and merge master translations
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-03 21:41:07 +01:00
Balázs Úr
9e5e16cf65
luci-base: fix typos
...
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
(backported from commit d0bc86bcc3
)
2020-03-03 21:33:33 +01:00
Jo-Philipp Wich
86d0bf86ea
luci-proto-wireguard: remove peer sections when deleting interface
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 890dcac2de
)
2020-03-03 21:31:50 +01:00
Jo-Philipp Wich
30972e159d
luci-base: network.js: gracefully handle deleteConfiguration() rejects
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit d5f30d335f
)
2020-03-03 21:31:50 +01:00
Jo-Philipp Wich
a6f445bf4a
luci-base: network.js: add Protocol.deleteConfiguration() callback
...
Add a new Protocol.deleteConfiguration() callback function which can be
overridden by protocol handler to perform additional cleanup tasks, such
as unsetting related uci entries which are not part of the interface
configuration itself.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit a22aba2fed
)
2020-03-03 21:31:50 +01:00
Stefan Sundin
c7b5ee3343
luci-app-adblock: Fix enter key submitting form but not showing any results.
...
Signed-off-by: Stefan Sundin <git@stefansundin.com>
(cherry picked from commit 8726937611
)
2020-03-02 21:09:56 +01:00
Jo-Philipp Wich
a24f198c6f
luci-app-firewall: don't treat zone name as network fallback
...
Drop obsolete extra logic which treats the zone name as covered network
name in case the network list is unset. This behaviour applied to the
pre-fw3 uci firewall, but is not supported since fw3 anymore.
Ref: https://forum.openwrt.org/t/luci-zone-creation-bug/55921
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 663134cd2d
)
2020-03-02 10:12:42 +01:00