Commit Graph

595 Commits

Author SHA1 Message Date
franek
c84a621984 refactor exceptions in get_size method 2015-06-15 11:12:22 +02:00
franek
78b23090fe add test on get_size method when missing image 2015-06-15 11:10:50 +02:00
franek
a7e9c17489 Refactor get_size method and add 2 properties to Image (size and thumb_size).
Add tests for get_size method
2015-06-14 12:54:19 +02:00
franek
20daa3916c add size property into Image object containing width and height of each image (thumbnail, big).
Can be useful for some themes to disinguish orientation of the image.
2015-06-12 22:24:27 +02:00
Simon Conseil
35b8b6dcd5 Merge pull request #160 from MPavleski/windows_relative_path_fix
Fix for the relative check in Windows which fails due invoking relati…
2015-05-28 22:48:16 +02:00
Miroslav Pavleski
95b9f1dee1 Windows fix added comments and specified the concrete exception (ValueError) 2015-05-26 22:28:29 +02:00
Miroslav Pavleski
beaa3921c6 Fix for the relative check in Windows which fails due invoking relative path checking for directories on different drives 2015-05-24 16:34:06 +02:00
Simon Conseil
b901d681fe Update AUTHORS 2015-04-28 00:23:40 +02:00
Simon Conseil
2f90da5713 Merge branch 'pr/153' 2015-04-28 00:19:00 +02:00
Simon Conseil
1a783ddec9 Small cleanup. 2015-04-28 00:18:29 +02:00
Juan A. Suarez Romero
ca61eed13d Fix video tests 2015-04-27 16:41:13 +02:00
Juan A. Suarez Romero
0a3198b478 Add myself to AUTHORS 2015-04-27 15:42:17 +02:00
Juan A. Suarez Romero
14570c245a Set HTML5 video type correctly
As we can use the videos as they are, without conversion, we need to set
the video type correctly.
2015-04-27 15:41:33 +02:00
Juan A. Suarez Romero
fb9eb3552d Honor 'use_orig' for videos
When 'use_orig' is True, copy the original video files (or symlink them,
depending if 'orig_link' is True) to the destination, and use them as they are,
without processing.

This setting is ignored for all files not supported in HTML5; those are
converted anyway, because otherwise we could not reproduce them.
2015-04-27 15:41:19 +02:00
Simon Conseil
cd301b5029 Add tox commands 2015-04-22 23:25:48 +02:00
Simon Conseil
42df221415 Update MANIFEST to include missing files. 2015-04-22 23:25:24 +02:00
Simon Conseil
016317b479 Use twine for future versions. 2015-04-22 00:16:26 +02:00
Simon Conseil
6ba3e8aef3 Switch docs to alabaster theme. 2015-04-21 23:59:25 +02:00
Simon Conseil
b88d10a15e Refactor common templates for colorbox. 2015-04-20 00:11:00 +02:00
Simon Conseil
94c98588b8 Don't share the settings fixture between tests. 2015-04-20 00:10:30 +02:00
Simon Conseil
143813761a Merge pull request #156 from johnjohndoe/patch-1
Fix typos.
2015-04-01 16:08:49 +02:00
Tobias Preuss
e3f56920f9 Fix typos. 2015-04-01 15:07:55 +02:00
Simon Conseil
c36cb35a43 Restore deleted file for the galleria theme, needed for video display. 2015-03-30 23:16:46 +02:00
Simon Conseil
5446eaa050 Merge pull request #155 from tiramiseb/patch-1
Tables support in markdown
2015-03-22 21:56:41 +01:00
Sébastien Maccagnoni-Munch
8903761f58 Tables support in markdown 2015-03-22 11:48:09 +01:00
Simon Conseil
63c8c9ec67 Merge pull request #150 from abdul/update_copyright_plugin
Update to allow more settings for font, color, position
2015-03-10 13:15:07 +01:00
Abdul Qabiz
e487761b9e Update to allow more settings for font, color, position
- copyright_text_font: a system or user font name, or absolute path to
.ttf file
- copyright_text_font_size: font size used when
copyright_text_font is set
- copyright_text_color: text color
- copyright_text_position: a 2 tuple (x,y) specifying coordinates of top-left corner of
text
2015-03-10 10:57:02 +05:30
Simon Conseil
d4dedead2d Merge pull request #148 from abdul/watermark_plugin
Watermark Plugin
2015-03-06 15:16:31 +01:00
Abdul Qabiz
8986f58454 Update code
- Make watermark path relative to settings file
- Document possible options for watermark_postion
- Simplify code to use settings.get(<setting>, <default>)
2015-03-06 19:25:26 +05:30
Abdul Qabiz
24d7873880 Fix conditionals 2015-03-06 19:25:26 +05:30
Abdul Qabiz
cf9866f9c1 Add watermark plugin 2015-03-06 19:25:26 +05:30
Simon Conseil
bc42a1dca9 Update minified css for galleria. 2015-03-05 00:03:51 +01:00
Simon Conseil
4698b0e777 Merge pull request #149 from muggenhor/galleria-fullscreen
Add fullscreen display support to Galleria theme
2015-03-04 23:57:23 +01:00
Simon Conseil
24565c1081 Make sure that css are compiled before releasing + update requirements. 2015-03-04 23:40:32 +01:00
Giel van Schijndel
58f5127b35 Add fullscreen display support to Galleria theme
It adds a link just below the gallery-display to enter fullscreen.
Additionally a keybind on the 'f' key is added to make toggling
fullscreen easier.
2015-03-04 19:10:05 +01:00
Simon Conseil
22b9b8131c Update markdown extension name.
With Python-Markdown 2.6, “shortened” extension names are deprecated.
2015-03-03 23:26:19 +01:00
Simon Conseil
debd703451 Merge pull request #143 from jdn06/thumb-videos
Avoid black thumbnails with fade-in videos
2015-02-24 13:28:59 +01:00
jdn06
99dc1a2865 Include thumb_video_delay in tests 2015-02-23 23:40:19 +01:00
jdn06
2d25a07047 Complete integration of the new thumb_video_delay parameter. 2015-02-23 23:20:25 +01:00
jdn06
5e9307cd39 Adds a thumb_video_delay parameter for the creation of thumbnails with fade-in videos 2015-02-21 17:22:21 +01:00
Simon Conseil
975a9093f7 Use the media title if available (fix #145). 2015-02-17 23:14:11 +01:00
Simon Conseil
0a78ce4b18 Add python > 3.3 support in the README. 2015-02-17 10:07:36 +01:00
Simon Conseil
81dabddf54 Prepare next version. 2015-02-16 23:39:17 +01:00
jdn06
65fccf2c4f Avoid black thumbnails with fade-in videos 2015-02-09 12:47:45 +01:00
Simon Conseil
d0f23ff634 Release 0.9.2 2015-01-25 22:47:51 +01:00
Simon Conseil
e5e6f985ba Update changelog. 2015-01-25 22:45:46 +01:00
Simon Conseil
1c62453f8e Add some doc about the author setting (closes #139). 2015-01-25 22:43:22 +01:00
Simon Conseil
ff2c79ca6d Allow to specify the author of an album (ref #139).
The author can be set in the album's index.md or in the settings.
2015-01-19 23:42:47 +01:00
Simon Conseil
972e8fdc98 Fix encoding issue with the progress bar on py3 (fix #137). 2015-01-12 23:34:31 +01:00
Simon Conseil
2e9f16fc41 Remove failed files also when not using the process pool. 2015-01-11 23:36:17 +01:00