Johannes Wilm
827244ca6c
Merge branch 'rafiqhilali-fix-cached-image-sizes'
2022-08-15 11:34:59 +02:00
Johannes Wilm
28302c5205
Add invalidate_cache test
2022-08-15 11:34:35 +02:00
Johannes Wilm
72c1cae345
Make get_cache_key work when there is no width/height
2022-08-15 10:44:04 +02:00
pre-commit-ci[bot]
942e08080b
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-08-15 08:32:03 +00:00
Johannes Wilm
cee893f5e3
Merge branch 'main' into fix-cached-image-sizes
2022-08-15 10:31:24 +02:00
Johannes Wilm
9c5e4f55f2
Merge branch 'iMaGiNiX-master'
2022-08-15 10:17:36 +02:00
Johannes Wilm
198946a8af
Merge branch 'master' of github.com:iMaGiNiX/django-avatar into iMaGiNiX-master
2022-08-15 10:17:24 +02:00
Johannes Wilm
99a979b057
rectangular avatars ( #214 )
...
* Support for rectangular avatars
* fix tests
* Add rectangle size test
* Update documentation and changelog
* add test for exposing username (or not)
* add primary_avatar_tag tests
* make rebuild_avatars, remove_avatar_images work with rectangles + tests
* Python 2 => 3
* fix tests
Co-authored-by: Karl Moritz Hermann <karlmoritz.hermann@gmail.com>
2022-08-15 10:08:35 +02:00
Rafiq Hilali
8017d6fc4c
Delete avatars from file storage when avatar is deleted ( #174 )
...
* added custom delete method to Avatar model inorder to delete avatars from file storage
* simplified chained expression to pass linting
* linting
* stopped using reserved keyword dir
* changed remove_avatar_images so it deletes all generated avatars
* went back to using queryset delete
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: Johannes Wilm <mail@johanneswilm.org>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-08-14 13:03:45 +02:00
Johannes Wilm
1dd993358b
AVATAR_CLEANUP_DELETED default True, relates to #181
2022-08-14 13:00:53 +02:00
Jannis Leidel
2ced4c06e7
Fix name.
2022-08-12 12:46:27 +02:00
Jannis Leidel
6d9bd34de0
Use released version of workflow.
2022-08-12 12:45:45 +02:00
Johannes Wilm
49b85b12f8
6.0.1
2022-08-12 07:23:26 +02:00
Johannes Wilm
b422c7bc0d
exclude tests folder from distribution
2022-08-12 07:20:47 +02:00
Johannes Wilm
47bd6f36ac
6.0.0
2022-08-12 07:01:23 +02:00
Jannis Leidel
5eb615f4b5
Fix rST rendering issue.
2022-08-11 10:49:32 +02:00
Jannis Leidel
1f7b1ff204
Add Django for docs rendering.
2022-08-11 10:44:23 +02:00
Johannes Wilm
8e086472d4
Merge branch 'main' of github.com:jazzband/django-avatar
2022-08-11 08:49:50 +02:00
Johannes Wilm
58aa1261ad
always convert JPEG/RGBA to JPEG/RGB
2022-08-11 08:36:24 +02:00
Johannes Wilm
6c05228531
Update CHANGELOG.rst
2022-08-10 19:50:34 +02:00
Johannes Wilm
96a4dc7e91
Update CHANGELOG.rst
2022-08-10 19:49:11 +02:00
Johannes Wilm
a6cef676f3
Add items to changelog
2022-08-10 19:47:20 +02:00
Johannes Wilm
33afb0e8dc
more changelog styling
2022-08-10 19:41:53 +02:00
Johannes Wilm
1bf0542a2f
style changelog
2022-08-10 19:40:51 +02:00
Johannes Wilm
0f7ddf2c26
Add changelog
2022-08-10 19:39:34 +02:00
Johannes Wilm
9c03396893
only require Pillow 8.4.0 as that is what is available for Python 3.6
2022-08-10 19:06:25 +02:00
Johannes Wilm
2fb3034505
make AVATAR_THUMB_MODES configurable, solves #153 , #180
2022-08-10 19:02:07 +02:00
Johannes Wilm
ab7e9c687e
make PNG default thumbnail format, based on discussion in #180
2022-08-10 18:46:09 +02:00
Johannes Wilm
dca3143ec2
Merge branch 'caumons-eureka_pub'
2022-08-10 17:54:08 +02:00
Johannes Wilm
5452d4ea34
Merge branch 'eureka_pub' of github.com:caumons/django-avatar into caumons-eureka_pub
2022-08-10 17:53:32 +02:00
Johannes Wilm
b986082ae5
Merge pull request #139 from reidransom/tmploverride
...
Allow provider to override template_name and context
2022-08-10 17:47:32 +02:00
pre-commit-ci[bot]
c8bcdb4a0c
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-08-10 15:45:56 +00:00
Johannes Wilm
e8fa4747f9
Merge branch 'main' into tmploverride
2022-08-10 17:45:47 +02:00
Johannes Wilm
4b912886ec
tests: AVATAR_EXPOSE_USERNAMES = True
2022-08-10 17:40:05 +02:00
Johannes Wilm
7d276ead7a
Don't expose user names through alt tags, solves #189 , solves #188 , relates to #181
2022-08-10 17:29:30 +02:00
Johannes Wilm
3e12122a9c
make default for AVATAR_EXPOSE_USERNAMES False. Relates to #181
2022-08-10 17:24:00 +02:00
John Vandenberg
c89f7043c6
Update test_default_delete_template ( #213 )
2022-08-10 10:17:08 +08:00
John Vandenberg
862e4f7a23
Merge pull request #156 from dudanogueira/master
2022-08-10 07:54:10 +08:00
John Vandenberg
bc05f97c93
Merge branch 'main' into master
2022-08-10 07:50:03 +08:00
Johannes Wilm
114a154668
compile translation files, replaces #192
2022-08-09 23:24:52 +02:00
Johannes Wilm
daa47442e5
Merge pull request #194 from mh-firouzjah/master
...
add translation support for persian/farsi
2022-08-09 23:21:31 +02:00
Johannes Wilm
a4708eca55
Merge pull request #208 from GoldenMan123/patch-1
...
get rid of unnecessary text
2022-08-09 23:16:23 +02:00
Johannes Wilm
72a6751960
lint
2022-08-09 22:07:35 +02:00
Johannes Wilm
43dc264e82
fix repo url
2022-08-09 22:05:49 +02:00
Johannes Wilm
e11a93e2ed
Add release workflow
2022-08-09 22:01:59 +02:00
Johannes Wilm
af1c241e92
Update CONTRIBUTORS.txt
2022-08-09 21:55:52 +02:00
Johannes Wilm
51a4a64b18
README: add badges
2022-08-09 21:54:56 +02:00
Johannes Wilm
61a1643151
Update badges
2022-08-09 21:47:07 +02:00
Johannes Wilm
502d96f81f
url() => path()
2022-08-09 21:42:20 +02:00
Johannes Wilm
6ccc046386
fix error type
2022-08-09 21:25:00 +02:00