Commit Graph

8 Commits (5ad65c8f5d88d9468a479befe42fcec36bf48b26)

Author SHA1 Message Date
Lunny Xiao 80a6b0f5bc
Avatars and Repo avatars support storing in minio (#12516)
* Avatar support minio

* Support repo avatar minio storage

* Add missing migration

* Fix bug

* Fix test

* Add test for minio store type on avatars and repo avatars; Add documents

* Fix bug

* Fix bug

* Add back missed avatar link method

* refactor codes

* Simplify the codes

* Code improvements

* Fix lint

* Fix test mysql

* Fix test mysql

* Fix test mysql

* Fix settings

* Fix test

* fix test

* Fix bug
2020-10-14 21:07:51 +08:00
Rob Watson df2557835b Improve handling of non-square avatars (#7025)
* Crop avatar before resizing (#1268)

Signed-off-by: Rob Watson <rfwatson@users.noreply.github.com>

* Fix spelling error

Signed-off-by: Rob Watson <rfwatson@users.noreply.github.com>
2019-05-25 14:46:14 +03:00
Ethan Koenig d2329e1c26 Use assert in legacy unit tests (#867) 2017-02-08 14:29:07 +08:00
Unknwon 58e004f7da Remove cache avatar support and add its tests 2016-02-14 23:14:55 -05:00
skyblue 4662a73ac3 name change of avatar 2014-03-26 21:26:31 +08:00
shxsun 8376b0d53c use modeles/log instead log 2014-03-24 21:16:00 +08:00
Gogs 964e537479 append route to web 2014-03-23 18:13:23 +08:00
skyblue 8e47ae2102 add avatar inorder to view code on github 2014-03-23 12:24:09 +08:00