Edwin Steele
ef07f1e7a7
Populate title & description from IPTC image data
...
The IPTC spec defines title and description fields so use those
to populate these fields on the Image unless they've been set by
some other means.
2018-02-13 17:07:54 +11:00
Simon Conseil
3fe48b05f3
more tests for plugins
2018-01-04 00:33:17 +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
Simon Conseil
95085af122
Add test for ignore_directories with special characters (ref #222 )
2016-10-02 00:04: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
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
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
a93bdcc4c7
Test that exception is raised in debug mode.
2016-01-30 23:44:24 +01: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
f3300bfb52
Make sure GIF format is accepted in the library.
2016-01-08 11:35:23 +01:00
Antoine Pitrou
e5b7e53e51
Fix #118 : allow passthrough of original files
2014-10-05 16:50:01 +02:00
t.animal
4beee5e06a
read exif only on access, sort with progress bar
2014-09-08 20:41:45 +02:00
Simon Conseil
4c3a35c66f
Change where the original copy is done and add a test for this.
2014-09-08 00:09:29 +02:00
Simon Conseil
71afbf5355
Adapt code to work with the latest changes on master.
2014-07-17 00:41:40 +02:00
Simon Conseil
d6a196bcdd
Better handling of album urls (quoting special caracters).
2014-04-08 00:07:20 +02:00
Simon Conseil
e8f6ad5533
Fix filenames for videos ( fix #83 ).
2014-03-29 23:45:06 +01:00
Simon Conseil
45f6bcd2a0
Refactor test fixtures.
2014-03-29 22:56:47 +01:00
Simon Conseil
7ddf297e25
New settings to filter directories and files with pattern matching (ref #63 #80 ).
2014-03-24 23:59:32 +01:00
Simon Conseil
fec2cd5d74
Fix locale.
2014-03-11 00:45:01 +01:00
Simon Conseil
befc3581c4
New settings to define the sort order for albums and medias ( closes #2 ).
2014-03-10 23:47:36 +01:00
Simon Conseil
f23e87e39b
Skip empty directories.
2014-03-08 23:36:12 +01:00
Simon Conseil
2c40ae805a
Use the original file order to build the list of medias.
2014-03-08 00:06:16 +01:00
Simon Conseil
09ff3b9b53
Update tests + small fixes.
2014-03-07 23:29:07 +01:00
Simon Conseil
d5aa560932
New setting to copy files from the source directory to the destination (ref #48 )
2014-01-15 23:58:13 +01:00
Simon Conseil
2637f0d09d
Fix whitespace issues with videos ( fix #54 ).
2013-12-27 23:25:30 +01:00
Simon Conseil
0baf632a01
Limit the nb of cpu for the tests
2013-12-18 00:56:13 +01:00
Simon Conseil
c0ce3d802a
Some refactoring and optimizations for the PathsDb class.
2013-11-09 00:39:58 +01:00
Simon Conseil
440ef5f218
Add a setting to use symbolic links for original files ( closes #36 ).
2013-10-17 00:17:06 +02:00
Simon Conseil
7916d5e4cc
Refactor, tests and pep8 for the gallery module.
2013-10-14 00:39:41 +02:00
Matthias Vogelgesang
e98b76f401
Add test case for GPS tags
...
This also adds a sample image licensed under CC-BY-NC from jerquiaga located at
Flickr: http://www.flickr.com/photos/jerquiaga/2394751088/
2013-08-14 10:27:08 +02:00
Simon Conseil
93f5371209
oups, fix a broken test ...
2013-08-04 01:12:29 +02:00
Christophe-Marie Duquesne
d82f0aa007
merge img and vid into media and update themes
2013-07-21 14:42:28 +02:00
Christophe-Marie Duquesne
45020ef100
fix the thumbnail generation for videos, add test
2013-07-21 14:39:58 +02:00
Christophe-Marie Duquesne
0b5e38b17c
Adding video support
2013-07-21 14:39:58 +02:00
Christophe-Marie Duquesne
3df7661b9d
Adding utf8 named image
2013-07-10 13:40:58 +02:00
Christophe-Marie Duquesne
16ae45de17
Because everyone loves tests
2013-07-10 00:51:41 +02:00
Simon Conseil
8cbad2b3c4
Move sample pictures to a sub-directory
2013-05-07 00:30:07 +02:00
Simon
e33761ae15
Test the settings and gallery modules with pytest.
2013-03-12 21:56:58 +01:00
Simon
4720001d82
Bugfix for PNG files which don't have exif metadata ( closes #11 ).
...
- add a test for the _getexif method
- add a png file in the sample directory
2013-03-12 18:30:44 +01:00
Simon
16ac982efe
Bugfix for the removal of empty sub-directories.
2013-02-23 15:39:51 +01:00
Simon
e6c3de5999
Find the thumbnail in all the sub-directories.
2013-02-20 23:19:17 +01:00
Simon
2679abefed
Fix an issue to find the thumbnail of a directory with only sub-categories, and
...
refactor.
2013-02-19 00:51:11 +01:00
Simon
5c2a7f9887
Add a sub-directory to the tests and refactor test_gallery.
2013-02-19 00:17:21 +01:00
Simon
025b868a91
Change "representative" to "thumbnail".
2013-02-18 00:33:47 +01:00
Simon
165ab19500
Move the paths dict to a dedicated class.
2013-02-16 17:51:51 +01:00
Simon
4ab124fceb
Don't process directories that do not contain images.
2013-02-08 12:30:29 +01:00
Simon
7d3e7bb207
Move the configuration to a python file.
...
After a long hesitation ... but this will allow to use tuple, etc.
2012-12-15 00:13:08 +01:00
Simon
3c7d6449d2
Store the list of directories and loop on directories in reversed order, to
...
process subdirectories before their parent (fix #6 ).
2012-12-11 00:05:52 +01:00