172 Commits

Author SHA1 Message Date
Adrien Beudin
26a22ee893 fix generate page 2016-02-09 21:24:41 +01:00
Adrien Beudin
cfd2c4b751 merge from master 2016-02-09 21:12:34 +01:00
Adrien Beudin
a290c2bea3 Update code of menu 2016-02-09 21:03:21 +01:00
Laurent Peuch
1866d6279e [mod] merge images and templates class into one, go full OO 2016-02-09 07:36:08 +01:00
Laurent Peuch
a2d04eb3ce [fix] very strange behavior of python interpretor 2016-02-09 07:36:08 +01:00
Laurent Peuch
3ee90704bc [fix] save CACHE version in cache, otherwise don't make sens 2016-02-09 07:36:08 +01:00
Laurent Peuch
cfba36bd6c [mod] don't try to work without gm anymore 2016-02-09 07:36:08 +01:00
Laurent Peuch
a1c5e75aa3 [mod] start refactoring to a simplification of capslock patch 2016-02-09 07:36:08 +01:00
Laurent Peuch
b890b103ea [mod] autopep8 2016-02-09 07:36:08 +01:00
Laurent Peuch
bd9d8f0cfd [enh] handle cache version to avoid conflicts 2016-02-09 07:36:08 +01:00
CapsLock
0ab845eada Now one can choose to override picture quality for thumbnails
To use it, change this :

  - type: pictures-group
    images:
      -
        - image1.jpg
        - image2.jpg
      -
        - image3.jpg
        - image4.jpg

To this :
  - type: pictures-group
    images:
      -
        - name: image1.jpg
          quality: 80
        - image2.jpg
      -
        - image3.jpg
        - name: image4.jpg
          quality: 100

Next step would be to compress pictures instead of just copying them to reduce their size

Signed-off-by: CapsLock <faimaison@legeox.net>
2016-02-09 07:36:08 +01:00
CapsLock
799b816413 Quality of thumbnails can be changed in templates
Signed-off-by: CapsLock <faimaison@legeox.net>
2016-02-09 07:36:08 +01:00
Adrien Beudin
17c0fdbaab Add support of menu 2016-02-08 11:28:11 +01:00
Laurent Peuch
5ae3ca88e2 [mod] make error message more explicite 2016-01-24 12:57:19 +01:00
Laurent Peuch
945714c225 [mod] debug infos 2016-01-17 10:26:12 +01:00
Laurent Peuch
674958551a [enh] implement caching for thumbnails 2016-01-17 10:26:12 +01:00
Laurent Peuch
2f0757e2a4 [mod] self note on optimisation 2016-01-17 10:26:12 +01:00
Laurent Peuch
0b157c2c2f [enh] allow to set if a gallery is listed on home 2015-12-10 01:45:42 +01:00
Laurent Peuch
005234ad2a [fix] reverse order for dates 2015-12-10 00:51:21 +01:00
Laurent Peuch
c6e419b6cd [mod] remove index.html link since it's defaulted in webservers 2015-12-09 09:57:21 +01:00
Laurent Peuch
dae6852fb0 [fix] won't work if dir doesn't exists 2015-12-09 09:03:18 +01:00
Laurent Peuch
6ee2d9406b [fix] make this damn setup.py accept my static files. 2015-12-09 08:45:41 +01:00