Commit graph

453 commits

Author SHA1 Message Date
Johannes Wilm
348fade5a8 Merge branch 'original-file-default' of github.com:johanneswilm/django-avatar 2021-06-25 14:53:51 +02:00
Johannes Wilm
85218b0403 Make Django 3.2 compatible 2021-06-25 14:50:44 +02:00
Johannes Wilm
53b7fa2265
use original file as default
If thumbnail creation fails but the original files could be read, save the original file as the thumbnail.
2020-03-02 18:47:00 +01:00
Grant McConnaughey
3f4a8d284e Bump version to 5.0.0 2020-01-04 16:00:34 -06:00
Grant McConnaughey
ce56f6a104
Merge pull request #177 from rafiqhilali/avatar-deletion-storage-bug
Avatar storage deletion bug
2020-01-04 11:41:27 -06:00
Grant McConnaughey
5c4f587e6e
Merge pull request #184 from grantmcconnaughey/new_python_django_versions
Test against Django 2/3, Python 3.7/3.8
2020-01-04 11:10:38 -06:00
Grant McConnaughey
6ce67a8709 Add required deps for Django 2.2+ 2020-01-04 11:01:36 -06:00
Grant McConnaughey
991c8657de Fix settings for Django 2.1+ 2020-01-04 10:52:15 -06:00
Grant McConnaughey
a10771fc47 Test against Django 2/3, Python 3.7/3.8 2020-01-04 10:37:01 -06:00
Grant McConnaughey
25edc4172b
Merge pull request #183 from bastbnl/bastbnl-patch-182
Fixes the Django 3.0 `six` issue
2019-12-14 10:32:46 -06:00
bastb
805920e521 Yet another attempt 2019-12-03 15:43:31 +01:00
bastb
4ab2b379e7 Autocorrect 2019-12-03 15:41:20 +01:00
bastb
6a2c361502 Additional fixes for Django 3 2019-12-03 15:37:01 +01:00
bastb
2793ff0830 Fixes the Django 3.0 six issue 2019-12-03 08:16:14 +01:00
Rafiq Hilali
15879af5ce fixed storage deletion bug 2019-02-11 17:12:11 +00:00
Grant McConnaughey
182e7aa641
Merge pull request #169 from spookyUnknownUser/patch-1
Fix docs showing old django url pattern
2018-10-04 13:29:52 -05:00
spookyUnknownUser
319d554873
Fix docs showing old django url pattern 2018-10-04 18:36:44 +02:00
Grant McConnaughey
0d761fdd88
Merge pull request #168 from ricardogsilva/167-avoid-generation-of-migrations-file-when-adding-i18n-to-django-project
use the lazy version of gettext for translating models
2018-07-02 09:30:30 -05:00
Ricardo Garcia Silva
a26a133d9d
use the lazy version of gettext for translating models 2018-07-02 12:08:00 +01:00
Grant McConnaughey
f1266ed1eb Bump version 2017-12-20 09:22:33 -06:00
Grant McConnaughey
8b83871634 Update changelog 2017-12-20 09:21:55 -06:00
Grant McConnaughey
6d4a1b27d1 Use MIDDLEWARE setting 2017-12-17 11:22:56 -06:00
Grant McConnaughey
b6c9ff1d03 RST is not Markdown 2017-12-17 10:31:15 -06:00
Grant McConnaughey
7fb00f634b Exclude bare except rule 2017-12-17 10:29:26 -06:00
Grant McConnaughey
2b767e0b85 Update Changelog 2017-12-17 10:29:15 -06:00
Grant McConnaughey
16d721c210 Merge branch 'Jimdo-exif' 2017-12-17 10:24:16 -06:00
Grant McConnaughey
2de2a60e85 Fix conflicts 2017-12-17 10:24:02 -06:00
Grant McConnaughey
f940db8dc9
Merge pull request #162 from sedlar/signal_avatar_deleted
Add avatar_deleted signal
2017-12-17 10:22:31 -06:00
Grant McConnaughey
ba552fbcd9 Fix reverse in tests 2017-12-17 10:21:43 -06:00
Grant McConnaughey
10e0853152 Support Django 1.9 2017-12-17 10:17:27 -06:00
Grant McConnaughey
1511e67d66 Update testing matrix 2017-12-17 10:17:22 -06:00
Grant McConnaughey
d9c162cda9
Merge pull request #163 from cavanierc/Django2
Support for Django 2
2017-12-17 10:09:09 -06:00
Clement Cavanier
69901569a3 Support for Django 2 2017-12-06 15:06:45 +01:00
Martin Sedlář
6010209a1b Fix compatibility with python2 2017-11-10 10:16:05 +01:00
Martin Sedlář
fb195a570f Add avatar_deleted signal 2017-11-09 23:20:59 +01: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
Fabian Stehle
dcabd11e43 Fix invalid translations
'msgid' and 'msgstr' entries do not both end with '\n' which is
mandatory according to specification from the 'msgfmt' manual:

```
The msgid and msgstr strings are studied and compared. It is considered
abnormal if one string starts or ends with a newline while the other
does not.
```

Besides all placeholders from the 'msgid' must be used in the 'mgstr'.
2017-08-27 08:47:26 -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
f8716937b0 Prevented creation of the new migrations with non-default DEFAULT_FILE_STORAGE 2017-08-27 08:45:45 -05:00
Fabian Stehle
631eac80bb Test transposing thumbnails based on exif data 2017-07-11 21:57:08 +02:00
Arne Holzenburg
341732a38c Transpose based on EXIF orientation
Transpose the original image before resizing based on EXIF orientation
information to display image in the correct orientation. If someone
uploads an image from an iPhone (for example) the image is currently
often rendered in the wrong orientation.
2017-07-11 14:42:55 +02:00
Grant McConnaughey
cf97804f23 Bump version to 4.0.0 2017-05-27 09:58:55 -05:00
Grant McConnaughey
6151c426b7 Update version 4.0.0 changelog 2017-05-27 09:55:23 -05:00
Bruno Santeramo
5ffa8a443a Italian translation 2017-05-27 09:53:19 -05:00
Jannis
ccaafe492c Fix test for avatar tag. 2017-05-27 09:50:47 -05:00
Jannis
6091dd90fe Add blank line to resolve failing PEP8 check. 2017-05-27 09:50:47 -05:00
Jannis
51375039df Move alt attribute to kwargs. 2017-05-27 09:50:47 -05:00
Jannis
c1f7abd2e4 Add test for kwargs in template tag. 2017-05-27 09:50:47 -05:00
Grant McConnaughey
61a6d56d55 Update PyPI classifiers 2017-05-27 09:47:48 -05:00