1. 19 Nov, 2019 3 commits
  2. 23 Oct, 2019 2 commits
  3. 22 Oct, 2019 17 commits
  4. 21 Oct, 2019 1 commit
  5. 18 Jul, 2019 2 commits
  6. 10 Jul, 2019 1 commit
  7. 28 May, 2019 2 commits
  8. 23 May, 2019 1 commit
    • Arkadiusz Hiler's avatar
      parsemail: Handle malformed headers better · 1c5522df
      Arkadiusz Hiler authored
      Some servers have tendency to send non-RFC compliant headers which
      causes patchwork to hiccup. Their admins are reluctant to act on it and
      we cannot just force whole bunch of users to switch providers.
      Let's do our bit of the robustness principle and be more liberal about
      what we take.
      There are actually two solution in place, one for PY2 and one for PY3.
      PY2 is fine with reading the malformed file, but fails at header
      encoding, so we just need to catch the exception and discard the header.
      PY3 is a bit more complex. Since there were a lot of changes in how
      files and strings are handled, we have to read the mail explicitly as
      binary otherwise we get decode errors, hence the sys.stdin.buffer.
      The changes in the email module and the addition of
      message_from_binary_file() takes care of the issue for us.
      Signed-off-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
  9. 10 May, 2019 2 commits
  10. 06 Mar, 2019 1 commit
  11. 05 Mar, 2019 2 commits
  12. 04 Mar, 2019 1 commit
  13. 28 Feb, 2019 4 commits
  14. 13 Feb, 2019 1 commit
    • Arkadiusz Hiler's avatar
      HAX: email: Workaround FDO's header mangling · efad0307
      Arkadiusz Hiler authored
      FDO started respecting DMARC, which means it cannot freely resend emails
      without rewriting 'From:' header in some cases.
      So this:
        From: Author <original@mail>
      Changes to:
        From: Author via listname <listid@lists.freedesktop.org>
        Reply-To: Author <original@mail>
      Let's recognize that and unmangle it for authorship and mbox purposes.
      Signed-off-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>