-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Description
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
