You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/web_src/js/features
Jason Song 6f1f3e6c08
Show the mismatched ROOT_URL warning on the sign-in page if OAuth2 is enabled (#25947)
Since OAuth2 will callback the root URL, if the user starts signing in
from a wrong host, Gitea will return 500 because it cannot find the
session.

<details>
<summary>How to reproduce</summary>

<img width="901" alt="image"
src="https://github.com/go-gitea/gitea/assets/9418365/2c2e255c-e13e-4a11-9be7-b226bee54920">

<img width="1014" alt="image"
src="https://github.com/go-gitea/gitea/assets/9418365/b31cfcf6-a320-483d-9ce5-ba8562f065e1">

</details>


So show the mismatched ROOT_URL warning on the sign-in page if OAuth2 is
enabled.

<img width="1015" alt="image"
src="https://github.com/go-gitea/gitea/assets/9418365/99e80b17-c790-49a3-bbf2-2bd9396a7daa">
12 months ago
..
admin Show the mismatched ROOT_URL warning on the sign-in page if OAuth2 is enabled (#25947) 12 months ago
comp Add toasts to UI (#25449) 1 year ago
captcha.js Add new captcha: cloudflare turnstile (#22369) 1 year ago
citation.js Introduce eslint-plugin-no-jquery/no-event-shorthand (#24198) 1 year ago
clipboard.js Use clippie module to copy to clipboard (#23801) 1 year ago
codeeditor.js Always pass 6-digit hex color to monaco (#25780) 1 year ago
colorpicker.js JS refactors (#22227) 2 years ago
common-global.js Show the mismatched ROOT_URL warning on the sign-in page if OAuth2 is enabled (#25947) 12 months ago
common-issue-list.js Improve "goto issue by number" button (#24577) 1 year ago
common-issue-list.test.js Improve "goto issue by number" button (#24577) 1 year ago
common-organization.js Fix Org edit page bugs: renaming detection, maxlength (#24161) 1 year ago
contextpopup.js Fix issue and commit status popup padding (#25254) 1 year ago
copycontent.js Add two eslint plugins (#24776) 1 year ago
dropzone.js JS refactors (#22227) 2 years ago
emoji.js JS refactors (#22227) 2 years ago
eventsource.sharedworker.js Fix the JS error "EventSource is not defined" caused by some non-standard browsers (#20584) 2 years ago
file-fold.js Scroll collapsed file into view (#23702) 1 year ago
heatmap.js Localize activity heatmap (except tooltip) (#24131) 1 year ago
imagediff.js Prevent duplicate image loading (#25675) 1 year ago
install.js Fix various bugs for "install" page (#23194) 1 year ago
notification.js Fix notification list bugs (#25781) 1 year ago
org-team.js Add status indicator on main home screen for each repo (#24638) 1 year ago
pull-view-file.js Highlight viewed files differently in the PR filetree (#24956) 1 year ago
repo-branch.js Display warning when user try to rename default branch (#24512) 1 year ago
repo-code.js Change form actions to fetch for submit review box (#25219) 1 year ago
repo-code.test.js Ignore line anchor links with leading zeroes (#21728) 2 years ago
repo-commit.js Fix issue and commit status popup padding (#25254) 1 year ago
repo-common.js Introduce eslint-plugin-no-jquery/no-event-shorthand (#24198) 1 year ago
repo-diff-filetree.js JS refactors (#22227) 2 years ago
repo-diff.js Fix show more for image on diff page (#25672) 1 year ago
repo-editor.js Add popup to hashed comments/pull requests/issues in file editing/adding preview tab (#24040) 1 year ago
repo-findfile.js Refactor branch/tag selector to Vue SFC (#23421) 1 year ago
repo-findfile.test.js Refactor branch/tag selector to Vue SFC (#23421) 1 year ago
repo-graph.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 1 year ago
repo-home.js Sort repo topic labels by name (#24123) 1 year ago
repo-issue-content.js Clarify "text-align" CSS helpers, fix clone button padding (#25763) 1 year ago
repo-issue-list.js Import `sortablejs` only once (#25936) 12 months ago
repo-issue-pr-form.js JS refactors (#22227) 2 years ago
repo-issue.js Fix sidebar label dropdown divider (#25359) 1 year ago
repo-legacy.js Improve and fix bugs surrounding reactions (#24760) 1 year ago
repo-migrate.js Make repo migration cancelable and fix various bugs (#24605) 1 year ago
repo-migration.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 1 year ago
repo-projects.js Import `sortablejs` only once (#25936) 12 months ago
repo-release.js Update JS dependencies, add new eslint rules (#24597) 1 year ago
repo-settings.js Support for status check pattern (#24633) 1 year ago
repo-template.js Add status indicator on main home screen for each repo (#24638) 1 year ago
repo-unicode-escape.js Improve accessibility when (re-)viewing files (#24817) 1 year ago
repo-wiki.js Improve wiki sidebar and TOC (#25460) 1 year ago
sshkey-helper.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
stopwatch.js Move helpers to be prefixed with `gt-` (#22879) 1 year ago
tablesort.js JS refactors (#22227) 2 years ago
tribute.js rename tributeValues to mentionValues (#25375) 1 year ago
user-auth-webauthn.js Fix webauthn regression and improve code (#25113) 1 year ago
user-auth.js Show the mismatched ROOT_URL warning on the sign-in page if OAuth2 is enabled (#25947) 12 months ago
user-settings.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 1 year ago