Commit graph

210 commits

Author SHA1 Message Date
Jannis Leidel
65d5f66b9b Use django-appconf for nicer settings handling. 2013-09-13 17:59:52 +02:00
Jannis Leidel
266240250a Fix cache_result to actual work. 2013-09-13 17:24:34 +02:00
Jannis Leidel
49148f1d70 Reduce repetition. 2013-09-13 17:24:02 +02:00
Jannis Leidel
0a5673b3ab D'oh, don't use unicode(). 2013-09-13 17:23:31 +02:00
Jannis Leidel
0728f60da8 Merge remote-tracking branch 'origin/master' 2013-09-13 16:39:08 +02:00
Jannis Leidel
831b935ec9 Fixed #28 -- make sure to cast avatar into a string before showing the option of the avatar upload form. 2013-09-13 16:38:57 +02:00
Jannis Leidel
92212bfc17 Merge pull request #61 from integricho/master
fix create_thumbnail saving for images not requiring resize
2013-09-13 07:33:54 -07:00
David Loaiza
3f32a2b347 Add spanish locale 2013-08-27 00:22:05 -05:00
andrean
6c9b44e2e7 fix create_thumbnail saving for images not requiring resize 2013-08-14 16:18:52 +02:00
Jannis Leidel
6393d25166 Fixed tests. 2013-08-01 15:29:09 +02:00
Jannis Leidel
fbba5135aa Removed broken webcam feature. 2013-08-01 14:53:47 +02:00
Jannis Leidel
6f64166e49 Merge pull request #56 from integricho/master
Dispatch the avatar_updated signal when an avatar is saved through the admin app

Conflicts:
	avatar/admin.py
2013-08-01 14:52:34 +02:00
Jannis Leidel
2131c79441 Use PIL.Image. 2013-08-01 14:48:43 +02:00
Jannis Leidel
543d644c84 Bump version up a notch. 2013-08-01 14:41:30 +02:00
Jannis Leidel
b12bb9f193 Use str just in case. 2013-08-01 14:35:59 +02:00
Jannis Leidel
7a32e3bd47 More Python 3 fixes. 2013-08-01 14:32:03 +02:00
Jannis Leidel
05ef51078f Use integer sizes. 2013-08-01 14:11:59 +02:00
Jannis Leidel
29570b1a1b Use storage file directly. 2013-08-01 14:09:04 +02:00
Jannis Leidel
286df0db56 Use Python 3 compat import location for urlparse. 2013-08-01 13:34:55 +02:00
Jannis Leidel
fc98737ce3 Use six.StringIO. 2013-08-01 13:29:19 +02:00
Jannis Leidel
5d3a7dabd9 More Python 3 fixes. 2013-08-01 13:23:19 +02:00
Jannis Leidel
a47e2e2811 Fixed some Python 3 bug. 2013-08-01 13:19:56 +02:00
Jannis Leidel
5e2785e5a5 Merge branch 'master' of github.com:jezdez/django-avatar
Conflicts:
	avatar/urls.py
	tests/settings.py
2013-08-01 13:13:28 +02:00
Jannis Leidel
57d77caeb0 Revamped tests and added Travis config. 2013-08-01 13:12:49 +02:00
Jannis Leidel
280246472d Fixed setup.py. 2013-08-01 13:11:48 +02:00
Tomaz Muraus
cd9c9e10cb Update url configs.
django.conf.urls.defaults has been deprecated and now fully removed in 1.6.
2013-07-14 17:40:17 +02:00
andrean
ba38663bab dispatch avatar_updated signal from admin as well 2013-06-26 10:54:29 +02:00
Jannis Leidel
b8844d8cd9 Merge branch 'master' of git://github.com/DrMeers/django-avatar into DrMeers-master
Conflicts:
	avatar/models.py
2013-05-27 10:13:16 +02:00
Simon Meers
1685dbc76d {% load url from future %}. See fff8a4e1 :) 2013-05-27 08:59:44 +10:00
Brendon Crawford
8627f67046 Replace Django Hashcompat with Hashlib 2013-03-22 13:55:28 -07:00
Brendon Crawford
5cd280a121 Replace Django hashcompat with hashlib
This fixes a DeprecationWarning in Django 1.5, which recommends
no longer using django.utils.hashcompat.
2013-03-22 13:18:04 -07:00
Simon Meers
fff8a4e1d2 Update {% url %} syntax. Not bothering with loading from future for now. 2013-03-15 21:52:45 +11:00
Simon Meers
7ee83431b3 More quickly scrawled / untested custom user model support changes 2013-03-15 21:45:24 +11:00
Simon Meers
93fb42fd83 Commence experimental support for custom User models. 2013-03-15 21:29:07 +11:00
Jannis Leidel
6512c38dcb Convert the cache key into a smart str before calculating the md5 hash. 2013-03-11 16:51:23 +01:00
Jannis Leidel
c1cc62ee08 Fixed typo. 2013-03-08 12:16:21 +01:00
Jannis Leidel
cc4b06622f Merge branch 'master' of github.com:jezdez/django-avatar 2013-03-08 12:05:30 +01:00
Jannis Leidel
7aa9b49064 Use slugify on the cache key and append it with a hash of the full key to prevent too long keys (looking at you, Memcache). 2013-03-08 12:05:03 +01:00
Jannis Leidel
e46fdcc0e5 Merge pull request #31 from frost-nzcr4/ft-locale-ru
Add translation to Russian
2013-03-04 03:52:45 -08:00
Jannis Leidel
7247ae77a9 Renamed AVATAR_BASE_URL to AVATAR_GRAVATAR_BASE_URL. 2013-03-04 12:48:49 +01:00
Jannis Leidel
5b30e6e1d0 Merge branch 'master' of github.com:jezdez/django-avatar 2013-03-04 12:41:53 +01:00
Jannis Leidel
642eb4937b A couple of minor cosmetic fixes. 2013-03-04 12:41:43 +01:00
Jannis Leidel
1f94028511 Merge pull request #33 from rizumu/patch-1
Allow translation for the label of the avatar ImageField in the UploadAv...
2013-03-04 03:37:37 -08:00
Mathieu Pillard
aac26b8c70 Add a get_absolute_url() method to help implementors (it needs to exists for projects to overwrite it)
Conflicts:
	avatar/models.py
2013-03-04 12:32:48 +01:00
Jannis Leidel
a103d2bd3f Renamed AVATAR_CLEAN_REMOVED to AVATAR_CLEANUP_DELETED. 2013-03-04 12:28:43 +01:00
Jannis Leidel
68731b6bc6 Merge remote-tracking branch 'chadpaulson/master'
Conflicts:
	MANIFEST.in
	avatar/models.py
	avatar/settings.py
	avatar/templatetags/avatar_tags.py
	avatar/views.py
	setup.py
2013-03-04 11:43:23 +01:00
Jannis Leidel
47664e3fbe Merge branch 'master' of github.com:jezdez/django-avatar
Conflicts:
	avatar/urls.py
	avatar/views.py
	setup.py
2013-03-04 11:33:40 +01:00
Jannis Leidel
5144ba0300 Merge pull request #37 from guzru/master
Support for django >=1.4
2013-03-04 02:29:43 -08:00
Chad Paulson
b5937382ab Added post_delete signal to Avatar model in order to clean up the file system when AVATAR_MAX_AVATARS_PER_USER is equal to 1 or when Avatar instances are removed. This functionality is controlled by the new AVATAR_CLEAN_REMOVED setting which is False by default. 2013-01-18 19:39:31 -06:00
Michele Mattioni
859ed76805 Optional css_class passed as args to the avatar tag.
If no class is passed, no class is added.
2012-11-18 18:35:37 +00:00