435 Commits

Author SHA1 Message Date
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
Laurent Peuch
03be960b98 Merge pull request #27 from julienmalik/fix_readme_perms
[fix] fix permissions of README.md
2016-02-19 09:32:52 +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
70bb6b94e9 [enh] add a .gitignore 2016-02-18 15:42:43 +01:00
Julien Malik
0dd6e39b74 [doc] document gm settings customization. also fix some typos. 2016-02-18 15:28:53 +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
Laurent Peuch
d9aa086f2b Merge pull request #24 from julienmalik/fix_settings
[fix] individual images can override global settings, not the other way around
2016-02-18 09:16:05 +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
677cd14c7e [mod] show how to use settings in settings.yaml 2016-02-18 08:29:40 +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
Julien Malik
3818012f91 [fix] quality and autoorient need to be in the cache 2016-02-17 12:33:24 +01:00
Julien Malik
a3a1451a5c [enh] allow to customize gm quality in root settings 2016-02-17 12:33:24 +01:00
Julien Malik
cecc95ea6a [enh] allow the use of auto-orient gm settings to autofix orientation of pictures during build (default False) 2016-02-17 12:33:24 +01:00
Laurent Peuch
e21a6bf5c3 Merge pull request #21 from julienmalik/fix19
[fix] embed thumbnail size in their filename (fix #19)
2016-02-17 11:20:59 +01:00
Julien Malik
1fb1dff47f [fix] embed thumbnail size in their filename (fix #19) 2016-02-17 11:12:07 +01:00
Laurent Peuch
c7b1628ee0 Merge remote-tracking branch 'julienmalik/typo'
Conflicts:
	prosopopee/prosopopee.py
2016-02-16 10:11:30 +01:00
Laurent Peuch
9463c4c83c [doc] more precis documentation about the static: entry 2016-02-16 10:05:21 +01:00
Laurent Peuch
118fb13bee [mod] update example 2016-02-16 09:56:31 +01:00
Laurent Peuch
81bd497e6b [mod] trailing spaces 2016-02-16 09:56:20 +01:00
Laurent Peuch
ed84052178 [mod] dedent 2016-02-16 08:51:46 +01:00
Laurent Peuch
1a14f79d19 [mod] retab 2016-02-16 08:51:10 +01:00
Laurent Peuch
85311e928e [mod] remove blank line 2016-02-16 08:50:04 +01:00
Laurent Peuch
43a235b9b4 [mod] add comment for reference 2016-02-16 08:49:03 +01:00
Laurent Peuch
cbf86ae55b [mod] remove indentation 2016-02-16 08:47:54 +01:00
Laurent Peuch
8b35886c2c [mod] add error message for usability 2016-02-16 08:44:42 +01:00
Laurent Peuch
4dcce1fcd2 [mod] simplify code 2016-02-16 08:43:46 +01:00
Laurent Peuch
c1b25f5189 [mod] remove trailing spaces 2016-02-16 08:41:53 +01:00
Laurent Peuch
c7606f5eed Merge remote-tracking branch 'abeudin/master' 2016-02-16 08:38:00 +01:00
Julien Malik
935650a329 typo 2016-02-15 11:59:09 +01:00
Adrien Beudin
59a3d4cd71 update settings menu 2016-02-13 11:24:37 +01:00
Adrien Beudin
55def9c4a8 add external link in menu and more easier config 2016-02-13 11:21:51 +01:00
Adrien Beudin
4bb171b91a add tags in README 2016-02-11 23:26:34 +01:00
Adrien Beudin
419ce00c0e fix tags 2016-02-11 23:19:24 +01:00
Adrien Beudin
5aa2f4f96b update doc and exemple 2016-02-11 23:14:22 +01:00
Adrien Beudin
9f51abaeaf Add tags and new features for menu 2016-02-11 22:54:27 +01:00