From 07caf3ff64e34cc5da4d67ed10829d1667c0de79 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sat, 5 Jul 2025 11:30:16 +0200 Subject: [PATCH] switch to Jdenticons as the default icon generator --- CHANGELOG.md | 1 + cfg/conf.sample.php | 2 +- lib/Configuration.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f671268..88199c99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## 2.0.0 (not yet released) * CHANGED: Remove page template (#265) +* CHANGED: Jdenticons are now used as the default icons * FIXED: Name mismatches in attached files (#1584) * FIXED: Unable to paste attachments from clipboard (#1589) diff --git a/cfg/conf.sample.php b/cfg/conf.sample.php index fd4b43a0..449feebd 100644 --- a/cfg/conf.sample.php +++ b/cfg/conf.sample.php @@ -97,7 +97,7 @@ languageselection = false ; used to get the IP of a comment poster if the server salt is leaked and a ; SHA512 HMAC rainbow table is generated for all (relevant) IPs. ; Can be set to one these values: -; "none" / "identicon" (default) / "jdenticon" / "vizhash". +; "none" / "identicon" / "jdenticon" (default) / "vizhash". ; icon = "none" ; Content Security Policy headers allow a website to restrict what sources are diff --git a/lib/Configuration.php b/lib/Configuration.php index db171b01..3bc8e53c 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -63,7 +63,7 @@ class Configuration 'urlshortener' => '', 'qrcode' => true, 'email' => true, - 'icon' => 'identicon', + 'icon' => 'jdenticon', 'cspheader' => 'default-src \'none\'; base-uri \'self\'; form-action \'none\'; manifest-src \'self\'; connect-src * blob:; script-src \'self\' \'wasm-unsafe-eval\'; style-src \'self\'; font-src \'self\'; frame-ancestors \'none\'; frame-src blob:; img-src \'self\' data: blob:; media-src blob:; object-src blob:; sandbox allow-same-origin allow-scripts allow-forms allow-modals allow-downloads', 'zerobincompatibility' => false, 'httpwarning' => true,