satya-waylit
80a7c95583
Close files in create thumbnail ( #252 )
...
* Close the orig file in `create_thumbnail` method
* Skip python-magic tests on windows
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Johannes Wilm <mail@johanneswilm.org>
2026-01-07 22:03:47 +01:00
0xMRTT
5e5d6f9c6a
fix(urls): use path and path converters ( #228 )
...
* fix(urls): use path and path converters
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix(urls): change re_path into path
* fix(urls): remove unused imports
* fix(urls): url names
* fix(tests): update reverse
* fix(tags): update reverse
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Johannes Wilm <mail@johanneswilm.org>
2023-10-16 11:27:12 +02:00
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
Johannes Wilm
ab7e9c687e
make PNG default thumbnail format, based on discussion in #180
2022-08-10 18:46:09 +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
3dd349b577
black
2022-07-16 23:18:09 +02:00
Johannes Wilm
ae950c9b50
black
2022-07-16 22:50:05 +02: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
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
449abb9037
Added CHANGELOG.rst
2015-04-26 23:15:41 -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