Johannes Wilm
37d904c4ad
allow user id as int, fixes #235
2023-10-16 12:34:48 +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
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
Johannes Wilm
a977753b2c
lint and add pre-commit configuration
2022-08-09 21:17:24 +02:00
Johannes Wilm
6ba1280a7e
remove six
2022-07-16 23:25:43 +02:00
Johannes Wilm
3dd349b577
black
2022-07-16 23:18:09 +02:00
Johannes Wilm
ae950c9b50
black
2022-07-16 22:50:05 +02:00
Johannes Wilm
03c95bc925
update imports
2022-07-16 22:26:58 +02:00
bastb
2793ff0830
Fixes the Django 3.0 six issue
2019-12-03 08:16:14 +01:00
Rafiq Hilali
10ee97b902
cached the sizes of avatars that have been added to the cache, and then used these cached sizes to clear the cache in invalidate_cache
2019-02-07 16:27:18 +00:00
Jannis
c1f7abd2e4
Add test for kwargs in template tag.
2017-05-27 09:50:47 -05:00
Grant McConnaughey
5cbd095cda
Rename util -> utils, fix URL issue
2016-02-09 09:42:29 -06:00