Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Giteabot
b8e6cffd31
Preserve BOM in web editor ( #28935 ) ( #28959 )
...
Backport #28935 by @silverwind
The `ToUTF8*` functions were stripping BOM, while BOM is actually valid
in UTF8, so the stripping must be optional depending on use case. This
does:
- Add a options struct to all `ToUTF8*` functions, that by default will
strip BOM to preserve existing behaviour
- Remove `ToUTF8` function, it was dead code
- Rename `ToUTF8WithErr` to `ToUTF8`
- Preserve BOM in Monaco Editor
- Remove a unnecessary newline in the textarea value. Browsers did
ignore it, it seems but it's better not to rely on this behaviour.
Fixes: https://github.com/go-gitea/gitea/issues/28743
Related: https://github.com/go-gitea/gitea/issues/6716 which seems to
have once introduced a mechanism that strips and re-adds the BOM, but
from what I can tell, this mechanism was removed at some point after
that PR.
Co-authored-by: silverwind <me@silverwind.io>
10 months ago
..
admin
Use appSubUrl for OAuth2 callback URL tip ( #28266 ) ( #28275 )
12 months ago
comp
Use fetch helpers instead of fetch ( #27026 )
1 year ago
captcha.js
Add new captcha: cloudflare turnstile ( #22369 )
2 years ago
citation.js
Don't show unnecessary citation JS error on UI ( #28433 ) ( #28437 )
12 months ago
clipboard.js
Clipboard copy enhancements ( #27669 ) ( #27681 )
1 year ago
codeeditor.js
Preserve BOM in web editor ( #28935 ) ( #28959 )
10 months ago
colorpicker.js
JS refactors ( #22227 )
2 years ago
common-global.js
Polyfill SubmitEvent for PaleMoon ( #28441 ) ( #28478 )
11 months ago
common-issue-list.js
Polyfill SubmitEvent for PaleMoon ( #28441 ) ( #28478 )
11 months ago
common-issue-list.test.js
Use vitest globals ( #27102 ) ( #27311 )
1 year ago
common-organization.js
Fix Org edit page bugs: renaming detection, maxlength ( #24161 )
2 years ago
contextpopup.js
Fix issue and commit status popup padding ( #25254 )
1 year ago
copycontent.js
Use fetch helpers instead of fetch ( #27026 )
1 year ago
dropzone.js
JS refactors ( #22227 )
2 years ago
emoji.js
Update JS and PY dependencies ( #27501 ) ( #27518 )
1 year 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 )
2 years ago
heatmap.js
Remove fomantic loader module ( #26670 )
1 year ago
imagediff.js
Replace ajax with fetch, improve image diff ( #27267 ) ( #27583 )
1 year ago
install.js
Use fetch helpers instead of fetch ( #27026 )
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 )
2 years ago
pull-view-file.js
Use fetch helpers instead of fetch ( #27026 )
1 year ago
repo-branch.js
Display warning when user try to rename default branch ( #24512 )
2 years ago
repo-code.js
Change form actions to fetch for submit review box ( #25219 )
1 year ago
repo-code.test.js
Use vitest globals ( #27102 ) ( #27311 )
1 year ago
repo-commit.js
Show branches and tags that contain a commit ( #25180 )
1 year ago
repo-common.js
Improve "language stats" UI ( #26968 )
1 year ago
repo-diff-commit.js
Use fetch helpers instead of fetch ( #27026 )
1 year ago
repo-diff-commitselect.js
Add commits dropdown in PR files view and allow commit by commit review ( #25528 )
1 year ago
repo-diff-filetree.js
JS refactors ( #22227 )
2 years ago
repo-diff.js
Polyfill SubmitEvent for PaleMoon ( #28441 ) ( #28478 )
11 months ago
repo-editor.js
Use unique class for breadcrumb divider ( #26524 )
1 year ago
repo-findfile.js
Refactor branch/tag selector to Vue SFC ( #23421 )
2 years ago
repo-findfile.test.js
Use vitest globals ( #27102 ) ( #27311 )
1 year ago
repo-graph.js
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ( #22950 )
2 years ago
repo-home.js
Fix the topic validation rule and suport dots ( #26286 )
1 year ago
repo-issue-content.js
Improve issue history dialog and make poster can delete their own history ( #27323 ) ( #27327 )
1 year ago
repo-issue-list.js
Hide archived labels by default from the suggestions when assigning labels for an issue ( #27451 ) ( #27661 )
1 year ago
repo-issue-pr-form.js
JS refactors ( #22227 )
2 years ago
repo-issue.js
Fix incorrect URL for "Reference in New Issue" ( #28716 ) ( #28723 )
11 months ago
repo-legacy.js
Improve "language stats" UI ( #26968 )
1 year ago
repo-migrate.js
Use fetch helpers instead of fetch ( #27026 )
1 year ago
repo-migration.js
Use "input" event instead of "keyup" event for migration form ( #26602 )
1 year ago
repo-projects.js
Fix duplicate project board when hitting `enter` key ( #27746 ) ( #27751 )
1 year ago
repo-release.js
Update JS dependencies, add new eslint rules ( #24597 )
2 years ago
repo-settings.js
Improve repo/user/org search ( #27030 )
1 year ago
repo-template.js
Add status indicator on main home screen for each repo ( #24638 )
2 years ago
repo-unicode-escape.js
Improve accessibility when (re-)viewing files ( #24817 )
2 years 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 )
3 years ago
stopwatch.js
Move helpers to be prefixed with `gt-` ( #22879 )
2 years ago
tablesort.js
JS refactors ( #22227 )
2 years ago
tribute.js
Avoiding accessing undefined mentionValues ( #26461 )
1 year ago
user-auth-webauthn.js
Use fetch helpers instead of fetch ( #27026 )
1 year ago
user-auth.js
Show the mismatched ROOT_URL warning on the sign-in page if OAuth2 is enabled ( #25947 )
1 year ago
user-settings.js
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ( #22950 )
2 years ago