Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 10:46:10 +01:00
forgejo/web_src/js
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
..
code Fix and restyle menu on code line (#15913) 2021-05-18 23:16:02 -04:00
components Heatmap days clickable (#13935) 2021-02-20 17:08:58 -05:00
features Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
markup Make tasklist checkboxes clickable (#15791) 2021-05-23 17:14:03 +03:00
standalone docs: swagger show models by default (#14880) 2021-03-07 22:19:14 +01:00
easymde.js Switch from SimpleMDE to EasyMDE (#13333) 2020-11-10 14:16:30 -05:00
index.js update `.raw-content` when edit issue/comment content (#16021) 2021-05-31 22:22:49 -04:00
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 2020-04-18 18:46:29 -04:00
publicpath.js Unregister non-matching serviceworkers (#15834) 2021-05-12 20:36:53 +02:00
serviceworker.js Fix serviceworker output file and misc improvements (#11562) 2020-05-24 08:36:40 +01:00
svg.js Fix and restyle menu on code line (#15913) 2021-05-18 23:16:02 -04:00
utils.js Unregister non-matching serviceworkers (#15834) 2021-05-12 20:36:53 +02:00
utils.test.js Unregister non-matching serviceworkers (#15834) 2021-05-12 20:36:53 +02:00