Skip to content

Enhancement: Align Gavatar and Federated Avatars options to be Enable #35627

@markbrown87

Description

@markbrown87

Feature Description

Admin settings for Picture and Avatar Configuration under Configuration are misaligned. Meaning, Gravatar is Disable Gravatar and Federate Avatars is Enable Federated Avatars. The proposed enhancement is a small refactor to align the two to be Enable for both (see screenshot).

Since this was a fast refactor, I implemented the approach of changing the naming and logic for disable gravatar to enable gravatar locally. However, I am not certain how the Gitea team would want to handle the database entry and migration from older instances to this proposed state. I assume there are standard procedures for migrating database entry names.

The alternative approach would be to keep all disable gravatar naming in the backend and flip the boolean when the control sends the value to the frontend. Of course, that comes with the confusion of the UI using Enable and the backend using Disable for naming convention for Gravatar.

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions