Mathieu Pillard
|
a5e906e36d
|
Starting to implement new AVATAR_MAX_AVATARS_PER_USER setting to limit the maximum number of avatars for each user
|
2010-02-22 16:20:46 -05:00 |
|
Mathieu Pillard
|
853916273f
|
Don't use multiple querysets for the same list (might revisit the .get() for avatar later)
|
2010-02-22 16:19:57 -05:00 |
|
Mathieu Pillard
|
700e47cfb0
|
Ignore pyc files
|
2010-02-22 16:17:37 -05:00 |
|
Ahmad Al-Ibrahim
|
df60156e30
|
Fixed #586 - Added login_required to avatar.views.delete
|
2010-02-09 09:21:19 +08:00 |
|
Ross Poulton
|
073e9a9c10
|
Provide Gravatar default url in settings.AVATAR_GRAVATAR_DEFAULT - will be used by Gravatar if the user has no avatar for that email address.
|
2010-02-08 16:41:40 +08:00 |
|
John Debs
|
ed21e5a907
|
Fix for error in django-avatar 1.0.3 (task #524).
|
2009-11-10 05:18:52 +08:00 |
|
Jakob Torp Svendsen
|
cc158668ea
|
Check for django-friends using INSTALLED_APPS to prevent imports from happening
Reported to Pinax as http://code.pinaxproject.com/tasks/task/481/
Signed-off-by: Brian Rosner <brosner@gmail.com>
|
2009-11-07 11:15:06 -07:00 |
|
ben.browitt@gmail.com
|
430150e2a7
|
removed new_primary from views.py delete method
Signed-off-by: Eric Florenzano <floguy@gmail.com>
|
2009-05-25 12:59:28 +08:00 |
|
ben.browitt@gmail.com
|
c900d4ee98
|
Added notification templated. Can't verify that they are being used.
new_primay wasn't being used in delete_avatar
Signed-off-by: Eric Florenzano <floguy@gmail.com>
|
2009-05-25 12:59:28 +08:00 |
|
ben.browitt@gmail.com
|
7e6a814d7b
|
Added avatar_updated and avatar_friend_updated
Signed-off-by: Eric Florenzano <floguy@gmail.com>
|
2009-05-25 12:59:27 +08:00 |
|
user
|
b0fa9031b4
|
Set a new primary avatar when deleting the primary avatar.
Signed-off-by: Eric Florenzano <floguy@gmail.com>
|
2009-05-25 12:58:22 +08:00 |
|
Brian Rosner
|
737bf1d821
|
Removed some legacy code that is no longer used. Closes #1.
Due to catching the User post_save signal this would be fired on each login
since last_login is always updated.
|
2009-04-23 12:43:55 -06:00 |
|
Brian Rosner
|
adf694302b
|
Removed usage of hashlib to support Python 2.4.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@36 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-12-28 21:52:32 +00:00 |
|
Eric Florenzano
|
221b52a65c
|
Fixed the apparent problem with PNG and S3 that some were seeing. Thanks, msaelices and bryanveloso. Along with that fix also comes support for not resizing an image if it's already the correct size.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@35 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-12-04 08:59:40 +00: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 |
|
Eric Florenzano
|
57c036ed39
|
Slightly shallower resized image paths.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@32 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-10-28 06:53:08 +00:00 |
|
Eric Florenzano
|
42b0361d4b
|
Thanks for the help, PyFlakes.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@31 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-10-28 06:43:52 +00:00 |
|
Eric Florenzano
|
c3fadc0377
|
Completely refactored this package so that it no longer references the local filesystem. The API has been simplified and it has been tested with both file system backends and S3 backends. Gearing up for the first official release.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@30 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-10-28 06:39:21 +00:00 |
|
Eric Florenzano
|
ba8e3268fb
|
Made all imports relative and cleaned up the imports in general. Thanks, PyFlakes!
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@29 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-10-20 01:11:10 +00:00 |
|
James Tauber
|
e8ff23bbb6
|
fixed force_insert problem
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@28 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-09-01 12:47:43 +00:00 |
|
Eric Florenzano
|
066b07af53
|
Removed the import_gravatars script as it no longer worked properly. This may be re-written at some point, but right now it is just cruft.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@27 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-16 06:09:49 +00:00 |
|
Eric Florenzano
|
53a44ef2c0
|
Changed the max_length of the avatar ImageField, as we were seeing some errors about the path being too short.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@26 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-16 06:07:06 +00:00 |
|
Eric Florenzano
|
7d6c3f70d5
|
Added management command to rebuild avatars. This is useful for when an administrator wishes to change the size of the auto-generated avatar sizes.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@25 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-16 06:00:00 +00:00 |
|
Eric Florenzano
|
3a56d30243
|
Made avatar selection more clear by providing initial data for the form.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@24 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-16 05:53:55 +00:00 |
|
Eric Florenzano
|
559eb4ae99
|
Fixed problem with uploading .GIF files, as they need to be conditionally converted to RGB.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@23 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-16 05:48:33 +00:00 |
|
Eric Florenzano
|
d29ebe0192
|
Got rid of two print statements that could cause mod_wsgi to error out.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@22 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-15 21:48:04 +00:00 |
|
Eric Florenzano
|
237a34a59f
|
Fixed pathing to the mkdirs call.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@21 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-12 08:30:18 +00:00 |
|
Eric Florenzano
|
b6bf5cf1d0
|
Modified the rest of the module to be able to make use of the new added flexibility of the non-gravatar interface.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@20 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-12 08:12:38 +00:00 |
|
Eric Florenzano
|
810ce3f8e4
|
Completely refactored this module. The model has been changed to reflect more sane defaults. A new set of templatetags have been created as well, however, the gravatar public API has been preserved. The only thing that still needs to be done is to rewrite the administrative views for uploading/deleting/changing avatars.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@19 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-10 22:55:25 +00:00 |
|
James Tauber
|
2139fc5979
|
fixed signal typo
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@18 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-09 15:11:22 +00:00 |
|
Eric Florenzano
|
65a322ca41
|
Updated django-avatar to use the new signals stuff.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@17 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-07 06:06:54 +00:00 |
|
Eric Florenzano
|
a38db1b35e
|
Added caching.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@16 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-03 23:47:00 +00:00 |
|
Eric Florenzano
|
97ebeaaa53
|
Handle the MultipleObjectsReturned edge case (shouldn't happen, but it might)
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@15 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-03 23:20:56 +00:00 |
|
Eric Florenzano
|
3ac9b98cb2
|
Try 2 on robustness adding.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@14 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-03 22:45:38 +00:00 |
|
Eric Florenzano
|
43f027c881
|
Made falling back more robust.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@13 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-03 22:37:57 +00:00 |
|
Eric Florenzano
|
94e33d6b70
|
Added exception handling for if the directory already exists.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@12 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-02 23:04:26 +00:00 |
|
Eric Florenzano
|
a3ec3aea8e
|
Added some robustness to import statements.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@11 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-02 21:26:20 +00:00 |
|
Eric Florenzano
|
5b3da03bce
|
Make sure to make the directories before uploading, too.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@10 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-02 11:44:59 +00:00 |
|
Eric Florenzano
|
b329ef276f
|
Lazy loading doesn't seem to work correctly.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@9 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-02 05:36:33 +00:00 |
|
Eric Florenzano
|
3e1654d9a9
|
Screw it, change the wording to be easier on me and translators, yet not be any worsly-worded.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@8 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-02 05:34:17 +00:00 |
|
Eric Florenzano
|
13fca802fa
|
This isn't Perl
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@7 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-02 05:32:46 +00:00 |
|
Eric Florenzano
|
22b1f0aa87
|
Fixed bozo error and prettify formatting a bit.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@6 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-02 05:30:54 +00:00 |
|
Eric Florenzano
|
671f03caa5
|
Added message creation for creation and deletion of avatars.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@5 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-02 05:29:35 +00:00 |
|
Eric Florenzano
|
1a0e958b50
|
Switched the management command to use get_or_create, so that it can create the required Avatar instances for User objects on a new installation.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@4 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-02 05:14:30 +00:00 |
|
Eric Florenzano
|
d814c92bb8
|
Made sure that it really falls back to the specified default.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@3 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-01 09:50:13 +00:00 |
|
Eric Florenzano
|
9e85aba9f7
|
Initial version.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@2 c76b2324-5f53-0410-85ac-b1078a54aeeb
|
2008-08-01 09:27:59 +00:00 |
|