summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-02-07 12:01:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-02-07 12:42:16 +0000
commita11f6babe59ed115c2108b1f0dacd2e641ca0aa3 (patch)
treeccfce47f7c8bb7b84fb8064a2e9856677c9399da
parentRefreshing use-system-python.patch. (diff)
downloadnetdata-a11f6babe59ed115c2108b1f0dacd2e641ca0aa3.tar.xz
netdata-a11f6babe59ed115c2108b1f0dacd2e641ca0aa3.zip
Refreshing remove-googleanalytics.patch.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/patches/debian/0010-remove-googleanalytics.patch31
1 files changed, 10 insertions, 21 deletions
diff --git a/debian/patches/debian/0010-remove-googleanalytics.patch b/debian/patches/debian/0010-remove-googleanalytics.patch
index eb90e5ca6..3bc8a4afe 100644
--- a/debian/patches/debian/0010-remove-googleanalytics.patch
+++ b/debian/patches/debian/0010-remove-googleanalytics.patch
@@ -1,20 +1,9 @@
Author: Lennart Weller <lhw@ring0.de>
Subject: Remove googleanalytics
-diff -Naurp netdata.orig/docs/generator/custom/themes/material/partials/footer.html netdata/docs/generator/custom/themes/material/partials/footer.html
---- netdata.orig/docs/generator/custom/themes/material/partials/footer.html
-+++ netdata/docs/generator/custom/themes/material/partials/footer.html
-@@ -51,7 +51,6 @@
- </div>
- </div>
- </footer>
--<script>!function(e,a,t,n,o,c,i){e.GoogleAnalyticsObject=o,e.ga=e.ga||function(){(e.ga.q=e.ga.q||[]).push(arguments)},e.ga.l=1*new Date,c=a.createElement(t),i=a.getElementsByTagName(t)[0],c.async=1,c.src="https://www.google-analytics.com/analytics.js",i.parentNode.insertBefore(c,i)}(window,document,"script",0,"ga"),ga("create","UA-64295674-3",""),ga("set","anonymizeIp",!0),ga("send","pageview","/doc"+window.location.pathname);var links=document.getElementsByTagName("a");if(Array.prototype.map.call(links,function(a){a.host!=document.location.host&&a.addEventListener("click",function(){var e=a.getAttribute("data-md-action")||"follow";ga("send","event","outbound",e,a.href)})}),document.forms.search){var query=document.forms.search.query;query.addEventListener("blur",function(){if(this.value){var e=document.location.pathname;ga("send","pageview",e+"?q="+this.value)}})}</script>
- <script>
- let currentLang = getLanguage();
-
diff -Naurp netdata.orig/web/gui/demosites2.html netdata/web/gui/demosites2.html
---- netdata.orig/web/gui/demosites2.html
-+++ netdata/web/gui/demosites2.html
+--- netdata.orig/web/gui/demosites2.html 2021-02-03 14:09:31.000000000 +0100
++++ netdata/web/gui/demosites2.html 2021-02-07 13:00:35.014255664 +0100
@@ -1096,17 +1096,4 @@
</div>
</div>
@@ -34,9 +23,9 @@ diff -Naurp netdata.orig/web/gui/demosites2.html netdata/web/gui/demosites2.html
-</script>
</html>
diff -Naurp netdata.orig/web/gui/demosites.html netdata/web/gui/demosites.html
---- netdata.orig/web/gui/demosites.html
-+++ netdata/web/gui/demosites.html
-@@ -1417,14 +1417,6 @@ p {
+--- netdata.orig/web/gui/demosites.html 2021-02-03 14:09:31.000000000 +0100
++++ netdata/web/gui/demosites.html 2021-02-07 12:59:33.954375891 +0100
+@@ -1385,14 +1385,6 @@ p {
}(c)))
}
@@ -52,8 +41,8 @@ diff -Naurp netdata.orig/web/gui/demosites.html netdata/web/gui/demosites.html
!function (t, e, a) {
var n, o = t.getElementsByTagName(e)[0];
diff -Naurp netdata.orig/web/gui/infographic.html netdata/web/gui/infographic.html
---- netdata.orig/web/gui/infographic.html
-+++ netdata/web/gui/infographic.html
+--- netdata.orig/web/gui/infographic.html 2021-02-03 14:09:31.000000000 +0100
++++ netdata/web/gui/infographic.html 2021-02-07 13:00:20.950283510 +0100
@@ -126,14 +126,6 @@
}(c)))
}
@@ -70,9 +59,9 @@ diff -Naurp netdata.orig/web/gui/infographic.html netdata/web/gui/infographic.ht
!function (t, e, a) {
var n, o = t.getElementsByTagName(e)[0];
diff -Naurp netdata.orig/web/gui/main.js netdata/web/gui/main.js
---- netdata.orig/web/gui/main.js
-+++ netdata/web/gui/main.js
-@@ -4368,25 +4368,6 @@ function finalizePage() {
+--- netdata.orig/web/gui/main.js 2021-02-07 12:48:55.307522425 +0100
++++ netdata/web/gui/main.js 2021-02-07 13:00:13.098299018 +0100
+@@ -4460,25 +4460,6 @@ function finalizePage() {
if (isdemo()) {
// do not to give errors on netdata demo servers for 60 seconds
NETDATA.options.current.retries_on_data_failures = 60;