Commit Graph

331 Commits (87e734b567a6b846db9eed367002564abd513e91)

Author SHA1 Message Date
Raphaël Vinot 87e734b567
Merge pull request #25 from seamustuohy/empty_txt_files
Don't mark empty files as dangerous.
2019-07-27 20:38:43 +02:00
seamus tuohy c45617c35f Don't mark empty files as dangerous.
This commit stops filecheck from marking empty files as dangerous.
The current code sees the MIMETYPE difference between None and the expected
mimetype as dangerous. But, empty files are just empty, not dangerous.
2019-07-27 12:15:04 -04:00
Raphaël Vinot 0a2c78bd76 chg: Bump dependencies
Fix CVE-2019-11324 (urllib3)
2019-04-19 22:15:08 +02:00
Raphaël Vinot 06d509b335 fix: Travis build improvements 2019-03-18 15:06:07 +01:00
Raphaël Vinot e83acd5d00 fix: Avoid failing on files with aliased mimetypes. 2019-03-18 14:55:45 +01:00
Raphaël Vinot 0fb7242472 chg: Bump Dependencies 2019-03-18 13:23:23 +01:00
Raphaël Vinot 3466553a04 chg: Bump PDFid 2019-02-10 19:54:00 +01:00
Raphaël Vinot 7f7dec2058 chg: Use pipenv. 2019-02-10 18:19:50 +01:00
Raphaël Vinot da8cd5fa6d chg: Bump Changelog 2018-01-29 17:13:48 +01:00
Raphaël Vinot 91e3f8ad5d chg: Force python3 in filecheck 2018-01-29 17:12:12 +01:00
Raphaël Vinot 56f0ebb442 chg: Put all open in with statements 2017-12-21 16:06:41 +01:00
Raphaël Vinot 9d65f2b79c chg: Give more time to travis to run 2017-12-21 14:15:58 +01:00
Raphaël Vinot 67c650e3a0 fix: Also skip non-existing files. 2017-12-21 13:47:46 +01:00
Raphaël Vinot 32a9197b88 fix: Properly handle images and directories 2017-12-21 13:29:09 +01:00
Raphaël Vinot de365a67bd new: Add counter-measures against TOCTOU attacks 2017-12-20 18:11:41 +01:00
Raphaël Vinot d94b3fd1a3 Merge pull request #21 from dputtick/dev
Changes for v2.2
2017-10-02 10:43:17 +02:00
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