Mathieu Pillard
|
32b61553d2
|
Fix for issue #12 on ericflo/django-avatar, proposed by fakeempire
Signed-off-by: Jannis Leidel <jannis@leidel.info>
|
2010-05-06 00:44:45 +02:00 |
|
Jannis Leidel
|
9b9ca4a665
|
Bumped to 1.1a2.
|
2010-03-21 14:27:46 +01:00 |
|
Jannis Leidel
|
072854a881
|
Merge branch 'master' of git://github.com/ericflo/django-avatar
|
2010-03-21 14:27:10 +01:00 |
|
Jannis Leidel
|
55f29b62be
|
Added redirect to add view to be able to add an image from a different URL/template without landing on the add template afterwards.
|
2010-03-21 14:22:43 +01:00 |
|
Brian Rosner
|
d60ac863e4
|
Merge remote branch 'jezdez/master'
|
2010-03-16 08:43:51 -06:00 |
|
Jannis Leidel
|
f5a252406f
|
Added default image to source distribution.
|
2010-03-16 15:43:02 +01:00 |
|
Brian Rosner
|
1111e79bcd
|
Merge remote branch 'jezdez/master'
Conflicts:
setup.py
|
2010-03-16 08:37:38 -06:00 |
|
Jannis Leidel
|
c240f23b86
|
Handle non-ASCII filenames correctly when hashing the filename.
|
2010-03-16 15:34:40 +01:00 |
|
Brian Rosner
|
b948422aa2
|
Merge branch 'master-old'
|
2010-03-16 08:34:29 -06:00 |
|
Jannis Leidel
|
afadde4a6e
|
Added translations to source distribution.
|
2010-03-16 15:25:42 +01:00 |
|
Jannis Leidel
|
b34197fb92
|
Added German translation.
|
2010-03-16 15:20:01 +01:00 |
|
Jannis Leidel
|
6bc17d0668
|
Marked a few strings for translation.
|
2010-03-16 15:19:54 +01:00 |
|
Jannis Leidel
|
929c8a0e4f
|
Added thumb quality setting which is used in the create_thumbnail() method.
|
2010-03-16 14:56:15 +01:00 |
|
Daniel T. Alvarenga
|
5996dfa5b5
|
Added Portuguese (Brazilian) translation.
Signed-off-by: Jannis Leidel <jannis@leidel.info>
|
2010-03-16 14:40:05 +01:00 |
|
PLHW
|
233422eefd
|
adding default quality param to create_thumbnail
Signed-off-by: Jannis Leidel <jannis@leidel.info>
|
2010-03-16 14:31:25 +01:00 |
|
Mathieu Pillard
|
0307dc2a79
|
More unit tests.
|
2010-03-16 14:28:40 +01:00 |
|
Mathieu Pillard
|
1e48a80f97
|
FIXME: more tests that need to be coded
Signed-off-by: Jannis Leidel <jannis@leidel.info>
|
2010-03-16 14:22:25 +01:00 |
|
Mathieu Pillard
|
1aa882d4d6
|
Test get_primary_avatar behaviour
Signed-off-by: Jannis Leidel <jannis@leidel.info>
|
2010-03-16 14:22:08 +01:00 |
|
Mathieu Pillard
|
c431bf9bf8
|
Fixed issue #7: get_primary shouldn't return urls, it should return objects (or just None in that case)
Signed-off-by: Jannis Leidel <jannis@leidel.info>
|
2010-03-16 13:58:17 +01:00 |
|
Jannis Leidel
|
6541bbb67d
|
Bump to an imaginary 1.1a1 release.
|
2010-03-16 13:55:40 +01:00 |
|
Jannis Leidel
|
3fc9e7928c
|
Allow overriding the upload and primary avatar form via a view parameter. Also don't set the default of the extra_context parameter in the function declaration.
|
2010-03-16 13:55:26 +01:00 |
|
Jannis Leidel
|
6377797e3f
|
Don't rely on the Django app cache's get_app() since it's not guaranteed to find the app whe django-avatar is loaded.
|
2010-03-16 13:53:41 +01:00 |
|
Jannis Leidel
|
ef2e6e69aa
|
Merge branch 'master' of git://github.com/ericflo/django-avatar
|
2010-03-15 21:50:07 +01:00 |
|
Eric Florenzano
|
85adf39b24
|
More obsessive compulsiveness
|
2010-02-22 18:56:31 -05:00 |
|
Eric Florenzano
|
111ecd8543
|
Obsessive compulsive import cleanup
|
2010-02-22 18:52:37 -05:00 |
|
Eric Florenzano
|
b50c1b1780
|
Cleanup, reorganization, moved the default avatar url to conform to community standards, and added a test to ensure that it's correct.
|
2010-02-22 18:50:46 -05:00 |
|
Eric Florenzano
|
5648cb9f11
|
Cleanup, reorganization, moved the default avatar url to conform to community standards, and added a test to ensure that it's correct.
|
2010-02-22 18:48:22 -05:00 |
|
Eric Florenzano
|
67361f3933
|
Remove vestigial import
|
2010-02-22 18:19:22 -05:00 |
|
Eric Florenzano
|
2ef99bc3c1
|
Moved default.jpg to reflect the community standard for media files
|
2010-02-22 18:19:08 -05:00 |
|
Eric Florenzano
|
1fb5b47ca0
|
Add a clarifying comment
|
2010-02-22 18:08:01 -05:00 |
|
Eric Florenzano
|
5469668e22
|
Remove an accidental pyc file checkin
|
2010-02-22 17:53:19 -05:00 |
|
Eric Florenzano
|
8020c5b256
|
Add a .gitignore
|
2010-02-22 17:52:58 -05:00 |
|
Eric Florenzano
|
cf667a2c9d
|
Added the ability to run the tests in a standalone way.
|
2010-02-22 17:52:01 -05:00 |
|
James Turnbull
|
acdd9539ae
|
Moved template folder to correct name (notification)
|
2010-02-22 16:55:14 -05:00 |
|
James Turnbull
|
08a30aa851
|
Cleaned up noticetext, removing reference to the user's gender and nonsense regarding tribes
|
2010-02-22 16:54:59 -05:00 |
|
Eric Florenzano
|
3035f0adc8
|
Use PyFlakes to fix some fail
|
2010-02-22 16:47:10 -05:00 |
|
Mathieu Pillard
|
c364ca7aa1
|
Replace hashlib by django's md5_constructor
|
2010-02-22 16:36:55 -05:00 |
|
Mathieu Pillard
|
984131894b
|
Allow extra args that might be sent to the views. Useful with custom URLConf for instance.
|
2010-02-22 16:36:45 -05:00 |
|
Mathieu Pillard
|
b8341f916b
|
fix resize for render_primary: size is a string, we need to convert it to an integer.
|
2010-02-22 16:36:35 -05:00 |
|
Mathieu Pillard
|
8cd775a41f
|
render_primary() needs AVATAR_DEFAULT_URL
|
2010-02-22 16:36:23 -05:00 |
|
Eric Florenzano
|
2e55166df6
|
Fixed conflicts
|
2010-02-22 16:35:57 -05:00 |
|
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
|
ea8479d7bb
|
Force thumbnail extension if AVATAR_HASH_FILENAMES is true. Avoids having
.jpg images that are really PNGs.
|
2010-02-22 16:33:56 -05:00 |
|
Mathieu Pillard
|
e86823251b
|
Use pretty decorators
|
2010-02-22 16:33:47 -05:00 |
|
Mathieu Pillard
|
0b9a075070
|
More basic tests
|
2010-02-22 16:33:39 -05:00 |
|
Mathieu Pillard
|
837bdadd31
|
Adding basic tests
|
2010-02-22 16:33:25 -05:00 |
|
Mathieu Pillard
|
ce88c225ca
|
Oops.
|
2010-02-22 16:33:14 -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 |
|