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

Using configured server URL instead of obtained from request #175

Merged
merged 4 commits into from
Jun 28, 2021

Conversation

pboguslawski
Copy link
Contributor

Woodpecker should use configured server URL when creating self
URL-s for VCS UI and not depend on URL read from request. In
case of internal calls like answers for webhooks from Gitea
on backend, address in URL may be internal and this causes
Gitea to display CI status for commit with intenal URL
to woodpecker not external one.

Author-Change-Id: IB#1107596

Woodpecker should use configured server URL when creating self
URL-s for VCS UI and not depend on URL read from request. In
case of internal calls like answers for webhooks from Gitea
on backend, address in URL may be internal and this causes
Gitea to display CI status for commit with intenal URL
to woodpecker not external one.

Author-Change-Id: IB#1107596
@laszlocph
Copy link
Member

I agree in principle, but need to test it before I merge.

Missing information about file changes added.

Fixes: f159b96
Author-Change-Id: IB#1107596
@6543 6543 added the enhancement improve existing features label Jun 18, 2021
@6543 6543 added this to the v0.14.0 milestone Jun 18, 2021
@6543
Copy link
Member

6543 commented Jun 22, 2021

please resolve conflicts

@pboguslawski
Copy link
Contributor Author

please resolve conflicts

Done.

@6543 6543 merged commit 68dbd48 into woodpecker-ci:master Jun 28, 2021
@pboguslawski pboguslawski deleted the master-IB#1107596 branch July 3, 2021 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improve existing features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants