Commit graph

11017 commits

Author SHA1 Message Date
Stan Grishin
10bbee86b5 luci-app-https_dns_proxy: bugfix: proper formatting of dhcp server entries
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-09-30 10:49:11 -07:00
Johannes Rothe
7a7a56adb6
luci-app-travelmate: add support for optional args in auto-login script
This can be helpful for example in hotels where you need to
enter a new user/password combination every week.

Signed-off-by: Johannes Rothe <mail@johannes-rothe.de>
(cherry picked from commit 3d646bee41)
2019-09-29 08:06:00 +02:00
Hannu Nyman
08db1df41c timezone data: update to 2019c
Update timezone data to 2019c

http://mm.icann.org/pipermail/tz-announce/2019-September/000057.html

2019c:
* Fiji observes DST from 2019-11-10 to 2020-01-12.
* Norfolk Island starts observing Australian-style DST.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit cf887ba62f)
2019-09-28 21:55:16 +03:00
Hannu Nyman
7b36daed12
Merge pull request #3114 from stangri/19.07-luci-app-simple-adblock
[19.07] luci-app-simple-adblock: dnsmasq.ipset option support
2019-09-24 19:30:28 +03:00
Stan Grishin
b2b783b51e luci-app-simple-adblock: dnsmasq.ipset option support
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-09-24 09:17:20 -07:00
Hannu Nyman
befe994ccf
Merge pull request #3046 from stangri/19.07-luci-app-vpnbypass
[19.07] luci-app-vpnbypass: better start/stop controls, create entry in the VPN menu if it exists
2019-09-20 21:01:32 +03:00
Jo-Philipp Wich
8a2f1c76b5 luci-base: cbi.js: save filled out but not added dynlist items on apply
Fixes: #2938
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-13 14:31:00 +02:00
Jo-Philipp Wich
a357352453 luci-base: cbi.js: also initialize comboxes embedded in dynlists
Fixes: #3062
Fixes: 010102c2c ("luci-base: cbi.js: find dropdown and browser instances early")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-13 13:58:28 +02:00
Jo-Philipp Wich
2a143f4777 luci-app-firewall: fix stored XSS in rule- and forward detail pages
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-13 13:23:23 +02:00
Dirk Brenken
f2c08dc9c1
luci-app-banip: sync with banIP 0.2.0
* see details in package PR

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit f21f4bd7e5)
2019-09-13 05:41:29 +02:00
Dirk Brenken
8165810653
luci-app-banip: sync with 0.1.5
* add new extra options to control auto-addons to
  blacklist & whitelist ('ban_autoblacklist' & 'ban_autowhitelist')

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit ee28798aff)
2019-09-13 05:41:12 +02:00
Jo-Philipp Wich
c0f3e3c6a2 luci-base: cbi.js: fix dropdown and browser initialization
We need to query the dropdowns before initializing dynamic lists but
after initializing combo boxes.

Also fix a copy-paste error from a previous commit.

Fixes: 010102c2c ("luci-base: cbi.js: find dropdown and browser instances early")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10 17:37:42 +02:00
Jo-Philipp Wich
7513a4ca35 luci-base: html escape values in uci changes display
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10 17:16:01 +02:00
Jo-Philipp Wich
fe0e4f8b4d luci-base, luci-mod-network: fix bridge state change quirks
Fixes: #2997
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10 17:10:36 +02:00
Jo-Philipp Wich
010102c2c2 luci-base: cbi.js: find dropdown and browser instances early
Gather dropdown and file browser widget nodes early, before initializing
dynamic list widgets as dynlists invoke a dependency update which in turn
might remove widget nodes from dom before they have been initialized.

Ref: https://github.com/openwrt/luci/issues/2997#issuecomment-524251601
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10 17:10:36 +02:00
Antoine Deschênes
c981cfd02a luci-mod-network: wifi_join.js: Add WPA3 support
Signed-off-by: Antoine Deschênes <antoine@antoinedeschenes.com>
[squashed commits, cherry-picked into openwrt-19.07 branch]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10 15:31:47 +02:00
Dirk Brenken
1f6d7fdc10
luci-app-adblock: sync with adblock 3.8.5
* support the new extra options 'TLD Compression Threshold',
 'Local FW/DNS Ports' and 'DNS Inotify', see packages PR for details.

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 62c6f21de3)
2019-09-09 15:00:26 +02:00
Stan Grishin
676e5b7450 luci-app-vpnbypass: better start/stop controls, create entry in the VPN menu if it exists
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-09-07 10:36:58 -07:00
Dirk Brenken
ae8ddb0ca6
luci-app-travelmate: sync with 1.4.12
* option to add open uplinks to your wireless config,
  e.g. hotel captive portals (disabled by default)

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 916939933e)
2019-08-30 07:48:37 +02:00
Dirk Brenken
509a220095
luci-app-adblock: sync with adblock 3.8.3
* fix a suspend/resume issue
* format overall domains with a thousands separator

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit bd405bfed0)
2019-08-30 07:46:36 +02:00
Dirk Brenken
410928397d
Merge pull request #3028 from stangri/19.07-luci-app-simple-adblock
[19.07] luci-app-simple-adblock: dns resolver value bugfix (#3000)
2019-08-29 15:25:35 +02:00
Stan Grishin
e76a429c85 luci-app-simple-adblock: dns resolver value bugfix (#3000)
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-08-29 06:21:48 -07:00
Hannu Nyman
e075dd8e92
Merge pull request #3016 from stangri/19.07-luci-app-advanced-reboot
[19.07] luci-app-advanced-reboot/: bugfix for when network.lan.ipaddr is a table
2019-08-27 16:56:05 +03:00
Hannu Nyman
cb3236cb1c
Merge pull request #3019 from stangri/19.07-luci-app-simple-adblock
[19.07] luci-app-simple-adblock: delete extra file
2019-08-27 16:55:09 +03:00
Stan Grishin
c5403e5f70 luci-app-simple-adblock: delete extra file
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-08-26 23:19:11 -07:00
Stan Grishin
cfbd106f43 luci-app-advanced-reboot/: bugfix for when network.lan.ipaddr is a table
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-08-26 23:04:18 -07:00
Dirk Brenken
7e335559a4
luci-app-adblock: sync with adblock 3.8.0
* add support for the 'null' blocking variant in dnsmasq
  (via addn-hosts), see new select box 'DNS Variant'
* add support for 'DNS File Reset', where the final DNS blockfile
  will be purged after DNS backend loading (save storage space)
* Provide additional Runtime information:
  'DNS Variant' and 'Backup Directory'
* add E-Mail notification options to LuCI

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 9400fc7536)
2019-08-23 06:54:24 +02:00
Hannu Nyman
717378494e
Merge pull request #2992 from stangri/19.07-luci-app-simple-adblock
[19.07] luci-app-simple-adblock: support for varios DNS resolvers/options
2019-08-18 20:14:20 +03:00
Hannu Nyman
50b3af8bbd
Merge pull request #2987 from stangri/19.07-luci-app-advanced-reboot
[19.07] luci-app-advanced-reboot: support for Linksys EA8300
2019-08-18 20:13:09 +03:00
Stan Grishin
217577997e [19.07] luci-app-simple-adblock: support for varios DNS resolvers/options
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-08-17 06:15:28 -07:00
Stan Grishin
157cf95191 [19.07] luci-app-advanced-reboot: [18.06] luci-app-advanced-reboot: luci-app-advanced-reboot: support for Linksys EA8300
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-08-17 04:29:31 -07:00
Dirk Brenken
a0c376779d
luci-app-travelmate: sync with 1.4.10
* wifi add/edit: add a select box to reference an external script
  for automated captive portal logins
* fix a visual issue with material theme

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 4e75e3710c)
2019-08-15 15:50:27 +02:00
Jo-Philipp Wich
5d2a0f17e1 luci-base: cbi.js: do not forcibly sort synamic list items
Ref: https://forum.openwrt.org/t/cannot-save-certain-fields/42738/2
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit dbf83e35bb6e4d203eca917d4dfef2b270dd34ff)
2019-08-14 22:48:12 +02:00
Jo-Philipp Wich
0fc125a866 luci-base: cbi.js: save filled out but not added dynlist items on submit
Fixes: #2938
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-08-14 22:28:36 +02:00
Hannu Nyman
f92bca04eb luci-app-statistics: cpufreq: tweak graphs
* Frequency usage percentage stats are by kHz instead of Hz.
  Correct the labels. (Linux natively uses kHz for CPU frequency stats,
  but collectd scales the current frequency stats item to Hz.)

* Show frequency usage percentage graph before the transition counts,
  as it is more descriptive.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 24c0e7ca4c)
2019-08-14 19:03:27 +03:00
Jo-Philipp Wich
91774669cb protocols: fix contains_interface() implementation in several backends
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 1fc8d021ed)
2019-08-06 15:20:58 +02:00
Jo-Philipp Wich
36c7dbd728 luci-lib-ip: support specifying source address in route()
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit d73553e530)
2019-08-06 15:20:58 +02:00
Hannu Nyman
a4dc8f0d8d luci-app-statistics: cpufreq: enhance additional data
* Use the new data series sorting and coloring options to
  display the frequencies in order and with matching coloring in
  different cores.

* Fix the y-axis text and legend in the frequency usage graph

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 05cad423ce)
2019-08-01 18:15:59 +03:00
Hannu Nyman
73212d42a5 luci-app-statistics: add options for graph series sorting and color
Add two data series-level options "negweight" and "posweight" that
will use the numerical value of the data instance name
as the sorting factor. This enables e.g. sorting by CPU frequency
in the cpufreq module.

Add new graph-level option "ordercolor" to use colorsfrom a
pre-defined color table for the data series. This enables keeping
similar colors for similar data series in different plugin instances.
E.g. CPU frequencies in several cores that are handled and displayed
separately.
 (note: the table has 8 items and if there are more series, it uses
  the same colors again. The table can be easily extended/modified)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 4ca5727785)
2019-08-01 18:15:16 +03:00
Jo-Philipp Wich
e3096f547b luci-base: index.html: add extend cache-control directive
Fixes: #2942
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 1fe45a9344)
2019-08-01 15:44:02 +02:00
Hannu Nyman
dd908ced91 luci-app-statistics: cpufreq: changes in data structure
Collectd 5.9.0 changed the data structure of the cpufreq plugin:
CPU cores are now handled as separate plugin instances.

There are also new data items per core:
 * time spent at each frequency
 * amount of frequency transitions

Enable these new data items, but initially hide them behind
a new config option "ExtraItems" (default: disabled), as
the amount of graphs in multi-core systems could be rather large.

Note that the frequencies are not (yet) sorted, so the
information value of the time-spent graph is semi-random.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit e6f30bb7f3)
2019-07-30 21:03:03 +03:00
Stan Grishin
c0057ae7a2 luci-app-https_dns_proxy: better handling of ports, update of dhcp config
Signed-off-by: Stan Grishin <stangri@melmac.net>
(cherry picked from commit 85989079f6)
2019-07-26 12:41:13 +02:00
Jo-Philipp Wich
94f42488f0
Merge pull request #2913 from rosysong/openwrt-19.07
luci-theme-rosy: fix #2887
2019-07-26 12:36:51 +02:00
Rosy Song
1b569350a0 luci-theme-rosy: fix #2887
Signed-off-by: Rosy Song <rosysong@rosinson.com>
2019-07-24 20:26:42 +08:00
Hannu Nyman
ab9093838b
Merge pull request #2840 from stangri/19.07-luci-app-advanced-reboot
[19.07] luci-app-advanced-reboot: fix README url in Makefile
2019-07-09 18:26:24 +03:00
Stan Grishin
98ca9b6f7f [19.07] luci-app-advanced-reboot: fix README url in Makefile
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-07-08 12:44:23 -07:00
Anton Kikin
7fca4061ca Fix a overview page style issue for various themes
Fixed a overview page style issue with interface boxes for
bootstrap, material and rosy themes.

The issue only appears in the Chrome browser and lies in the
fact that the block with the device name and MAC address gets
out of the  interface block.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
(cherry picked from commit 5d26fec0bf)
2019-07-08 18:23:28 +02:00
Jo-Philipp Wich
5566b63673 Revert "luci-base: luasrcdiet: switch to scm clone and fix tarball name"
This reverts commit faa5f0eacd.

Fixes: #2834
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 8055ed4c46)
2019-07-07 22:03:59 +02:00
Yousong Zhou
3ef6299f39 luci-base: hide autocomplete-preventing password input with bigger offset
Fixes openwrt/luci#2624

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry picked from commit 3a24c2dbaa)
2019-07-06 14:59:44 +00:00
Yousong Zhou
28c71f7eda luci-base: nowrap for password input and reveal button
Fixes openwrt/luci#2624

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry-picked from commit 609f5290c8)
2019-07-06 14:58:51 +00:00