In js `return` does behave like `continue` in a forEach() iteration.
The fixed function was intended to return nothing on error and does so
now, instead of a shorter (useless) array like before.
(cherry picked from commit 8c85be2125)
Fixes the display of client counts, which are numbers and not strings
in the respondd data.
Fixes: 3a885a1b22 ("gluon-status-page: make "gateway nexthop" a link (#2278)")
(cherry picked from commit a357278464)
Do not depend on the respondd-airtime module just to get the configured
channels. This removes the display of the frequency in addition to the
channel, as it is not readily available.
In addition, the translation string is improved to allow for text after
the channel number.
(cherry picked from commit 0d3fa6b59b)
This code is usually running on an embedded CPU without FPU. In
addtition to its inefficience, the algorithm is also much harder to
understand.
Replace the logarithm formula with a simple loop.
(cherry picked from commit f2e0f7e3a8)
It was found that a one second timeout for nodeinfo data may be too low,
so that when a node is otherwise occupied that timeout may be reached
too often.
The nodeinfo query response is also vital to the status-page base
template, so that when it times out, the site will be turned in a broken
state, that it cannot recover from.
Fixes: #2256
(cherry picked from commit 76185e3a2a)
The site.mk target was only evaluated after the whole makefile was
parsed. This caused the GLUON_DEPRECATED error to be emitted first
(hiding the more helpful message that no site config was found) on Gluon
2021.1.x, where GLUON_DEPRECATED is used in a toplevel if in targets.mk.
By moving the check from recipe context to the toplevel, we ensure that
it is evaluated during parsing.
(cherry picked from commit 286d07b35f)
It was noticed that various devices had not the correct board-2.bin
installed. This was caused by a typo in the package name. The ath10k driver
(unfortunately) is then loading a completely unrelated BDF from the
ath10k-board-qca4019 board-2.bin. It is usually a rather bad idea to use
calibration data from a different board - but the effects depend on the
actual device.
For the PA1200, it was mostly noticed by the bad 2.4GHz performance.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
9882a54c48 kernel: bump 4.14 to 4.14.245
fdea0036a2 openssl: bump to 1.1.1l
40c03b101c openssl: use --cross-compile-prefix in Configure
Signed-off-by: David Bauer <mail@david-bauer.net>
The OpenWrt routing feed was moved to the OpenWrt GitHub org.
Update the URL, as the old one might not work in the future.
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 3f8d12f55c)
read_stdout can return NULL and thus the return value need to be checked
prior to accessing it.
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 344f8a47db)
In case the limit_ingress or limit_egress options are not present in
gluon's mesh_vpn section the respondd provider compares a string literal
with a NULL pointer, crashing respondd.
Check both pointers prior to comparing them in order to mitigate this
issue.
Suggested-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 7e1e9fe2bd)
I mixed up two separate improvements into one, this change aims to
clarify them based on a suggestion and conversation with @T-X.
(cherry picked from commit 05199e7e33)
1c90bc08a banip: remove logd dependency
ad6476b4f Merge pull request #15728 from stangri/19.07-https-dns-proxy
2b0cb41c0 https-dns-proxy: 2021-05-14 bugfix: fallback to HTTP/1 by default
e8c0e3c20 netdata: update to version 1.30.1
e23677d86 Merge pull request #15717 from stangri/19.07-https-dns-proxy
b28e2c763 https-dns-proxy: update to 2021-05-14-1; bugfixes for dhcp server backup
2543c33b0 syslog-ng: update to 3.32.1
e05c97a19 nano: update version to 5.7
91e1399cf nextdns: Update to version 1.32.1
9fd4ed8af bind: bump to 9.16.15
aebeefcd5 zerotier: update to 1.6.5
18b564ef5 Merge pull request #15509 from hswong3i/openwrt-19.07-SQUID_enable-ssl-crtd
ad6712d42 squid: Enable dynamic SSL certificate generation
439da3db8 mosquitto: fix log_type config support
221785358 ksmbd-tools: update to 3.3.9
3412c7a45 dnscrypt-proxy2: sync blocked-names to upstream one
139217f8a dnscrypt-proxy2: upgrade to 2.0.45
27678dc75 adblock: fix polish source URL
e426ad56b Merge pull request #15477 from rs/nextdns-1.32.0-openwrt-19.07
6027afee1 nextdns: Update to version 1.32.0
afed88b48 Merge pull request #15468 from rs/nextdns-1.12.5-openwrt-19.07
f1e6b878f nextdns: Update to version 1.12.5
11dc84032 irqbalance: upgrade to version 1.8.0
287154116 pulseaudio: update to 14.0
3bdf75bd2 pulseaudio: fix compilation without deprecated OpenSSL APIs
ba0558e8a pulseaudio: fix compilation with ICONV_FULL
1248994b9 pulseaudio: Update ARM NEON/VFP detection
4021cb65a pulseaudio: do not build NEON with unsupported platforms
8eb7d95ba pulseaudio: add lto and gc-sections to reduce size
15fb6ec36 pulseaudio: fix pkgconfig paths
eac2ca1c6 pulseaudio: update to 13.0
f0aa4486a pulseaudio: Backport upstream patch
e5701228c Merge pull request #15384 from VolunteerComputingHelp/openwrt-19.07
8ca4ab69e Merge pull request #15413 from luizluca/19.07/ruby-2.6.7
5c16a052f ruby: update to 2.6.7
807e088bb netdata: disable shared memory totals by default
09ba05583 https-dns-proxy: bugfix: race condition with dnsmasq
0072fc533 boinc: Transfer v7.16.16 from 21.02 to 19.07
ba1a801f7 adblock: fix games_tracking source url
1cf2e3530 Merge pull request #15254 from dibdot/19.07
74c8fb403 travelmate: minimal change to fix cp detection
56e1674ef rpcd-mod-lxc: add postinst to reload rpcd on update/installation
560a0ea2b ksmbd-tools: update to 3.3.8
0863ab323 ksmbd-tools: Add a mDNS TXT record for the ksmbd service
52d3ce0f6 ksmbd-tools: update to 3.3.7
f275b3f41 ksmbd-tools: update to 3.3.6
ba329c4ea ksmbd-tools: update to 3.3.5
055b1cd58 nut: fix typo in nutshutdown script
e88b4d873 netdata: update to version 1.29.3
f6bc822ff syslog-ng: update to version 3.31.2
Signed-off-by: David Bauer <mail@david-bauer.net>
This fully abstracts VPN methods, making gluon-mesh-vpn-fastd and
gluon-mesh-vpn-tunneldigger completely self-contained.
Provide a LUA interface for generic interacting with VPN methods in
gluon-mesh-vpn-core and web packages.
This also adds the ability to install tunneldigger and fastd to the same
image, selecting the VPN method based on the selected domain.
Signed-off-by: David Bauer <mail@david-bauer.net>