Commit graph

15 commits

Author SHA1 Message Date
Mathieu Pillard
628948f8ed Marking added strings for translation and providing a basic french translation 2010-02-22 16:34:19 -05:00
Mathieu Pillard
e5b81caaff Lowercase filename just in case. 2010-02-22 16:34:11 -05:00
Mathieu Pillard
7bd5972aeb Implement a basic file extension validation system. 2010-02-22 16:34:04 -05:00
Mathieu Pillard
b2f3bec769 This time it should really work in every case... I hope. This really needs some unit tests. 2010-02-22 16:32:00 -05:00
Mathieu Pillard
84aa3b84d3 irrelevant now 2010-02-22 16:31:52 -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
470b90be4a Useless print 2010-02-22 16:24:56 -05:00
Mathieu Pillard
84b68d4284 Not needed 2010-02-22 16:24:46 -05:00
Mathieu Pillard
1aaaac1ce0 Fixed now 2010-02-22 16:24:36 -05:00
Mathieu Pillard
cbb8421720 Raise an error if trying to upload an avatar when the maximum number was already reached 2010-02-22 16:23:22 -05:00
Mathieu Pillard
811e238332 Forgot this in my last commit - Refactoring : Move avatar upload to its own view, form and template part 2 2010-02-22 16:22:01 -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
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
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