Commit graph

185 commits

Author SHA1 Message Date
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
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
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
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
Philipp Wassibauer
b67a6fe332 small fix 2010-07-30 06:11:33 -07:00
Philipp Wassibauer
1315b63daf added function to retrieve image field of avatar via templatetag, therefore opening the possibility to use different formats for the avatar in page, not just square 2010-07-30 06:00:55 -07:00
Jannis Leidel
b52c89bbdd Bumped version. 2010-06-27 22:19:57 +02:00
Jannis Leidel
7f38a3acf5 Added new AVATAR_DEFAULT_SIZE setting with a default of 80. 2010-06-26 19:01:22 +02:00
Jannis Leidel
22b85c5028 Moved settings from avatar main module to own settings module and signal callback to models module to be able to prevent import errors in non-Django Python environments. 2010-06-26 19:00:31 +02:00
Jannis Leidel
52997b3fa8 Added README and update CONTRIBUTORS file. 2010-06-26 17:46:56 +02:00
Jannis Leidel
d8ea69ee9c Bumped to 1.1a4. 2010-06-26 17:21:01 +02:00
Jannis Leidel
ff4f450c68 Added a few docstrings. 2010-06-26 17:20:44 +02:00
Jannis Leidel
17b183d315 Also invalidate the cache when deleting an avatar. 2010-06-26 17:20:29 +02:00
Jannis Leidel
d686bea25a Ignore all egg-info dirs. 2010-06-26 16:49:50 +02:00
Jannis Leidel
1413c4000d Added template tag caching (default timeout: 60 minutes) to template tags, includes invalidation. 2010-06-26 16:49:35 +02:00
Jannis Leidel
079d488607 Merge branch 'master' of git://github.com/ericflo/django-avatar 2010-06-25 09:23:01 +02:00
Brian Rosner
c93065ceba Merge remote branch 'alex/master' 2010-06-24 13:07:24 -06:00
Alex Gaynor
6463e870c3 Removed superflous code. 2010-06-24 11:06:11 -05:00
Jannis Leidel
92f9794701 Merge branch 'master' of git://github.com/alex/django-avatar 2010-06-24 18:02:32 +02:00
Alex Gaynor
c57a7499fb Do significantly fewer SQL queries here. 2010-06-24 10:59:14 -05:00
Alex Gaynor
4180a7a101 Fixes for Django 1.2 2010-06-24 10:56:04 -05:00
Jannis Leidel
dca68b23e5 Bumped version given latest changes. 2010-05-06 02:13:29 +02:00
Jannis Leidel
301166b8d6 The default avatar URL could also start with https. 2010-05-06 00:53:53 +02:00
Mathieu Pillard
61879cee7e AVATAR_DEFAULT_URL can start with http:// if for some reason it's hosted on another domain
Signed-off-by: Jannis Leidel <jannis@leidel.info>
2010-05-06 00:51:57 +02:00
Mathieu Pillard
3be0c2ca01 Fix redirect to only happen if the "add" action was successful. It was already breaking unit tests, but add more to be sure.
Signed-off-by: Jannis Leidel <jannis@leidel.info>
2010-05-06 00:46:21 +02:00
Mathieu Pillard
aaa1b62221 FR translation .mo
Signed-off-by: Jannis Leidel <jannis@leidel.info>
2010-05-06 00:45:52 +02:00