Commit Graph

94 Commits

Author SHA1 Message Date
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
Simon
1091ec994d rename test gallery to sample/ 2012-05-13 23:43:58 +02:00
Simon
177d677a46 gitignore 2012-05-13 23:39:14 +02:00
Simon
e1826d0f1f read the version from __init__.py + update the licence version 2012-05-13 23:38:38 +02:00
Simon
fdd4170f94 use entry_points for the main script 2012-05-13 23:28:19 +02:00
Simon
74826df02c README 2012-05-13 22:37:28 +02:00
Simon
588645ff5f update setup.py, MANIFEST, LICENSE and gitignore 2012-05-13 16:15:23 +02:00
Simon
88b7e29829 cleanup and update copyright 2012-05-13 00:39:18 +02:00
Simon
ad0c756c0a add requirements 2012-05-13 00:39:05 +02:00
Simon
2673a05b87 update README 2011-05-13 21:59:35 +02:00
Simon
d9138c9d88 add galleria theme 2011-05-13 21:37:59 +02:00
Simon
94b1d70026 replace optparse with argparse 2011-05-13 21:26:30 +02:00
Simon
ee335f0e52 add distutils setup 2011-05-13 17:39:18 +02:00
Simon
4a24dffdb7 move sigal.py to bin/ 2011-05-13 17:14:29 +02:00
Simon
000422a018 update doc & headers 2011-05-13 16:01:59 +02:00
Simon
0a17aca079 bugfix for squared thumbnails 2011-05-13 16:01:10 +02:00
Simon
3fe1b78067 add album_description files in testing gallery 2011-05-13 15:56:59 +02:00