gitea/web_src/js/features
Giteabot 84e65afffd
Use appSubUrl for OAuth2 callback URL tip () ()
Backport  by @earl-warren

- When crafting the OAuth2 callbackURL take into account `appSubUrl`,
which is quite safe given that its strictly formatted.
- No integration testing as this is all done in Javascript.
- Resolves https://codeberg.org/forgejo/forgejo/issues/1795

(cherry picked from commit 27cb6b7956136f87aa78067d9adb5a4c4ce28a24)

Co-authored-by: Earl Warren <109468362+earl-warren@users.noreply.github.com>
Co-authored-by: Gusted <postmaster@gusted.xyz>
..
admin Use appSubUrl for OAuth2 callback URL tip () ()
comp Use fetch helpers instead of fetch ()
captcha.js Add new captcha: cloudflare turnstile ()
citation.js Introduce eslint-plugin-no-jquery/no-event-shorthand ()
clipboard.js Clipboard copy enhancements () ()
codeeditor.js Revert "Fix EOL handling in web editor" () ()
colorpicker.js JS refactors ()
common-global.js Show error toast when file size exceeds the limits () ()
common-issue-list.js Use fetch helpers instead of fetch ()
common-issue-list.test.js Use vitest globals () ()
common-organization.js Fix Org edit page bugs: renaming detection, maxlength ()
contextpopup.js Fix issue and commit status popup padding ()
copycontent.js Use fetch helpers instead of fetch ()
dropzone.js JS refactors ()
emoji.js Update JS and PY dependencies () ()
eventsource.sharedworker.js Fix the JS error "EventSource is not defined" caused by some non-standard browsers ()
file-fold.js Scroll collapsed file into view ()
heatmap.js Remove fomantic loader module ()
imagediff.js Replace ajax with fetch, improve image diff () ()
install.js Use fetch helpers instead of fetch ()
notification.js Fix notification list bugs ()
org-team.js Add status indicator on main home screen for each repo ()
pull-view-file.js Use fetch helpers instead of fetch ()
repo-branch.js Display warning when user try to rename default branch ()
repo-code.js Change form actions to fetch for submit review box ()
repo-code.test.js Use vitest globals () ()
repo-commit.js Show branches and tags that contain a commit ()
repo-common.js Improve "language stats" UI ()
repo-diff-commit.js Use fetch helpers instead of fetch ()
repo-diff-commitselect.js Add commits dropdown in PR files view and allow commit by commit review ()
repo-diff-filetree.js JS refactors ()
repo-diff.js Use "is-loading" to avoid duplicate form submit for code comment () ()
repo-editor.js Use unique class for breadcrumb divider ()
repo-findfile.js Refactor branch/tag selector to Vue SFC ()
repo-findfile.test.js Use vitest globals () ()
repo-graph.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ()
repo-home.js Fix the topic validation rule and suport dots ()
repo-issue-content.js Improve issue history dialog and make poster can delete their own history () ()
repo-issue-list.js Hide archived labels by default from the suggestions when assigning labels for an issue () ()
repo-issue-pr-form.js JS refactors ()
repo-issue.js Hide archived labels by default from the suggestions when assigning labels for an issue () ()
repo-legacy.js Improve "language stats" UI ()
repo-migrate.js Use fetch helpers instead of fetch ()
repo-migration.js Use "input" event instead of "keyup" event for migration form ()
repo-projects.js Fix duplicate project board when hitting `enter` key () ()
repo-release.js Update JS dependencies, add new eslint rules ()
repo-settings.js Improve repo/user/org search ()
repo-template.js Add status indicator on main home screen for each repo ()
repo-unicode-escape.js Improve accessibility when (re-)viewing files ()
repo-wiki.js Improve wiki sidebar and TOC ()
sshkey-helper.js Use explicit jQuery import, remove unused eslint globals ()
stopwatch.js Move helpers to be prefixed with `gt-` ()
tablesort.js JS refactors ()
tribute.js Avoiding accessing undefined mentionValues ()
user-auth-webauthn.js Use fetch helpers instead of fetch ()
user-auth.js Show the mismatched ROOT_URL warning on the sign-in page if OAuth2 is enabled ()
user-settings.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ()