Commit graph

11002 commits

Author SHA1 Message Date
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
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
Hannu Nyman
0e31c26baf
Merge pull request #2829 from stangri/openwrt-19.07-luci-app-simple-adblock
luci-app-simple-adblock: sync with the latest version of simple-adblock
2019-07-06 09:27:04 +03:00
Stan Grishin
4a87c761da luci-app-simple-adblock: sync with the latest version of simple-adblock
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-07-05 08:56:12 -07:00
Hannu Nyman
4c1204a5e2 timezone data: update to 2019b
Update timezone data to 2019b

http://mm.icann.org/pipermail/tz-announce/2018-December/000055.html
http://mm.icann.org/pipermail/tz/2019-July/028249.html

2019a:
* Palestine "springs forward" on 2019-03-30 instead of 2019-03-23.
* Brazil no longer observes DST.

2019b:
* Palestine's 2019 spring-forward transition was on 03-29, not 03-30.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 2f769ee087)
2019-07-05 18:01:41 +03:00
Jo-Philipp Wich
f166eb6d8f lucihttp: update to latest Git HEAD
a34a17d src: allow overriding buffer size from cli in multipart tester
730a46f lib: fix potentially lost bytes in boundary parsing across buffer limits
8734af2 lib: add buffer tracing to multipart parser
913051b src: add file dump option to multipart test utility
c419539 src: allow specifying custom buffer sizes in multipart testcases
f6e0564 lib: fix handling of empty multipart fields

Fixes: #2816
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 66c8ebfeff)
2019-07-05 08:28:09 +02:00
Dirk Brenken
3aacc6669b
luci-app-travelmate: sync with update 1.4.8
* add optional 'trm_scanbuffer' parm
* fix wrong lua escape character in wifi edit
* sync translations

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit ee80de6a7b)
2019-07-01 10:01:24 +02:00
Hannu Nyman
952efd5c98 luci-base: show niced processes on Status/Processes page
Modify the process status filter to allow also the processes
with a nice value to be visible on the Status/Processes page.

Filter out the top process itself.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 1c80eb1962)
2019-06-30 19:54:11 +03:00
Bjørn Mork
42360ceef3 luci-mod-network: os-release variables have been renamed to OPENWRT_
commit 8a34a54b6aa6 ("base-files: use OPENWRT prefix for os-release
variables") changes the prefix of the os-release variables from LEDE_
to OPENWRT_.  Use the new name.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
(cherry picked from commit 689934196f)
2019-06-27 18:42:17 +03:00
Jo-Philipp Wich
16df8c93f2 luci-app-opkg: honor installed flag to skip half-installed packages
Do not consider half-installed packages (which happens after an
installation failure) to be installed.

Ref: https://github.com/openwrt/luci/pull/2775
Signed-off-by: Dirk Brenken <dev@brenken.org>
[split into multiple commits, refactored code, use local variables]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>

(cherry picked from commit 88282c14cf)
2019-06-24 09:24:47 +02:00
Hannu Nyman
cffeee49d7 treewide: fix datetype/datatype typo
Fix 'datetype' typo.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-06-16 17:54:04 +03:00
Hannu Nyman
ab70fb1ac6
Merge pull request #2772 from jjm2473/patch-2
luci-app-aria2: fix: datatype
2019-06-16 17:47:04 +03:00
练亮斌
2326a0a4c0
luci-app-aria2: fix: datatype
just a spelling mistake.

Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2019-06-16 22:26:11 +08:00
Jo-Philipp Wich
1aa13ed51e luci-mod-system: prevent clearing rc.local on unrelated submit actions
Fixes: #2760
Fixes: 1c09ee5e4 ("luci-mod-system: fix SimpleForm usage on file editing pages")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-06-12 17:47:30 +02:00
Perry Thompson
1818499243 luci-base: update Traditional Chinese translation
Signed-off-by: Perry Thompson <contact@ryper.org>
2019-06-12 20:55:47 +08:00
a962702
b93d66d806 luci-base: update Traditional Chinese translation
update Traditional Chinese translations.

Signed-off-by: Andy Yun <a962702@yahoo.com>
2019-06-11 20:43:33 +08:00
Andy
7e27e3f930 luci-base: update Traditional Chinese translation
update Traditional Chinese translation.
Signed-off-by: Andy Yun <a962702@yahoo.com>
2019-06-11 20:43:33 +08:00