Kaynağa Gözat

switch to Jdenticons as the default icon generator

El RIDO 1 yıl önce
ebeveyn
işleme
07caf3ff64
3 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. 1 0
      CHANGELOG.md
  2. 1 1
      cfg/conf.sample.php
  3. 1 1
      lib/Configuration.php

+ 1 - 0
CHANGELOG.md

@@ -2,6 +2,7 @@
 
 
 ## 2.0.0 (not yet released)
 ## 2.0.0 (not yet released)
 * CHANGED: Remove page template (#265)
 * CHANGED: Remove page template (#265)
+* CHANGED: Jdenticons are now used as the default icons
 * FIXED: Name mismatches in attached files (#1584)
 * FIXED: Name mismatches in attached files (#1584)
 * FIXED: Unable to paste attachments from clipboard (#1589)
 * FIXED: Unable to paste attachments from clipboard (#1589)
 
 

+ 1 - 1
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
 ; 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.
 ; SHA512 HMAC rainbow table is generated for all (relevant) IPs.
 ; Can be set to one these values:
 ; Can be set to one these values:
-; "none" / "identicon" (default) / "jdenticon" / "vizhash".
+; "none" / "identicon" / "jdenticon" (default) / "vizhash".
 ; icon = "none"
 ; icon = "none"
 
 
 ; Content Security Policy headers allow a website to restrict what sources are
 ; Content Security Policy headers allow a website to restrict what sources are

+ 1 - 1
lib/Configuration.php

@@ -63,7 +63,7 @@ class Configuration
             'urlshortener'             => '',
             'urlshortener'             => '',
             'qrcode'                   => true,
             'qrcode'                   => true,
             'email'                    => 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',
             '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,
             'zerobincompatibility'     => false,
             'httpwarning'              => true,
             'httpwarning'              => true,