Description
Description
This is a follow-up on #20446 and #30096.
When the config option DEFAULT_SHOW_FULL_NAME
is set to false
, since Gitea 1.22, full names correctly don't appear anymore in commit lists. However, full names are still displayed in the RSS feed. We wish to use RSS feeds for our IRC notification bot and this introduces an unwanted discrepancy.
This can't be reproduced on the test instance, where DEFAULT_SHOW_FULL_NAME
seems to be true
.
If I'm not mistaken, this line
gitea/routers/web/feed/convert.go
Line 86 in b5326a4
should be
title = act.GetActDisplayName() + " "
in order for the code to access the config value.
I noticed there is also a GetActDisplayNameTitle
method but the logic below
gitea/models/activities/action.go
Lines 240 to 246 in b5326a4
seems incorrect, unless I don't understand the aim of that method.
I read in #30096 (comment) that those code paths need a rewriting, in which case this issue could be used to track the task.
I am not confident enough in my understanding of the code to propose a PR yet, but I would be happy to contribute fixes. We would be very grateful to have a fix for the RSS feeds as soon as possible.
Thank you in advance.
Gitea Version
1.22
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Ubuntu 22.04
How are you running Gitea?
Gitea 1.22 from binary download, run as a custom systemd service.
Database
MySQL/MariaDB