Commit Graph

1023 Commits

Author SHA1 Message Date
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
Simon Conseil
1ba600cef5 Ignore tags, and ignore flake8 E731 2018-10-10 22:34:07 +02:00
Simon Conseil
daa85c73fc Fixes following rebase 2018-10-10 22:34:07 +02:00
Simon Conseil
a212eb05b3 Quote special chars in urls. 2018-10-10 22:31:54 +02:00
Simon Conseil
00e8cb88ff Merge pull request #347 from edwinsteele/feature/reorg-galleria-templates
Reorganise galleria templates
2018-10-10 22:24:21 +02:00
Edwin Steele
3607d60de0 Prefetch js and css resources needed on album pages 2018-10-10 17:24:24 +11:00
Edwin Steele
59bef3d139 Hoist footer so colorbox can use it too 2018-10-10 17:14:58 +11:00
Edwin Steele
b1917cf842 Separate galleria album, album_list, base logic 2018-10-10 17:09:28 +11:00
Simon Conseil
676baddee5 Merge pull request #343 from edwinsteele/feature/split-index-album-templates
Split landing page and album templates
2018-10-09 09:36:22 +02:00
Edwin Steele
8f4c31c886 Use class attribute instead of @property 2018-10-09 16:48:51 +11:00
Edwin Steele
f29d57ce45 Albums can only contain images or subalbums
Albums containing subalbums and image will display a warning and only
 display the subalbums
Rename landing.html template to album_list.html
Stop using abstract base class
Use class attribute instead of @property
2018-10-05 17:20:27 +10:00