Commit graph

29 commits

Author SHA1 Message Date
Petr Dlouhý
d81495f50c
fix #245 Django 5.1 error, test in Django 5.1 (#248) 2024-08-14 12:08:37 +02:00
Petr Dlouhý
2687d6cd06
add support for Django STORAGES (#237)
* add support for Django STORAGES

* [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-10-16 11:36:03 +02:00
Satya Mishra
738e65a229
Pillow 10 compatibility (#233)
* Compatibility change for Pillow 10.0.0

* Update python and django versions

* Update coverage version

* Remove Django 4.0

Django 4.0 is EOL

* Fix flake8 error

* [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>
2023-10-16 11:22:18 +02: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
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
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
1dd993358b AVATAR_CLEANUP_DELETED default True, relates to #181 2022-08-14 13:00:53 +02:00
Johannes Wilm
58aa1261ad always convert JPEG/RGBA to JPEG/RGB 2022-08-11 08:36:24 +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
3e12122a9c make default for AVATAR_EXPOSE_USERNAMES False. Relates to #181 2022-08-10 17:24:00 +02:00
Johannes Wilm
a977753b2c lint and add pre-commit configuration 2022-08-09 21:17:24 +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
Jannis
dc145ed57a Introduce avatar providers. 2016-09-14 12:44:22 +02:00
Christian Sauer
0f492e3bf4 Smallest/Fastest/Easiest/Least Invasive way to get custom templates 2016-08-04 17:31:04 -04:00
Orion Buske
d974f45cab Added GRAVITAR_FORCEDEFAULT setting 2016-02-11 12:51:59 -05:00
Grant McConnaughey
c2a5cec2bf Added documentation for new settings 2016-02-09 09:06:16 -06:00
Grant McConnaughey
b10197ac5a Merge pull request #105 from barbuza/master
`EXPOSE_USERNAMES` prevents sensitive information leakage
2016-02-09 08:46:17 -06:00
Kaspars Sprogis
cdb7974054 New setting to specify path to a method for avatar file path
handling. Solves problems related to custom deployments and
directory paths: #10 #9.
2016-02-08 22:01:12 +02:00
Victor Kotseruba
0aaa59e0a7 RANDOMIZE_HASHES option 2016-01-18 18:57:41 +08:00
Victor Kotseruba
724a478738 disable cache option 2016-01-18 18:14:15 +08:00
Victor Kotseruba
c9c1873382 facebook backup 2015-12-21 19:44:43 +08:00
toogy
6ac3e46a81 Adding the AVATAR_GRAVATAR_FIELD setting to define the user field used to get
the gravatar email.
2015-12-20 20:30:37 -08:00
Victor Kotseruba
1197dbe739 EXPOSE_USERNAMES prevents sensitive information leakage 2015-06-12 01:33:20 +03:00
Grant McConnaughey
0a39f1084d Merge pull request #86 from aptwebapps/master
Replace remaining occurrences of AUTO_GENERATE_AVATAR_SIZES
2015-04-24 13:16:55 -05:00
Nikos Roussos
6184fb10b7 Use https to gravatar url 2014-09-18 18:21:00 +03:00
David Lindsey
fcf1c39589 Replace remaining occurences of AUTO_GENERATE_AVATAR_SIZES with AVATAR_AUTO_GENERATE_SIZES 2014-04-03 19:41:12 +05:30
Jannis Leidel
65d5f66b9b Use django-appconf for nicer settings handling. 2013-09-13 17:59:52 +02:00