Commit Graph

65 Commits

Author SHA1 Message Date
Simon Conseil
b0dcc65f5b Add user_css option 2020-12-19 23:38:37 -03:00
Simon Conseil
e533b32dfc Run isort 2020-03-15 22:58:03 -03:00
Simon Conseil
c78fff6305 Run pyupgrade 2020-03-15 22:13:12 -03:00
Simon Conseil
8fc30e7a1d Quote the album thumbnail's path 2018-10-10 22:34:07 +02:00
Simon Conseil
daa85c73fc Fixes following rebase 2018-10-10 22:34:07 +02:00
Simon Conseil
a212eb05b3 Quote special chars in urls. 2018-10-10 22:31:54 +02:00
Simon Conseil
705e41a908 Another fix for test_ignores 2018-09-05 17:38:07 +02:00
Simon Conseil
fbb056e3b9 Add doc page with licenses and replace a few images
whose license/origin is unclear
2018-09-05 09:00:55 +02:00
Simon Conseil
75c4ab13aa Try running test_album without setting the locale (#339) 2018-09-02 22:04:25 +02:00
Simon Conseil
23cc8a994b Remove encoding specification 2018-08-27 00:15:17 +02:00
Simon Conseil
915030a2f3 Remove the u prefix for unicode strings 2018-08-27 00:11:07 +02:00
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