Commit Graph

66 Commits

Author SHA1 Message Date
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
Simon
4ab124fceb Don't process directories that do not contain images. 2013-02-08 12:30:29 +01:00
Simon
7b099b766a Replace the jpg_quality setting with a dict of options.
Pass a dict with PIL options (quality, optimize, progressive).
Enlarge the MAXBLOCK buffer of ImageFile if there is an error (for the
progressive mode).
2013-01-21 23:36:21 +01:00
Simon
99ef37879b Add a setting to specify a list of links and adapt the themes to show the links. 2013-01-03 00:51:18 +01:00
Simon
14224154f1 Add a setting to optionally add index.html to the URLs (fix #8). 2012-12-21 23:41:32 +01:00
Simon
3638b0b02c Update the docs. 2012-12-18 00:34:14 +01:00
Simon
60e16f1a43 Add a setting for Google Analytics. 2012-12-15 00:47:50 +01:00
Simon
488da4c497 Rename the copy exif setting. 2012-12-15 00:17:33 +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
258b76b84e Add tests for the Image class. 2012-11-27 23:47:16 +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
d2f135435a change the default theme to colorbox 2012-11-22 13:44:21 +01:00
Simon
357c93f14e improve description of settings
detail settings in tests/sample/sigal.conf and use this file in the docs.
2012-11-09 14:45:53 +01:00
Simon
6cc611773e rename settings and use strings for default settings otherwise an error is
raised if a setting is not in the config file.

Renames:
- big_img to keep_orig
- bigimg_dir to orig_dir
2012-11-09 13:50:07 +01:00
Simon
2bbf14ce93 add a thumb_suffix setting and create a function to get the path of a thumbnail 2012-11-09 13:36:17 +01:00
Simon
6fcaa01e90 improve tests for gallery 2012-11-09 13:07:03 +01:00
Simon
b0564e6c80 modify test samples
- add spaces in filenames
- add a subdirectory
2012-11-09 13:03:44 +01:00
Simon
1a85719e5c fix tests for gallery 2012-11-07 01:01:12 +01:00