Commit Graph

193 Commits

Author SHA1 Message Date
Simon
d19b17804b Refactor the writer.
- remove the html generated inside the writer module to put this in the
  templates
- move the breadcumb computation in a method
2013-02-15 00:26:31 +01:00
Simon
cbdd4fe69b Use new style classes. 2013-02-15 00:26:31 +01:00
Simon
4ab124fceb Don't process directories that do not contain images. 2013-02-08 12:30:29 +01:00
Simon
57f63de4dc Check that the output directory is not inside the input directory. 2013-02-08 11:35:36 +01:00
Simon
2994096b5b Update changelog and fix a typo. 2013-02-08 10:51:37 +01:00
Simon
8390d02cf1 Include only the sample config file, not the test images. 2013-02-07 23:05:26 +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
288d7ce1a3 Create a process_image function. 2013-01-21 23:34:44 +01:00
Simon
5c61a1f295 Check if exif were read before using it. 2013-01-21 23:34:44 +01:00
Simon
aed0566824 Merge pull request #9 from yuce/master 2013-01-13 00:05:34 +01:00
Yuce Tekol
01d6d5fe33 Use EXIF info to fix orientation. 2013-01-13 00:01:09 +01:00
Simon
4a0010aec5 Update the changelog. 2013-01-03 00:59:37 +01:00
Simon
311abed97f Update year in the copyright strings. 2013-01-03 00:55:52 +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
da60b03f74 Fix packaging issues:
- remove sass-cache directories
- include the test/sample files
2012-12-21 23:19:09 +01:00
Simon
06bdbec6d4 Version 0.2 2012-12-20 00:31:55 +01:00
Simon
becce4facc Update release notes. 2012-12-20 00:29:07 +01:00
Simon
e39582ce5e doc - add a theme and demo section 2012-12-20 00:17:25 +01:00
Simon
f1d9afa534 Homogeneize templates. 2012-12-18 01:01:27 +01:00
Simon
2d5fa81e05 Add theme inheritance with a default theme that will contain base templates. 2012-12-18 00:50:42 +01:00
Simon
3638b0b02c Update the docs. 2012-12-18 00:34:14 +01:00
Simon
d47a347748 Make the output_dir cli argument optional, and cleanup the messages. 2012-12-17 01:00:04 +01:00
Simon
f5ea6709ef Add a cli option to set the settings file. 2012-12-17 00:49:54 +01:00
Simon
4e23a2e8da Jinja setting: trim blocks. 2012-12-15 00:54:53 +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
aa26253d0a Fix the image paths for the galleria theme. 2012-12-14 23:33:34 +01:00
Simon
4d2c24f29d Remove the index link from the breadcumb. 2012-12-14 23:22:17 +01:00
Simon
e19ad7585a Rename the do_link function to link. 2012-12-14 22:23:47 +01:00
Simon
68a315ce64 Rename template vars from path to url. 2012-12-14 22:21:31 +01:00
Simon
7c68cf85dc Remove the index.html in the urls. 2012-12-14 22:13:50 +01:00
Simon
993602a46b Minor improvements for the colorbox theme. 2012-12-14 00:35:25 +01:00
Simon
95db8fe56e Rename galleria css file to .scss so that sass will really include them in the
minified file.
2012-12-13 13:50:27 +01:00
Simon
12d9009e5e Change the colorbox theme to use sass. 2012-12-13 13:48:46 +01:00
Simon
fd37365f70 Remove duplicate files. 2012-12-13 01:00:38 +01:00
Simon
41814a3bd6 Galleria theme: use normalize.css and sass. 2012-12-13 00:52:29 +01:00
Simon
9f46d62c90 Check that the index.html template is found. 2012-12-13 00:10:58 +01:00
Simon
97063d8246 Add a cli option to specify the theme. 2012-12-12 23:55:11 +01:00
Simon
f6c2aae1f2 Add more logging messages and improve docstrings. 2012-12-12 00:40:07 +01:00
Simon
82ce3684f6 Improve ui.
- don't show the progress bar in debug / verbose modes.
- color the processed path in green.
2012-12-12 00:38:33 +01:00
Simon
c6b53f08c0 Logging - don't show the timae. 2012-12-12 00:31:13 +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
2d5407d073 Don't add the galleria scripts in the album pages (fix #7). 2012-12-10 22:00:19 +01:00
Simon
b2c93bbb2a Imprting __version__ was not a good idea. 2012-12-10 00:30:31 +01:00
Simon
2b5105c9cd Add travis build image in the README. 2012-12-10 00:21:27 +01:00
Simon
5acbef0364 Improve setup.py and add the test command. 2012-12-10 00:18:07 +01:00
Simon
ef42ec3fa9 Travis - add dependencies to build PIL. 2012-12-10 00:17:29 +01:00
Simon
258b76b84e Add tests for the Image class. 2012-11-27 23:47:16 +01:00