Adrien Beudin
5a6e11ec80
fix range
2016-03-30 11:23:07 +02:00
Adrien Beudin
51ada6267b
Add range of date in full-picture
2016-03-30 11:12:30 +02:00
Adrien Beudin
749d7d7693
Merge https://github.com/Psycojoker/prosopopee
2016-03-30 11:07:44 +02:00
abeudin
3c5571e5ca
Update bordered-picture.html
2016-03-08 14:03:33 +01:00
Laurent Peuch
43628d480f
[mod] renaming
2016-02-28 09:49:22 +01:00
Laurent Peuch
9a24c8dec5
[fix] text is not an option that makes sens to cache
2016-02-28 09:49:02 +01:00
Laurent Peuch
ab0885902e
[mod] autopep8
2016-02-28 09:47:33 +01:00
Adrien Beudin
dbdd257c52
add caption on exposure theme
2016-02-26 19:52:14 +01:00
Adrien Beudin
283bfd6804
add caption on exposure theme
2016-02-26 14:39:19 +01:00
Adrien Beudin
11513e6461
fix material theme
2016-02-24 16:51:59 +01:00
Laurent Peuch
6018624154
[mod] remove debug print
2016-02-23 06:01:07 +01:00
Laurent Peuch
719b994c07
[enh] add error in case theme doesn't exist
2016-02-23 06:00:57 +01:00
Laurent Peuch
f8580c7900
[enh] simplify a lot theme handling
2016-02-23 05:57:46 +01:00
Laurent Peuch
904b1385d1
[mod] upgrade CACHE number to avoid bugs
2016-02-23 05:57:25 +01:00
Adrien Beudin
3f7d5866b6
move default theme in themes folder
2016-02-22 16:36:00 +01:00
Adrien Beudin
d3eea46393
Revert "move default theme in themes folder"
...
This reverts commit bf986ded7da83d4183a57c09e3c603abdaa94d62.
2016-02-22 16:32:44 +01:00
Adrien Beudin
bf986ded7d
move default theme in themes folder
2016-02-22 16:29:36 +01:00
Adrien Beudin
095034b117
remove useless files
2016-02-22 14:14:50 +01:00
Adrien Beudin
8c7dbc5a4a
add support theme
2016-02-22 14:11:36 +01:00
Adrien Beudin
7cbe86c653
[fix] enable add static files
2016-02-19 17:39:17 +01:00
Julien Malik
9a876aafc4
[fix] Revert "[fix] css fix. covers were overlapping"
...
This was fixing the behavior for cover-1, but breaks it when several cover-3 follows.
Better keep it as it was before, waiting for a better solution.
This reverts commit 13e9d369c10c0b0811764cf7c9b56ff4c0bd4666.
2016-02-19 15:46:36 +01:00
Julien Malik
13e9d369c1
[fix] css fix. covers were overlapping
2016-02-19 11:38:35 +01:00
Julien Malik
8030074b1f
[fix] fix last commit
2016-02-19 11:36:17 +01:00
Julien Malik
44419b0390
[fix] typo
2016-02-19 11:32:53 +01:00
Laurent Peuch
ad8c1a5aad
Merge remote-tracking branch 'julienmalik/cache_improvements'
...
Conflicts:
prosopopee/prosopopee.py
2016-02-19 09:52:45 +01:00
Julien Malik
05f9224fcc
[fix] remove unused properties
2016-02-19 09:51:07 +01:00
Julien Malik
ed8822ee14
[fix] prevent rendering None as a string
2016-02-19 09:51:07 +01:00
Julien Malik
947bbe9470
[enh] Same cache logic for thumbs and fullsize pictures
...
- store gm settings in the cache as a dict
- generalize usage of the gm settings to resize
- can be used to resize fullsize versions of the pictures
- without -quality switch, gm defaults to -quality 75.
use -define jpeg:preserve-settings for fullsize versions to
avoid altering them
- do not store "name" in the cache, because when the same image
is used in a gallery and as the cover, it invalidates the cache
entry and becomes always generated
2016-02-19 09:51:07 +01:00
Laurent Peuch
31298be91b
[mod] same for LICENCE (we don't use neither of those anymore)
2016-02-19 09:47:24 +01:00
Laurent Peuch
8155679dbb
[mod] remove old materialize README
2016-02-19 09:47:00 +01:00
Laurent Peuch
c00dd133fb
Merge pull request #26 from julienmalik/show_date
...
[enh] add show_date setting, to be able to order galleries
2016-02-19 09:44:50 +01:00
Julien Malik
54fc904a07
[fix] fix permissions of README.md
2016-02-19 09:29:17 +01:00
Julien Malik
be7fd9e904
[fix] oops
2016-02-19 09:17:05 +01:00
Julien Malik
c71008a5ce
[enh] be more pythonic
2016-02-19 08:51:18 +01:00
Julien Malik
10279716d5
[enh] avoid a double if
2016-02-19 08:48:31 +01:00
Julien Malik
dc5172303d
[enh] add show_date setting, to be able to order galleries, without showing the date
...
This allows (by chance) date keys to have non-date values, they just need to be comparable.
2016-02-18 17:00:17 +01:00
Julien Malik
121a37dea1
[fix] remove unused properties
2016-02-18 15:54:24 +01:00
Julien Malik
6c1d9c3069
[fix] prevent rendering None as a string
2016-02-18 15:51:52 +01:00
Julien Malik
1fa2c55a84
[enh] Same cache logic for thumbs and fullsize pictures
...
- store gm settings in the cache as a dict
- generalize usage of the gm settings to resize
- can be used to resize fullsize versions of the pictures
- without -quality switch, gm defaults to -quality 75.
use -define jpeg:preserve-settings for fullsize versions to
avoid altering them
- do not store "name" in the cache, because when the same image
is used in a gallery and as the cover, it invalidates the cache
entry and becomes always generated
2016-02-18 14:27:13 +01:00
Julien Malik
a818bf24fa
[fix] individual images can override global settings, not the other way around
2016-02-18 09:05:17 +01:00
Laurent Peuch
01bf77249d
[enh] cache images that are auto-oriented by gm
2016-02-18 08:29:08 +01:00
Laurent Peuch
b4ddd0a0b6
[mod] move to a more django oriented style of settings
2016-02-18 06:48:05 +01:00
Laurent Peuch
24b9883f02
[mod] same for error function
2016-02-18 06:44:12 +01:00
Laurent Peuch
4747366446
[mod] put cache.py in another file
2016-02-18 06:43:28 +01:00
Laurent Peuch
c95b0d0207
[mod] autopep8
2016-02-18 06:40:56 +01:00
Laurent Peuch
ac972dd62a
[mod] remove useless code
2016-02-18 06:40:05 +01:00
Laurent Peuch
0ed6d47ef0
[mod] trailing spaces
2016-02-18 06:39:49 +01:00
Julien Malik
a2ae29b5c7
[enh] put default gm settings in a global dict, can be overridden in root settings.yaml
2016-02-17 17:53:30 +01:00
Julien Malik
c23612e87b
[fix] be coherent, use -strip at the beginning of the pipeline always
2016-02-17 12:33:24 +01:00
Julien Malik
d522b6c25b
[enh] use gm -strip option
2016-02-17 12:33:24 +01:00