Commit graph

607 commits

Author SHA1 Message Date
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
Jannis Leidel
7913cb7a5c Use django.utils.timezone.now if needed. 2012-01-24 16:44:25 +01:00
Philipp Wassibauer
844fef5fee updating to django 1.4 2011-12-23 23:02:32 +01:00
Philipp Wassibauer
f3bca7386d filter added to check if avatar is available 2011-07-01 11:13:47 +02:00
Philipp Wassibauer
30d939ad70 admin interface displays avatar and is filterable 2011-06-22 00:03:14 +02:00
Philipp Wassibauer
d3e98504c8 avatars can be displayed as gallery now 2011-04-01 15:05:29 +02:00
Brian Rosner
bc0a34612c removed all dependence on django-notification and django-friends by changing to emitting signals 2011-03-16 17:57:32 -04:00
Brian Rosner
9aac349f2d master is now 2.0a1 2011-03-16 17:49:57 -04:00
Philipp Wassibauer
cc5427ef80 removed notifications, since updates to my own avatar should not be send by email, updates to friends avatar is taken care by activity streams 2011-02-01 10:25:06 +01:00
Philipp Wassibauer
f425bfecf3 webcam upload support started, have to add better security measures though 2011-01-24 14:59:44 +01:00
Philipp Wassibauer
ee0223c1f3 avatar does not break if used with simple-friends, bumped version 2010-10-10 13:19:11 +02:00
Philipp Wassibauer
f501b3b597 bumped version 2010-09-06 00:45:37 -07:00
Philipp Wassibauer
8c14542220 fixing simplefriend switch 2010-09-06 00:45:11 -07:00
Philipp Wassibauer
5f8d6a9ae6 readme updated 2010-07-31 00:28:45 -07:00
Philipp Wassibauer
cdc456e8af small fix again, now it works to use any type of cropping/scaling with avatars in templates 2010-07-30 06:38:50 -07:00