Jannis Leidel
|
929c8a0e4f
|
Added thumb quality setting which is used in the create_thumbnail() method.
|
2010-03-16 14:56:15 +01:00 |
|
Eric Florenzano
|
67361f3933
|
Remove vestigial import
|
2010-02-22 18:19:22 -05:00 |
|
Eric Florenzano
|
3035f0adc8
|
Use PyFlakes to fix some fail
|
2010-02-22 16:47:10 -05:00 |
|
Mathieu Pillard
|
7bd5972aeb
|
Implement a basic file extension validation system.
|
2010-02-22 16:34:04 -05:00 |
|
Mathieu Pillard
|
757283b823
|
Implement filename hashing (in case we don't want to blindly accept the filenames supplied by the user) and directory hashing (to allow
storage paths like /avatars/a/b/<user>/...)
|
2010-02-22 16:32:55 -05:00 |
|
Mathieu Pillard
|
3c3ffad9c3
|
Will revisit that later, it's not a big issue
|
2010-02-22 16:32:30 -05:00 |
|
Mathieu Pillard
|
b7811b3d14
|
is a boolean
|
2010-02-22 16:30:14 -05:00 |
|
Mathieu Pillard
|
763745c4cb
|
if AVATAR_DONT_SAVE_DUPLICATES is enabled don't generate a thumbnail over an existing one
|
2010-02-22 16:30:05 -05:00 |
|
Mathieu Pillard
|
5e804236a8
|
new preference allowing to re-use existing file if it exists. might have concurrency issues since
we don't ask the database if it exists, only the storage system, so it might break if it's being
deleted at the same time
|
2010-02-22 16:29:58 -05:00 |
|
Mathieu Pillard
|
dd1e3069ce
|
Make thumbnail format configurable
|
2010-02-22 16:29:39 -05:00 |
|
Mathieu Pillard
|
e0654c8d57
|
Implement a max size for the avatars. Defaults to 1 megabyte for now.
|
2010-02-22 16:25:09 -05:00 |
|
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 |
|
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 |
|
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 |
|
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
|
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
|
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 |
|