Jaisen Mathai
8950f756fe
Make reset_dbs() / restore_dbs() more robust #260 ( #263 )
...
* Make reset_dbs() / restore_dbs() more robust
If reset_dbs() is called and the test errors restore_dbs() is not called. On Windows this leads to an error the next time they're called because ~/hash.json-test and ~/location.json-test still exist.
* Add rename function to compatability module for 2.7 support
2017-12-06 15:46:00 -08:00
Jaisen Mathai
4cd91e9f2d
Add support for camera make and model in directory path #254 ( #255 )
2017-11-14 23:14:26 -08:00
Jaisen Mathai
362b1b1363
Add tests to reproduce error when source path has folder component of numbers #239 ( #241 )
2017-10-31 23:22:03 -07:00
Ruben Koster
fd3cab4035
Fix tests on docker by installing exiftool #248 ( #249 )
...
* Install exiftool 10.20 (just like in .travis.yml)
* Configure locales fixes #248
2017-09-09 22:22:30 -07:00
Ove Stavnås
f23894d426
fix problem when no geolocation key is provided and invalid dict is cached #214 ( #233 )
...
* fix problem when no geolocation key is provided #214
2017-09-07 16:59:16 -07:00
Peter Tiedemann
c43570ffac
Clarify config.ini usage ( #243 )
2017-08-27 22:53:24 -07:00
Adam Candy
fbc7b04ef2
Fix bug so process_file will set access time on destination instead of source. Closes #237 ( #238 )
2017-08-06 14:29:34 -07:00
Ove Stavnås
e5e811b215
Fix bug with fallback values in full_path variables in config.ini ( #234 )
...
* Add test for gh-234
* Force flush of cached configs in test
2017-08-06 14:26:28 -07:00
Jaisen Mathai
00ba7e2604
Add tests to verify unicode checkmark in file name is handled correctly. #226 ( #227 )
2017-07-11 21:11:51 -07:00
Jaisen Mathai
1535db5aa4
Temporarily disable tests for send2trash until new pip package is released #230 . ( #231 )
...
See hsoft/send2trash/pull/11 for details
2017-07-11 21:04:28 -07:00
Jaisen Mathai
754897bafe
Update Readme to include logo
2017-07-11 20:29:19 -07:00
Michael Manganiello
dc95a14e5e
Use bash as Docker's executable command ( #222 )
...
Change `sh` to `bash`, as `sh` is provided by `dash` in Debian, and it lacks
some features (like arrows movement) that makes it easier to use elodie from
the shell
2017-05-16 22:54:35 -07:00
Jaisen Mathai
efd1a1ca13
Update docs to add headers and remove graphics ( #220 )
2017-05-12 23:59:53 -07:00
Jaisen Mathai
793f353bc3
Remove GUI instructions from Readme (temporary) #169 ( #218 )
2017-05-12 23:47:14 -07:00
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
a6b805207b
Fix documentation error for directory syntax in config.ini. #215 ( #216 )
2017-05-11 20:41:16 -07:00
Jaisen Mathai
8f9c7fc348
Fix docs to remove "kkkk" (thanks, vim) #212 ( #213 )
2017-04-13 00:09:16 -07:00
Jaisen Mathai
9be5ab13fc
Skip copying file if source is identical to destination. #210 ( #211 )
...
This prevents a zero byte file from being written
2017-04-12 23:42:44 -07:00
Jaisen Mathai
e3123872c4
Add fallback folder support when configuring folder hierarchy. #199 ( #209 )
...
* add test
2017-04-12 23:33:18 -07:00
Jaisen Mathai
6777c32588
Do not store "Unknown Location" in the location.json database. #203 ( #208 )
2017-04-08 02:10:55 +05:30
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
74d8675b20
Add support for multiple levels of folders. #199 ( #205 )
...
* Use original name from EXIF instead of parsing assumed file name format. #107
* Updates to docs and code
2017-03-30 19:43:34 +05:30
Jaisen Mathai
f7be8f323f
Use original name from EXIF instead of parsing assumed file name format. #107 ( #202 )
2017-03-16 23:43:47 -07:00
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