Johannes Wilm
9d43467934
fix url references
2023-10-16 11:29:33 +02:00
Johannes Wilm
99a979b057
rectangular avatars ( #214 )
...
* Support for rectangular avatars
* fix tests
* Add rectangle size test
* Update documentation and changelog
* add test for exposing username (or not)
* add primary_avatar_tag tests
* make rebuild_avatars, remove_avatar_images work with rectangles + tests
* Python 2 => 3
* fix tests
Co-authored-by: Karl Moritz Hermann <karlmoritz.hermann@gmail.com>
2022-08-15 10:08:35 +02:00
pre-commit-ci[bot]
c8bcdb4a0c
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-08-10 15:45:56 +00:00
Johannes Wilm
e8fa4747f9
Merge branch 'main' into tmploverride
2022-08-10 17:45:47 +02:00
John Vandenberg
bc05f97c93
Merge branch 'main' into master
2022-08-10 07:50:03 +08:00
Johannes Wilm
a977753b2c
lint and add pre-commit configuration
2022-08-09 21:17:24 +02:00
Duda Nogueira
f31a9ae092
Confirm delete template: only show selection avatar paragraph when avatars are available.
2017-09-06 15:46:07 -03:00
Jannis
51375039df
Move alt attribute to kwargs.
2017-05-27 09:50:47 -05:00
reidransom
0e87dc2f82
Allow provider to override template_name and context
...
Also an example provider which renders the user's initals against
a randomly colored background.
2016-10-29 15:09:57 -04:00
Hsinfu Huang
9ab18a72d8
add feature of customizing the attribute of avatar img
2016-03-22 19:11:45 +08:00
Grant McConnaughey
86a1e59a4d
Remove unused views
2016-01-19 10:12:28 -06:00
Grant McConnaughey
0972a4bbe4
Remove load url from future
2015-09-24 10:32:56 -05:00
Grant McConnaughey
6d2ad4a8bd
Add back load url from future, will remove when 1.9 is out
2015-07-23 10:03:04 -05:00
Grant McConnaughey
be8a172e56
Remove load url from future
2015-07-23 08:43:15 -05:00
Simon Meers
1685dbc76d
{% load url from future %}. See fff8a4e1 :)
2013-05-27 08:59:44 +10: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
Jannis Leidel
aa4e58168f
Made the avatar template tag an inclusion tag to be able to override the default template.
2012-08-21 14:36:49 +02:00
Philipp Wassibauer
d3e98504c8
avatars can be displayed as gallery now
2011-04-01 15:05:29 +02:00
Mathieu Pillard
768359b11d
Use django 1.2 CSRF protection
...
Signed-off-by: Jannis Leidel <jannis@leidel.info>
2010-05-06 00:45:19 +02:00
Jannis Leidel
6bc17d0668
Marked a few strings for translation.
2010-03-16 15:19:54 +01: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
Mathieu Pillard
3b04839078
Better wording
2010-02-22 16:26:20 -05:00
Mathieu Pillard
04a5a271de
Use our uploadform in the templates
2010-02-22 16:24:17 -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
df05b32c30
Refactoring : Move avatar upload to its own view, form and template. Needs some cleanup still.
...
I should have done this before adding the max avatars setting... oh well.
2010-02-22 16:21:43 -05: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
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
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