From d0e397226cf22f12daebf894701b8023c3d08165 Mon Sep 17 00:00:00 2001 From: Doctor Date: Wed, 3 Jul 2024 21:49:08 +0200 Subject: [PATCH] add video integration in better understand trackers page add static.exodus-privacy.eu.org in dev Content-Security-Policy --- exodus/exodus/settings/common_dev.py | 4 ++-- exodus/web/templates/base/trackers.html | 15 ++++++++++++--- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/exodus/exodus/settings/common_dev.py b/exodus/exodus/settings/common_dev.py index 6382cf17..5d107173 100644 --- a/exodus/exodus/settings/common_dev.py +++ b/exodus/exodus/settings/common_dev.py @@ -32,8 +32,8 @@ CSP_FORM_ACTION = ("'self'") CSP_FRAME_ANCESTORS = ("'self'") CSP_FRAME_SRC = ("'none'") -CSP_IMG_SRC = ("'self'", "data:") -CSP_MEDIA_SRC = ("'self'") +CSP_IMG_SRC = ("'self'", "data:", "https://static.exodus-privacy.eu.org") +CSP_MEDIA_SRC = ("'self'", "https://static.exodus-privacy.eu.org") CSP_OBJECT_SRC = ("'self'") CSP_SCRIPT_SRC = ("'self'", "'unsafe-inline'", "'unsafe-eval'") CSP_STYLE_SRC = ("'self'") diff --git a/exodus/web/templates/base/trackers.html b/exodus/web/templates/base/trackers.html index 3f130361..22ac2828 100644 --- a/exodus/web/templates/base/trackers.html +++ b/exodus/web/templates/base/trackers.html @@ -25,7 +25,10 @@

{% trans "What is a tracker?" %}

- {% trans "See the video" %} + + {% trans "See the video on Youtube" %}

{% trans "A tracker is a piece of software whose task is to gather information on the person using the application, on how they use it, or on the smartphone being used. A tracker is usually distributed by companies as a SDK (Software Development Kit), a sort of ready-made toolkit, aiming to make it easier for application developers. To be noted : 'open source' trackers exist, their code is available and open to everyone." %} @@ -34,7 +37,10 @@

{% trans "What is a tracker?" %}

{% trans "Are all trackers created equal?" %}

- {% trans "See the video" %} + + {% trans "See the video on Youtube" %}

{% trans "No, all trackers do not have the same function and they can present different levels of (privacy) intrusion." %} @@ -63,7 +69,10 @@

{% trans "Are all trackers created equal?" %}

{% trans "Who puts these trackers in?" %}

- {% trans "See the video" %} + + {% trans "See the video on Youtube" %}

{% trans "To answer these questions we must first understand how applications are made; there are 2 possible scenarios:" %}