Commit graph

  • a1839255b0 Use more elegant way of handling temporary files and directories. Andrew Ferrier 2015-01-12 21:00:46 +0000
  • 2047dbe7b1 Clarify usage of -o and -d together - closes #54 Andrew Ferrier 2015-01-12 20:51:57 +0000
  • 16936df8e5 Fix help after removing concept of recognized attachments. Andrew Ferrier 2015-01-12 20:34:31 +0000
  • 32b4d1a957 Add upside-down text tests. Andrew Ferrier 2015-01-11 19:50:11 +0000
  • 3d16083272 Bump version. Andrew Ferrier 2015-01-09 20:12:35 +0000
  • 8b954c410b Support complexity check. Andrew Ferrier 2015-01-09 20:10:43 +0000
  • 375f15aa52 Simplify to a blacklist of MIME types - closes #48, #28 Andrew Ferrier 2015-01-09 20:06:57 +0000
  • ee3f7cc9d5 Add extra assertions for safety. Andrew Ferrier 2015-01-04 13:02:55 +0000
  • f1c4c66ab2 Delete tmpfile used for creating filename. Andrew Ferrier 2015-01-04 13:17:20 +0000
  • 42359d4c35 Improve style. Andrew Ferrier 2015-01-02 12:37:20 +0000
  • eba972d4f4 Fix PEP8 issue. Andrew Ferrier 2015-01-02 12:20:33 +0000
  • 6aefcf9431 Bump version. Andrew Ferrier 2015-01-03 17:34:38 +0000
  • 28d7bd6463 Assert there are no defects on parsing. Andrew Ferrier 2015-01-03 17:33:39 +0000
  • 29f3d569e6 Fix bug with body encoding as iso-8859-1, improve tests. Andrew Ferrier 2015-01-03 17:21:40 +0000
  • de3f2afa26 Don't copy debs into Docker. Andrew Ferrier 2015-01-02 12:49:30 +0000
  • 389feaca56 Remove interactive flag from docker invocations. Andrew Ferrier 2015-01-02 12:43:40 +0000
  • e36ebddede Fix style issues. Andrew Ferrier 2014-12-28 12:12:10 +0000
  • 99811938f5 Bump version. Andrew Ferrier 2014-12-28 12:10:26 +0000
  • 5b5f960473 Cleanup test titles. Andrew Ferrier 2014-12-28 12:09:56 +0000
  • 53cf1f435b Enhance time-frozen tests - closes #38 Andrew Ferrier 2014-12-28 12:05:22 +0000
  • accfc0f45a Refactor FaultyAttachments to work as AttachmentDetection. Andrew Ferrier 2014-12-28 11:51:37 +0000
  • e3df2af7bf Cleanup basic tests. Andrew Ferrier 2014-12-28 11:45:10 +0000
  • 611566c3b5 Fix broken import. Andrew Ferrier 2014-12-28 11:44:47 +0000
  • 6d66d54bd2 Factor out CID tests. Andrew Ferrier 2014-12-28 11:42:27 +0000
  • d4773195a0 Factor out JPG, PNG filenames and sizes. Andrew Ferrier 2014-12-28 11:41:59 +0000
  • a0afc5cc2b Factor out default header strings and separate metadata tests. Andrew Ferrier 2014-12-27 16:27:30 +0000
  • 48b5169fe4 Simplify specification of defaults. Andrew Ferrier 2014-12-25 21:21:35 +0000
  • d8e1af9718 Add tests for --help and an invalid option. Andrew Ferrier 2014-12-25 21:08:22 +0000
  • 6f4f1b1127 Handle help manually. Andrew Ferrier 2014-12-25 21:08:12 +0000
  • ab3a7bc6bf Factor out command. Andrew Ferrier 2014-12-25 20:34:36 +0000
  • 94ba20df4b Remove clean target (already covered by git clean). Andrew Ferrier 2014-12-25 20:17:40 +0000
  • 6a75d3160c Move remote image not existing tests into Direct. Andrew Ferrier 2014-12-25 20:14:10 +0000
  • 2174c5ab7b Remove deprecated API call. Andrew Ferrier 2014-12-25 20:07:31 +0000
  • f577fadd2b Cleanly close connection after checking remote URL. Andrew Ferrier 2014-12-25 20:07:14 +0000
  • e2994ffafc Improve robustness of online check. Andrew Ferrier 2014-12-25 20:06:59 +0000
  • e718288a67 Bump version. Andrew Ferrier 2014-12-25 19:36:27 +0000
  • 039e5ed57b Consolidate Dockerfiles. Andrew Ferrier 2014-12-25 19:33:43 +0000
  • 18e8636d35 Run style tests in Docker container too. Andrew Ferrier 2014-12-25 19:29:51 +0000
  • 8a36ea9f4f Test refactoring and cleanup. Andrew Ferrier 2014-12-25 18:51:57 +0000
  • f95e04fc11 Log all debug messages at logger level. Andrew Ferrier 2014-12-25 18:39:02 +0000
  • 97c439da8b Stop creation of tests which call the wrong submethod. Andrew Ferrier 2014-12-25 18:38:43 +0000
  • d6904a6b86 Use freezegun to fix test_plaincontent_timedfileexist - closes #46 Andrew Ferrier 2014-12-25 00:08:47 +0000
  • 0430f122b7 Turn logging propagation off to stop erroneous console errors. Andrew Ferrier 2014-12-25 17:30:25 +0000
  • 137dda315c Test refactoring. Andrew Ferrier 2014-12-25 00:08:23 +0000
  • ae7329956a Complete timing and log handlers even when direct invocation fails. Andrew Ferrier 2014-12-25 00:07:51 +0000
  • c16cb540eb Simplify getting emails as bytes. Andrew Ferrier 2014-12-25 00:07:28 +0000
  • 905d719fd3 Raise exception when HTTP get fails. Andrew Ferrier 2014-12-25 00:07:01 +0000
  • 28854847dc Use all Direct tests in coverage. Andrew Ferrier 2014-12-25 00:06:41 +0000
  • 49c78914b9 Fix hardcoded and inaccurate image URLs. Andrew Ferrier 2014-12-24 23:46:19 +0000
  • 2d0f99401c Fix style issue. Andrew Ferrier 2014-12-24 23:37:27 +0000
  • db753d5b65 Turn argument parsing issues into FatalExceptions. Andrew Ferrier 2014-12-24 23:34:36 +0000
  • 6a34e9d4d7 Always remove cover directory, even if not present. Andrew Ferrier 2014-12-24 23:34:05 +0000
  • 7b2bfa2160 Bump version. Andrew Ferrier 2014-12-22 17:17:59 +0000
  • a53afdd490 Rename test files. Andrew Ferrier 2014-12-22 17:16:40 +0000
  • 297f1f2ceb Merge branch 'issue-44' - closes #44 Andrew Ferrier 2014-12-22 17:13:42 +0000
  • cac65dbab2 Add PDF content checking to test_TestMIME. Andrew Ferrier 2014-12-22 17:10:34 +0000
  • bd14ed0bd1 Add PDF content checking to test_TestBasic. Andrew Ferrier 2014-12-22 16:42:01 +0000
  • 427a6cc8f5 Add PDF content checking to test_FaultyAttachments. Andrew Ferrier 2014-12-22 16:27:22 +0000
  • e3960c401f Remove dependency used only for testing. Andrew Ferrier 2014-12-21 21:39:35 +0000
  • e74a870bc9 Improve README.md. Andrew Ferrier 2014-12-21 21:39:24 +0000
  • 6a0d147140 Rearrange Makefile. Andrew Ferrier 2014-12-21 21:22:34 +0000
  • 919265ba72 Add Dockerfile which builds a pdfminer3k .deb. Andrew Ferrier 2014-12-21 20:25:17 +0000
  • 4e6bf587b4 Improve tag name for Docker image. Andrew Ferrier 2014-12-21 21:18:22 +0000
  • 5c3dbd13d5 Use pdfminer3k to test body content. Andrew Ferrier 2014-12-20 20:51:48 +0000
  • cee80ced2c Move _headers into direct testing. Andrew Ferrier 2014-12-20 16:23:46 +0000
  • 77087702ad Switch over to returning plain error. Andrew Ferrier 2014-12-20 16:23:32 +0000
  • 23e4da4d66 Add code coverage checker - closes #43 Andrew Ferrier 2014-12-20 16:13:46 +0000
  • d35dd05d18 Remove style issues. Andrew Ferrier 2014-12-20 16:13:21 +0000
  • 3a74027e6a Introduce invokeDirectly and some Direct tests. Andrew Ferrier 2014-12-20 15:59:06 +0000
  • 88622781dc Use warning() to avoid deprecation issue. Andrew Ferrier 2014-12-20 15:58:29 +0000
  • 9882f5ed76 Refactor to pass in sysLogHandler and sysErrHandler. Andrew Ferrier 2014-12-20 15:58:10 +0000
  • e167d6bf20 Use lxml library to work around deprecation warning. Andrew Ferrier 2014-12-20 15:56:49 +0000
  • a6b0e1d2c2 Add additional test to validate inputFile is working correctly. Andrew Ferrier 2014-12-20 14:30:30 +0000
  • ee3e439f86 Actual output content to input file. Andrew Ferrier 2014-12-20 14:29:59 +0000
  • bb5f2d4981 Rename invokeEmail2PDF to invokeAsSubprocess. Andrew Ferrier 2014-12-20 14:29:12 +0000
  • 0f17dfefed Add stylecheck target. Andrew Ferrier 2014-12-20 14:26:19 +0000
  • 2638f6fffb Pass arguments into main function. Andrew Ferrier 2014-12-20 14:25:59 +0000
  • a76953c9fb Improve formatter. Andrew Ferrier 2014-12-19 09:19:55 +0000
  • e561b37fa8 Move logging setup to bottom of file. Andrew Ferrier 2014-12-19 08:55:43 +0000
  • 41a1dc22c9 Use sets where applicable. Andrew Ferrier 2014-12-18 22:39:09 +0000
  • b940db1b58 Validate stderr in tests too. Andrew Ferrier 2014-12-18 22:29:44 +0000
  • a801b19d0f Optimise handling of ignored parts. Andrew Ferrier 2014-12-18 22:24:21 +0000
  • 1a4e0de45e Add test for invalid CID, improve another test. Andrew Ferrier 2014-12-18 22:07:31 +0000
  • bb70a58df5 Remove duplicate test. Andrew Ferrier 2014-12-18 22:07:18 +0000
  • 5599865c1f Simplify error handling strategy. Andrew Ferrier 2014-12-18 22:06:39 +0000
  • 98db5374fd Style improvements. Andrew Ferrier 2014-12-18 21:26:31 +0000
  • 574a74ff83 Call attachAttachment to simplify. Andrew Ferrier 2014-12-18 21:22:20 +0000
  • 4898508ed8 Simplify online checking. Andrew Ferrier 2014-12-18 21:17:59 +0000
  • 9177d8f924 Use magic to check for attachment content - closes #22 Andrew Ferrier 2014-12-18 21:12:34 +0000
  • bb4ad16431 Move test images into tests/ Andrew Ferrier 2014-12-18 18:27:19 +0000
  • 6c88812c55 Put *.deb back into .gitignore. Andrew Ferrier 2014-12-18 18:20:06 +0000
  • 385ec291ed Bump version. Andrew Ferrier 2014-12-18 18:18:54 +0000
  • f16c217218 Enhance README.md. Andrew Ferrier 2014-12-18 18:16:12 +0000
  • 07420d438f Check if build-essential is installed for .deb target. Andrew Ferrier 2014-12-18 18:15:49 +0000
  • 00b0f7f5ba Set up cron for getmail. Andrew Ferrier 2014-12-18 17:48:53 +0000
  • 2d71fd3e38 Simplify / concatenate steps. Andrew Ferrier 2014-12-18 17:48:31 +0000
  • d228a7b730 Refactor logging so that it isn't global. Andrew Ferrier 2014-12-18 16:46:16 +0000
  • 9a4b4ba491 Check for stderr output in tests themselves - closes #33 Andrew Ferrier 2014-12-18 15:23:45 +0000
  • 4a034bcf00 Remove sleep step; not needed. Andrew Ferrier 2014-12-18 01:01:06 +0000
  • 32934a2489 Add initial Dockerfile and associated make targets. Andrew Ferrier 2014-12-18 00:35:56 +0000