Johannes Wilm
5025be283a
switch to setuptools, fixes #227
2023-02-24 00:08:07 +01:00
Johannes Wilm
1077a6bddb
7.1.0
2023-02-23 23:35:51 +01:00
0xMRTT
222cd65d85
Update RESIZE_METHOD ( #222 ) ( #226 )
...
* fix(conf): image resize method (#222 )
* doc: update because of #222
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix(requirements): add packaging>=23.0 for pillow version
* fix(requirements): add packaging for pillow version check
* fix: resize method -> Image.LANCZOS
* fix(doc): update resize method: Image.LANCZOS
* fix(deps): remove packaging
* fix(deps): remove packaging
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-02-23 23:21:15 +01:00
pre-commit-ci[bot]
22b1b8346a
[pre-commit.ci] pre-commit autoupdate ( #217 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.4.0 )
- [github.com/pycqa/isort: 5.10.1 → 5.12.0](https://github.com/pycqa/isort/compare/5.10.1...5.12.0 )
- [github.com/psf/black: 22.10.0 → 23.1.0](https://github.com/psf/black/compare/22.10.0...23.1.0 )
- [github.com/pycqa/flake8: 5.0.4 → 6.0.0](https://github.com/pycqa/flake8/compare/5.0.4...6.0.0 )
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Johannes Wilm <mail@johanneswilm.org>
2023-02-22 19:42:36 +01:00
Petr Dlouhý
43e052ebd5
check if image is not corrupted during upload ( #218 )
2023-02-22 19:39:28 +01:00
Petr Dlouhý
dfb2cb67e7
fix admin detail too slow when there is large number of users ( #219 )
2023-02-22 19:38:43 +01:00
0xMRTT
8034665e6b
Add LibRavatar support ( #114 ) ( #225 )
...
* feat: add libravatar support (#114 ) and format
* feat: add documentation for libravatar
* fix(gh-actions): remove support for 3.6 and add 3.11
3.6 reached EOL: https://devguide.python.org/versions/
I also refactored the matrix by removing duplicated code
* fix(deps): add missing dnspython
* feat(deps): add requirements.txt
* fix(gh-actions): install deps
* chore(deps): add pyproject.toml
See https://github.com/pypa/pip/issues/8559
* fix(gh-actions): add fail-fast so all checks run
* fix(deps): bump coverage to 7.1.0
* fix(pre-commit): update versions
* fix(pre-commit): config error
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* style: update code for passing flake
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: 0xMRTT <0xMRTT@evta.fr>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-02-22 19:38:07 +01:00
Ihor Sychevskyi
675315b33c
update links ( #224 )
2023-02-06 00:18:44 +02:00
Ihor Sychevskyi
bdaebddf19
update readme links ( #221 )
2022-12-13 00:18:50 +02:00
Johannes Wilm
b6024d96f7
Update CHANGELOG.rst
2022-10-27 21:17:23 +02:00
Johannes Wilm
df2871ab5c
__version__ = "7.0.1"
2022-10-27 21:15:20 +02:00
Johannes Wilm
41496e05bb
providers: remove height-requirement
2022-10-27 21:14:02 +02:00
pre-commit-ci[bot]
c0ab427cfa
[pre-commit.ci] pre-commit autoupdate ( #216 )
...
updates:
- [github.com/psf/black: 22.8.0 → 22.10.0](https://github.com/psf/black/compare/22.8.0...22.10.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-27 21:06:15 +02:00
pre-commit-ci[bot]
d3f65b5f20
[pre-commit.ci] pre-commit autoupdate ( #215 )
...
updates:
- [github.com/psf/black: 22.6.0 → 22.8.0](https://github.com/psf/black/compare/22.6.0...22.8.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-09-27 17:53:01 +02:00
Johannes Wilm
4c5e6a0f52
7.0.0
2022-08-16 13:57:59 +02:00
Johannes Wilm
a897f5e8e9
Update gitignore
2022-08-16 13:56:25 +02:00
Johannes Wilm
c089561f48
add test for nondefault image names, fixes #38
2022-08-16 13:40:25 +02:00
Johannes Wilm
39f8681e29
Use correct extension for thumbnails, fixes #54
2022-08-16 13:28:09 +02:00
Johannes Wilm
210b54ca09
Moved default avatar to static folder, resolves #166
2022-08-16 12:01:35 +02:00
Johannes Wilm
0e09d40bf1
Correct thumbnail transposing for Safari, resolves #207
2022-08-16 11:55:31 +02:00
Johannes Wilm
8475d37c2a
support Django 4.1
2022-08-15 12:54:41 +02:00
Johannes Wilm
baf1cfb1f7
typo
2022-08-15 12:09:29 +02:00
Johannes Wilm
9e9679167b
Update changelog
2022-08-15 12:08:46 +02:00
Johannes Wilm
6f827c5312
Merge branch 'miohtama-python_magic_validation'
2022-08-15 12:04:22 +02:00
Johannes Wilm
d0ed3e3132
additional magic test
2022-08-15 12:03:54 +02:00
Johannes Wilm
a89a3fad17
Merge branch 'python_magic_validation' of github.com:miohtama/django-avatar into miohtama-python_magic_validation
2022-08-15 12:00:59 +02:00
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