forgejo/web_src/js/features
Giteabot 01285dc47c
Fix incorrect URL for "Reference in New Issue" () ()
Backport  by wxiaoguang

Gitea prefers to use relative URLs in code (to make multiple domain work
for some users)

So it needs to use `toAbsoluteUrl` to generate a full URL when click
"Reference in New Issues"

And add some comments in the test code

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
(cherry picked from commit def178ce32)

Conflicts:
	tests/integration/issue_test.go
	https://codeberg.org/forgejo/forgejo/issues/2158
2024-01-16 14:37:07 +00:00
..
admin Use appSubUrl for OAuth2 callback URL tip () () 2023-12-08 13:41:15 +01:00
comp Use fetch helpers instead of fetch () 2023-09-19 00:50:30 +00:00
captcha.js
citation.js Don't show unnecessary citation JS error on UI () () 2023-12-12 15:21:33 +01:00
clipboard.js Clipboard copy enhancements () () 2023-10-19 00:23:28 +08:00
codeeditor.js Revert "Fix EOL handling in web editor" () () 2023-11-22 17:14:40 +01:00
colorpicker.js
common-global.js Polyfill SubmitEvent for PaleMoon () () 2023-12-22 12:05:11 +01:00
common-issue-list.js Polyfill SubmitEvent for PaleMoon () () 2023-12-22 12:05:11 +01:00
common-issue-list.test.js Use vitest globals () () 2023-09-27 16:10:08 +02:00
common-organization.js
contextpopup.js
copycontent.js Use fetch helpers instead of fetch () 2023-09-19 00:50:30 +00:00
dropzone.js
emoji.js Update JS and PY dependencies () () 2023-10-08 19:31:33 +02:00
eventsource.sharedworker.js
file-fold.js
heatmap.js
imagediff.js Replace ajax with fetch, improve image diff () () 2023-10-11 16:12:31 +02:00
install.js [BRANDING] Rebrand default config settings for new installs () 2023-11-13 13:58:17 +01:00
notification.js
org-team.js
pull-view-file.js Use fetch helpers instead of fetch () 2023-09-19 00:50:30 +00:00
repo-branch.js
repo-code.js
repo-code.test.js Use vitest globals () () 2023-09-27 16:10:08 +02:00
repo-commit.js
repo-common.js Improve "language stats" UI () 2023-09-10 18:27:23 +08:00
repo-diff-commit.js Use fetch helpers instead of fetch () 2023-09-19 00:50:30 +00:00
repo-diff-commitselect.js
repo-diff-filetree.js
repo-diff.js Polyfill SubmitEvent for PaleMoon () () 2023-12-22 12:05:11 +01:00
repo-editor.js
repo-findfile.js
repo-findfile.test.js Use vitest globals () () 2023-09-27 16:10:08 +02:00
repo-graph.js
repo-home.js
repo-issue-content.js Improve issue history dialog and make poster can delete their own history () () 2023-09-28 09:46:46 +00:00
repo-issue-list.js Hide archived labels by default from the suggestions when assigning labels for an issue () () 2023-10-17 14:46:35 +00:00
repo-issue-pr-form.js
repo-issue.js Fix incorrect URL for "Reference in New Issue" () () 2024-01-16 14:37:07 +00:00
repo-legacy.js Improve "language stats" UI () 2023-09-10 18:27:23 +08:00
repo-migrate.js Use fetch helpers instead of fetch () 2023-09-19 00:50:30 +00:00
repo-migration.js
repo-projects.js Fix duplicate project board when hitting enter key () () 2023-10-23 13:04:53 +00:00
repo-release.js
repo-settings.js Improve repo/user/org search () 2023-09-12 16:44:48 +00:00
repo-template.js
repo-unicode-escape.js
repo-wiki.js
sshkey-helper.js
stopwatch.js
tablesort.js
tribute.js
user-auth-webauthn.js Use fetch helpers instead of fetch () 2023-09-19 00:50:30 +00:00
user-auth.js
user-settings.js