From 4167b36d1a4a1616998a715cb7d26f4d73c41063 Mon Sep 17 00:00:00 2001 From: terrtia Date: Tue, 10 Dec 2024 15:42:46 +0100 Subject: [PATCH] chg: [blur unsafe images] blur violence and pornography-illicit-or-illegal tags + add warning message --- bin/lib/Tag.py | 3 +++ var/www/templates/objects/image/block_blur_img_slider.html | 2 ++ 2 files changed, 5 insertions(+) diff --git a/bin/lib/Tag.py b/bin/lib/Tag.py index a3dfe9ea..39f178aa 100755 --- a/bin/lib/Tag.py +++ b/bin/lib/Tag.py @@ -39,6 +39,9 @@ UNSAFE_TAGS = None def build_unsafe_tags(): tags = set() + # violence + tags.add('dark-web:topic="violence"') + tags.add('dark-web:topic="pornography-illicit-or-illegal"') # CE content tags.add('dark-web:topic="pornography-child-exploitation"') # add copine-scale tags diff --git a/var/www/templates/objects/image/block_blur_img_slider.html b/var/www/templates/objects/image/block_blur_img_slider.html index bf0813e1..0397eb41 100644 --- a/var/www/templates/objects/image/block_blur_img_slider.html +++ b/var/www/templates/objects/image/block_blur_img_slider.html @@ -9,6 +9,7 @@
+