Commit Graph

800 Commits

Author SHA1 Message Date
Matthias Vogelgesang
7ab13308b3 Resize portrait images to same size as landscape
With the current approach images are resized along the width, which means images
in portrait mode are substantially smaller than landscape images. This change
resizes portrait images along the height so that they will cover the exact same
area.
2017-09-19 21:15:54 +02:00
Simon Conseil
838d94eb61 Reformat issue numbers in changelog 2017-09-17 22:44:20 +02:00
Simon Conseil
4bc598f68e Add changelog for version 1.4 2017-09-17 22:42:41 +02:00
Simon Conseil
ff4c9ec7fc Avoid warnings about duplicate target name 2017-09-17 22:36:11 +02:00
Simon Conseil
4396316f89 Replace sphinxcontrib.issuetracker with sphinx_issues
The first one was broken with recent docutils/sphinx version, and anyway
it was doing too many requests to the github API.
2017-09-17 22:28:47 +02:00
Simon Conseil
f6a8687a0a Merge pull request #257 from franek/fix-default-lang
Set html lang attribute based upon locale
2017-09-13 14:12:50 +02:00
François D
c00b4f40b4 Add ``html_language`` setting in order to be used by html templates 2017-09-13 13:46:29 +02:00
Simon Conseil
aaf645fa9a Merge pull request #256 from saimn/fix-ffmpeg
Fix install of ffmpeg since Travis upgrade to trusty
2017-09-02 23:40:05 +02:00
Simon Conseil
a26132ec58 Fix install of ffmpeg since Travis upgrade to trusty 2017-09-02 23:26:59 +02:00
Simon Conseil
83cc6f409d Don't fail if GPSInfo cannot be used (fixes #251) 2017-07-07 00:06:28 +02:00
Simon Conseil
245f9e5b18 Merge pull request #243 from xouillet/jinja_filters
Permit filters.py file in template dir to define custom jinja filters
2017-03-12 01:13:53 +01:00
Simon Conseil
c775557681 Remove the exif cache for test to avoid side effect when building the
test gallery
2017-03-12 01:01:08 +01:00
Simon Conseil
9560f84ce4 Show progress for "Collecting albums" only for terminal output 2017-03-12 00:35:17 +01:00
Alexandre Chataignon
17c7a567e4 Added documentation for custom templates and improved code readability 2017-03-12 00:34:13 +01:00
Simon Conseil
23d0ede35f Merge pull request #245 from jasuarez/colorbox-csp
Improve CSP compatibility with colorbox theme
2017-03-11 23:26:48 +01:00
Juan A. Suarez Romero
a217af356d colorbox: move inline script code to its own file
Main purpose is to fix problems with Content Security Policy, that makes
difficult to work with inline code.
2017-03-05 19:01:35 +01:00
Juan A. Suarez Romero
b488f4cf45 colorbox: remove an inline javascript
This was done for Galleria theme in commit 96d6623.
2017-03-05 18:47:20 +01:00
Simon Conseil
c3c0f7cdcb Merge pull request #242 from xouillet/optim_properties
Optimize properties
2017-03-03 22:20:16 +01:00
Alexandre Chataignon
cd31b90343 Update AUTHORS 2017-03-03 15:50:19 +01:00
Alexandre Chataignon
d4857ffd3f Fixed typo, changed os.path.isfile to isfile for consistency 2017-03-03 15:48:36 +01:00
Simon Conseil
e6a28ef479 Merge pull request #241 from xouillet/random_thumbnail
Added random thumbnail property for album
2017-03-03 09:46:02 +01:00
Simon Conseil
a8a4127fb5 Merge pull request #244 from xouillet/format_zip_name
gallery: Allow formatting in zip_gallery
2017-03-03 09:44:11 +01:00
Alexandre Chataignon
9256b83efb Added random thumbnail property for album 2017-03-03 06:38:06 +01:00
Alexandre Chataignon
fde26ec8de Added setting to skip archive generation if archive file is already present 2017-03-03 06:37:11 +01:00
Alexandre Chataignon
34bb3899c1 Permit filters.py file in template dir to define custom jinja filters 2017-03-03 06:19:48 +01:00
Alexandre Chataignon
c4c4424574 gallery: Allow formatting in zip_gallery 2017-03-03 04:57:03 +01:00
Alexandre Chataignon
fc8e9b9b51 Set @cached_property to avoid generating zip multiple times 2017-03-03 04:55:02 +01:00
Alexandre Chataignon
746c313a8d Optimisation when using keep_orig 2017-03-03 04:54:15 +01:00
Simon Conseil
433f1fd92a Cleanup, pep8 2017-02-06 00:21:44 +01:00
Simon Conseil
ed3a98ca7a Refactor image reading and warnings handling 2017-02-06 00:07:58 +01:00
Simon Conseil
ba18664706 Merge pull request #238 from jasuarez/feed-videos
feeds: include videos in feeds
2017-02-05 23:52:38 +01:00
Simon Conseil
a237c4f152 Merge branch 'pr/239' 2017-02-05 23:33:59 +01:00
Simon Conseil
59c3d211ff Fix docstring indentation 2017-02-05 23:32:45 +01:00
Simon Conseil
b57be8352f Fix title length 2017-02-05 23:28:39 +01:00
t-animal
9b509cab77 add nomedia and extended caching plugin to docs and config template 2017-02-05 23:28:39 +01:00
Simon Conseil
e246646b8d Merge pull request #236 from t-animal/extended_caching_plugin
plugin to cache the exif data of images
2017-02-05 23:17:30 +01:00
Tilman Adler
825e1dab41 plugin to cache the exif data of images 2017-02-02 18:24:00 +01:00
Juan A. Suarez Romero
1374c14815 feed: escape title and description
We need to escape them to avoid end up in titles like "today & tomorrow"
instead of "today & tomorrow".
2017-02-02 09:41:41 +01:00
Juan A. Suarez Romero
cdbe0e6554 Show feeds in page 2017-02-02 09:41:41 +01:00
Juan A. Suarez Romero
cb7a2af110 feeds: include videos in feeds
Include videos when generating the feeds, besides the images.

Also, both for videos and for images without EXIF, use file modification
time.
2017-02-02 09:41:41 +01:00
Simon Conseil
63ef462d3d Merge pull request #233 from t-animal/nomedia_plugin
add a plugin for finer control over ignored files
2017-02-02 00:17:33 +01:00
Simon Conseil
c2621dcee8 Merge pull request #235 from t-animal/warnings_ignore
hint to how to suppress decompressionbomb warnings
2017-01-26 00:23:57 +01:00
Tilman Adler
5d9d337cb4 add a plugin for finer control over ignored files 2017-01-22 22:27:20 +01:00
Tilman Adler
510f20f1cd hide decompressionbomb warnings, issue them as info to log 2017-01-21 01:41:00 +01:00
Simon Conseil
715b884506 Merge pull request #230 from saimn/travis
Travis config
2017-01-07 17:49:36 +01:00
Simon Conseil
7b5a78e205 Decrease the number of Travis build and use latest version of Pillow 2017-01-07 17:45:53 +01:00
Simon Conseil
e6c1f3a7e4 Add Python 3.6 to the classifiers and remove 3.3 2017-01-07 17:37:52 +01:00
Simon Conseil
6b08b5586b Bump 1.3.0 2017-01-04 00:02:36 +01:00
Simon Conseil
73217968c4 Merge pull request #228 from saimn/travis-py36
Add Python 3.6 in Travis
2017-01-04 00:01:15 +01:00
Simon Conseil
c44634c01c Add Python 3.6 in Travis 2017-01-03 23:18:01 +01:00