Commit Graph

315 Commits (1af32b5414c2bfe40342f81921db591c7cf8290e)

Author SHA1 Message Date
Dan Puttick 1af32b5414 Update changelog and setup.py for 2.2 2017-10-01 23:12:17 -04:00
Dan Puttick a22127a66a Add tox to dev-requirements 2017-10-01 22:45:47 -04:00
Dan Puttick 3e6f1af2be Move config back into filecheck temporarily 2017-08-25 20:20:08 -04:00
Dan Puttick 99a2882874 Add filecheck to packages in setup.py 2017-08-25 19:18:41 -04:00
Dan Puttick 5f8c4615f0 Remove failing nightly build from Travis 2017-08-22 17:49:48 -04:00
Dan Puttick e0cad3a7f0 Add application/audio mimetypes to Config 2017-08-22 17:38:04 -04:00
Dan Puttick d80fb6d33a Add alias for .ogg files 2017-08-22 17:13:33 -04:00
Dan Puttick 77e0d55f95 Add comment clarifying 7zip command 2017-08-11 20:02:05 -04:00
Dan Puttick a1585113cd Fix issue with rar mimetypes
* Also removed some xfails from file catalog for tests that are now passing
2017-08-11 18:41:00 -04:00
Dan Puttick 7b275c7e6f Rename bin/ to filecheck/ 2017-08-10 18:12:30 -04:00
Dan Puttick 058a446d78 Fix log for symlinks to files that don't exist 2017-08-07 17:57:42 -04:00
Dan Puttick 5ca1f70fe2 Add dev requirements to Makefile 2017-08-07 17:22:27 -04:00
Dan Puttick f065d6ef23 Typo in Makefile 2017-08-07 17:19:49 -04:00
Dan Puttick 21a3feb40d Add condition skip to filecheck logging tests 2017-08-07 17:18:15 -04:00
Dan Puttick 8c4ed4617a Fix description string in filecheck.py 2017-08-07 17:17:59 -04:00
Dan Puttick 27ca31ffd2 Update install and contributing.md 2017-08-07 17:17:10 -04:00
Dan Puttick d03b634988 Add Makefile 2017-08-07 17:11:58 -04:00
Dan Puttick bc8dd10813 Update README 2017-08-07 16:25:36 -04:00
Dan Puttick bc1ecf83ab Add run_filecheck_single_file.py to scripts/ 2017-08-07 15:24:17 -04:00
Dan Puttick d86f1f78f9 Fix line wrapping in helpers.py 2017-08-07 12:09:22 -04:00
Dan Puttick 7db95c3889 Set exec bits to 0 in safe_copy 2017-08-07 11:48:32 -04:00
Dan Puttick e20035e325 Fix description for ooxml files 2017-08-04 16:31:52 -04:00
Dan Puttick 17b453af20 Return 'no description' instead of empty string 2017-07-27 17:06:23 -04:00
Dan Puttick c1d3457562 Move writing to log from File to Groomer 2017-07-27 17:06:23 -04:00
Dan Puttick 05179a7272 Redundant description for ooxml files 2017-07-27 17:06:22 -04:00
Dan Puttick 37fc204b18 Fix regression with application mimetypes 2017-07-27 17:06:22 -04:00
Dan Puttick 51bfaa1ff5 Move should_copy back to edge of call graph 2017-07-27 17:06:22 -04:00
Dan Puttick 538f7acc04 Move filecheck config into a separate file 2017-07-27 17:06:22 -04:00
Dan Puttick c87f483015 Slightly refactor File.check() 2017-07-27 17:06:22 -04:00
Dan Puttick 60bd5362c1 Add normal word doc to file_catalog 2017-07-27 17:06:15 -04:00
Dan Puttick 00ac5da5f7 Move Example.svg from normal to dangerous 2017-07-24 16:29:34 -04:00
Dan Puttick f71eecbae1 Re-add the zoo to Travis build 2017-07-20 18:40:16 -04:00
Dan Puttick 159bc9cee2 Add __repr__s to File and KittenGroomerFileCheck 2017-07-20 18:40:16 -04:00
Dan Puttick 92d77e1a82 Revert change to magic.from_file 2017-07-20 18:40:16 -04:00
Dan Puttick c3fed019ab Fix travis build 2017-07-20 18:40:16 -04:00
Dan Puttick 4bc113cefa Open file and magic.read_buffer in helpers.py 2017-07-20 18:40:16 -04:00
Dan Puttick cc5d1e5117 Fix issue with hashing symlinks to directories 2017-07-20 18:40:16 -04:00
Dan Puttick 3eff10fbcd Unicode error check travis 2017-07-20 18:40:16 -04:00
Dan Puttick 4205d57dec Fix logging for errors and symlinks 2017-07-20 18:40:16 -04:00
Dan Puttick 9ad04da755 Move filecheck logging tests back into tests/
* Add tests/logging/ directory with sample files
2017-07-20 18:40:16 -04:00
Dan Puttick dee35a5331 Fix description string behavior
* Make description string property return a string instead of array
2017-07-20 18:40:16 -04:00
Dan Puttick fe82a5ac0d Change rest of lists in Config to tuples 2017-07-20 18:40:16 -04:00
Dan Puttick 5527cbeeb7 Add main() to logging test file 2017-07-20 18:40:16 -04:00
Raphaël Vinot 338bd5a018 Merge pull request #16 from dputtick/dev
Bug fixes, test file catalog, refactoring
2017-07-18 14:03:22 +02:00
Dan Puttick 35eb8ea8ab Fixups for PR #16
* ObjectPool winoffice files are now make_dangerous
* safe_copy now catches IOErrors only
* Use os.makedirs(exist_ok=True) instead of checking for existence in safe_copy
and create_metadata_file
* Added stubs for two tests related to safe_copy
2017-07-17 14:52:22 -04:00
Dan Puttick 0c35885f17 Prevent copying MacOS hidden files 2017-07-17 10:22:46 -04:00
Dan Puttick 5aaeac6f16 Refactor FileBase.extension 2017-07-17 10:10:21 -04:00
Dan Puttick fcbf2e6574 Add tests for force_ext and groomer 2017-07-17 09:17:20 -04:00
Dan Puttick 814f7b84a1 Temporarily disable 42.zip in travis build 2017-07-16 20:18:05 -04:00
Dan Puttick 9761d44eda Temporarily remove 42.zip from dangerous/
* When running the tests locally, difficult to unzip 42.zip. Also, there's
no need for such a complicated archivebomb example. We can prove the same
effectiveness against archivebombs with a file like archivebomb.zip
2017-07-16 18:42:23 -04:00