From f9c4625323ee918e7bb054bf660d583ed976bbb2d623f35c672c9019176cf3f8 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 23 Oct 2024 17:00:06 +0000 Subject: [PATCH 1/2] Accepting request 1217343 from home:glaubitz:branches:devel:languages:python - Update to version 0.52.0 * Fix typo in string that prevented HTML body from generating from the plain text body properly. * Adjusted the behavior of `MSGFile.areStringsUnicode` to prioritize the property specified by the parent MSG files for MSG files that are embedded. Additionally, added a fallback to rely on whether or not there is a stream using the `001F` type to determine the property value if it is entirely missing. * Adjusted `OleWriter.fromMsg()` and `MSGFile.export()` to add the argument `allowBadEmbed` which helps to correct a few different issues that may appear in embedded MSG files. These corrections allow the embedded file to still be extracted and to open properly in Outlook. * In addition to the above, the errors that some of those corrections will suppress are now significantly more informative about what went wrong. - from version 0.51.1 * Add class type added in last version to known class types. - from version 0.51.0 * Add basic support for MSG class type `IPM.SkypeTeams.Message`. - from version 0.50.1 * Fix bug introduced in previous version. - from version 0.50.0 * Adjust html header code to replace non-ascii characters with escaped versions. Also adjusted plain text to html conversion to ensure non-ascii character from the body are encoded to escaped values to be safe. * Made some corrections to `NullDate`. OBS-URL: https://build.opensuse.org/request/show/1217343 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-extract-msg?expand=0&rev=5 --- extract_msg-0.49.0.tar.gz | 3 --- extract_msg-0.52.0.tar.gz | 3 +++ python-extract-msg.changes | 31 +++++++++++++++++++++++++++++++ python-extract-msg.spec | 2 +- 4 files changed, 35 insertions(+), 4 deletions(-) delete mode 100644 extract_msg-0.49.0.tar.gz create mode 100644 extract_msg-0.52.0.tar.gz diff --git a/extract_msg-0.49.0.tar.gz b/extract_msg-0.49.0.tar.gz deleted file mode 100644 index ebae6a3..0000000 --- a/extract_msg-0.49.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:40cdb019484bda654bb220364ade3bd4a141500232980373e5f1ee5d622d6043 -size 6981884 diff --git a/extract_msg-0.52.0.tar.gz b/extract_msg-0.52.0.tar.gz new file mode 100644 index 0000000..edb1953 --- /dev/null +++ b/extract_msg-0.52.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:07f40b434f1a643f7d92bf99b250780fd7f5091a121abf9dad524e19c0ae740f +size 6985669 diff --git a/python-extract-msg.changes b/python-extract-msg.changes index cd8a179..a9f3ba5 100644 --- a/python-extract-msg.changes +++ b/python-extract-msg.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Wed Oct 23 11:50:05 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 0.52.0 + * Fix typo in string that prevented HTML body from generating from + the plain text body properly. + * Adjusted the behavior of `MSGFile.areStringsUnicode` to prioritize + the property specified by the parent MSG files for MSG files that + are embedded. Additionally, added a fallback to rely on whether or + not there is a stream using the `001F` type to determine the + property value if it is entirely missing. + * Adjusted `OleWriter.fromMsg()` and `MSGFile.export()` to add the + argument `allowBadEmbed` which helps to correct a few different + issues that may appear in embedded MSG files. These corrections + allow the embedded file to still be extracted and to open properly + in Outlook. + * In addition to the above, the errors that some of those corrections + will suppress are now significantly more informative about what went + wrong. +- from version 0.51.1 + * Add class type added in last version to known class types. +- from version 0.51.0 + * Add basic support for MSG class type `IPM.SkypeTeams.Message`. +- from version 0.50.1 + * Fix bug introduced in previous version. +- from version 0.50.0 + * Adjust html header code to replace non-ascii characters with escaped versions. + Also adjusted plain text to html conversion to ensure non-ascii character + from the body are encoded to escaped values to be safe. + * Made some corrections to `NullDate`. + ------------------------------------------------------------------- Sat Sep 21 00:58:41 UTC 2024 - Guang Yee diff --git a/python-extract-msg.spec b/python-extract-msg.spec index 59d02a4..a7c0ac8 100644 --- a/python-extract-msg.spec +++ b/python-extract-msg.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-extract-msg -Version: 0.49.0 +Version: 0.52.0 Release: 0 Summary: Extracts emails and attachments saved in Microsoft Outlook's msg files License: GPL-3.0-only From 753d4e0b61fcfae0706cf46bb18ca02b24a81b2c91f07d746de1c661a0e9801a Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 23 Oct 2024 17:12:11 +0000 Subject: [PATCH 2/2] - Make running the test suite verbose. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-extract-msg?expand=0&rev=6 --- python-extract-msg.changes | 5 +++++ python-extract-msg.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-extract-msg.changes b/python-extract-msg.changes index a9f3ba5..289c30a 100644 --- a/python-extract-msg.changes +++ b/python-extract-msg.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 23 17:11:20 UTC 2024 - Matej Cepl + +- Make running the test suite verbose. + ------------------------------------------------------------------- Wed Oct 23 11:50:05 UTC 2024 - John Paul Adrian Glaubitz diff --git a/python-extract-msg.spec b/python-extract-msg.spec index a7c0ac8..7f043f8 100644 --- a/python-extract-msg.spec +++ b/python-extract-msg.spec @@ -67,7 +67,7 @@ sed -i '/\#\!\/usr\/bin\/env python3/d' extract_msg/__init__.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pyunittest tests.py +%pyunittest -v tests.py %post %python_install_alternative extract_msg