This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
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
main_test.go
notification.go
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