forgejo/web_src/js/features
silverwind b3f2447bc4
Downscale pasted PNG images based on metadata (#29123)
Some images like MacOS screenshots contain
[pHYs](http://www.libpng.org/pub/png/book/chapter11.html#png.ch11.div.8)
data which we can use to downscale uploaded images so they render in the
same dppx ratio in which they were taken.

Before:

<img width="584" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/50979e3a-5d5a-40dc-a0a4-36eb6e28f14a">

After:

<img width="329" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/0690902a-f2fe-4c6b-97b3-6fdd67c21bad">

(cherry picked from commit 5e72526da4e915791f03af056890e16821bde052)
2024-02-19 22:58:33 +01:00
..
admin
comp Downscale pasted PNG images based on metadata (#29123) 2024-02-19 22:58:33 +01:00
captcha.js
citation.js
clipboard.js
codeeditor.js
colorpicker.js
common-global.js Introduce htmx and use it to avoid full page load on Subscribe and Follow (#28908) 2024-01-30 15:45:54 +01:00
common-issue-list.js
common-issue-list.test.js
common-organization.js Fix initCompLabelEdit not being called (#29198) 2024-02-17 23:24:31 +01:00
contextpopup.js Remove jQuery from issue reference context popup attach (#29216) 2024-02-17 23:24:31 +01:00
contributors.js Implement contributors graph (#27882) 2024-02-17 23:24:31 +01:00
copycontent.js
dropzone.js
emoji.js
eventsource.sharedworker.js
file-fold.js
heatmap.js
imagediff.js
install.js [BRANDING] Rebrand default config settings for new installs (#140) 2024-02-05 16:02:13 +01:00
notification.js
org-team.js
pull-view-file.js
repo-branch.js
repo-code.js Add eslint-plugin-github and fix issues (#29201) 2024-02-17 23:24:31 +01:00
repo-code.test.js
repo-commit.js
repo-common.js
repo-diff-commit.js
repo-diff-commitselect.js
repo-diff-filetree.js
repo-diff.js [BUG] Fix Ctrl+Enter on submitting review comment 2024-02-17 12:52:11 +01:00
repo-editor.js
repo-findfile.js
repo-findfile.test.js
repo-graph.js
repo-home.js
repo-issue-content.js
repo-issue-list.js Add eslint-plugin-github and fix issues (#29201) 2024-02-17 23:24:31 +01:00
repo-issue-pr-form.js
repo-issue-pr-status.js
repo-issue.js Add eslint-plugin-github and fix issues (#29201) 2024-02-17 23:24:31 +01:00
repo-legacy.js Add eslint-plugin-github and fix issues (#29201) 2024-02-17 23:24:31 +01:00
repo-migrate.js Remove jQuery from repo migrate page (#29219) 2024-02-19 22:58:32 +01:00
repo-migration.js
repo-projects.js
repo-release.js Port "Remove jQuery from the repo release form" 2024-02-19 19:54:22 +01:00
repo-settings.js Improve user search display name (#29002) 2024-02-01 17:10:16 +00:00
repo-template.js
repo-unicode-escape.js
repo-wiki.js
sshkey-helper.js Remove jQuery from SSH key form parser (#29193) 2024-02-17 23:24:31 +01:00
stopwatch.js
tablesort.js
tribute.js
user-auth-webauthn.js
user-auth.js Remove unneccesary initUserAuthLinkAccountView from "link account" page (#29217) 2024-02-19 22:58:32 +01:00
user-settings.js Remove jQuery from username change prompt and fix its detection (#29197) 2024-02-17 23:24:31 +01:00