Simon Conseil
09ff3b9b53
Update tests + small fixes.
2014-03-07 23:29:07 +01:00
Simon Conseil
3426a1b404
Move check_or_create_dir to the utils module.
2014-01-16 00:16:01 +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
9ddd49be4c
Fix encoding issue in the init subcommand ( fix #50 ).
2013-12-21 22:27:10 +01:00
Simon Conseil
e922e3bdb7
Should fix Travis this time.
2013-12-18 22:16:23 +01:00
Simon Conseil
0baf632a01
Limit the nb of cpu for the tests
2013-12-18 00:56:13 +01:00
Simon Conseil
94593c6ad8
Refactor, move process_image/video in the image/video modules.
2013-12-18 00:37:00 +01:00
Simon Conseil
8f45c2c1cd
Fix encoding issue with accentuated files.
2013-12-17 00:19:46 +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
Simon Conseil
ed7903c26d
Docstrings
2013-09-23 00:32:32 +02:00
Keith Johnson
236e6e9a33
Fix testcase for GPS info
...
GPS coordinates for the sample photo were incorrect in the test case. Found the correct coordinates from: http://regex.info/exif.cgi
2013-09-22 15:23:11 -04:00
Simon Conseil
29def4e0e8
More tests for get_thumb
2013-08-18 23:13:34 +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
Matthias Vogelgesang
da4c9c4f6c
Pass settings dictionary to generate_image
...
Reduce the amount of parameters to pass necessary to generate an image.
2013-08-04 14:34:54 +02:00
Matthias Vogelgesang
9dcacec2f5
Remove unused image processing parameters
...
This change removes the autoconvert and format parameters. In all call
situations they were either not set or set to the default value anyway.
2013-08-04 14:17:02 +02:00
Simon Conseil
93f5371209
oups, fix a broken test ...
2013-08-04 01:12:29 +02:00
Simon Conseil
cbb714d4d4
Put the galleria video css in the main css file
2013-08-04 01:08:59 +02:00
Simon Conseil
9ab3ef9af5
Correct themes design with long directory names ( fix #20 ).
2013-08-04 00:56:43 +02:00
Matthias Vogelgesang
c0c9b29622
Insert 'exif' and 'raw_exif' keys into media_ctx
2013-08-01 09:39:54 +02:00
Matthias Vogelgesang
33e8538e1d
Add a test case for copying EXIF data
2013-08-01 09:39:54 +02:00
Matthias Vogelgesang
77274f00cf
Add test cases for zipping galleries
2013-07-30 09:00:38 +02:00
Christophe-Marie Duquesne
c4a751d366
adding tests for the video module
2013-07-21 14:42:28 +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
e6c9bc6121
More tests
2013-05-15 00:15:28 +02:00
Simon Conseil
3382e3e727
Add the original image to the context
2013-05-14 23:50:12 +02:00
Simon Conseil
92474b7c3a
Normalize the theme path if needed and add more logging
2013-05-08 00:02:55 +02:00
Simon Conseil
34c96d9742
Add new settings for the source and destination directories.
2013-05-07 00:58:11 +02:00
Simon Conseil
8cbad2b3c4
Move sample pictures to a sub-directory
2013-05-07 00:30:07 +02:00
Simon Conseil
42c667ab7e
Fix a test with generate_thumbnail
2013-04-21 01:03:30 +02:00
Simon
692a036237
Move to pilkit.
...
Replace the custom code in the image module by pilkit generators.
2013-04-21 00:44:45 +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
57eb9cf456
Remove the copy exif feature.
...
This feature was not really needed as the exif metadata were just copied to the
generated image. Moreover, this was depending on pyexiv2 which is now deprecated
in favour of GExiv2.
2013-03-04 00:08:55 +01:00
Simon
fe4daee706
Cleanup the tests config file as it is no more used as an example in the docs.
2013-02-23 16:26:35 +01:00
Simon
f646a212f9
Forget to add a test directory in the previous commit ...
2013-02-23 15:48:42 +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
4118bdd141
Improve test_thumb
2013-02-19 22:59:50 +01:00
Simon
655f46a102
Add a test for the get_thumb function.
2013-02-19 00:55:39 +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