bench-forgejo/routers/user
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
..
setting Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
auth.go Make modules/context.Context a context.Context (#16031) 2021-05-31 02:18:11 -04:00
auth_openid.go Make modules/context.Context a context.Context (#16031) 2021-05-31 02:18:11 -04:00
avatar.go Prevent NPE on avatar direct rendering if federated avatars disabled (#15434) 2021-04-12 20:57:12 -04:00
home.go Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
home_test.go Issues overview should not show issues from archived repos (#13220) 2021-01-12 23:19:17 -05:00
main_test.go Unit tests for wiki routers (#3022) 2017-11-30 17:52:15 +02:00
notification.go Clarify the suffices and prefixes of setting.AppSubURL and setting.AppURL (#12999) 2021-02-19 22:36:43 +01:00
oauth.go Feature/oauth userinfo (#15721) 2021-05-06 01:30:15 -04:00
profile.go add /assets as root dir of public files (#15219) 2021-04-28 12:35:06 +00:00
task.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00