Commit Graph

333 Commits

Author SHA1 Message Date
Jaisen Mathai 31db4e661a Return dictionary with "Unknown Location" instead of string when location is not found #106 (#201) 2017-03-15 22:43:21 -07:00
Jaisen Mathai 56f0b1e170 Fix unicode decoding bug in compatability.py and add_original_name.py (#194) 2017-01-24 00:25:52 -08:00
Jaisen Mathai ed1dbc6c9a Normalize title before updating EXIF #017 (#193) 2017-01-23 00:23:49 -08:00
Jaisen Mathai ce98e89c65 Change source to path and check if media is None #107 (#192) 2017-01-22 23:54:28 -08:00
Jaisen Mathai 84251d276e Fix bug in tool and add __init__.py #107 (#191) 2017-01-22 23:42:31 -08:00
Jaisen Mathai 15cfe61e03 Add tool to retroactively add OriginalFileName to all files in library #107 (#190) 2017-01-22 23:18:28 -08:00
Jaisen Mathai 0864f58a12 Add original file name methods to text and media class #186 (#187) 2017-01-22 00:19:44 -08:00
Jaisen Mathai 4a7df2d57d Add improved copy method for large files #173 (#189) 2017-01-21 21:21:03 -08:00
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 2e0a59b7d8 Check if string is unicode before encoding (#180) 2017-01-08 14:43:01 -08:00
Jaisen Mathai 78880a6020 Add support for directories as argument to update command #178 (#182) 2017-01-07 21:49:00 -08:00
Jaisen Mathai 26c9b85457 Fixed nesting in documentation for custom folder paths 2017-01-07 13:24:49 -08:00
Jaisen Mathai 2b06610ff3 Fix typo that is included in documentation links 2017-01-07 13:15:13 -08:00
Jaisen Mathai c10cb21cd8 Add documentation for customizing the folder structure #5, #107, #111, #161 (#181) 2017-01-07 13:11:40 -08:00
Jaisen Mathai a48a2edb62 Fix bug where zero value for latitude/longitude causes error gh-171 (#176) 2017-01-03 00:49:56 -08:00
Jaisen Mathai 9fd03f0729 Fix tests for reset/restore dbs function moved to helper module (#175) 2017-01-02 21:14:21 -08:00
Terence Eden cd5ba92b0b Support user defined folder structure (#5) (#160)
* Custom date directories
* Add config module to parse ini files
* Add method/tests to get a customizable folder path
* Cache path definition
* Initial working version of custom paths
* Add Directory values in sample config
* Refactoring location parsing logic and adding tests
* Remove unused functions
* Add documentation to parse_mask_for_location
* Remove commented out code
* Add tests for migrating old location db to new
2017-01-02 20:58:52 -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
Jaisen Mathai 0c1aa2954e gh-121 Add test to check --trash argument (#165) 2016-12-22 21:35:15 -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 5b4c74280a Merge pull request #163 from jmathai/use-generator
Convert FileSystem.get_all_files to be a generator function
2016-12-19 22:04:00 -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 a7c9a5ffbd Merge pull request #158 from jmathai/regen-stats
Add command to check all files for bit rot
2016-12-15 01:31:34 -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 a82114818f Merge pull request #155 from jmathai/regenerate-db-gh-154
Add command to regenerate the hash database
2016-12-13 00:18:59 -08:00
Jaisen Mathai bf24f9689a gh-154 Add command to regenerate the hash database 2016-12-13 00:08:08 -08:00
Jaisen Mathai 9950e8099a Add link to get sample chapter 2016-12-09 00:19:12 -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 86313ed8d4 Merge pull request #151 from jmathai/add-logger
Use logger in elodie.py
2016-11-09 20:42:29 -08:00
Jaisen Mathai 5d9155b673 Use logger in elodie.py 2016-11-09 20:37:57 -08:00
Jaisen Mathai 3fc43c97bd Merge pull request #150 from jmathai/add-logger
Add log module and tests
2016-11-09 20:20:01 -08:00
Jaisen Mathai a1d3cb35fc Add log module and tests 2016-11-09 20:07:44 -08:00
Jaisen Mathai 8eaba9e98c Merge pull request #149 from jmathai/add-safeguards-gh-145
gh-145 Check if destination is in source and skip import
2016-11-07 23:44:15 -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 7edcfed421 Merge pull request #148 from jmathai/add-audio-file-tests-gh-61
Enable tests for audio and video files which were disabled for TravisCI
2016-11-07 23:38:33 -08:00
Jaisen Mathai 1bc13675da gh-27 Enable non-ascii tests for audio and video 2016-11-07 23:31:36 -08:00
Jaisen Mathai cb52210077 gh-61 Enable tests for audio files 2016-11-07 23:27:32 -08:00
Jaisen Mathai 3f1efe96ad Merge pull request #146 from jmathai/geolocate-test
Add geolocation tests
2016-11-07 20:53:15 -08:00
Jaisen Mathai 852850d2e6 gh-145 Fix configparser unit test error for python 2 and 3 2016-11-07 20:47:16 -08:00
Jaisen Mathai e4043a04b8 Add geolocation tests 2016-10-29 23:54:27 -07:00
Jaisen Mathai 16f4025179 Merge pull request #144 from jmathai/geolocate
Refactor geolocation module and tests
2016-10-25 22:32:09 -07:00
Jaisen Mathai 69467e6433 Refactor geolocation module and tests 2016-10-25 22:20:16 -07:00
Jaisen Mathai df6d80934b Merge pull request #141 from jmathai/phifogg-gh-139
Remove `copy2()` and replace with `copy()` and `utime()`
2016-10-25 20:56:27 -07:00
Jaisen Mathai ea34ccbf6c gh-139 Update logic to set file access/modify time 2016-10-21 20:16:25 -07:00
Daniel Dräs f00d8b8744 gh-139 added change requests 2016-10-21 17:17:00 -07:00
Daniel Dräs 56847511b9 gh-139 Add files via upload
added hours, minutes and seconds
2016-10-21 17:16:36 -07:00
Daniel Dräs 54f3fac155 gh-139 Target Directory on NAS 2016-10-21 17:16:22 -07:00