Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use relative URLs for avatars on the dashboard #2800

Merged
merged 2 commits into from
Oct 31, 2017
Merged

Conversation

cstyles
Copy link
Contributor

@cstyles cstyles commented Oct 28, 2017

This commit fixes an issue with avatars that I've encountered on the home dashboard. The bug doesn't occur in 1.1.4 but it does in every release in the 1.2.x series. In the feed, the full URL for avatars (e.g., http://10.0.0.2:3000/avatars/29fbdca3e9ae935c9a5e12561bb4f086) is used. With this commit, now the URL will just be something like /avatars/eb6935a516d40bf3985ded3b01b1bcb7.

@appleboy appleboy added this to the 1.3.0 milestone Oct 29, 2017
@codecov-io
Copy link

Codecov Report

Merging #2800 into master will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2800   +/-   ##
=======================================
  Coverage   26.86%   26.86%           
=======================================
  Files          89       89           
  Lines       17596    17596           
=======================================
  Hits         4727     4727           
  Misses      12183    12183           
  Partials      686      686
Impacted Files Coverage Δ
models/action.go 54.08% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1da17db...c92840e. Read the comment docs.

@tboerger tboerger added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Oct 29, 2017
@lunny
Copy link
Member

lunny commented Oct 31, 2017

LGTM

@tboerger tboerger added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Oct 31, 2017
@appleboy
Copy link
Member

LGTM

@tboerger tboerger added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Oct 31, 2017
@lunny
Copy link
Member

lunny commented Oct 31, 2017

make L-G-T-M work.

@lunny lunny merged commit b0b24a2 into go-gitea:master Oct 31, 2017
@cstyles cstyles deleted the rellink branch October 31, 2017 17:30
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants