Added a surveillance explanation
This commit is contained in:
parent
9934fba5f6
commit
798803a47f
3 changed files with 19 additions and 5 deletions
1
data/issues/Surveillance.html
Normal file
1
data/issues/Surveillance.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Surveillance, also presented sometimes to the user as Telemetry, Analytics or Targeted Advertising - is a feature of collecting personal information, or information about the use of the software by the company that provided the software. The company may try to justify such a malicious behavior by pointing the user on the immediate benefits of the surveillance. Like: "You will get ads specifically chosen for you". This is just a tactic to ease the fact that you are being watched. More about surveillance you can see on <a href="https://www.gnu.org/proprietary/proprietary-surveillance.html">GNU.ORG/MALWARE</a>.
|
|
@ -120,3 +120,8 @@ hr {
|
||||||
border-top: 1px solid #b058c6;
|
border-top: 1px solid #b058c6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin-right: 5%;
|
||||||
|
margin-left: 5%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
# web-masters and a like, so we are counting on
|
# web-masters and a like, so we are counting on
|
||||||
# your ability to set it up and running.
|
# your ability to set it up and running.
|
||||||
|
|
||||||
|
import os
|
||||||
from modules import search
|
from modules import search
|
||||||
|
|
||||||
def html(page, json):
|
def html(page, json):
|
||||||
|
@ -31,19 +32,26 @@ def html(page, json):
|
||||||
# In case it has a slash in it.
|
# In case it has a slash in it.
|
||||||
if where == -1:
|
if where == -1:
|
||||||
where = comment.lower().find("open-source")
|
where = comment.lower().find("open-source")
|
||||||
os = comment[where:where+11]
|
ops = comment[where:where+11]
|
||||||
comment = comment.replace(os,
|
comment = comment.replace(ops,
|
||||||
"<a href=\"https://www.gnu.org/philosophy/open-source-misses-the-point.en.html\">"+os+"</a>")
|
"<a href=\"https://www.gnu.org/philosophy/open-source-misses-the-point.en.html\">"+ops+"</a>")
|
||||||
page = page + "<p>"+comment+"</p>"
|
page = page + "<p>"+comment+"</p>"
|
||||||
|
|
||||||
# I want to show nothing else from if it's proprietary
|
# I want to show nothing else from if it's proprietary
|
||||||
|
issues_files = list(os.listdir("data/issues"))
|
||||||
if "issues" in json:
|
if "issues" in json:
|
||||||
l = json.get("issues", [])
|
l = json.get("issues", [])
|
||||||
page = page +"<h2>Anti-Features / Problems:</h2>"
|
page = page +"<h2>Anti-Features / Problems:</h2>"
|
||||||
|
|
||||||
for i in l:
|
for i in l:
|
||||||
|
if i+".html" not in issues_files:
|
||||||
page = page + " "+i+"<br>"
|
page = page + " "+i+"<br>"
|
||||||
|
else:
|
||||||
|
page = page + '<details title="Read about '+i+'">'
|
||||||
|
page = page + "<summary>  "+i+"</summary>"
|
||||||
|
issuefile = open("data/issues/"+i+".html")
|
||||||
|
page = page + "<span><p>"+issuefile.read()+"</p></span>"
|
||||||
|
page = page + "</details>"
|
||||||
if not free:
|
if not free:
|
||||||
return page
|
return page
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue