Simon Conseil
72e58f0eef
Add test for the build command
2018-01-03 23:09:35 +01:00
Simon Conseil
498d94c2b3
Add video_converter to the settings dict
...
Also split arguments for image and video's generate_thumbnail functions.
2018-01-03 18:52:15 +01:00
Simon Conseil
1e96a7c939
Add setting to customize the EXIF datetime format ( fix #271 )
...
- The default format is now `%c`
- Fix documentation confusion between ``datetime`` and ``dateobj``
2018-01-03 17:11:58 +01:00
Edward Betts
311d203e3a
correct spelling mistakes
2017-10-23 08:18:08 +01:00
Matthias Vogelgesang
0a62cb38fd
Test portrait/landscape resize correctness
2017-10-09 14:09:49 +02:00
Simon Conseil
c775557681
Remove the exif cache for test to avoid side effect when building the
...
test gallery
2017-03-12 01:01:08 +01:00
Simon Conseil
433f1fd92a
Cleanup, pep8
2017-02-06 00:21:44 +01:00
Tilman Adler
825e1dab41
plugin to cache the exif data of images
2017-02-02 18:24:00 +01:00
Tilman Adler
5d9d337cb4
add a plugin for finer control over ignored files
2017-01-22 22:27:20 +01:00
Simon Conseil
8f12e0f62f
Use leaflet-providers.js to allow chosing the tile provider (ref #218 )
2016-10-24 00:28:10 +02:00
Simon Conseil
95085af122
Add test for ignore_directories with special characters (ref #222 )
2016-10-02 00:04:33 +02:00
Simon Conseil
929f612335
Merge pull request #203 from tohojo/title-command
...
Add 'title' command.
2016-05-02 10:32:03 +02:00
Toke Høiland-Jørgensen
e6519d121a
Add test for set_meta command.
...
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk >
2016-05-02 01:18:33 +02:00
Toke Høiland-Jørgensen
a8efae9805
Add test for sorting images on meta keys.
...
This test also tests the missing meta key functionality.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk >
2016-05-02 00:21:56 +02:00
Toke Høiland-Jørgensen
fec1a78d25
Fix read_metadata to not return a title if none is defined in index.md.
...
This fixes the test breakage from adding an index.md with only an Order
key defined.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk >
2016-05-02 00:17:38 +02:00
Toke Høiland-Jørgensen
4c82aca9a0
Add tests for sorting on metadata keys.
...
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk >
2016-05-02 00:17:38 +02:00
Jorge Gallegos
6eb570ceb7
Adding a test that showcases the bug
...
I found a couple of images where the ISOSpeedRatings value is an empty
tuple. This makes sigal sad.
2016-04-07 10:36:42 -07:00
Simon Conseil
23951fea45
Update photoswipe 4.1.1
2016-03-06 00:05:23 +01:00
Simon Conseil
3e8ef322cf
Fix encoding error with the feed plugin on PY2 (Ref #194 )
2016-02-22 23:58:43 +01:00
Simon Conseil
b4d1057a58
Fix ZeroDivisionError when ExposureTime contains null values ( fix #193 )
2016-02-16 00:16:14 +01:00
Simon Conseil
578636b194
Fix video filename for tests.
...
The error was not detected is the _build was present. So this commit also
removes the _build before each test.
2016-02-01 00:43:22 +01:00
Simon Conseil
14f6b93756
Ensure that locale is correctly reset if the test fails.
2016-01-31 00:50:44 +01:00
Simon Conseil
fce70828fc
Reset logger level after the test
2016-01-31 00:06:27 +01:00
Simon Conseil
744ac2ed24
Merge branch 'debug-raise-exceptions'
2016-01-30 23:50:18 +01:00
Simon Conseil
a93bdcc4c7
Test that exception is raised in debug mode.
2016-01-30 23:44:24 +01:00
Simon Conseil
c5d6497bd5
Add a feeds plugin, using all images sorted by date.
2016-01-23 15:28:28 +01:00
Craig Gallek
a92dc0e6d9
remove temp swp file
2016-01-18 18:05:16 -05:00
Craig Gallek
589eec0d21
Implement album sorting
...
This adds an 'albums_sort_attr' configuration modeled off of the
'medias_sort_attr'. It defaults to the existing behavior of sorting
sub-albums by directory name. It allows sort by any metadata attribute
stored in the album metadata file.
The existing album sort test wasn't really verifying album sorting
behavior, so I just re-wrote the whole thing to include tests for the
old behavior and new.
This should resolve issue #121
2016-01-18 17:29:28 -05:00
Rémy HUBSCHER
dba2aec8ec
Use pytest.mark.parametrize r=@saimn
2016-01-08 12:23:23 +01:00
Rémy HUBSCHER
c196fc64a5
Validate GIF always use_orig and generate thumbnail.
2016-01-08 11:46:51 +01:00
Rémy HUBSCHER
f3300bfb52
Make sure GIF format is accepted in the library.
2016-01-08 11:35:23 +01:00
Rémy HUBSCHER
cb17a03316
Make sure gif files are zipped correctly.
2016-01-08 11:19:41 +01:00
Simon Conseil
f819f883d4
Fix test with fraction exposure
2016-01-08 00:13:07 +01:00
Simon Conseil
0622f2666c
xfail GPS test only for Pillow 3.0.0
2016-01-08 00:12:33 +01:00
Simon Conseil
c044d276b3
Show Pillow version in the tests header
2016-01-08 00:11:17 +01:00
Simon Conseil
a9ca86fe6f
More fixes.
2015-10-14 23:16:09 +02:00
Simon Conseil
ccea99ed36
Enhance detection of a theme directory.
2015-09-01 23:25:56 +02:00
Simon Conseil
9f0cf68b7b
Fix tests - forgot to revert the config file.
2015-09-01 23:09:01 +02:00
Simon Conseil
df00f85a88
Fix syntax error + avoid implicit global variables.
2015-09-01 16:06:16 +02:00
Simon Conseil
2d27aabca9
Add more tests for the video processing functions.
2015-08-31 00:26:20 +02:00
Simon Conseil
24763d46fc
Cleanup.
2015-08-07 00:35:07 +02:00
Simon Conseil
e8e6598b6d
Strip spaces for some exif tags ( fix #154 ).
2015-07-18 00:43:25 +02:00
Simon Conseil
b4ad227eb7
Make sure that bad exif data does not crash sigal.
2015-07-17 00:48:51 +02:00
Simon Conseil
df2652d0e7
Merge branch 'pr/164'
2015-06-22 23:53:39 +02:00
franek
78b23090fe
add test on get_size method when missing image
2015-06-15 11:10:50 +02:00
franek
a7e9c17489
Refactor get_size method and add 2 properties to Image (size and thumb_size).
...
Add tests for get_size method
2015-06-14 12:54:19 +02:00
Simon Conseil
b3ef364d79
Pass mp4_options to the tests using generate_video.
...
Otherwise ffmpeg might fail if it doesn't get the -strict -2 option for the aac
encoder.
2015-06-14 00:38:45 +02:00
Miroslav Pavleski
3a614759cb
Added the video_format and mp4_settings settings in the settings template (sigal/templates/sigal.conf.py), added myself to the AUTHORS file. Parametrized the tests/test_video.py tests to run both for webm & mp4.
2015-05-26 23:05:40 +02:00
Simon Conseil
1a783ddec9
Small cleanup.
2015-04-28 00:18:29 +02:00
Juan A. Suarez Romero
ca61eed13d
Fix video tests
2015-04-27 16:41:13 +02:00