Commit Graph

434 Commits

Author SHA1 Message Date
Simon Conseil
45f6bcd2a0 Refactor test fixtures. 2014-03-29 22:56:47 +01:00
Simon Conseil
012758a77e Allow to customize the column width of the colorbox theme. 2014-03-26 23:43:50 +01:00
Simon Conseil
792bd0a6b5 Always use slashes for urls (ref #81). 2014-03-25 23:27:53 +01:00
Simon Conseil
ef9419c65b Don't create thumbnails and originals directories if the album has no medias. 2014-03-25 00:25:45 +01:00
Simon Conseil
7ddf297e25 New settings to filter directories and files with pattern matching (ref #63 #80). 2014-03-24 23:59:32 +01:00
Simon Conseil
fec2cd5d74 Fix locale. 2014-03-11 00:45:01 +01:00
Simon Conseil
4da1692812 Locale config for Travis 2014-03-11 00:20:25 +01:00
Simon Conseil
bf8fed7f7c Comment default value in the settings template. 2014-03-11 00:07:58 +01:00
Simon Conseil
07f0c42396 New setting to disable autorotation of images, and warn about the
incompatibility between autorotation and EXIF copy (ref #72).
2014-03-11 00:05:34 +01:00
Simon Conseil
befc3581c4 New settings to define the sort order for albums and medias (closes #2). 2014-03-10 23:47:36 +01:00
Simon Conseil
f23e87e39b Skip empty directories. 2014-03-08 23:36:12 +01:00
Simon Conseil
e9d4391389 Merge branch 'refactor' 2014-03-08 00:09:49 +01:00
Simon Conseil
a3938520d7 Update changelog 2014-03-08 00:06:17 +01:00
Simon Conseil
2c40ae805a Use the original file order to build the list of medias. 2014-03-08 00:06:16 +01:00
Simon Conseil
cffd5d2c63 Use directly the Album object in the template.
- This allows to use all attributes of the album object.
- The meaning of the theme variables is more explicit.
2014-03-08 00:06:16 +01:00
Simon Conseil
2d7ef288dd Fix to get thumbnail from sub-albums. 2014-03-07 23:29:07 +01:00
Simon Conseil
cc40cbc18b Documentation 2014-03-07 23:29:07 +01:00
Simon Conseil
09ff3b9b53 Update tests + small fixes. 2014-03-07 23:29:07 +01:00
Simon Conseil
ba2d19a13c Refactor the way to handle albums and medias. 2014-03-07 23:26:50 +01:00
Simon Conseil
24c584df1d Fix issue with ExposureTime Exif tag when it is not a tuple (ref #76). 2014-03-07 23:19:00 +01:00
Simon Conseil
98f08ccfe3 More checks and logging for thumbnails (ref #71). 2014-02-05 00:43:25 +01:00
Simon Conseil
70332ec37f Fix stupid mistake in previous commit (ref #68). 2014-02-04 00:02:48 +01:00
Simon Conseil
9d1c64bcdb Fix thumbnail path check for directories without images (ref #68). 2014-02-03 22:51:43 +01:00
Simon Conseil
d97c72beb2 Prepare next version. 2014-01-25 23:32:31 +01:00
Simon Conseil
f734ed2925 Bump 0.6.0 2014-01-25 23:29:05 +01:00
Simon Conseil
3426a1b404 Move check_or_create_dir to the utils module. 2014-01-16 00:16:01 +01:00
Simon Conseil
d5aa560932 New setting to copy files from the source directory to the destination (ref #48) 2014-01-15 23:58:13 +01:00
Simon Conseil
d3298a7a1d Improve logging when redirecting to a file (ref #61). 2014-01-05 00:53:37 +01:00
Simon Conseil
bf9272a56a Remove extra comma in the sample config file (fix #60). 2014-01-05 00:23:32 +01:00
Simon Conseil
e171f5847b Fix exif data not read from .JPEG files (fix #58). 2014-01-03 00:41:57 +01:00
Simon Conseil
0db6af840d Fix http server with python 3. 2014-01-03 00:24:38 +01:00
Simon Conseil
d97ad24ccf Use protocol-relative URLs (ref #57). 2014-01-03 00:15:35 +01:00
Simon Conseil
164a781ea9 Log subprocess errors if the command failed (fix #56). 2014-01-03 00:00:51 +01:00
Simon Conseil
2637f0d09d Fix whitespace issues with videos (fix #54). 2013-12-27 23:25:30 +01:00
Simon Conseil
e46c8d5b12 Update changelog and doc. 2013-12-26 18:34:44 +01:00
Simon Conseil
efcd60416c webm_options is now a list with ffmpeg options (ref #53).
To allow better flexibility and compatibility with avconv.
2013-12-26 16:43:47 +01:00
Simon Conseil
7ff39de8b2 Show ncpu error only if --ncpu is wrong (fix #52). 2013-12-22 16:11:22 +01:00
Simon Conseil
9ddd49be4c Fix encoding issue in the init subcommand (fix #50). 2013-12-21 22:27:10 +01:00
Simon Conseil
1385341b5a Add more debug logs with the settings dict and database. 2013-12-21 00:42:17 +01:00
Simon Conseil
16b113a716 Copy the options dict to avoid adding exif meta to the settings dict. 2013-12-21 00:20:29 +01:00
Simon Conseil
3232273a4c Fix the check for file extensions (fix #49). 2013-12-21 00:15:42 +01:00
Simon Conseil
e922e3bdb7 Should fix Travis this time. 2013-12-18 22:16:23 +01:00
Simon Conseil
0baf632a01 Limit the nb of cpu for the tests 2013-12-18 00:56:13 +01:00
Simon Conseil
94593c6ad8 Refactor, move process_image/video in the image/video modules. 2013-12-18 00:37:00 +01:00
Simon Conseil
5a3252052d Dont use multiprocessing with one cpu. 2013-12-18 00:37:00 +01:00
Simon Conseil
8f45c2c1cd Fix encoding issue with accentuated files. 2013-12-17 00:19:46 +01:00
Simon Conseil
1547abf6a8 Add a colored formatter for verbose and debug modes. 2013-12-17 00:01:57 +01:00
Simon Conseil
e7f5861b75 Remove clint dependency. 2013-12-16 22:45:25 +01:00
Simon Conseil
53cb268cab Merge branch 'multiprocessing' 2013-12-16 22:41:39 +01:00
Simon Conseil
b7d5244a21 Refactor to handle KeyboardInterrupt and avoid using the pool for one process. 2013-12-16 22:33:25 +01:00