forgejo/routers/web/repo
Lunny Xiao 769be877f2
Use link in UI which returned a relative url but not html_url which contains an absolute url ()
partially fix 

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.
2023-02-06 12:09:18 -06:00
..
actions Use relative url in actions view () 2023-01-31 22:46:10 +00:00
activity.go
attachment.go Add API management for issue/pull and comment attachments () 2022-12-09 14:35:56 +08:00
blame.go Refactor git command package to improve security and maintainability () 2023-02-04 10:30:43 +08:00
branch.go Supports wildcard protected branch () 2023-01-16 16:00:22 +08:00
cherry_pick.go Rename almost all Ctx functions () 2022-12-10 10:46:31 +08:00
commit.go Use context parameter in models/git () 2023-01-09 11:50:54 +08:00
compare.go Refactor git command package to improve security and maintainability () 2023-02-04 10:30:43 +08:00
download.go Use context parameter in models/git () 2023-01-09 11:50:54 +08:00
editor.go Rename almost all Ctx functions () 2022-12-10 10:46:31 +08:00
editor_test.go
find.go
http.go Refactor legacy strange git operations () 2023-02-06 10:23:17 +08:00
http_test.go
issue.go Show all projects, not just repo projects and open/closed projects () 2023-02-04 22:35:08 +08:00
issue_content_history.go
issue_dependency.go
issue_label.go
issue_label_test.go
issue_lock.go
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go
lfs.go Refactor git command package to improve security and maintainability () 2023-02-04 10:30:43 +08:00
main_test.go
middlewares.go
migrate.go
milestone.go Rename almost all Ctx functions () 2022-12-10 10:46:31 +08:00
packages.go Use dynamic package type list () 2022-12-29 00:31:54 +01:00
patch.go Rename almost all Ctx functions () 2022-12-10 10:46:31 +08:00
projects.go Support org/user level projects () 2023-01-20 19:42:33 +08:00
projects_test.go
pull.go Use link in UI which returned a relative url but not html_url which contains an absolute url () 2023-02-06 12:09:18 -06:00
pull_review.go
release.go Enable @<user>- completion popup on the release description textarea () 2023-02-01 13:14:40 -06:00
release_test.go
render.go
repo.go Use link in UI which returned a relative url but not html_url which contains an absolute url () 2023-02-06 12:09:18 -06:00
runners.go Implement actions () 2023-01-31 09:45:19 +08:00
search.go
setting.go Improve error report when user passes a private key () 2023-02-02 18:25:54 +00:00
setting_protected_branch.go Add main landmark to templates and adjust titles () 2023-02-01 22:56:10 +00:00
setting_secrets.go Add user secrets () 2023-02-01 20:53:04 +08:00
settings_test.go
tag.go Add main landmark to templates and adjust titles () 2023-02-01 22:56:10 +00:00
topic.go
treelist.go
view.go Refactor git command package to improve security and maintainability () 2023-02-04 10:30:43 +08:00
view_test.go
webhook.go Support system hook API () 2023-01-28 19:12:10 +01:00
wiki.go Use context parameter in models/git () 2023-01-09 11:50:54 +08:00
wiki_test.go