Skip to content

Releases: TeamMsgExtractor/msg-extractor

Version 0.30.8

01 Feb 03:54
8993a4d
Compare
Choose a tag to compare
Version 0.30.8 Pre-release
Pre-release

v0.30.8

  • Update imapclient requirement to >=2.1.0 instead of ==2.1.0. Currently there are no changes that would prevent current future versions from working.

Version 0.30.7

31 Jan 20:27
6b5e458
Compare
Choose a tag to compare
Version 0.30.7 Pre-release
Pre-release

v0.30.7

  • [TeamMsgExtractor #239] Fixed msg.py not having import pathlib.
  • After going through the details of the example MSG files provided with the module, specifically unicode.msg, I now am glad I decided to put in some fail-safes in the HTML body processing. One of them does not have an <html>, <head>, nor <body> tag, and so would have had an error. This will actually prevent the header from injecting properly as well, so a bit of validation before was made necessary to ensure the HTML saving would still work.
  • Added new exception BadHtmlError.
  • Added new function utils.validateHtml.
  • Updated README credits.
  • Changed header logic to generate manually if the header data has been stripped (filled with null bytes) and not just if the stream does not exist.

Version 0.30.6

30 Jan 08:34
d8ef417
Compare
Choose a tag to compare
Version 0.30.6 Pre-release
Pre-release

v0.30.6

  • Small adjustments to internal code to make it a bit better.
  • Added Message.getSaveBody, Message.getSaveHtmlBody, and Message.getSaveRtfBody. These three functions generate their respective bodies that will be used when saving the file, allowing you to retrieve the final products without having to write them to the disk first. All arguments that are passed to Message.save that would influence the respective bodies are passed to their respective functions.
  • I thought I added the documentation for attachmentsOnly to Message.save but apparently it was missing. Not sure what happened there but I made sure it was added this time.
  • Added new option to Message.save called charset. This is used in the preparation of the HTML body when using preparedHtml. This is also usable with --charset CHARSET from the command line.

Version 0.30.5

29 Jan 09:23
6ef59a3
Compare
Choose a tag to compare
Version 0.30.5 Pre-release
Pre-release

v0.30.5

  • [TeamMsgExtractor #225] Added the ability to generate the HTML body from the RTF body if it is encapsulated HTML. If there is no RTF body, then it will do a very basic generation from the plain text body. This process is automatically performed if the HTML body is missing.
  • Added the ability for the plain text body to sometimes generate from the RTF body if the plain text body does not exist.
  • Added documentation to Message.save for the attachmentsOnly option.

Version 0.30.4

28 Jan 10:25
2efcde1
Compare
Choose a tag to compare
Version 0.30.4 Pre-release
Pre-release

v0.30.4

  • [TeamMsgExtractor #233] Added option to Message.save to only save the attachments (attachmentsOnly). This can also be used from the command line with the option --attachments-only.
  • Corrected error string for incompatible options in Message.save.
  • Fixed if blocks being nested weirdly in Message.save instead of being chained with elif. Probably an artifact left from adding support for HTML and RTF.

Version 0.30.3

28 Jan 09:49
0251432
Compare
Choose a tag to compare
Version 0.30.3 Pre-release
Pre-release

v0.30.3

  • [TeamMsgExtractor #232] Updated list of known MSG class types so the module would correctly give UnsupportedMSGTypeError instead of UnrecognizedMSGTypeError.

Version 0.29.6

28 Jan 10:16
Compare
Choose a tag to compare
Version 0.29.6 Pre-release
Pre-release

v0.29.6

  • Corrected error string for incompatible options in Message.save.

Version 0.29.5

28 Jan 09:40
Compare
Choose a tag to compare
Version 0.29.5 Pre-release
Pre-release

v0.29.5

  • Updated list of known MSG class types so the module would correctly give UnsupportedMSGTypeError instead of UnrecognizedMSGTypeError.

Version 0.30.2

27 Jan 19:38
206800e
Compare
Choose a tag to compare
Version 0.30.2 Pre-release
Pre-release

v0.30.2

  • Fixed typo in utils.knownMsgClass.
  • Updated contributing guidelines and pull request template. Pull requests were updated to match the new structure of the module while the guidelines were updated for clarity.

Version 0.30.1

27 Jan 04:32
eeb6538
Compare
Choose a tag to compare
Version 0.30.1 Pre-release
Pre-release

v0.30.1

  • [TeamMsgExtractor #102] Added property MessageBase.htmlBodyPrepared which provides the HTML body that has been prepared for actual use or conversion to PDF. All attachments that can be injected into the body directly will be injected.
  • Corrected a mistake in the documentation of Message.save.
  • Fixed issue where the command line parser was not checking for raw in conjunction with other saving options.
  • Changed utils.setupLogging to use pathlib.
  • Improved reliability of the logic in utils.setupLogging.
  • Removed function utils.getContFileDir.
  • Cleaned up plain Exception being raised at the end of utils.injectRtfHeader if the injection failed. This now raises RuntimeError, an error that should be reported so the injection system can be improved.
  • Added parsing for PtypServerId to utils.parseType.
  • Added FolderID, MessageID, and ServerID to data.
  • Added zip output to the command line.
  • Added support for PtypMultipleFloatingTime to utils.parseType.
  • Improved documentation of many functions with the exceptions they may raise.
  • Changed the way zip files are handled so that files written to them actually have a modification date now.