0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 00:04:31 +01:00
gitea/web_src/js
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.
2023-02-06 12:09:18 -06:00
..
components Use relative url in actions view (#22675) 2023-01-31 22:46:10 +00:00
features Use link in UI which returned a relative url but not html_url which contains an absolute url (#21986) 2023-02-06 12:09:18 -06:00
markup Load asciicast css async (#22502) 2023-01-18 12:19:38 -06:00
modules Add Mermaid copy button, avoid unnecessary tooltip hide (#22225) 2022-12-25 18:17:48 +01:00
standalone
test Use link in UI which returned a relative url but not html_url which contains an absolute url (#21986) 2023-02-06 12:09:18 -06:00
bootstrap.js
index.js Add new captcha: cloudflare turnstile (#22369) 2023-02-05 15:29:03 +08:00
jquery.js
serviceworker.js
svg.js Implement actions (#21937) 2023-01-31 09:45:19 +08:00
svg.test.js
utils.js Use link in UI which returned a relative url but not html_url which contains an absolute url (#21986) 2023-02-06 12:09:18 -06:00
utils.test.js Use link in UI which returned a relative url but not html_url which contains an absolute url (#21986) 2023-02-06 12:09:18 -06:00