Rémi Ferrand
fc14de3872
Adapt zip_gallery logic to a dedicated plugin like suggested by @saimn
...
* ZIP generation logic is now self contained in a plugin
* '.nozip_gallery' file logic is now contained in the same plugin that
managed the zip generation
2019-06-03 22:26:32 +02:00
Rémi Ferrand
43f07a767d
Add new plugin to allow one to disable ZIP generation on a per album basis
...
* Heavily inspired by the '.nomedia' file
2019-05-14 18:18:18 +02:00
Simon Conseil
912ca39991
Update rtd config
2019-02-24 23:38:10 +01:00
Simon Conseil
86397a26ba
Fix links in feeds, ref #361
2019-02-11 21:44:07 +01:00
Simon Conseil
af67de6ee5
Feeds: fix links to gallery and image, ref #361
2019-02-08 23:38:37 +01:00
Simon Conseil
982ea5447d
Fix missing variable, following #359
2019-02-05 23:35:04 +01:00
Simon Conseil
9193856e68
travis: remove sudo
2019-02-02 00:07:32 +01:00
Simon Conseil
3808bcfabf
Merge pull request #359 from maauer/master
...
Option for relative symbolic links.
2019-02-01 22:42:07 +01:00
max (maauer)
f2f6fbe594
Fix test for relative links
2019-02-01 13:42:56 -05:00
max (maauer)
4ec2a25a2e
Add test for relative links
2019-02-01 12:43:52 -05:00
max (maauer)
997a9138cd
Add rel_link setting to example config file.
2019-01-31 09:42:29 -05:00
max (maauer)
031f9768de
A configuration setting to use relative symbolic links
...
Edit the copy function in utils.py to take the parameter rellink and if
it is true, create links relative to the source directory. Modify
gallery.py and __init__.py to pass along this parameter. Add rel_link
flag to setting.py
2019-01-31 09:31:47 -05:00
Simon Conseil
2e9ffd9ec0
Use setuptools_scm
2019-01-27 01:23:06 +01:00
Simon Conseil
05a28f3fa6
Move setup to setup.cfg
2019-01-27 01:10:11 +01:00
Simon Conseil
28f7addd27
Update Changelog and version
2019-01-26 23:35:45 +01:00
Simon Conseil
2d574217a4
Update AUTHORS
2019-01-26 23:27:43 +01:00
Simon Conseil
3b599d3ca4
Add script to create a detailed changelog
2019-01-26 23:22:51 +01:00
Simon Conseil
b1aeca81cf
Remove Makefile and use tox instead
2019-01-26 23:05:51 +01:00
Simon Conseil
3068ab855b
Print message at the end of album collection
2019-01-21 22:14:10 +01:00
Simon Conseil
818ec7292f
Avoid iptc encoding errors (ref #358 )
2018-12-29 00:01:17 +01:00
Simon Conseil
a7c0625a65
Merge pull request #357 from tudacs/add_tests
...
Add tests for headline / logging SyntaxError in getiptcinfo()
2018-12-29 00:00:55 +01:00
tudacs
b7a2a5a060
Remove unnecessary code from tests
2018-12-19 19:19:05 +01:00
tudacs
d833573f25
Add headline test
2018-12-19 18:59:32 +01:00
tudacs
0adffcbcb5
Add test for SyntaxError thrown by IptcImagePlugin, assert log
2018-12-19 18:35:24 +01:00
Simon Conseil
c45d6e80d5
Merge pull request #356 from tudacs/iptc_headline
...
Extract IPTC Headline
2018-12-19 00:20:59 +01:00
Simon Conseil
714eeae7e2
Merge pull request #355 from tudacs/master
...
Fixes sigal aborting if image contains malformed metadata
2018-12-19 00:18:16 +01:00
tudacs
7b10911598
Add IPTC Headline (2:105) and to iptc_data
...
According to iptc.org, the 'title' field (2:05) is "a shorthand
reference for the digital image" and may (User Note) be the filename,
whereas the IPTC Headline is defined as "A brief synopsis of the
caption.".
Thus the headline should be used by sigal to provide a short
description, instead of the title tag.
2018-12-18 15:34:13 +01:00
tudacs
a65a3de12c
Initialize raw_iptc prior to try/except
2018-12-18 15:16:05 +01:00
tudacs
4f7eb0548b
Use logger instead of (dump) print
2018-12-18 08:22:50 +01:00
tudacs
859ac1117a
Shortens try/sxcept block to keep code cleaner
...
... and adds a comment where the SyntaxError may come from.
2018-12-18 08:19:54 +01:00
tudacs
d9e88e87f9
Fixes sigal aborting if image contains malformed metadata
2018-12-17 22:31:58 +01:00
Simon Conseil
1c0b8d976d
Fix some pep8 issues
2018-12-17 00:42:56 +01:00
Simon Conseil
73b6e9612c
Update changelog
2018-12-17 00:28:08 +01:00
Simon Conseil
68747052a3
Merge pull request #351 from anarcat/git-watch
...
explain how to call sigal from git, se #284
2018-10-30 15:06:15 +01:00
Antoine Beaupré
26d0d683af
explain how to call sigal from git, see #284
...
This a separate section to avoid confusion with local builds.
2018-10-29 19:56:48 -04:00
Simon Conseil
520d9f60d3
Merge pull request #349 from subwarpspeed/docs-themes-gps-code
...
GPS location code-block was incorrect, now working
2018-10-14 23:41:42 +02:00
subwarpspeed
c28dd3890d
GPS location code-block was incorrect, now working
...
I found that the code was wrong (outdated?). It used
'media.exif.long' when the correct is 'media.exif.gps.lon'.
It was also a bit unuseful since it showed it on the most zoomed
out map (continent level) and no marker.
The current link will go to a faily zoomed in (map=18) and put
a marker in the map.
2018-10-14 04:01:28 +02:00
Simon Conseil
576add21bd
Merge pull request #348 from saimn/reorganize-templates
...
Reorganize templates
2018-10-13 01:05:51 +02:00
Simon Conseil
f92ce71434
photoswipe - simplify images loop and move js to a dedicated file
2018-10-13 00:48:09 +02:00
Simon Conseil
69fc93f207
breadcrumb
2018-10-13 00:31:16 +02:00
Simon Conseil
094a3d7f8e
Refactor footer and other things
2018-10-13 00:25:01 +02:00
Simon Conseil
114c22d7c1
Reorganize breadcrumb
2018-10-13 00:07:06 +02:00
Simon Conseil
43491405de
Split photoswipe
2018-10-12 23:58:28 +02:00
Simon Conseil
3846dc0be4
Galleria: Remove useless jinja tags, add back description in album list
2018-10-12 23:24:08 +02:00
Simon Conseil
bb95308cda
Move links to a dedicated template
2018-10-12 23:11:40 +02:00
Simon Conseil
dd4ce9e8bc
Update colorbox, following the split of templates
2018-10-12 22:52:12 +02:00
Simon Conseil
675bcbc55d
Add test with special chars in a markdown file
2018-10-12 22:39:25 +02:00
Simon Conseil
8b38f32b8c
Merge pull request #345 from saimn/special-chars
...
Quote special characters in urls
2018-10-10 22:49:39 +02:00
Simon Conseil
8fc30e7a1d
Quote the album thumbnail's path
2018-10-10 22:34:07 +02:00
Simon Conseil
72e4f6265c
Replace uses of media.filename by media.url
2018-10-10 22:34:07 +02:00