Commit Graph

90 Commits (cc081a921d39f34624e079854f3d542e20770e81)

Author SHA1 Message Date
Dan Puttick 9832101c85 Identify TODOs that are log related 2017-03-15 21:06:06 -04:00
Dan Puttick 781d0a76af First working version with methods in File object
- All tests now passing with file handling methods on File object
instead of Groomer object.
- Logging functionality still isn't finished.
2017-03-15 21:06:06 -04:00
Dan Puttick 9aafe6e518 Remove cur_file from methods in File object 2017-03-15 21:06:06 -04:00
Dan Puttick 3d36c90d66 Make list_all_files a public method 2017-03-15 21:04:57 -04:00
Dan Puttick 4a99ba900a Make self.get_extension return a value 2017-03-15 21:04:57 -04:00
Dan Puttick c6ecc5e3a3 Fix process_dir bug in filecheck tests 2017-03-15 21:04:57 -04:00
Dan Puttick bfa257534a Remove old data/ path stuff from helpers.py 2017-03-15 21:04:57 -04:00
Dan Puttick 61aa14c98d Change _write_log to _print_log 2017-03-15 21:04:57 -04:00
Dan Puttick 9d2f5c7241 Add .jpg test file, testfile_directory.md
- Also fixed a bug with metadata code
2017-03-15 21:04:57 -04:00
Dan Puttick 7d62238270 Hacks to make tests pass before fixing 2017-03-15 21:04:57 -04:00
Dan Puttick 1cf8a62f46 First commit with Logger object
- Made logger object
- Moved some logger related code from Groomer to Logger
- Changed logging related tests
- Filecheck tests still do not pass
2017-03-15 21:04:57 -04:00
Dan Puttick 92d1b1cd93 Refactor metadata processing code 2017-03-15 21:01:28 -04:00
Dan Puttick e2af701ac9 Remove several pieces of unused code
* Remove python 2 KittenGroomerBase.tree
* Remove default source and dest from KittenGroomerFileCheck
* Remove unused sys import
2017-03-15 21:01:28 -04:00
Dan Puttick 774095d95a Fix list_all_files docstring 2017-03-15 21:01:28 -04:00
Dan Puttick 0be926c0eb Reorganize KittenGroomerBase __init__ 2017-03-15 21:01:28 -04:00
Raphaël Vinot 515687b1fe Generate SHA256 hash instead of SHA1. 2017-03-10 12:20:57 +01:00
Dan Puttick d06832e524 Remove kittengroomer/data/ 2017-01-19 16:11:58 -05:00
Dan Puttick f7ab393eb6 Refactor FileBase helper methods 2017-01-18 15:51:54 -05:00
Dan Puttick d4bfe794be In FileBase, self.extension is now always lowercase 2017-01-18 15:51:54 -05:00
Dan Puttick 09973488eb Added small comment to helpers.py 2016-12-16 16:10:59 -05:00
Dan Puttick 0364e038e1 Added unit tests for KittenGroomerBase 2016-12-14 15:44:59 -05:00
Dan Puttick 27d15254f4 Added/changed docstrings for KittenGroomerBase 2016-12-12 17:03:38 -05:00
Dan Puttick 62a7f680b4 Added/changed docstrings to FileBase 2016-12-09 11:28:38 -05:00
Dan Puttick 146f258e54 Refactored mimetype code into its own method 2016-12-09 11:28:38 -05:00
Raphaël Vinot abb565094c Fix py3 support 2016-05-10 17:16:04 +02:00
Raphaël Vinot 3efa57f0e2 write logfile as binary, use system packages when possible 2016-05-09 18:56:30 +02:00
Raphaël Vinot f69ac5ae2e Better support of badly encoded names 2016-05-09 18:32:45 +02:00
Eleanor Saitta ca90a08159 Initial working version of EXIF splitting and image format validation by round-trip conversion. 2015-12-10 00:06:36 -05:00
Raphaël Vinot d6476dab38 Do not fail on broken symlink 2015-11-24 18:13:41 +01:00
Raphaël Vinot 936fc2c2a2 Proper handling of symlinks 2015-11-24 17:45:06 +01:00
Raphaël Vinot 43e8e3791b Fix logging 2015-11-24 11:49:28 +01:00
Raphaël Vinot 6e484aa1f7 Add logging of the FS tree. 2015-11-23 19:54:29 +01:00
Raphaël Vinot 03f1d90f33 Code de-dupication 2015-11-05 15:34:22 +01:00
Raphaël Vinot 531ab43dae Improve debug, add list of malicious ext 2015-11-05 00:10:30 +01:00
Raphaël Vinot 8d21936fb5 Add function to force the extension of the copied file 2015-11-02 17:59:32 +01:00
Raphaël Vinot 5d848f4787 Add script for specific purposes, add testcase 2015-10-26 17:11:36 +01:00
Raphaël Vinot 84b004c8a9 Better support of PDF/PS docs 2015-05-31 15:36:36 +02:00
Raphaël Vinot dcc3c7eda8 WIP: Start unoconv as a listener. 2015-05-26 18:08:57 +02:00
Raphaël Vinot ac372dc59d Fix completely buggy mimetype/extension xcheck 2015-05-17 15:58:59 +02:00
Raphaël Vinot e9d76adb42 Initial commit 2015-05-11 14:32:59 +02:00