Commit graph

  • 39cac2bd8d Add missing dependency. Andrew Ferrier 2014-12-18 00:00:44 +0000
  • ecba7e82a4 Merge branch 'unittest-refactoring' Andrew Ferrier 2014-12-17 22:10:20 +0000
  • 7dbce12923 Remove BaseTestClasses wrapper. Andrew Ferrier 2014-12-17 22:06:45 +0000
  • df7d74efa2 Add "daily use" test target. Andrew Ferrier 2014-12-17 21:19:20 +0000
  • 500824bdb4 Split out tests into separate modules. Andrew Ferrier 2014-12-17 21:18:35 +0000
  • ea5212b584 Check for more specific exception type. Andrew Ferrier 2014-12-17 21:18:11 +0000
  • 8bedcf230b Split out BaseTestClasses. Andrew Ferrier 2014-12-17 21:12:33 +0000
  • 5a16ffae4d Factor out module setup. Andrew Ferrier 2014-12-17 21:02:22 +0000
  • 881432ad41 Make mktemp more portable. Andrew Ferrier 2014-12-17 20:42:53 +0000
  • 4bed0a0ff0 Skip test if not online. Andrew Ferrier 2014-12-17 18:57:40 +0000
  • 1601e0fb87 Set up tests module. Andrew Ferrier 2014-12-17 18:46:32 +0000
  • 8d01c76215 Add .gitignore from https://github.com/github/gitignore/blob/master/Python.gitignore Andrew Ferrier 2014-12-17 18:45:48 +0000
  • fd2d2164f4 Fix style issues. Andrew Ferrier 2014-12-15 22:36:13 +0000
  • 6f63215369 Check if isOnline only once. Andrew Ferrier 2014-12-15 22:35:44 +0000
  • d6f9a8f0f9 Iterate over entire interval to check for PDFs. Andrew Ferrier 2014-12-15 22:27:07 +0000
  • e5c7731ec5 Test input file option. Andrew Ferrier 2014-12-15 22:07:41 +0000
  • 91a2612cd4 Improved robustness and speed of sleeping logic. Andrew Ferrier 2014-12-15 22:05:07 +0000
  • 814c8cdd9b Don't run certain tests if not online. Andrew Ferrier 2014-12-15 17:01:58 +0000
  • d2c5f9e1d9 Default addHeaders() params for most cases. Andrew Ferrier 2014-12-15 16:52:12 +0000
  • 6ac89ce571 Bump version. Andrew Ferrier 2014-12-14 15:13:01 +0000
  • b60152e6fa Increase accuracy of calculating self.timeAtStart. Andrew Ferrier 2014-12-14 15:48:46 +0000
  • 1d739af181 Slow down and sleep tests if checking by time. Andrew Ferrier 2014-12-14 15:05:06 +0000
  • 964bb31ba2 Always stringify errors. Andrew Ferrier 2014-12-14 15:04:42 +0000
  • 67c946f0e8 Get charset for body payload and use appropriately. Andrew Ferrier 2014-12-14 15:03:55 +0000
  • fd7a1baaef Fix style errors. Andrew Ferrier 2014-12-10 18:45:23 +0000
  • 512cbc3045 Validate current directory behavior for -d option - closes #31 Andrew Ferrier 2014-12-10 17:21:32 +0000
  • 54b76b8fc6 Fix style issues. Andrew Ferrier 2014-12-10 16:57:37 +0000
  • 109df7a956 Support checking for whether remote images exist - closes #30. Andrew Ferrier 2014-12-08 11:28:04 +0000
  • 688e190f7f Remove unused error_log. Andrew Ferrier 2014-12-10 16:44:39 +0000
  • 28941e7dbc Initial refactoring and validation of stdout and stderr. Andrew Ferrier 2014-12-10 16:27:54 +0000
  • e77651dd5b Bump version. Andrew Ferrier 2014-12-03 20:57:35 +0000
  • d3ae0a15ff Handle checking for attachments used even if body is not extracted. Andrew Ferrier 2014-12-03 20:55:14 +0000
  • d7da6acaa3 Factor out output_body_pdf. Andrew Ferrier 2014-12-03 20:47:03 +0000
  • b283f98d63 Add tests for inline images. Andrew Ferrier 2014-12-03 20:40:48 +0000
  • b2aebaeef0 Fix test. Andrew Ferrier 2014-11-19 09:41:02 +0000
  • 04c4c02bab Bump version. Andrew Ferrier 2014-11-18 16:24:20 +0000
  • 1f0495f72d Add a test for when a remote image doesn't exist. Andrew Ferrier 2014-11-19 09:37:05 +0000
  • a50b9d3af4 Improve logging when wkhtmltopdf fails. Andrew Ferrier 2014-11-19 09:35:22 +0000
  • b513d0aeff Make mimeType param more explicit. Andrew Ferrier 2014-11-19 09:31:51 +0000
  • 7ac0d3c038 Revert "Support embedded cid images with URLs." Andrew Ferrier 2014-11-19 09:30:54 +0000
  • 278a45c61d Tweak help. Andrew Ferrier 2014-11-18 16:19:03 +0000
  • a9e58c1e43 Support embedded cid images with URLs. Andrew Ferrier 2014-11-18 08:18:27 +0000
  • 5c14cd793e Add logging on options used. Andrew Ferrier 2014-11-17 12:16:34 +0000
  • 099fd8e564 Increment Debian version. Andrew Ferrier 2014-11-16 19:08:47 +0000
  • 0eb9d34a03 Improve test names. Andrew Ferrier 2014-11-16 19:04:51 +0000
  • 4c379394fa Add PNG output test. Andrew Ferrier 2014-11-16 19:04:41 +0000
  • d9d5223b5d Simplify header logic. Andrew Ferrier 2014-11-16 18:39:07 +0000
  • 0d62991ff2 Improve help messages. Andrew Ferrier 2014-11-16 18:33:58 +0000
  • 4fe5143ca5 Add a --no-attachments option. Andrew Ferrier 2014-11-16 18:30:05 +0000
  • ee2907c958 Generalise attachment types and handle images - fixes #6. Andrew Ferrier 2014-11-16 18:05:12 +0000
  • 87edf1a0bf Fix content_id param. Andrew Ferrier 2014-11-15 13:55:03 +0000
  • 2116548a9d Fix syntax error. Andrew Ferrier 2014-11-13 13:53:04 +0000
  • dc542eb843 Improve unittest style. Andrew Ferrier 2014-11-05 20:22:15 +0000
  • 9bee4e5278 Add date to filename if not present - closes: #27 Andrew Ferrier 2014-11-13 13:50:06 +0000
  • 7dfb79a3de Enhance explanation of email2pdf. Andrew Ferrier 2014-11-13 09:22:47 +0000
  • e658f6dc8b Handle moving tempfile between mountpoints. Andrew Ferrier 2014-11-05 19:37:51 +0000
  • dca9824b35 Add a Producer header to PDF (closes #24). Andrew Ferrier 2014-11-03 19:08:28 +0000
  • bccc012622 Clarify purpose of headers option. Andrew Ferrier 2014-11-03 18:59:37 +0000
  • e98a08b1df Fix syntax style. Andrew Ferrier 2014-11-03 18:59:02 +0000
  • bca7e46d20 Support passing a fixed set of headers through into PDF metadata - closes #23. Andrew Ferrier 2014-11-03 18:02:55 +0000
  • 36e55cffcb Fix syntax style. Andrew Ferrier 2014-10-19 17:20:13 +0100
  • 5d3bfd28df Put stderr log in examineDir. Andrew Ferrier 2014-10-19 17:19:21 +0100
  • 92913e3c4f Simplify option parsing. Andrew Ferrier 2014-10-18 20:41:52 +0100
  • 03ccaf59a4 Improve handling of abstract class (closes #21). Andrew Ferrier 2014-10-18 20:32:28 +0100
  • 96ca0a02bd When asking for a timed file, make a unique version. Andrew Ferrier 2014-10-18 17:44:32 +0100
  • b21e0bc8a2 Change testing approach to create a workingDir for each test. Andrew Ferrier 2014-10-17 11:13:42 +0100
  • ac6f21e544 Update README.md Andrew Ferrier 2014-10-17 10:56:42 +0100
  • e4438f1569 Handle different magic library on Mac, and document that. Andrew Ferrier 2014-10-17 10:48:19 +0100
  • 0f634c255a More accurately cope with differing temporary directories. Andrew Ferrier 2014-10-17 10:45:33 +0100
  • 50a340b855 Handle different syslog-ing on Mac. Andrew Ferrier 2014-10-13 19:41:12 +0100
  • d1696c9260 'clean' doesn't need to be a dependency of 'builddeb'. Andrew Ferrier 2014-10-13 14:12:25 +0100
  • 56b6170f0f Switch example to use SSL (secure by default). Andrew Ferrier 2014-10-13 14:09:02 +0100
  • 73ee1a752c Improve precision of tests and fix exit code bug. Andrew Ferrier 2014-10-12 21:52:41 +0100
  • dfa7bc43c4 Improve help message for inputFile. Andrew Ferrier 2014-10-12 21:37:02 +0100
  • b80d9c4886 Provide a --no-body option along with tests (closes #20). Andrew Ferrier 2014-10-12 21:08:46 +0100
  • afe60cf970 Refactor message body handling into function. Andrew Ferrier 2014-10-12 20:17:18 +0100
  • 4acec4c672 Use fakeroot rather than sudo (closes #18). Andrew Ferrier 2014-10-12 20:09:12 +0100
  • 705fea195d Log header info anyway. Andrew Ferrier 2014-10-12 16:37:31 +0100
  • 34490af8c8 Improve logging further. Andrew Ferrier 2014-10-12 16:32:51 +0100
  • ce827f9cea Improve style. Andrew Ferrier 2014-10-12 16:29:56 +0100
  • e03e348cea Add help for verboseness. Andrew Ferrier 2014-10-12 16:29:47 +0100
  • cdde2e51b1 Add steps for developing and hacking. Andrew Ferrier 2014-10-12 16:15:18 +0100
  • b2e88e407f Update README.md Andrew Ferrier 2014-10-12 15:46:18 +0100
  • 1860b21ccb Switch unit tests to standard order. Andrew Ferrier 2014-10-12 15:41:04 +0100
  • bea64650df Add unit tests for verbose parameters. Andrew Ferrier 2014-10-12 15:34:19 +0100
  • 9c638b2629 Update README.md Andrew Ferrier 2014-10-12 15:19:50 +0100
  • 1ced6f6225 Update README.md Andrew Ferrier 2014-10-12 15:17:34 +0100
  • 57f8cea2ba Start using logger to record to syslog (closes #15). Andrew Ferrier 2014-10-12 15:08:02 +0100
  • 2b339a629a Set file permissions correctly. Andrew Ferrier 2014-10-12 14:25:03 +0100
  • 547bd712d5 Clean up formatting. Andrew Ferrier 2014-10-12 14:18:01 +0100
  • 7c63609c14 Add basic Debian packaging ability. Andrew Ferrier 2014-10-12 13:40:48 +0100
  • ac04855c08 Unit tests output to /tmp, so remove .pdf from gitignore. Andrew Ferrier 2014-10-11 09:32:23 +0100
  • ff6a8631ba Remove newlines from Base-64 content - fixes #12. Andrew Ferrier 2014-10-10 23:52:26 +0100
  • 00f63cab25 Move embedded image test to externally checkable file. Andrew Ferrier 2014-10-10 23:52:09 +0100
  • 4e19a497df Set up existsByTime inside tests - fixes #14. Andrew Ferrier 2014-10-10 23:33:11 +0100
  • 545e94b488 Factor out silentRemove. Andrew Ferrier 2014-10-10 23:13:05 +0100
  • 2b27bcac15 Set encoding for wkhtmltopdf input to utf-8 - fixes #16. Andrew Ferrier 2014-10-10 23:00:44 +0100
  • b1f15a7423 Enhance variety of test for pound symbol. Andrew Ferrier 2014-10-10 22:43:12 +0100
  • 69fc989002 Check if image could be found. Andrew Ferrier 2014-10-10 22:36:53 +0100
  • 573aa907ee Add test to help highlight issue #16. Andrew Ferrier 2014-10-10 22:34:12 +0100