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
Ihor Sychevskyi
675315b33c
update links ( #224 )
2023-02-06 00:18:44 +02:00
Johannes Wilm
39f8681e29
Use correct extension for thumbnails, fixes #54
2022-08-16 13:28:09 +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
1dd993358b
AVATAR_CLEANUP_DELETED default True, relates to #181
2022-08-14 13:00:53 +02:00
Jannis Leidel
5eb615f4b5
Fix rST rendering issue.
2022-08-11 10:49:32 +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
a4708eca55
Merge pull request #208 from GoldenMan123/patch-1
...
get rid of unnecessary text
2022-08-09 23:16:23 +02:00
Johannes Wilm
502d96f81f
url() => path()
2022-08-09 21:42:20 +02:00
Johannes Wilm
a977753b2c
lint and add pre-commit configuration
2022-08-09 21:17:24 +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
Vladimir Zhukov
a0998c4bde
get rid of unnecessary text
2022-03-20 17:24:17 +03:00
spookyUnknownUser
319d554873
Fix docs showing old django url pattern
2018-10-04 18:36:44 +02:00
Grant McConnaughey
4eaf6f8f1e
Document AVATAR_CLEANUP_DELETED
2017-08-27 08:53:30 -05:00
Grant McConnaughey
dcc472a1e2
Document AVATAR_MAX_AVATARS_PER_USER
2017-08-27 08:51:18 -05:00
Duda Nogueira
4abf3277a2
Doc: Add url method to url to avoid error on django newer versions
2017-08-27 08:46:53 -05:00
Grant McConnaughey
3f646d6f71
Update changelog for 4.0.0
2017-05-27 09:43:23 -05: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
Hsinfu Huang
9ab18a72d8
add feature of customizing the attribute of avatar img
2016-03-22 19:11:45 +08:00
Ryan Pineo
5cb80dee99
add default of AVATAR_STORAGE_DIR to docs
2016-03-02 16:14:52 -05:00
Orion Buske
d974f45cab
Added GRAVITAR_FORCEDEFAULT setting
2016-02-11 12:51:59 -05:00
Ryan Pineo
9376453721
clarify AVATAR_GRAVATAR_DEFAULT docs
2016-02-09 10:49:59 -05:00
Grant McConnaughey
c2a5cec2bf
Added documentation for new settings
2016-02-09 09:06:16 -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
Grant McConnaughey
a67ba8fe32
Update documentation
2016-01-19 10:05:18 -06:00
Grant McConnaughey
55c27f7f73
Update changelog with new feature
2015-12-21 16:35:28 -06: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
Dave Gaeddert
200e4ae047
Rename GRAVATAR_DEFAULT to AVATAR_GRAVATAR_DEFAULT in docs
2015-07-18 23:30:37 -05:00
Dave Gaeddert
f4c5e9165f
Add GRAVATAR_DEFAULT and AVATAR_MAX_SIZE to docs
2015-07-16 15:28:52 -05:00
Evgeny Fadeev
7059011aab
Update index.txt
...
replace AUTO_GENERATE_AVATAR_SIZES with AVATAR_ prefixed setting.
2015-04-24 16:51:28 -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
David Lindsey
fcf1c39589
Replace remaining occurences of AUTO_GENERATE_AVATAR_SIZES with AVATAR_AUTO_GENERATE_SIZES
2014-04-03 19:41:12 +05:30
Roberto
b7f5cb3a7f
Calling syncdb in the usage instructions
2014-01-02 13:22:56 +11:00
Jannis Leidel
d26932235f
Final changes before release.
2013-09-13 18:08:10 +02:00
Jannis Leidel
e7e9e1c311
Added Sphinx docs.
2013-09-13 18:00:41 +02:00
Jannis Leidel
57d77caeb0
Revamped tests and added Travis config.
2013-08-01 13:12:49 +02:00
Simon Meers
23ff54e356
Update usage {% url %} syntax
2013-03-15 21:49:04 +11:00
Jannis Leidel
52997b3fa8
Added README and update CONTRIBUTORS file.
2010-06-26 17:46:56 +02:00
Eric Florenzano
58b7fe59b2
Added inital pass of documentation.
...
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@33 c76b2324-5f53-0410-85ac-b1078a54aeeb
2008-10-28 09:44:53 +00:00