Commit Graph

674 Commits

Author SHA1 Message Date
Craig Gallek
589eec0d21 Implement album sorting
This adds an 'albums_sort_attr' configuration modeled off of the
'medias_sort_attr'.  It defaults to the existing behavior of sorting
sub-albums by directory name.  It allows sort by any metadata attribute
stored in the album metadata file.

The existing album sort test wasn't really verifying album sorting
behavior, so I just re-wrote the whole thing to include tests for the
old behavior and new.

This should resolve issue #121
2016-01-18 17:29:28 -05:00
Simon Conseil
b11cb28ff3 Catch cPickle.PicklingError on python 2 (#191). 2016-01-18 22:22:30 +01:00
Simon Conseil
6a21251b56 Merge pull request #185 from Natim/140-support-gif-images
Add GIF support — Fixes #140
2016-01-08 12:33:11 +01:00
Rémy HUBSCHER
dba2aec8ec Use pytest.mark.parametrize r=@saimn 2016-01-08 12:23:23 +01:00
Rémy HUBSCHER
ff808fc621 Add myself to AUTHORS 2016-01-08 11:48:00 +01:00
Rémy HUBSCHER
c196fc64a5 Validate GIF always use_orig and generate thumbnail. 2016-01-08 11:46:51 +01:00
Rémy HUBSCHER
f3300bfb52 Make sure GIF format is accepted in the library. 2016-01-08 11:35:23 +01:00
Rémy HUBSCHER
cb17a03316 Make sure gif files are zipped correctly. 2016-01-08 11:19:41 +01:00
Rémy HUBSCHER
7f3ee7a348 Add GIF support — Fixes #140 2016-01-08 11:08:07 +01:00
Simon Conseil
6e279bbff4 Merge branch 'pr/187' 2016-01-08 00:45:07 +01:00
Simon Conseil
f819f883d4 Fix test with fraction exposure 2016-01-08 00:13:07 +01:00
Simon Conseil
0622f2666c xfail GPS test only for Pillow 3.0.0 2016-01-08 00:12:33 +01:00
Simon Conseil
eaddfe587e Test Pillow versions with tox 2016-01-08 00:11:40 +01:00
Simon Conseil
c044d276b3 Show Pillow version in the tests header 2016-01-08 00:11:17 +01:00
David Siroky
485b258692 better exposure time fraction 2016-01-07 23:30:20 +01:00
Simon Conseil
d9e8e1f1e0 Use final release of Pillow 3.1.0 2016-01-07 23:28:35 +01:00
Simon Conseil
11245351db Merge pull request #189 from saimn/pillow
Run tests with Pillow 3.1.0.rc1
2016-01-02 00:51:59 +01:00
Simon Conseil
464c854bd1 Run tests with Pillow 3.1.0.rc1 2016-01-02 00:39:07 +01:00
Simon Conseil
59b9c81530 Cleanup 2015-12-15 23:21:19 +01:00
Simon Conseil
e8fe30ebf7 Fix unicode bug with special characters in path names.
Decode path before using it in join (Python2 only).
2015-12-15 23:19:19 +01:00
Simon Conseil
c5a458a9d7 Prepare next version. 2015-11-19 00:32:50 +01:00
Simon Conseil
012f41caa4 Bump 1.0.1 2015-11-19 00:30:06 +01:00
Simon Conseil
5f830fc11f Merge pull request #184 from saimn/pillow
Warn that Pillow 3.0 is broken.
2015-11-19 00:22:12 +01:00
Simon Conseil
0aaf62ae2e Fix exptime. 2015-11-19 00:08:24 +01:00
Simon Conseil
aea0d638d7 Warn that Pillow 3.0 is broken. 2015-11-19 00:02:06 +01:00
Simon Conseil
116d2ef117 Test several version of Pillow. 2015-11-19 00:01:32 +01:00
Simon Conseil
1b5b94d018 Merge pull request #181 from jvoisin/master
Simplify a bit photoswipe's style
2015-10-21 23:18:45 +02:00
jvoisin
86564befdc Simplify a bit photoswipe's style
- 0 shall not have units
- remove redundant definitions
- margin can't be used with `inline`
- `%%` is wrong and should be `%` instead
2015-10-21 01:19:53 +02:00
Simon Conseil
cec6c889ae Merge pull request #179 from jvoisin/master
Remove an inline javascript line
2015-10-16 22:59:15 +02:00
jvoisin
96d6623a37 Remove an inline javascript line 2015-10-15 19:15:58 +02:00
Simon Conseil
51feba20aa Merge pull request #177 from saimn/pillow-3-compat
Partial fix for EXIF data with Pillow 3.0
2015-10-14 23:22:56 +02:00
Simon Conseil
a9ca86fe6f More fixes. 2015-10-14 23:16:09 +02:00
Simon Conseil
bf276eebd5 Partial fix for EXIF data with Pillow 3.0 (#172).
- The format of EXIF data changed with Pillow 3.0 (and only Python 3).
- GPSInfo is broken in Pillow 3.0
2015-10-14 22:55:37 +02:00
Simon Conseil
703d22f481 Use python 3.5 with tox. 2015-10-14 22:47:11 +02:00
Simon Conseil
60b799c2b3 Merge pull request #171 from saimn/travis-3.5
Add python 3.5 in travis
2015-09-23 09:26:40 +02:00
Simon Conseil
d61df1d435 Add python 3.5 in travis 2015-09-20 21:27:54 +02:00
Simon Conseil
138d4c99fe Update AUTHORS. 2015-09-07 23:25:53 +02:00
Simon Conseil
aa3a00b105 Prepare next version 2015-09-07 22:51:08 +02:00
Simon Conseil
6952f2198a Release 1.0.0 2015-09-07 22:38:55 +02:00
Simon Conseil
072614c808 Add photoswipe in the readme. 2015-09-07 22:38:55 +02:00
Simon Conseil
26a28ba070 Add fullscreen icon for the galleria theme. 2015-09-01 23:58:11 +02:00
Simon Conseil
f97eb2b87a Enhance doc for themes. 2015-09-01 23:25:56 +02:00
Simon Conseil
6c1edee101 Update changelog. 2015-09-01 23:25:56 +02:00
Simon Conseil
ccea99ed36 Enhance detection of a theme directory. 2015-09-01 23:25:56 +02:00
Simon Conseil
9f0cf68b7b Fix tests - forgot to revert the config file. 2015-09-01 23:09:01 +02:00
Simon Conseil
ca75a612ca Merge branch 'pr/45' 2015-09-01 22:56:17 +02:00
Simon Conseil
0590aedc87 Remove redundant css rule + unix file format. 2015-09-01 16:13:36 +02:00
Simon Conseil
df00f85a88 Fix syntax error + avoid implicit global variables. 2015-09-01 16:06:16 +02:00
Cédric Bosdonnat
8e4a08ae18 Map view for albums in galleria theme
This feature hacks galleria to show an openlayers map instead of the
picture. The pictures are represented by dots on the maps and clicking
them or the galleria thumbnails update the other (and the selected
picture).

By default, the map isn't shown: it needs to be enabled by the show_map
options.
2015-09-01 13:11:05 +02:00
Simon Conseil
2d27aabca9 Add more tests for the video processing functions. 2015-08-31 00:26:20 +02:00