gitea/routers
KN4CK3R 8e262104c2
Add Image Diff for SVG files ()
* 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>
..
admin Make modules/context.Context a context.Context ()
api/v1 Add missing SameSite settings for the i_like_gitea cookie ()
dev [refactor] replace int with httpStatusCodes ()
events Make modules/context.Context a context.Context ()
org Fix case change in ownernames ()
private Make modules/context.Context a context.Context ()
repo Add Image Diff for SVG files ()
routes Fix language switch for install page ()
user Add Image Diff for SVG files ()
utils Clarify the suffices and prefixes of setting.AppSubURL and setting.AppURL ()
home.go [refactor] replace int with httpStatusCodes ()
init.go Refactor renders ()
install.go Fix language switch for install page ()
metrics.go Move metrics from macaron to chi ()
swagger_json.go [refactor] replace int with httpStatusCodes ()