osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/docker-playground/+/42963?usp=email )


Change subject: redmine: hide avatars
......................................................................

redmine: hide avatars

We aren't using gravatar or other 3rd party avatar services, and we
don't want the default avatars either as they can give the same color to
different users, making them look like the same user on first glance.

Related: SYS#8097#note-15
Change-Id: I136549e00f806a76704b354498083002fddb5b67
---
A redmine/0002-Hide-avatars.patch
M redmine/Dockerfile
2 files changed, 33 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/docker-playground 
refs/changes/63/42963/1

diff --git a/redmine/0002-Hide-avatars.patch b/redmine/0002-Hide-avatars.patch
new file mode 100644
index 0000000..429458c
--- /dev/null
+++ b/redmine/0002-Hide-avatars.patch
@@ -0,0 +1,30 @@
+From bedc707e3bf8b839e7b6e39467fed8806b7cad38 Mon Sep 17 00:00:00 2001
+From: Oliver Smith <[email protected]>
+Date: Thu, 9 Jul 2026 14:31:06 +0200
+Subject: [PATCH] Hide avatars
+
+We aren't using gravatar or other 3rd party avatar services, and we
+don't want the default avatars either as they can give the same color to
+different users, making them look like the same user on first glance.
+
+Related: SYS#8097#note-15
+---
+ app/assets/stylesheets/application.css | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/app/assets/stylesheets/application.css 
b/app/assets/stylesheets/application.css
+index c6656f70e..3d21a692f 100644
+--- a/app/assets/stylesheets/application.css
++++ b/app/assets/stylesheets/application.css
+@@ -2271,7 +2271,7 @@ img.filecontent.image {background-image: 
url(/transparent.png);}
+ span[role="img"].avatar {
+   font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+   align-items: center;
+-  display: inline-flex;
++  display: none;
+   font-size: calc(24px * .4);
+   justify-content: center;
+   user-select: none;
+--
+2.53.0
+
diff --git a/redmine/Dockerfile b/redmine/Dockerfile
index adcef31..5c6ef3e 100644
--- a/redmine/Dockerfile
+++ b/redmine/Dockerfile
@@ -26,6 +26,9 @@
 ADD    0001-Set-session_store-to-active_record_store.patch /tmp/
 RUN    cd /usr/src/redmine && patch -p1 < 
/tmp/0001-Set-session_store-to-active_record_store.patch

+ADD    0002-Hide-avatars.patch /tmp/
+RUN    cd /usr/src/redmine && patch -p1 < /tmp/0002-Hide-avatars.patch
+
 ADD    docker-entrypoint-osmo.sh /
 ENTRYPOINT ["/docker-entrypoint-osmo.sh"]
 CMD    ["rails", "server", "-b", "0.0.0.0"]

--
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/42963?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I136549e00f806a76704b354498083002fddb5b67
Gerrit-Change-Number: 42963
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>

Reply via email to