0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 08:34:19 +01:00
gitea/web_src
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
..
fomantic Remove fomantic accordion module (#15951) 2021-05-23 08:45:39 +08:00
js Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
less Remove fomantic accordion module (#15951) 2021-05-23 08:45:39 +08:00
svg Remove remaining fontawesome usage in templates (#15952) 2021-05-22 23:29:46 +02:00