Simon Conseil
493675a1bf
Copy the original image if needed.
2013-04-21 00:44:46 +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
933bf01dab
Use save_image from pilkit to avoid reinventing the wheel.
2013-04-21 00:44:45 +02:00
Simon Conseil
a87567f607
Normalize paths.
2013-04-19 23:12:18 +02:00
Simon Conseil
72672325b0
Add a setting to disable the writing of HTML files.
2013-04-17 00:47:55 +02:00
Simon Conseil
920c706e8d
More configurable writer (add template_file and output_file).
2013-04-16 23:25:37 +02:00
Simon Conseil
fff1e6e2b4
Split the write method.
2013-04-16 23:19:04 +02:00
Simon Conseil
6529bb23eb
Bugix in serve (wrong variable name).
2013-04-16 22:24:36 +02:00
Simon
b28503be2a
0.3.3
2013-03-20 00:16:26 +01:00
Simon
9f568c7496
Catch IOError exception when PIL fails to read the exif metadata ( fix #13 ).
2013-03-20 00:11:49 +01:00
Simon
fc952a117a
0.3.2
2013-03-14 22:54:08 +01:00
Simon
75c6742698
Group package meta in a module to have version/author/url in only one file.
2013-03-14 22:54:08 +01:00
Simon
c5c4518476
Fix images path in the colorbox theme.
2013-03-14 22:53:59 +01:00
Simon
87b2696a4e
typo
2013-03-12 22:31:24 +01:00
Simon
56b4159f36
Merge branch 'pytest'
2013-03-12 22:02:58 +01:00
Simon
d7e169095b
Update travis config for pytest.
2013-03-12 22:02:12 +01:00
Simon
e33761ae15
Test the settings and gallery modules with pytest.
2013-03-12 21:56:58 +01:00
Simon
a7adf57249
Fix a bug when swapping the width and height in settings.
2013-03-12 18:51:37 +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
269fc94f1d
Version 0.3.1
2013-03-11 22:40:55 +01:00
Simon
2160cb5689
Change the path of the sample config file in MANIFEST.in (ref #10 ).
2013-03-10 23:33:00 +01:00
Simon
0adf635d6a
Update requirements.
2013-03-10 22:37:53 +01:00
Simon
a12a7d5960
Version 0.3
2013-03-04 00:17:11 +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
b75fa9b9ae
Improve docs and change the default thumb size.
2013-03-03 00:52:53 +01:00
Simon
976472c795
Put back the quiet context manager, with a fix for the file descriptors leak.
2013-03-03 00:52:53 +01:00
Simon
099f6e15e3
Remove the quiet context manager which was causing the file descriptors leak.
2013-02-27 00:27:00 +01:00
Simon
193892285b
Update normalize and the compiled css
2013-02-27 00:26:42 +01:00
Simon
7d3e13d4b5
Update ColorBox 1.4.3
2013-02-25 00:15:34 +01:00
Simon
7e028bed93
Update Galleria 1.29
2013-02-25 00:04:24 +01:00
Simon
8cbe4b507f
Update the docs.
2013-02-24 23:46:22 +01:00
Simon
9378f30b6c
Use multiprocessing for parallel processing.
...
- add a --ncpu cli arg to specify the number of cpu to use (default 1)
- handle KeyboardInterrupt
: http://stackoverflow.com/questions/1408356/keyboard-interrupts-with-pythons-multiprocessing-pool
2013-02-24 23:46:22 +01:00
Simon
87d72abc68
Update the docs and changelog.
2013-02-23 16:26:36 +01:00
Simon
479f71dce2
By default, search for the settings file in the current directory.
2013-02-23 16:26:36 +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
eebce98142
Add an init subcommand, to copy a sample config file in the current directory.
2013-02-23 16:26:35 +01:00
Simon
94f4052f9a
Add a sigal serve subcommand to launch a basic web server.
2013-02-23 16:26:35 +01:00
Simon
4906dcf2c9
Move the current cli options to a 'build' subcommand. Use argh !
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
9d80827f74
Catch the 'Too many open files' error and print an informative message.
2013-02-23 15:11:59 +01:00
Simon
e8c2732e4a
Fix index url in the templates.
2013-02-20 23:22:56 +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
f893af7a39
Fix PIL issues, thanks to django-imagekit.
2013-02-18 23:04:51 +01:00
Simon
025b868a91
Change "representative" to "thumbnail".
2013-02-18 00:33:47 +01:00
Simon
facf30e0d9
Manage directories with only sub-directories.
2013-02-17 01:05:04 +01:00