Commit Graph

26 Commits

Author SHA1 Message Date
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
Simon
ec2be44146 Add a test for the copy_exif function. 2012-11-27 23:31:12 +01:00
Simon
4ffe0701fa fix tests for python 2.6, importing unittest2 if necessary 2012-11-22 13:59:42 +01:00
Simon
6fcaa01e90 improve tests for gallery 2012-11-09 13:07:03 +01:00
Simon
1a85719e5c fix tests for gallery 2012-11-07 01:01:12 +01:00