Commit Graph

540 Commits

Author SHA1 Message Date
Simon Conseil
33f7d331d0 Add the media_page plugin to the docs. 2014-12-06 23:11:06 +01:00
Simon Conseil
bfbf07a4b2 Cleanup. 2014-12-06 22:46:44 +01:00
Simon Conseil
40a81bf79e Decrease logs level for the parsing of exif tags (ref #127). 2014-12-06 22:20:11 +01:00
Simon Conseil
ab9860b3f3 Merge pull request #126 from jrstarke/f_media_pages
Added the ability to generate media pages
2014-12-06 22:04:02 +01:00
Jamie Starke
3323a3bdea Merged the colorbox media page theme into colorbox 2014-11-24 22:17:59 -08:00
Simon Conseil
5158fd89d4 Enhance documentation for album information (fix #123). 2014-11-23 22:59:44 +01:00
Simon Conseil
889714cdc0 Minor simplification. 2014-11-23 22:32:12 +01:00
Simon Conseil
dbc92d136d Test if title is already unicode. 2014-11-23 16:02:23 +01:00
Simon Conseil
d42915a1ca Fix the title which was not unicode when using the settings file (fix #104). 2014-11-23 15:53:09 +01:00
Simon Conseil
dcb91cbf60 Add more info on how the report a bug or contribute (ref ##128). 2014-11-09 01:00:31 +01:00
Simon Conseil
9ed733be6c Add more commands to the Makefile. 2014-11-09 00:04:17 +01:00
Simon Conseil
e676d35a4d Add boto dependency for the S3 plugin. 2014-11-09 00:03:41 +01:00
Simon Conseil
e2cfbb08f1 Use a simpler version of the cached_property decorator.
From https://github.com/pydanny/cached-propertyi. This fixes an issue with
docstrings.
2014-11-09 00:01:22 +01:00
Simon Conseil
797e601775 Merge pull request #125 from jrstarke/s3_cache_control
Added Cache Control metadata to S3 upload
2014-10-29 14:05:58 +01:00
Jamie Starke
3ec6667e8c Added Cache Control metadata to S3 upload
Added two new properties for the S3 Upload plugin, allowing to
set the default S3 cache control header, and to set for media
types (jpg, png, webm).

These properties are then used to generate the max-age property
when uploading to S3, or when checking against existing files
2014-10-26 19:53:33 -07:00
Jamie Starke
cd8f4d02c4 Added the ability to generate media pages
- New optional parameter added to `Writer.__init__` to specify
the template file
- modified version of colorbox theme created that supports
generating media pages and linking to them (if javascript
is not supported)
- `media_page` plugin created that responds to the `gallery_build`
signal, and generates pages for each media element based on
the media.html template, including links to the next and
previous image (if applicable)
2014-10-26 14:29:27 -07:00
Simon Conseil
53b657d9ab Merge branch 'pr/120' (ref #120). 2014-10-15 23:45:35 +02:00
Simon Conseil
aaf3a7d13e read_markdown returns meta only if found, + add test. (Closes #120) 2014-10-15 23:43:53 +02:00
Simon Conseil
746bc25b7b Add coveragerc and badge. 2014-10-15 22:55:02 +02:00
Simon Conseil
0d0de4df12 Add coveralls.io 2014-10-15 22:38:16 +02:00
Simon Conseil
f4bd825ea1 Merge branch 'pr/114' (ref #114). 2014-10-15 22:08:40 +02:00
Jonas Kaufmann
8472126a07 Improvements for upload to s3 plugin
- All files in the sigal build directory are now uploaded instead of manually building file list. This makes the plugin more robust for future changes.
- Added progressbar to check upload progress
- Added option to set a S3 permission policy (for example public-read or private) on all uploaded files
- Added option to skip files that were already uploaded before
- Added plugin to documentation
- Added plugin settings to default configuration template
2014-10-15 08:53:44 +02:00
Jonas Kaufmann
b1ecbd2ff1 Added plugin to upload generated gallery to Amazon S3 2014-10-15 08:53:44 +02:00
Simon Conseil
119e16e57f Merge pull request #115 from j0nes2k/setting_output_filename
Added settings to give a different output filename than index.html
2014-10-15 00:45:08 +02:00
Kai Fricke
594ed8825d Handling of empty markdown or missing meta-data
Respect markdown files which do not contain any meta-data.
2014-10-13 16:14:55 +02:00
Jonas Kaufmann
29e1779264 Using output filename from settings directly instead of parameter 2014-10-11 20:51:29 +02:00
Simon Conseil
90876fbdc8 Include plugins in the distributed package (ref #117). 2014-10-08 00:05:30 +02:00
Simon Conseil
ca12226383 Merge pull request #119 from pitrou/passthrough
Fix #118: allow passthrough of original files
2014-10-07 23:34:48 +02:00
Antoine Pitrou
f0583172ab Add myself to AUTHORS 2014-10-05 16:51:46 +02:00
Antoine Pitrou
e5b7e53e51 Fix #118: allow passthrough of original files 2014-10-05 16:50:01 +02:00
Jonas Kaufmann
0285a0ebab Added settings to give a different output filename than index.html 2014-09-28 21:52:45 +02:00
Simon Conseil
81d898040c Fix unicode no more exist on py3. 2014-09-27 00:43:37 +02:00
Simon Conseil
a0ed5d88ff Use cached properties to simplify the access to exif metadata. 2014-09-27 00:35:42 +02:00
Simon Conseil
962a785dd0 Merge branch 'remove-failed-files' 2014-09-27 00:09:07 +02:00
Simon Conseil
307e2aa0f6 Move Devnull to the utils module. 2014-09-27 00:06:38 +02:00
Simon Conseil
5215451d96 Add failed files to the cli summary. 2014-09-27 00:03:59 +02:00
Simon Conseil
9743cce90a Remove files that can't be processed for some reason (fix #112). 2014-09-27 00:03:59 +02:00
Simon Conseil
b5b3e83343 Add missing label for the progressbar with 1 core. 2014-09-17 00:15:09 +02:00
Simon Conseil
08fa413026 Skip files that don't exist in the ZIP archiving (ref #110). 2014-09-16 00:17:18 +02:00
Simon Conseil
7585a195b2 pep8 2014-09-15 21:38:43 +02:00
Simon Conseil
830315db8c Merge pull request #109 from t-animal/master
Speed up startup and introduce progress bars
2014-09-10 00:14:57 +02:00
Simon Conseil
6997209f7b Improve subprocess error handling. 2014-09-09 23:28:22 +02:00
t.animal
9c2cb0ef1b don't display progress bars in verbose modes 2014-09-08 20:43:53 +02:00
t.animal
4beee5e06a read exif only on access, sort with progress bar 2014-09-08 20:41:45 +02:00
t.animal
b8863c6e88 show progress (spinners & bars) 2014-09-08 20:40:57 +02:00
Simon Conseil
4c3a35c66f Change where the original copy is done and add a test for this. 2014-09-08 00:09:29 +02:00
Simon Conseil
038b10d772 Use the correct filename for original videos (fix #111). 2014-09-07 23:16:09 +02:00
Simon Conseil
fa7f9d9528 Check that the file exists before removing. (fix #110) 2014-09-07 23:09:53 +02:00
Simon Conseil
3f340573ce Merge pull request #107 (from branch 'pr/107') 2014-09-05 00:15:19 +02:00
Vikram Shirgur
d90091071b Truncate long lines to < 80 chars. 2014-09-05 00:13:11 +02:00