Commit Graph

111 Commits

Author SHA1 Message Date
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
aaf3a7d13e read_markdown returns meta only if found, + add test. (Closes #120) 2014-10-15 23:43:53 +02:00
Antoine Pitrou
e5b7e53e51 Fix #118: allow passthrough of original files 2014-10-05 16:50:01 +02:00
Simon Conseil
a0ed5d88ff Use cached properties to simplify the access to exif metadata. 2014-09-27 00:35:42 +02:00
t.animal
4beee5e06a read exif only on access, sort with progress bar 2014-09-08 20:41:45 +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
Vikram Shirgur
9e92415a50 Allow destination to be read from option sepcified in config file.
Write error to log when destination doesn't exist and config is not available.

Add self to AUTHORS.

Remove logging from serve command due to issues with running test_cli.
Add test-case for 'serve' command.

Add docs for the serve command.
2014-09-05 00:13:02 +02:00
Simon Conseil
52ff2b947d Add warnings about imports in the settings file, to avoid breaking the
multiprocessing feature.
2014-09-04 22:49:01 +02:00
Simon Conseil
e7f9f91636 Replace argh with click. 2014-08-25 00:41:58 +02:00
Simon Conseil
e1d607ded8 This was not a good idea for Travis ... 2014-07-22 23:37:44 +02:00
Simon Conseil
054d1e2c00 Refactor subprocess calls for videos. 2014-07-22 23:00:24 +02:00
Simon Conseil
979e04a16c More tests. 2014-07-20 23:47:12 +02:00
Simon Conseil
71afbf5355 Adapt code to work with the latest changes on master. 2014-07-17 00:41:40 +02:00
Andreas Sieferlinger
b8733c68ec adding tests
easier accessible variables in templates
ticket #3 pull reequest #70
2014-07-16 23:03:15 +02:00
Andreas Sieferlinger
c070ad693b fixing some smaller issues for pull request #3 2014-07-16 23:03:15 +02:00
Simon Conseil
05f71e86e3 Add plugins in the test config file. 2014-06-07 22:32:45 +02:00
Simon Conseil
d6a196bcdd Better handling of album urls (quoting special caracters). 2014-04-08 00:07:20 +02:00
Simon Conseil
e8f6ad5533 Fix filenames for videos (fix #83). 2014-03-29 23:45:06 +01:00
Simon Conseil
45f6bcd2a0 Refactor test fixtures. 2014-03-29 22:56:47 +01:00
Simon Conseil
792bd0a6b5 Always use slashes for urls (ref #81). 2014-03-25 23:27:53 +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
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
2c40ae805a Use the original file order to build the list of medias. 2014-03-08 00:06:16 +01:00
Simon Conseil
09ff3b9b53 Update tests + small fixes. 2014-03-07 23:29:07 +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
2637f0d09d Fix whitespace issues with videos (fix #54). 2013-12-27 23:25:30 +01:00
Simon Conseil
9ddd49be4c Fix encoding issue in the init subcommand (fix #50). 2013-12-21 22:27:10 +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
8f45c2c1cd Fix encoding issue with accentuated files. 2013-12-17 00:19:46 +01:00
Simon Conseil
c0ce3d802a Some refactoring and optimizations for the PathsDb class. 2013-11-09 00:39:58 +01:00
Simon Conseil
440ef5f218 Add a setting to use symbolic links for original files (closes #36). 2013-10-17 00:17:06 +02:00
Simon Conseil
7916d5e4cc Refactor, tests and pep8 for the gallery module. 2013-10-14 00:39:41 +02:00
Simon Conseil
ed7903c26d Docstrings 2013-09-23 00:32:32 +02:00
Keith Johnson
236e6e9a33 Fix testcase for GPS info
GPS coordinates for the sample photo were incorrect in the test case. Found the correct coordinates from: http://regex.info/exif.cgi
2013-09-22 15:23:11 -04:00
Simon Conseil
29def4e0e8 More tests for get_thumb 2013-08-18 23:13:34 +02:00
Matthias Vogelgesang
e98b76f401 Add test case for GPS tags
This also adds a sample image licensed under CC-BY-NC from jerquiaga located at
Flickr: http://www.flickr.com/photos/jerquiaga/2394751088/
2013-08-14 10:27:08 +02:00
Matthias Vogelgesang
da4c9c4f6c Pass settings dictionary to generate_image
Reduce the amount of parameters to pass necessary to generate an image.
2013-08-04 14:34:54 +02:00
Matthias Vogelgesang
9dcacec2f5 Remove unused image processing parameters
This change removes the autoconvert and format parameters. In all call
situations they were either not set or set to the default value anyway.
2013-08-04 14:17:02 +02:00
Simon Conseil
93f5371209 oups, fix a broken test ... 2013-08-04 01:12:29 +02:00
Simon Conseil
cbb714d4d4 Put the galleria video css in the main css file 2013-08-04 01:08:59 +02:00
Simon Conseil
9ab3ef9af5 Correct themes design with long directory names (fix #20). 2013-08-04 00:56:43 +02:00
Matthias Vogelgesang
c0c9b29622 Insert 'exif' and 'raw_exif' keys into media_ctx 2013-08-01 09:39:54 +02:00
Matthias Vogelgesang
33e8538e1d Add a test case for copying EXIF data 2013-08-01 09:39:54 +02:00
Matthias Vogelgesang
77274f00cf Add test cases for zipping galleries 2013-07-30 09:00:38 +02:00