304 Commits (main)

Author SHA1 Message Date
Simon e33761ae15 Test the settings and gallery modules with pytest. 13 years ago
Simon 4720001d82 Bugfix for PNG files which don't have exif metadata (closes #11). 13 years ago
Simon 57eb9cf456 Remove the copy exif feature. 13 years ago
Simon fe4daee706 Cleanup the tests config file as it is no more used as an example in the docs. 13 years ago
Simon f646a212f9 Forget to add a test directory in the previous commit ... 13 years ago
Simon 16ac982efe Bugfix for the removal of empty sub-directories. 13 years ago
Simon e6c3de5999 Find the thumbnail in all the sub-directories. 13 years ago
Simon 4118bdd141 Improve test_thumb 13 years ago
Simon 655f46a102 Add a test for the get_thumb function. 13 years ago
Simon 2679abefed Fix an issue to find the thumbnail of a directory with only sub-categories, and 13 years ago
Simon 5c2a7f9887 Add a sub-directory to the tests and refactor test_gallery. 13 years ago
Simon 025b868a91 Change "representative" to "thumbnail". 13 years ago
Simon 165ab19500 Move the paths dict to a dedicated class. 13 years ago
Simon 4ab124fceb Don't process directories that do not contain images. 13 years ago
Simon 7b099b766a Replace the jpg_quality setting with a dict of options. 13 years ago
Simon 99ef37879b Add a setting to specify a list of links and adapt the themes to show the links. 13 years ago
Simon 14224154f1 Add a setting to optionally add `index.html` to the URLs (fix #8). 13 years ago
Simon 3638b0b02c Update the docs. 13 years ago
Simon 60e16f1a43 Add a setting for Google Analytics. 13 years ago
Simon 488da4c497 Rename the copy exif setting. 13 years ago
Simon 7d3e7bb207 Move the configuration to a python file. 13 years ago
Simon 3c7d6449d2 Store the list of directories and loop on directories in reversed order, to 13 years ago
Simon 258b76b84e Add tests for the Image class. 13 years ago
Simon ec2be44146 Add a test for the copy_exif function. 13 years ago
Simon 4ffe0701fa fix tests for python 2.6, importing unittest2 if necessary 14 years ago
Simon d2f135435a change the default theme to colorbox 14 years ago
Simon 357c93f14e improve description of settings 14 years ago
Simon 6cc611773e rename settings and use strings for default settings otherwise an error is 14 years ago
Simon 2bbf14ce93 add a thumb_suffix setting and create a function to get the path of a thumbnail 14 years ago
Simon 6fcaa01e90 improve tests for gallery 14 years ago
Simon b0564e6c80 modify test samples 14 years ago
Simon 1a85719e5c fix tests for gallery 14 years ago
Simon 6559f46e2a rename fileextlist to ext_list + minor style improvements 14 years ago
Simon 1ca35ce1b2 update the sample data 14 years ago
Simon 4d41236c2a simplify Gallery parameters 14 years ago
Simon 8fbd43f4d5 move Gallery in its own module 14 years ago
Simon 8998141395 pep8 14 years ago
Simon 900da9d42f add a `make_thumbs` setting to allow not generating thumbnails as they are not 14 years ago
Simon e9c9cd1637 convert the sample description files to markdown 14 years ago
Simon 6fe0f3d331 keep the original ratio for the resized image 14 years ago
Simon 88175f02c7 use ImageOps.fit to create the thumbnails cropped to thumb_size, if the 14 years ago
Simon 8306351e6d use assertItemsEqual as the order of the list of files returned by os.walk is 14 years ago
Simon 34510f0050 test_image - rename the class 14 years ago
Simon b1e704169f increase thumbnail size for the sample gallery 14 years ago
Simon 7cbb1b6c36 gallery: add tests for the filelist method, + correct import of PIL 14 years ago
Simon 17093a4371 add some tests for settings 14 years ago
Simon 756e023c9e settings: 14 years ago
Simon c043047d01 move sample gallery in the tests dir 14 years ago