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;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-right: 5%;
|
||||
margin-left: 5%;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
# web-masters and a like, so we are counting on
|
||||
# your ability to set it up and running.
|
||||
|
||||
import os
|
||||
from modules import search
|
||||
|
||||
def html(page, json):
|
||||
|
@ -31,19 +32,26 @@ def html(page, json):
|
|||
# In case it has a slash in it.
|
||||
if where == -1:
|
||||
where = comment.lower().find("open-source")
|
||||
os = comment[where:where+11]
|
||||
comment = comment.replace(os,
|
||||
"<a href=\"https://www.gnu.org/philosophy/open-source-misses-the-point.en.html\">"+os+"</a>")
|
||||
ops = comment[where:where+11]
|
||||
comment = comment.replace(ops,
|
||||
"<a href=\"https://www.gnu.org/philosophy/open-source-misses-the-point.en.html\">"+ops+"</a>")
|
||||
page = page + "<p>"+comment+"</p>"
|
||||
|
||||
# I want to show nothing else from if it's proprietary
|
||||
issues_files = list(os.listdir("data/issues"))
|
||||
if "issues" in json:
|
||||
l = json.get("issues", [])
|
||||
page = page +"<h2>Anti-Features / Problems:</h2>"
|
||||
|
||||
for i in l:
|
||||
page = page + " "+i+"<br>"
|
||||
|
||||
if i+".html" not in issues_files:
|
||||
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:
|
||||
return page
|
||||
|
||||
|
|
Loading…
Reference in a new issue