Commit Graph

269 Commits

Author SHA1 Message Date
Simon Conseil
3fd3b710f5 pep8 2013-06-25 23:48:22 +02:00
Simon Conseil
259f99d2bb Fix use of generate_thumbnail 2013-06-25 23:47:47 +02:00
Simon Conseil
1f5d211a78 Bump to 0.4.0 2013-06-12 00:39:05 +02:00
Simon Conseil
344e673a54 Customize theme 2013-06-12 00:34:48 +02:00
Simon Conseil
d091430102 Add flask_small theme 2013-06-12 00:01:19 +02:00
Simon Conseil
f8b7485025 Remove flask-sphinx-themes submodule 2013-06-11 23:55:07 +02:00
Simon Conseil
d6515ed163 Better logging 2013-06-11 23:46:39 +02:00
Simon Conseil
e6c9bc6121 More tests 2013-05-15 00:15:28 +02:00
Simon Conseil
a63ff79a71 Add a setting to choose the pilkit processor used to resize the images. 2013-05-14 23:50:12 +02:00
Simon Conseil
94a532a6ff Galleria theme is now responsive 2013-05-14 23:50:12 +02:00
Simon Conseil
3382e3e727 Add the original image to the context 2013-05-14 23:50:12 +02:00
Simon Conseil
aa355ba55f Add galleria css explicitely in the head.
If galleria.classic.css is not present in the head, galleria will add it.
2013-05-14 00:00:49 +02:00
Simon Conseil
1275a6ac55 Copy all meta-data to make it available in the templates 2013-05-08 00:38:20 +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
1b9f0ab1b1 Documentation 2013-05-06 23:33:09 +02:00
Simon Conseil
a72722a5cd Don't enlarge images if smaller than the dimensions 2013-04-29 23:09:27 +02:00
Simon Conseil
15692e9f94 Avoid to install the tests directory.
- with find_packages, the tests directory was installed as an independent
  package
- replace nose with pytest
2013-04-29 22:37:39 +02:00
Simon Conseil
42c667ab7e Fix a test with generate_thumbnail 2013-04-21 01:03:30 +02:00
Simon Conseil
c6ff528792 Remove multiprocessing.
Because it does not work correctly and makes it harder to debug the image
operations. Will see later how to put it back.
2013-04-21 01:02:13 +02:00
Simon Conseil
5003c38121 Merge branch 'pilkit' 2013-04-21 00:54:50 +02:00
Simon Conseil
13207e3fc4 Handle exception when PIL fails to read EXIF metadata 2013-04-21 00:54:10 +02:00
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