[PR #3069] [MERGED] Fix avatar URLs #16744

Closed
opened 2025-11-02 12:18:04 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3069
Author: @ethantkoenig
Created: 12/3/2017
Status: Merged
Merged: 12/3/2017
Merged by: @lunny

Base: masterHead: fix/avatar_size


📝 Commits (3)

📊 Changes

8 files changed (+107 additions, -33 deletions)

View changed files

📝 models/user.go (+11 -5)
📝 modules/base/tool.go (+47 -10)
📝 modules/base/tool_test.go (+30 -4)
📝 modules/setting/setting.go (+14 -9)
📝 templates/org/header.tmpl (+1 -1)
📝 templates/org/home.tmpl (+1 -1)
📝 templates/org/member/members.tmpl (+1 -1)
📝 templates/user/profile.tmpl (+2 -2)

📄 Description

Fixes #3068. This PR also

  • Does some refactoring to use the net/url library instead of manually assembling URLs.
  • Uses identicons for the default avatar when a federated avatar service is enabled. Previously, the default was identicons if a federated service was not enabled, but the Gravatar logo if a federated service was enabled.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/3069 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 12/3/2017 **Status:** ✅ Merged **Merged:** 12/3/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `fix/avatar_size` --- ### 📝 Commits (3) - [`ca4c721`](https://github.com/go-gitea/gitea/commit/ca4c72142f2b06ef3c487ec678a2a250da380433) Fix avatar URLs - [`0d9bdea`](https://github.com/go-gitea/gitea/commit/0d9bdeaa79f07f2a1370e8d70ddf1489af16fef2) import order - [`3531074`](https://github.com/go-gitea/gitea/commit/3531074e0992ec5b4d84476e78cd439efb623206) Merge branch 'master' into fix/avatar_size ### 📊 Changes **8 files changed** (+107 additions, -33 deletions) <details> <summary>View changed files</summary> 📝 `models/user.go` (+11 -5) 📝 `modules/base/tool.go` (+47 -10) 📝 `modules/base/tool_test.go` (+30 -4) 📝 `modules/setting/setting.go` (+14 -9) 📝 `templates/org/header.tmpl` (+1 -1) 📝 `templates/org/home.tmpl` (+1 -1) 📝 `templates/org/member/members.tmpl` (+1 -1) 📝 `templates/user/profile.tmpl` (+2 -2) </details> ### 📄 Description Fixes #3068. This PR also * Does some refactoring to use the `net/url` library instead of manually assembling URLs. * Uses identicons for the default avatar when a federated avatar service is enabled. Previously, the default was identicons if a federated service was *not* enabled, but the Gravatar logo if a federated service was enabled. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:18:04 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16744