0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 08:54:17 -05:00
forgejo/templates/repo/diff
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
..
blob_excerpt.tmpl Fix whitespace rendering in diff (#13415) 2020-11-04 09:14:07 +02:00
box.tmpl Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
comment_form.tmpl Fixed unknown translation key. (#16057) 2021-06-03 23:50:31 +01:00
comment_form_datahandler.tmpl
comments.tmpl Make tasklist checkboxes clickable (#15791) 2021-05-23 17:14:03 +03:00
compare.tmpl Add selecting tags on the compare page (#15723) 2021-05-07 23:10:05 +02:00
conversation.tmpl Code comments improvements (#15722) 2021-05-08 18:28:25 +03:00
csv_diff.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
image_diff.tmpl Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
new_comment.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
new_review.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
options_dropdown.tmpl Comment box tweaks and SVG dropdown triangles (#13376) 2020-10-31 18:15:11 -04:00
section_split.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
section_unified.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
stats.tmpl Search and Diff CSS enhancements (#14050) 2020-12-20 13:00:03 -05:00
whitespace_dropdown.tmpl Comment box tweaks and SVG dropdown triangles (#13376) 2020-10-31 18:15:11 -04:00