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
Simon Conseil
9c74abd5ea
Update changelog [ci skip]
2018-10-01 00:20:25 +02:00
Simon Conseil
38f5c80f10
Fix progressbar with Click 7.0
2018-09-30 23:56:38 +02:00
Edwin Steele
be5b48d91b
Hoist footer into includeable file
2018-09-30 21:42:21 +10:00
Edwin Steele
eed2e325cf
Split album and landing page logic
2018-09-30 21:15:57 +10:00
Edwin Steele
e8280ae678
Copy landing to album to clearly show diff
2018-09-30 21:13:03 +10:00
Edwin Steele
e2c5d7892f
Split landing page and album page templates
...
Album page templates have a single include for the landing page
template, so rendered pages remain unchanged.
2018-09-30 16:57:08 +10:00
Simon Conseil
08b8e01bcf
Merge branch 'travis-doc'
2018-09-17 00:29:12 +02:00
Simon Conseil
17aec79e01
Add doc build
2018-09-17 00:23:54 +02:00
Simon Conseil
34583eb621
Add settings file for readthedocs
2018-09-17 00:18:34 +02:00
Simon Conseil
d302fbfbc9
include all requirement files
2018-09-17 00:13:27 +02:00
Simon Conseil
b4b215fe91
Merge pull request #341 from saimn/travis
...
Use tox-travis and add Python 3.7 build
2018-09-17 00:12:41 +02:00
Simon Conseil
164a3aa530
Fix check build
2018-09-17 00:02:31 +02:00
Simon Conseil
e1d1b9deda
Add doc requirements
2018-09-17 00:02:13 +02:00
Simon Conseil
29f1454555
Try another way
2018-09-16 23:47:41 +02:00