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
wxiaoguang 2bce1ea986
Show messages for users if the ROOT_URL is wrong, show JavaScript errors (#18971)
* ROOT_URL issues: some users did wrong to there app.ini config, then:
    * The assets can not be loaded (AppSubUrl != "" and users try to access http://host:3000/)
    *The ROOT_URL is wrong, then many URLs in Gitea are broken.
Now Gitea show enough information to users.

* JavaScript error issues, there are many users affected by JavaScript errors, some are caused by frontend bugs, some are caused by broken customized templates. If these JS errors can be found at first time, then maintainers do not need to ask about how bug occurs again and again.

* Some people like to modify the `head.tmpl`, so we separate the script part to `head_script.tmpl`, then it's much safer.

* use specialized CSS class "js-global-error", end users still have a chance to hide error messages by customized CSS styles.
2 years ago
..
comp Fix EasyMDE error when input Enter (#19004) 2 years ago
admin-common.js Add LDAP group sync to Teams, fixes #1395 (#16299) 2 years ago
admin-emails.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
admin-users.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
clipboard.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
codeeditor.js Add new JS linter rules (#17699) 3 years ago
colorpicker.js Move jquery-minicolors to npm/webpack (#12305) 4 years ago
common-global.js Show messages for users if the ROOT_URL is wrong, show JavaScript errors (#18971) 2 years ago
common-issue.js Replace deprecated String.prototype.substr() with String.prototype.slice() (#18796) 2 years ago
common-organization.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
contextpopup.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
dropzone.js Update JS dependencies (#17611) 3 years ago
emoji.js Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 3 years ago
eventsource.sharedworker.js Update JS dependencies (#16708) 3 years ago
heatmap.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
imagediff.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
install.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
notification.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
org-team.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
repo-branch.js Add apply-patch, basic revert and cherry-pick functionality (#17902) 2 years ago
repo-code.js Replace deprecated String.prototype.substr() with String.prototype.slice() (#18796) 2 years ago
repo-commit.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
repo-common.js Refactor repo clone button and repo clone links, fix JS error on empty repo page (#19208) 2 years ago
repo-diff.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
repo-editor.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
repo-graph.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
repo-home.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
repo-issue-content.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
repo-issue.js Fix the editor height in review box (#19003) 2 years ago
repo-legacy.js Refactor repo clone button and repo clone links, fix JS error on empty repo page (#19208) 2 years ago
repo-migrate.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
repo-migration.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
repo-projects.js Feature: show issue assignee on project board (#15232) 2 years ago
repo-release.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
repo-settings.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
repo-template.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
repo-unicode-escape.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
repo-wiki.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
serviceworker.js Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 3 years ago
sshkey-helper.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
stopwatch.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
tablesort.js Added missing `data-` prefix. (#17884) 3 years ago
tribute.js Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 3 years ago
user-auth-webauthn.js Prevent security failure due to bad APP_ID (#18678) 2 years ago
user-auth.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
user-settings.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago