gitea/web_src/js/features
silverwind ae8e8f055e
Use fetch helpers instead of fetch ()
WIP because:

- [x] Some calls set a `content-type` but send no body, can likely
remove the header
- [x] Need to check whether `charset=utf-8` has any significance on the
webauthn calls, I assume not as it is the default for json content.
- [x] Maybe `no-restricted-globals` is better for eslint, but will
require a lot of duplication in the yaml or moving eslint config to a
`.js` extension.
- [x] Maybe export `request` as `fetch`, shadowing the global.
..
admin Show the mismatched ROOT_URL warning on the sign-in page if OAuth2 is enabled ()
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 Use clippie module to copy to clipboard ()
codeeditor.js Always pass 6-digit hex color to monaco ()
colorpicker.js JS refactors ()
common-global.js Use fetch helpers instead of fetch ()
common-issue-list.js Use fetch helpers instead of fetch ()
common-issue-list.test.js Improve "goto issue by number" button ()
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 JS refactors ()
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 Improve Image Diff UI ()
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 Ignore line anchor links with leading zeroes ()
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 Remove "TODO" tasks from CSS file ()
repo-editor.js Use unique class for breadcrumb divider ()
repo-findfile.js Refactor branch/tag selector to Vue SFC ()
repo-findfile.test.js Refactor branch/tag selector to Vue SFC ()
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 Clarify "text-align" CSS helpers, fix clone button padding ()
repo-issue-list.js Use fetch helpers instead of fetch ()
repo-issue-pr-form.js JS refactors ()
repo-issue.js Remove "TODO" tasks from CSS file ()
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 Refactor project templates ()
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 ()