gitea/modules
KN4CK3R 8e262104c2
Add Image Diff for SVG files (#14867)
* Added type sniffer.

* Switched content detection from base to typesniffer.

* Added GuessContentType to Blob.

* Moved image info logic to client.
Added support for SVG images in diff.

* Restore old blocked svg behaviour.

* Added missing image formats.

* Execute image diff only when container is visible.

* add margin to spinner

* improve BIN tag on image diffs

* Default to render view.

* Show image diff on incomplete diff.

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
2021-06-05 15:32:19 +03:00
..
analyze
auth Fix bug in reverse proxy (#16026) 2021-05-31 02:54:16 -04:00
avatar Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
base Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
cache
charset
context Make modules/context.Context a context.Context (#16031) 2021-05-31 02:18:11 -04:00
convert
cron
csv
doctor
emoji
eventsource Hold the event source when there are no listeners (#15725) 2021-05-15 23:46:13 +02:00
generate
git Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
gitgraph
graceful Make modules/context.Context a context.Context (#16031) 2021-05-31 02:18:11 -04:00
hcaptcha
highlight
httpcache
httplib
indexer Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
lfs
log
markup Make tasklist checkboxes clickable (#15791) 2021-05-23 17:14:03 +03:00
matchlist
metrics
migrations Copy git data from disk when restore repository (#16066) 2021-06-04 16:14:20 +03:00
nosql
notification Don't manipulate input params in email notification (#16011) 2021-05-30 10:38:38 +01:00
options
password
pprof
private add a new internal hook to save ssh log (#15787) 2021-05-21 17:37:16 -04:00
process
public Improve assets handler middleware (#15961) 2021-05-30 18:25:11 +08:00
queue
recaptcha
references
repofiles
repository Double the avatar size factor (#15941) 2021-05-21 21:18:43 -04:00
secret
session
setting Unified custom config creation (#16012) 2021-05-29 19:44:14 +01:00
ssh
storage
structs
svg
sync
task Encrypt migration credentials at rest (#15895) 2021-05-31 04:25:47 -04:00
templates
test
timeutil
translation
typesniffer Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
upload
uri
user
util
validation
web Fix setting of SameSite on cookies (#15989) 2021-05-26 21:01:07 -04:00