No configuration to modify KeepActivityPrivate setting #12492

Open
opened 2025-11-02 10:11:37 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @element-wise on GitHub (Feb 16, 2024).

Description

I am trying to disable public activity for a user with "public" visibility. There is an user option "KeepActivityPrivate" per #11353 that serves this purpose but there isn't a service config in app.ini to disable public activity.

Gitea Version

1.21.4

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

2.43.0

Operating System

Linux

How are you running Gitea?

Docker

Database

SQLite

Originally created by @element-wise on GitHub (Feb 16, 2024). ### Description I am trying to disable public activity for a user with "public" visibility. There is an user option "KeepActivityPrivate" per #11353 that serves this purpose but there isn't a [service config](https://github.com/go-gitea/gitea/blob/main/modules/setting/service.go) in app.ini to disable public activity. ### Gitea Version 1.21.4 ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version 2.43.0 ### Operating System Linux ### How are you running Gitea? Docker ### Database SQLite
GiteaMirror added the type/bug label 2025-11-02 10:11:37 -06:00
Author
Owner

@techknowlogick commented on GitHub (Feb 16, 2024):

Hi, thanks for opening this report. To clarify, you'd like an option in the config to disable to public activity portion of all users on the instance?

@techknowlogick commented on GitHub (Feb 16, 2024): Hi, thanks for opening this report. To clarify, you'd like an option in the config to disable to public activity portion of all users on the instance?
Author
Owner

@element-wise commented on GitHub (Feb 16, 2024):

@techknowlogick, that's correct. Correct me if I'm wrong: there already exists a user-level setting to disable a user's public activities from being visible via KeepActivityPrivate param (see #11353). I saw user profile template make use of this param (see profile.tmpl#L14) but couldn't figure out how to modify it.

@element-wise commented on GitHub (Feb 16, 2024): @techknowlogick, that's correct. Correct me if I'm wrong: there already exists a user-level setting to disable a user's public activities from being visible via KeepActivityPrivate param (see #11353). I saw user profile template make use of this param (see [profile.tmpl#L14](https://github.com/go-gitea/gitea/blob/26b17537e651fe93ef9b64f961633cb4c0b8c2c3/templates/user/profile.tmpl#L14C1-L15C1)) but couldn't figure out how to modify it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12492