Johannes Wilm
c089561f48
add test for nondefault image names, fixes #38
2022-08-16 13:40:25 +02:00
Johannes Wilm
39f8681e29
Use correct extension for thumbnails, fixes #54
2022-08-16 13:28:09 +02:00
Johannes Wilm
d0ed3e3132
additional magic test
2022-08-15 12:03:54 +02:00
Johannes Wilm
a89a3fad17
Merge branch 'python_magic_validation' of github.com:miohtama/django-avatar into miohtama-python_magic_validation
2022-08-15 12:00:59 +02:00
Johannes Wilm
28302c5205
Add invalidate_cache test
2022-08-15 11:34:35 +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
Jannis Leidel
1f7b1ff204
Add Django for docs rendering.
2022-08-11 10:44:23 +02:00
Johannes Wilm
ab7e9c687e
make PNG default thumbnail format, based on discussion in #180
2022-08-10 18:46:09 +02:00
Johannes Wilm
4b912886ec
tests: AVATAR_EXPOSE_USERNAMES = True
2022-08-10 17:40:05 +02:00
John Vandenberg
c89f7043c6
Update test_default_delete_template ( #213 )
2022-08-10 10:17:08 +08:00
Johannes Wilm
a977753b2c
lint and add pre-commit configuration
2022-08-09 21:17:24 +02:00
Johannes Wilm
c27a4d1794
url => re_path
2022-07-16 23:30:56 +02:00
Johannes Wilm
0a84015352
coverage==6.2
2022-07-16 23:20:16 +02:00
Johannes Wilm
3dd349b577
black
2022-07-16 23:18:09 +02:00
Johannes Wilm
b7c8485f1e
github actions: split lint & test
2022-07-16 23:15:01 +02:00
Johannes Wilm
ff0a5526ea
coverage 6.4.2
2022-07-16 23:06:26 +02:00
Johannes Wilm
1c08dd84b7
add black req
2022-07-16 23:05:34 +02:00
Johannes Wilm
ae950c9b50
black
2022-07-16 22:50:05 +02:00
Grant McConnaughey
6ce67a8709
Add required deps for Django 2.2+
2020-01-04 11:01:36 -06:00
Grant McConnaughey
991c8657de
Fix settings for Django 2.1+
2020-01-04 10:52:15 -06:00
Grant McConnaughey
6d4a1b27d1
Use MIDDLEWARE setting
2017-12-17 11:22:56 -06:00
Grant McConnaughey
2de2a60e85
Fix conflicts
2017-12-17 10:24:02 -06:00
Grant McConnaughey
f940db8dc9
Merge pull request #162 from sedlar/signal_avatar_deleted
...
Add avatar_deleted signal
2017-12-17 10:22:31 -06:00
Grant McConnaughey
ba552fbcd9
Fix reverse in tests
2017-12-17 10:21:43 -06:00
Martin Sedlář
6010209a1b
Fix compatibility with python2
2017-11-10 10:16:05 +01:00
Martin Sedlář
fb195a570f
Add avatar_deleted signal
2017-11-09 23:20:59 +01:00
Fabian Stehle
631eac80bb
Test transposing thumbnails based on exif data
2017-07-11 21:57:08 +02:00
Jannis
ccaafe492c
Fix test for avatar tag.
2017-05-27 09:50:47 -05:00
Jannis
51375039df
Move alt attribute to kwargs.
2017-05-27 09:50:47 -05:00
Jannis
c1f7abd2e4
Add test for kwargs in template tag.
2017-05-27 09:50:47 -05:00
Grant McConnaughey
9e9db99acf
Bump coverage
2016-09-03 09:56:43 -05:00
Christian Sauer
0ea9c6a038
tests for user templates
2016-08-17 11:08:45 -04:00
Grant McConnaughey
3c4cde1730
Add some more tests
2016-02-11 15:36:19 -06:00
Grant McConnaughey
5cbd095cda
Rename util -> utils, fix URL issue
2016-02-09 09:42:29 -06:00
Grant McConnaughey
a6b4c2beea
Merge pull request #75 from z4r/patch-1
...
Preserve RGBA image.mode
2016-02-09 09:17:52 -06:00
Grant McConnaughey
16abb5d50b
Update tests, invalidate cache after changing avatar
2016-01-19 10:00:34 -06:00
Grant McConnaughey
bc6ae016ee
Revert coverage
2015-09-24 10:36:47 -05:00
Grant McConnaughey
449abb9037
Added CHANGELOG.rst
2015-04-26 23:15:41 -05:00
Grant McConnaughey
9355f38ac4
Remove BrokenLinksMiddleware
2015-04-23 15:16:00 -05:00
Grant McConnaughey
3d48f181f9
Remove django.contrib.comments and add MIDDLEWARE_CLASSES
2015-04-23 15:10:25 -05:00
z4r
3b3bdd8df4
RGBA and CMYK thumb creation tests
2014-01-10 12:16:08 +01:00
Jannis Leidel
6f06989901
Use correct setting module.
2013-09-13 18:36:49 +02:00
Jannis Leidel
65d5f66b9b
Use django-appconf for nicer settings handling.
2013-09-13 17:59:52 +02:00
Jannis Leidel
39ecc33ced
Use new test method names.
2013-08-01 13:33:14 +02:00
Jannis Leidel
57d77caeb0
Revamped tests and added Travis config.
2013-08-01 13:12:49 +02:00
Mathieu Pillard
0307dc2a79
More unit tests.
2010-03-16 14:28:40 +01: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
5469668e22
Remove an accidental pyc file checkin
2010-02-22 17:53:19 -05:00
Eric Florenzano
cf667a2c9d
Added the ability to run the tests in a standalone way.
2010-02-22 17:52:01 -05:00