bench-forgejo/routers
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
..
admin Make modules/context.Context a context.Context (#16031) 2021-05-31 02:18:11 -04:00
api/v1 Add missing SameSite settings for the i_like_gitea cookie (#16037) 2021-05-31 14:22:36 -04:00
dev [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
events Make modules/context.Context a context.Context (#16031) 2021-05-31 02:18:11 -04:00
org Fix case change in ownernames (#16045) 2021-06-02 13:03:59 +01:00
private Make modules/context.Context a context.Context (#16031) 2021-05-31 02:18:11 -04:00
repo Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
routes Fix language switch for install page (#16043) 2021-06-01 21:12:50 +02:00
user Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
utils Clarify the suffices and prefixes of setting.AppSubURL and setting.AppURL (#12999) 2021-02-19 22:36:43 +01:00
home.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
init.go Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
install.go Fix language switch for install page (#16043) 2021-06-01 21:12:50 +02:00
metrics.go Move metrics from macaron to chi (#13601) 2020-11-17 15:50:06 -05:00
swagger_json.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00