forked from gitea/gitea
1
0
Fork 0
gitea/routers/user/setting
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
..
account.go Make modules/context.Context a context.Context (#16031) 2021-05-31 02:18:11 -04:00
account_test.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
adopt.go Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 2020-11-27 21:42:08 -05:00
applications.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
keys.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
main_test.go Splitted the user settings code into several files to be more maintainable (#3968) 2018-05-17 12:05:00 +08:00
oauth2.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
profile.go Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
security.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
security_openid.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
security_twofa.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
security_u2f.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00