forgejo/web_src/js
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
..
components Fix JS NPE when viewing specific range of PR commits () () 2023-11-06 09:22:44 +00:00
features Fix incorrect URL for "Reference in New Issue" () () 2024-01-16 14:37:07 +00:00
markup Change katex limits () () 2023-11-01 22:26:45 +01:00
modules Polyfill SubmitEvent for PaleMoon () () 2023-12-22 12:05:11 +01:00
render Use vitest globals () () 2023-09-27 16:10:08 +02:00
standalone [API] Forgejo API /api/forgejo/v1 2023-11-13 12:33:48 +01:00
test Replace 'userxx' with 'orgxx' in all test files when the user type is org () 2023-09-14 02:59:53 +00:00
utils Polyfill SubmitEvent for PaleMoon () () 2023-12-22 12:05:11 +01:00
vendor Vendor jquery.are-you-sure with strict mode fixes () 2023-09-06 00:02:44 +00:00
webcomponents Polyfill SubmitEvent for PaleMoon () () 2023-12-22 12:05:11 +01:00
bootstrap.js Remove joinPaths function () 2023-08-31 02:46:44 +00:00
index.js Hide archived labels by default from the suggestions when assigning labels for an issue () () 2023-10-17 14:46:35 +00:00
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations () 2020-04-18 18:46:29 -04:00
svg.js Replace ajax with fetch, improve image diff () () 2023-10-11 16:12:31 +02:00
svg.test.js Use vitest globals () () 2023-09-27 16:10:08 +02:00
utils.js Replace ajax with fetch, improve image diff () () 2023-10-11 16:12:31 +02:00
utils.test.js Use vitest globals () () 2023-09-27 16:10:08 +02:00