Commit f142893e authored by Alexandre Rossi's avatar Alexandre Rossi

New upstream version 0.9.3

parent dbeb5fdd
**.pyc
**/__pycache__
build
lazygal.1
lazygal.conf.5
MANIFEST
syntax:glob
*.pyc
syntax:regexp
^build
^lazygal.1$
^lazygal.conf.5$
^MANIFEST$
Lazygal 0.9.3 (2018-10-10)
* fix crash on rebuild with --dir-flattening-depth (Debian Closes: #902764)
Lazygal 0.9.2 (2018-05-04)
* switch to git and update homepage
* Danish translation - da_DK to da
......
Lazygal 0.9.3 (2018-10-10)
* better wording for the directory 'shared' in docs
* fix crash on rebuild with --dir-flattening-depth (Debian Closes: #902764)
* improve --default-style doc
* update SCM ignore file
Lazygal 0.9.2 (2018-05-04)
* set version to 0.9.2
* switch to git and update homepage
* hint at pkg to install regarding missing python overrides
* Danish translation - da_DK to da
* fix original_link empty in singlepage theme
* add missing jquery in singlepage theme
......
......@@ -146,7 +146,10 @@
</option>
</term>
<listitem>
<para>Default style to apply to the theme.</para>
<para>Default style to apply to the theme. This is actually
the filename (no extension) of the CSS stylesheet of the theme
that is not marked as <option>alternate</option>, thus should
get used as default or prefered by the web browser.</para>
</listitem>
</varlistentry>
......@@ -502,7 +505,7 @@
<term><filename><replaceable>theme</replaceable>/SHARED_*</filename></term>
<listitem>
<para>Files to put in the web gallery
<filename>shared</filename> directory, e.g. CSS, Javascript,
directory <filename>shared</filename>, e.g. CSS, Javascript,
images or other resources common to all galleries.</para>
</listitem>
</varlistentry>
......@@ -554,7 +557,7 @@
in the <parameter>default</parameter> theme.</para>
<para><filename><replaceable>theme</replaceable>/SHARED_*</filename> files
(common resources for the <filename>shared</filename> directory) are
(common resources for the directory <filename>shared</filename>) are
renamed to strip the <parameter>SHARED_</parameter> prefix and:</para>
<itemizedlist>
......
......@@ -84,7 +84,7 @@ def get_git_rev():
return ''
__version__ = '0.9.2'
__version__ = '0.9.3'
rev = get_git_rev()
if rev: __version__ = rev
......
......@@ -144,6 +144,7 @@ class SubgalBreak(make.MakeTask):
if self.webgal_dir.flatten_below():
subgals = []
for dir in self.webgal_dir.get_all_subgals():
dir.call_populate_deps()
galleries.append((dir, dir.medias))
else:
subgals = self.webgal_dir.subgals
......@@ -319,7 +320,7 @@ class WebalbumDir(make.GroupTask):
self.progress = progress
self.add_dependency(self.source_dir)
self._init_subgals = subgals
self.subgals = subgals
for srcdir in self.source_dir.subdirs:
self.add_dependency(srcdir)
self.album = album
......@@ -337,10 +338,9 @@ class WebalbumDir(make.GroupTask):
def populate_deps(self):
super(WebalbumDir, self).populate_deps()
self.subgals = []
for s in self._init_subgals:
if s.has_media_below():
self.subgals.append(s)
for s in self.subgals:
if not s.has_media_below():
self.subgals.remove(s)
self.medias = []
self.sort_task = SubgalSort(self)
......@@ -564,7 +564,7 @@ class WebalbumDir(make.GroupTask):
def has_media_below(self):
if self.has_media():
return True
for subgal in self._init_subgals:
for subgal in self.subgals:
if subgal.has_media_below():
return True
return False
......
......@@ -101,7 +101,7 @@ class PersistentIndex(make.FileMakeObject):
'video' : self.data['count']['video'],
}
for subgal in self.webgal._init_subgals:
for subgal in self.webgal.subgals:
for count_type in self.data['all_count']:
self.data['all_count'][count_type] =\
self.data['all_count'][count_type] +\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment