Commit graph

221 commits

Author SHA1 Message Date
Simon Meers
fff8a4e1d2 Update {% url %} syntax. Not bothering with loading from future for now. 2013-03-15 21:52:45 +11:00
Simon Meers
23ff54e356 Update usage {% url %} syntax 2013-03-15 21:49:04 +11:00
Simon Meers
7ee83431b3 More quickly scrawled / untested custom user model support changes 2013-03-15 21:45:24 +11:00
Simon Meers
93fb42fd83 Commence experimental support for custom User models. 2013-03-15 21:29:07 +11:00
Jannis Leidel
6512c38dcb Convert the cache key into a smart str before calculating the md5 hash. 2013-03-11 16:51:23 +01:00
Jannis Leidel
df39a60521 Bumped version. 2013-03-08 12:16:36 +01:00
Jannis Leidel
c1cc62ee08 Fixed typo. 2013-03-08 12:16:21 +01:00
Jannis Leidel
cc4b06622f Merge branch 'master' of github.com:jezdez/django-avatar 2013-03-08 12:05:30 +01:00
Jannis Leidel
c3a4cbb070 Bumped version up a notch. 2013-03-08 12:05:24 +01:00
Jannis Leidel
7aa9b49064 Use slugify on the cache key and append it with a hash of the full key to prevent too long keys (looking at you, Memcache). 2013-03-08 12:05:03 +01:00
Jannis Leidel
e46fdcc0e5 Merge pull request #31 from frost-nzcr4/ft-locale-ru
Add translation to Russian
2013-03-04 03:52:45 -08:00
Jannis Leidel
7247ae77a9 Renamed AVATAR_BASE_URL to AVATAR_GRAVATAR_BASE_URL. 2013-03-04 12:48:49 +01:00
Jannis Leidel
5ef7955797 Bumped version up a notch. 2013-03-04 12:43:35 +01:00
Jannis Leidel
5b30e6e1d0 Merge branch 'master' of github.com:jezdez/django-avatar 2013-03-04 12:41:53 +01:00
Jannis Leidel
642eb4937b A couple of minor cosmetic fixes. 2013-03-04 12:41:43 +01:00
Jannis Leidel
1f94028511 Merge pull request #33 from rizumu/patch-1
Allow translation for the label of the avatar ImageField in the UploadAv...
2013-03-04 03:37:37 -08:00
Mathieu Pillard
aac26b8c70 Add a get_absolute_url() method to help implementors (it needs to exists for projects to overwrite it)
Conflicts:
	avatar/models.py
2013-03-04 12:32:48 +01:00
Jannis Leidel
a103d2bd3f Renamed AVATAR_CLEAN_REMOVED to AVATAR_CLEANUP_DELETED. 2013-03-04 12:28:43 +01:00
Jannis Leidel
68731b6bc6 Merge remote-tracking branch 'chadpaulson/master'
Conflicts:
	MANIFEST.in
	avatar/models.py
	avatar/settings.py
	avatar/templatetags/avatar_tags.py
	avatar/views.py
	setup.py
2013-03-04 11:43:23 +01:00
Jannis Leidel
47664e3fbe Merge branch 'master' of github.com:jezdez/django-avatar
Conflicts:
	avatar/urls.py
	avatar/views.py
	setup.py
2013-03-04 11:33:40 +01:00
Jannis Leidel
5144ba0300 Merge pull request #37 from guzru/master
Support for django >=1.4
2013-03-04 02:29:43 -08:00
Jannis Leidel
01ed9b96f1 Merge pull request #35 from fcurella/master
add new ``AVATAR_BASE_URL`` settings
2013-03-04 02:28:35 -08:00
Chad Paulson
b5937382ab Added post_delete signal to Avatar model in order to clean up the file system when AVATAR_MAX_AVATARS_PER_USER is equal to 1 or when Avatar instances are removed. This functionality is controlled by the new AVATAR_CLEAN_REMOVED setting which is False by default. 2013-01-18 19:39:31 -06:00
Patrick Altman
d84b0e5bd9 Merge pull request #1 from ingenieroariel/testdata
Add testdata to distribution package so third parties can run the tests
2013-01-02 09:00:23 -08:00
Patrick Altman
ec728b0dc2 Merge pull request #2 from ssouk/accepting_css_class_in_avatar_tag
Optional css_class passed as args to the avatar tag.
2013-01-02 09:00:00 -08:00
Patrick Altman
af58a20784 2.0a2-eldarion 2012-11-30 10:27:40 -06:00
Michele Mattioni
859ed76805 Optional css_class passed as args to the avatar tag.
If no class is passed, no class is added.
2012-11-18 18:35:37 +00:00
Ariel Núñez
fd070a3261 Add testdata to distribution package so third parties can run the tests 2012-11-01 10:04:39 -04:00
Cristiano Valente
22df7a8902 Support for username with extra chars. 2012-10-12 14:45:47 +02:00
Jannis Leidel
bd78c63159 Bumped to 2.0a5. 2012-10-05 15:52:46 +02:00
Jannis Leidel
264c83671a Fixed invalidating the avatar cache by making it happen post_save and post_delete. 2012-10-05 15:52:02 +02:00
Jannis Leidel
23ea04e7af Bumped to alpha 4. 2012-10-05 15:10:34 +02:00
Jannis Leidel
2650cf0282 Minor syntax cleanup. 2012-10-05 12:07:47 +02:00
Jannis Leidel
c8bf40ebe3 Catch IOError in the rest of the create_thumbnail method, too, to work around an issue with Django>1.4.1 which verifies the images being saved. 2012-10-05 12:07:13 +02:00
Patrick Altman
ea61cf10e0 Add ability to use https with gravatar 2012-08-29 05:32:29 -05:00
Jannis Leidel
3b6c77144e Made the avatar tag a simple_tag again as it doesn't break backwards compatibility. 2012-08-28 16:09:37 +02:00
Jannis Leidel
c5042a8368 Minor fix for packaging to not break the installation. 2012-08-21 15:06:08 +02:00
Jannis Leidel
c8727264be Also ship the notification templates. 2012-08-21 14:41:13 +02:00
Jannis Leidel
7d0ba11d11 Added forgotten user variable to avatar tag template context. 2012-08-21 14:39:15 +02:00
Jannis Leidel
ed51251885 Bumped version a bit. 2012-08-21 14:37:19 +02:00
Jannis Leidel
aa4e58168f Made the avatar template tag an inclusion tag to be able to override the default template. 2012-08-21 14:36:49 +02:00
Cristiano Valente
cd7401dc4f Updated to support django <=1.4 2012-08-08 21:24:43 +02:00
Patrick Altman
8fd0cc6411 Update messages so it's compatible with Django 1.4 2012-07-19 09:56:00 -05:00
Flavio Curella
7ccd5cdf66 added AVATAR_BASE_URL setting 2012-06-30 14:24:10 -05:00
Jannis Leidel
59af1c3cb1 Minor fixes for the admin class. 2012-04-25 12:18:18 +02:00
Jannis Leidel
4a81a2a388 Merge remote-tracking branch 'ericflo/master'
Conflicts:
	avatar/management/__init__.py
	avatar/views.py
	setup.py
2012-04-25 12:05:16 +02:00
Jannis Leidel
66ab58631d Simplified the has_avatar filter. 2012-04-25 11:58:57 +02:00
Jannis Leidel
7b0d9b4a9a Added ability to specify a custom storage backend. 2012-04-20 17:45:56 +02:00
Thomas Schreiber
005d719b94 Allow translation for the label of the avatar ImageField in the UploadAvatarForm 2012-04-12 02:24:01 +03:00
frost-nzcr4
f013f7c48d Add translation to Russian 2012-03-17 00:46:08 +04:00