Commit Graph

727 Commits

Author SHA1 Message Date
Alexey Bazhin
a004ad85c5 Support videos with rotation 2016-07-12 15:13:47 +03:00
Simon Conseil
6d10dfa851 Simplify build matrix, use Pillow 3.2, cache pypi packages 2016-06-05 23:41:17 +02:00
Simon Conseil
c85fda7111 Bump 1.2.0 2016-06-05 23:01:37 +02:00
Simon Conseil
2e7c2b06eb Update copyright 2016-06-05 22:59:53 +02:00
Simon Conseil
8bd567911d Update changelog 2016-06-05 22:55:52 +02:00
Simon Conseil
45d789c1bd Fix doc build with python 3 2016-06-05 22:52:40 +02:00
Simon Conseil
5abd32495f Fix conflict between touchswipe and colorbox (closes #201)
The touchswipe action on tap was closing the colorbox window when it should not
(when viewing a video file).
2016-06-05 22:35:22 +02:00
Simon Conseil
7a087d9548 Update colorbox 1.6.4 2016-06-05 22:16:16 +02:00
Simon Conseil
929f612335 Merge pull request #203 from tohojo/title-command
Add 'title' command.
2016-05-02 10:32:03 +02:00
Simon Conseil
eabcd4aeb2 Merge pull request #202 from tohojo/meta-sort
Allow sorting on metadata keys.
2016-05-02 10:30:00 +02:00
Toke Høiland-Jørgensen
e6519d121a Add test for set_meta command.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2016-05-02 01:18:33 +02:00
Toke Høiland-Jørgensen
c8a3e1757e Turn 'title' command into a more generic 'set_meta' command.
This can set an arbitrary number of meta keys and also supports creating
meta files for directories (i.e. index.md files).

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2016-05-02 01:18:22 +02:00
Simon Conseil
337e67595e Merge pull request #205 from saimn/zipfile
Allow to create large zip files.
2016-05-02 00:47:01 +02:00
Simon Conseil
7135ff50d2 Allow to create large zip files. 2016-05-02 00:35:52 +02:00
Toke Høiland-Jørgensen
aa0a09a664 Update AUTHORS file.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2016-05-02 00:23:42 +02:00
Toke Høiland-Jørgensen
a8efae9805 Add test for sorting images on meta keys.
This test also tests the missing meta key functionality.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2016-05-02 00:21:56 +02:00
Toke Høiland-Jørgensen
bfa07a0ce6 Handle missing meta keys when sorting.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2016-05-02 00:21:42 +02:00
Toke Høiland-Jørgensen
fec1a78d25 Fix read_metadata to not return a title if none is defined in index.md.
This fixes the test breakage from adding an index.md with only an Order
key defined.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2016-05-02 00:17:38 +02:00
Toke Høiland-Jørgensen
4c82aca9a0 Add tests for sorting on metadata keys.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2016-05-02 00:17:38 +02:00
Toke Høiland-Jørgensen
4a91a43d6e Add 'title' command.
This adds a 'title' command to make it easier to add titles to images.
It basically takes an image filename and a title, and will write a
corresponding .md file with the Title attribute.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2016-04-27 11:01:26 +02:00
Toke Høiland-Jørgensen
0b577af48e Allow sorting on metadata keys.
This makes it possible to specify metadata keys for the albums_sort_attr
and medias_sort_attr configuration options. This is done by prefixing
the key with 'meta.', so e.g. albums_sort_attr = 'meta.order' will sort
albums on the 'order' metadata key (collected from the .md files in each
directory).

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2016-04-27 10:27:03 +02:00
Simon Conseil
894f7d6522 Bump version 1.1.0 2016-04-24 23:05:23 +02:00
Simon Conseil
71eee06e0d Update Changelog 2016-04-17 01:03:00 +02:00
Simon Conseil
72737a2b6c Update AUTHORS 2016-04-17 00:47:33 +02:00
Simon Conseil
4603eec81a Simplify test for #199 and add author to AUTHORS 2016-04-17 00:36:04 +02:00
Simon Conseil
f7b88dc216 Merge pull request #199 from thekad/bug/empty-iso-speed-ratings
Empty ISO speed ratings
2016-04-17 00:30:18 +02:00
Jorge Gallegos
3b4b3da145 This covers a few cases
Such as when the tuple is empty or the value is None
2016-04-07 10:38:31 -07:00
Jorge Gallegos
6eb570ceb7 Adding a test that showcases the bug
I found a couple of images where the ISOSpeedRatings value is an empty
tuple. This makes sigal sad.
2016-04-07 10:36:42 -07:00
Simon Conseil
32459d74e6 Merge branch 'galleria-fullscreen-icon' 2016-03-20 23:59:57 +01:00
Simon Conseil
df12b77204 Move icons in the galleria container. 2016-03-20 23:59:11 +01:00
Simon Conseil
56f7c95531 Replace map and fullscreen icons for galleria 2016-03-20 23:28:16 +01:00
Simon Conseil
da2f7d5bea Always show fullscreen icon for galleria 2016-03-20 22:52:22 +01:00
Simon Conseil
23951fea45 Update photoswipe 4.1.1 2016-03-06 00:05:23 +01:00
Simon Conseil
ecf6722e36 Use https for external resources, remove html5shiv. 2016-03-05 23:42:14 +01:00
Simon Conseil
ff01d1887c Update colorbox 1.6.3, jQuery 2.2.1, touchSwipe 1.6.15 2016-03-05 23:41:17 +01:00
Simon Conseil
e5cc7eb14b Fix hard-coded video mime-type in the galleria theme. (Ref #196) 2016-03-05 22:28:32 +01:00
Simon Conseil
b19f5adf3d Merge pull request #195 from dairiki/bug.escape-html
Enable autoescape in jinja templates
2016-02-29 23:05:32 +01:00
Jeff Dairiki
803c27aa63 Enable autoescape in jinja templates
Prior to this change, special HTML characters in metadata (e.g. titles)
were not being escaped.
2016-02-25 14:14:13 -08:00
Simon Conseil
3e8ef322cf Fix encoding error with the feed plugin on PY2 (Ref #194) 2016-02-22 23:58:43 +01:00
Simon Conseil
b4d1057a58 Fix ZeroDivisionError when ExposureTime contains null values (fix #193) 2016-02-16 00:16:14 +01:00
Simon Conseil
578636b194 Fix video filename for tests.
The error was not detected is the _build was present. So this commit also
removes the _build before each test.
2016-02-01 00:43:22 +01:00
Simon Conseil
ad6bef1923 Fix if first thumbnail cannot be found. 2016-01-31 23:19:18 +01:00
Simon Conseil
14f6b93756 Ensure that locale is correctly reset if the test fails. 2016-01-31 00:50:44 +01:00
Simon Conseil
fce70828fc Reset logger level after the test 2016-01-31 00:06:27 +01:00
Simon Conseil
744ac2ed24 Merge branch 'debug-raise-exceptions' 2016-01-30 23:50:18 +01:00
Simon Conseil
ca408015e7 Add keywords 2016-01-30 23:49:51 +01:00
Simon Conseil
a93bdcc4c7 Test that exception is raised in debug mode. 2016-01-30 23:44:24 +01:00
Simon Conseil
a874a0dbea Raise exceptions in debug mode. 2016-01-23 15:49:06 +01:00
Simon Conseil
350a81214a Merge pull request #98 from saimn/feed_plugin
Add a feeds plugin, using all images sorted by date.
2016-01-23 15:45:32 +01:00
Simon Conseil
c5d6497bd5 Add a feeds plugin, using all images sorted by date. 2016-01-23 15:28:28 +01:00