Commit Graph

110 Commits

Author SHA1 Message Date
Simon
4d41236c2a simplify Gallery parameters 2012-10-30 00:27:12 +01:00
Simon
8fbd43f4d5 move Gallery in its own module 2012-10-29 23:48:55 +01:00
Simon
8998141395 pep8 2012-10-29 23:28:22 +01:00
Simon
071f8fb412 use clint progress bar 2012-09-15 00:41:54 +02:00
Simon
9d61810292 use relative path for directories in printed messages 2012-09-15 00:41:54 +02:00
Simon
48f0673602 use logging and add cli args: debug & verbose 2012-09-15 00:41:43 +02:00
Simon
3cf7df4dc4 setup.py:
- remove docutils dependancy
- use PIL instead of Pillow (though keep Pillow in the requirements file as PIL
  will fail to install correctly with pip)
2012-08-30 00:06:26 +02:00
Simon
9162f81cb3 description should not be wrapped in a p tag 2012-08-29 23:46:38 +02:00
Simon
900da9d42f add a make_thumbs setting to allow not generating thumbnails as they are not
needed for the galleria theme.
+ always generate thumbnail for the representative image
+ bugfixes for the boolean settings
2012-08-26 00:30:05 +02:00
Simon
e423397766 allow to use a custom theme by specifying its path with the theme setting 2012-08-26 00:30:05 +02:00
Simon
22870a1809 move get_metadata out of the class 2012-08-26 00:30:05 +02:00
Simon
bd77c87ad5 update README, requirements and setup.py to add the markdown description file. 2012-08-26 00:30:05 +02:00
Simon
e9c9cd1637 convert the sample description files to markdown 2012-08-26 00:30:04 +02:00
Simon
a7d2d8048f change the description file to a markdown syntax file index.md 2012-08-26 00:29:57 +02:00
Simon
480335921e change the licence to MIT 2012-08-26 00:29:57 +02:00
Simon
9b1dcf58f9 README 2012-08-26 00:29:57 +02:00
Simon
6fe0f3d331 keep the original ratio for the resized image 2012-08-26 00:29:51 +02:00
Simon
a22f665f89 move pyexiv2 check in read_settings and move copy_exif out of the Gallery class 2012-08-07 00:31:34 +02:00
Simon
88175f02c7 use ImageOps.fit to create the thumbnails cropped to thumb_size, if the
thumb_fit params is True (replace the square_thumb param).
2012-08-07 00:15:17 +02:00
Simon
8306351e6d use assertItemsEqual as the order of the list of files returned by os.walk is
not always the same.
2012-08-06 00:14:54 +02:00
Simon
52edef7b65 fix the import of PIL/Pillow 2012-08-06 00:14:43 +02:00
Simon
7a9bc10199 pep8 2012-07-15 22:54:14 +02:00
Simon
34510f0050 test_image - rename the class 2012-07-15 22:45:33 +02:00
Simon
42e15841ca copyright - simplify, remove the cli arg 2012-07-15 22:38:22 +02:00
Simon
7e56b7a3b7 copy the theme files in a theme/ directory 2012-07-15 22:33:50 +02:00
Simon
5b19a732ea rename the theme file/class to generator 2012-07-15 18:45:58 +02:00
Simon
0c08b4d4c1 change default to not copy exiv 2012-07-15 18:34:51 +02:00
Simon
cc267aa725 use a dict to gather template variable 2012-07-15 18:32:36 +02:00
Simon
52df3a1657 build sigal link in the template 2012-07-15 00:52:50 +02:00
Simon
62ee78176a more explicit names for PIL Image 2012-07-15 00:44:08 +02:00
Simon
926b1bbcd8 use Pillow instead of PIL 2012-07-14 14:14:21 +02:00
Simon
a66eee2187 Merge branch 'theme' 2012-07-02 00:28:34 +02:00
Simon
2f178abdee default theme - use the PT Sans font 2012-07-02 00:14:37 +02:00
Simon
0e97e7a07c gitignore 2012-07-02 00:09:36 +02:00
Simon
b1e704169f increase thumbnail size for the sample gallery 2012-07-02 00:08:33 +02:00
Simon
4e440c9b04 add some style for the default theme 2012-07-02 00:08:14 +02:00
Simon
252323b567 bugfix - filename does not contains the path to the image, use f instead 2012-06-13 23:33:29 +02:00
Simon
25a22c1a38 images - split the image action from the Gallery class 2012-05-23 01:02:37 +02:00
Simon
8349fe6025 setup.py - add classifiers 2012-05-23 00:11:48 +02:00
Simon
7cbb1b6c36 gallery: add tests for the filelist method, + correct import of PIL 2012-05-22 23:48:15 +02:00
Simon
17093a4371 add some tests for settings 2012-05-15 00:54:30 +02:00
Simon
756e023c9e settings:
* add tests
* arg for read_settings is the file, not the dir
2012-05-15 00:49:13 +02:00
Simon
c043047d01 move sample gallery in the tests dir 2012-05-15 00:38:06 +02:00
Simon
1c46abfb20 use a dict for settings 2012-05-15 00:13:55 +02:00
Simon
10ae590e95 bugfix 2012-05-14 00:49:59 +02:00
Simon
aca99b394a rename params to settings 2012-05-14 00:48:20 +02:00
Simon
bfc5d0ca2e simplify params to keep only one config_file 2012-05-14 00:44:07 +02:00
Simon
e7336a4784 importing sigal in setup has a drawback: If the package requires a dependency
before the dependency is installed the setup.py script will fail. Back to manual
version number.
2012-05-13 23:54:06 +02:00
Simon
36e23beef2 update MANIFEST.in 2012-05-13 23:49:55 +02:00
Simon
d410d1ae70 move the themes dir into sigal/ 2012-05-13 23:48:05 +02:00