Commit Graph

41 Commits

Author SHA1 Message Date
Jaisen Mathai bb2b0496f7 Add --debug option for command line to override value in constants.py. #153 (#217) 2017-05-11 23:43:16 -07:00
Jaisen Mathai 8082b739af Fix bug where code makes assumption of 2 levels of folders in the update command. #206 (#207) 2017-04-01 16:26:29 +05:30
Jaisen Mathai 18b5c1336e Add exit codes to all public commands #157 (#184)
* Add exit codes to update and import command
* Add tests for _import and _update exit codes
2017-01-21 20:52:32 -08:00
Jaisen Mathai 78880a6020 Add support for directories as argument to update command #178 (#182) 2017-01-07 21:49:00 -08:00
misterpipine 328aed6dfd Fix test which checks for unicode characters in file path strings #162 (#166)
fix issue encountered when importing from a UTF-8 encoded filesystem with non-breaking spaces.
2016-12-26 08:20:12 -08:00
misterpipine 5dc31cf46f Fix encoding issue with unicode characters in file and path #162
fix issue encountered when importing from a UTF-8 encoded filesystem with non-breaking spaces.
* skip test because failure case cannot be established
2016-12-22 01:53:08 -08:00
Jaisen Mathai 64773655d2 Convert FileSystem.get_all_files to be a generator function 2016-12-19 21:59:58 -08:00
Jaisen Mathai 7c3f323c44 Closes gh-159 Remove RESULT as global variable in elodie.py 2016-12-15 01:24:04 -08:00
Jaisen Mathai 9ad7358198 gh-156 Add verify command to check all files for bit rot 2016-12-13 22:27:12 -08:00
Jaisen Mathai 475fbeb6aa Add result output for generate-db command 2016-12-13 22:26:36 -08:00
Jaisen Mathai bf24f9689a gh-154 Add command to regenerate the hash database 2016-12-13 00:08:08 -08:00
Jaisen Mathai e555222e2f Change variable name from file_path to current_file 2016-11-14 12:15:48 -08:00
Jaisen Mathai 33cc0e17ca gh-145 Add stats output block at the end of an update or import command. 2016-11-10 20:59:40 -08:00
Jaisen Mathai 5d9155b673 Use logger in elodie.py 2016-11-09 20:37:57 -08:00
Jaisen Mathai 92c3818720 gh-145 Check if destination is in source and skip import 2016-11-07 23:39:18 -08:00
Jaisen Mathai ea34ccbf6c gh-139 Update logic to set file access/modify time 2016-10-21 20:16:25 -07:00
Jaisen Mathai 051961db70 gh-136 Skip geolocation lookup if no key is found 2016-10-08 10:02:16 -07:00
Jaisen Mathai 341173e381 gh-129 Add --allow-duplicates flag for command line program 2016-09-07 21:08:13 -07:00
zserg af36de091e Python 3 compartibility added 2016-08-21 17:58:13 +03:00
Jaisen Mathai 77266a7bd4
gh-108 Add tests for the import_file function in elodie.py 2016-04-20 22:37:12 -07:00
Jaisen Mathai 5a82de0da0
gh-100 Add support for text files and associated tests 2016-04-12 00:06:22 -07:00
Nathan Ostgard c7a7f57b46 gh-79 Switched to click for argument parsing 2016-01-19 12:12:42 -08:00
Nathan Ostgard 4867d4d311 gh-69 Allow import to trash files 2016-01-09 16:57:38 -08:00
Nathan Ostgard ea6a125fef gh-60 Added --source and --file for backwards compatibility 2016-01-08 09:50:59 -08:00
Nathan Ostgard 198983156b gh-60 Accept a list of inputs instead of source/file arguments 2016-01-08 09:50:59 -08:00
Nathan Ostgard fa217e933b Added friendly errors when dependencies are not installed 2016-01-07 22:19:22 -08:00
Jaisen Mathai 58f0fadc07 gh-61 Add support for audio (m4a) files and accompanying tests 2016-01-03 22:10:56 -08:00
Jaisen Mathai 64695fea08 Fix import to use proper package name 2016-01-01 23:52:11 -08:00
Fabrice Laporte 02bae17e95 fix PEP8 warnings 2015-12-31 00:29:13 +01:00
Fabrice Laporte 636b43fca4 move some code out of _update() 2015-12-30 23:52:01 +01:00
Fabrice Laporte 5452aa9adb cleanup complex if/else conditions 2015-12-30 01:41:51 +01:00
Fabrice Laporte 8a7725f68e pythonify elodie.py
Remove C like parentheses around conditions.
Replace “xxx is None” => “not x”.
Use tuple when list content won’t change.
Fix some others PEP8 warnings.
2015-12-30 01:41:51 +01:00
Fabrice Laporte 4ca2013572 refactor duplicated code
the import code was duplicated in if/else branches and has been moved
into a specific import_file() function
2015-12-30 01:41:51 +01:00
Fabrice Laporte 4676c154b6 remove unused imports 2015-12-30 01:20:02 +01:00
Jaisen Mathai d4dde66375 Closes gh-36 Fix bug with old references to `Media.photo_extensions` and `Media.video_extensions` 2015-12-18 20:08:12 -08:00
Jaisen Mathai 3442f2cc46 gh-16 Add --album-from-folder parameter to elodie.py and media.set_album_from_folder method 2015-12-01 01:03:00 -08:00
Patrick Santana 06fe15afe6 Fix use of ~ 2015-12-02 23:07:23 +01:00
Jaisen Mathai f67314f6bc gh-2 Write to EXIF from earlier of modified or access time if no date is found in EXIF 2015-11-29 22:01:27 -08:00
Jaisen Mathai a7aee65ca0 Add initial screen to add config information 2015-11-19 02:31:32 -08:00
Jaisen Mathai a252a29c6b Add import support 2015-11-03 01:38:53 -08:00
Jaisen Mathai 816a95d0bc Combining import.py and update.py into elodie.py 2015-10-31 01:31:35 -07:00