You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lunny Xiao 769be877f2
Use link in UI which returned a relative url but not html_url which contains an absolute url (#21986)
partially fix #19345

This PR add some `Link` methods for different objects. The `Link`
methods are not different from `HTMLURL`, they are lack of the absolute
URL. And most of UI `HTMLURL` have been replaced to `Link` so that users
can visit them from a different domain or IP.

This PR also introduces a new javascript configuration
`window.config.reqAppUrl` which is different from `appUrl` which is
still an absolute url but the domain has been replaced to the current
requested domain.
1 year ago
..
actions Use relative url in actions view (#22675) 1 year ago
activity.go Implement FSFE REUSE for golang files (#21840) 2 years ago
attachment.go Add API management for issue/pull and comment attachments (#21783) 2 years ago
blame.go Refactor git command package to improve security and maintainability (#22678) 1 year ago
branch.go Supports wildcard protected branch (#20825) 1 year ago
cherry_pick.go Rename almost all Ctx functions (#22071) 2 years ago
commit.go Use context parameter in models/git (#22367) 1 year ago
compare.go Refactor git command package to improve security and maintainability (#22678) 1 year ago
download.go Use context parameter in models/git (#22367) 1 year ago
editor.go Rename almost all Ctx functions (#22071) 2 years ago
editor_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
find.go Implement FSFE REUSE for golang files (#21840) 2 years ago
http.go Refactor legacy strange git operations (#22756) 1 year ago
http_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
issue.go Show all projects, not just repo projects and open/closed projects (#22640) 1 year ago
issue_content_history.go Multiple improvements for comment edit diff (#21990) 2 years ago
issue_dependency.go Implement FSFE REUSE for golang files (#21840) 2 years ago
issue_label.go Implement FSFE REUSE for golang files (#21840) 2 years ago
issue_label_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
issue_lock.go Implement FSFE REUSE for golang files (#21840) 2 years ago
issue_stopwatch.go Implement FSFE REUSE for golang files (#21840) 2 years ago
issue_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
issue_timetrack.go Implement FSFE REUSE for golang files (#21840) 2 years ago
issue_watch.go Implement FSFE REUSE for golang files (#21840) 2 years ago
lfs.go Refactor git command package to improve security and maintainability (#22678) 1 year ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
middlewares.go Implement FSFE REUSE for golang files (#21840) 2 years ago
migrate.go Implement FSFE REUSE for golang files (#21840) 2 years ago
milestone.go Rename almost all Ctx functions (#22071) 2 years ago
packages.go Use dynamic package type list (#22263) 2 years ago
patch.go Rename almost all Ctx functions (#22071) 2 years ago
projects.go Support org/user level projects (#22235) 1 year ago
projects_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
pull.go Use link in UI which returned a relative url but not html_url which contains an absolute url (#21986) 1 year ago
pull_review.go Implement FSFE REUSE for golang files (#21840) 2 years ago
release.go Enable `@<user>`- completion popup on the release description textarea (#22359) 1 year ago
release_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
render.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo.go Use link in UI which returned a relative url but not html_url which contains an absolute url (#21986) 1 year ago
runners.go Implement actions (#21937) 1 year ago
search.go Implement FSFE REUSE for golang files (#21840) 2 years ago
setting.go Improve error report when user passes a private key (#22726) 1 year ago
setting_protected_branch.go Add main landmark to templates and adjust titles (#22670) 1 year ago
setting_secrets.go Add user secrets (#22191) 1 year ago
settings_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
tag.go Add main landmark to templates and adjust titles (#22670) 1 year ago
topic.go Implement FSFE REUSE for golang files (#21840) 2 years ago
treelist.go Implement FSFE REUSE for golang files (#21840) 2 years ago
view.go Refactor git command package to improve security and maintainability (#22678) 1 year ago
view_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
webhook.go Support system hook API (#14537) 1 year ago
wiki.go Use context parameter in models/git (#22367) 1 year ago
wiki_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago