Skip to content
Snippets Groups Projects
  1. Feb 18, 2014
  2. Jan 28, 2014
    • Jared Hancock's avatar
      fetch: Implement parsing attached email · 65444369
      Jared Hancock authored
      If the content of the message is of type `message/rfc822`, then support
      downloading the body of the message and sending it off to the mail parsing
      system, simulating a piped email.
      65444369
  3. Jan 27, 2014
  4. Jan 24, 2014
  5. Jan 23, 2014
  6. Nov 20, 2013
    • Jared Hancock's avatar
      email: Accept inline body with disposition params · 2b13adc5
      Jared Hancock authored
      A mail client may indicate a header parameter (such as Novell Groupwise,
      which may add something like
      
      Content-Disposition: inline; modification-time: "Thu ..."
      
      ) Previously, the system would not consider the content to be a candidate
      for the email body, because it has parameters to the content-disposition
      header.
      
      This patch will still consider the part to be a candidate for the body if
      the mime types match and no filename is found in the content-disposition
      parameters.
      2b13adc5
  7. Nov 19, 2013
    • Jared Hancock's avatar
      Properly encode htmlchars in thread bodies · bf519a94
      Jared Hancock authored
      And avoid double encoding email bodies if html thread is not enabled
      bf519a94
    • Jared Hancock's avatar
      email: Handle poorly encoded email headers · 4dedcf60
      Jared Hancock authored
      Handle cases where email headers contain unicode or high-ascii characters
      and are not encoded according to RFC-2047. This patch handles a special case
      where a detectable unicode character set is used, such as UTF-8. For
      high-ascii characters in a character set other than iso-8859-1, the result
      of this patch is undefined.
      
      Fixes #826
      4dedcf60
  8. Oct 29, 2013
  9. Oct 25, 2013
  10. Oct 23, 2013
  11. Oct 22, 2013
  12. Oct 11, 2013
  13. Oct 09, 2013
    • Jared Hancock's avatar
      HTML ticket thread, inline images and draft support · 864d3539
      Jared Hancock authored
      Process inline attachments in thread entry and support inline images in
      piped emails
      
      Support inline images across the system, with draft support
      
      Migrate to a single attachment table
          That way we don't need a new table for everything we need to attach an
          inline image to (like a signature, for instance)
      
      Add richtext support for internal notes
      
      Implement images on site pages
      
      * Image paste in Redactor
      * Make non-local images optional
      * Placeholder for non-local images
      * Fix local image download hover
      * Don't re-attach inline images
      864d3539
  14. Oct 07, 2013
  15. Sep 27, 2013
    • Jared Hancock's avatar
      Record message-id's for rejected emails · 67625b63
      Jared Hancock authored
      In the event that the system is set to do-nothing for POP fetched
      emails, and eventually, one of the emails is rejected, ensure that the
      message-id is logged so that the message will not be re-fetched, even if it
      is undeleted.
      67625b63
  16. Sep 26, 2013
    • Jared Hancock's avatar
      Disable Kerberos and NTLM auth for mail fetch · 8b0085dd
      Jared Hancock authored
      On some configurations of PHP and remote mail servers, Kerberos and NTLM
      challenge response authentication could be possibly attempted. This is
      essentially futile and potentially fatal for osTicket mail fetching, as the
      system is currently designed for username and password authentication only.
      
      This patch disables challenge and response authentication for PHP versions
      5.3.2 and newer, which support the fix.
      
      This patch also consistently encodes mailbox names according to the rfc 2060
      for IMAP.
      8b0085dd
  17. Sep 24, 2013
  18. Sep 09, 2013
    • Jared Hancock's avatar
      Forbid message loops for alert messages · 6e5c1f6a
      Jared Hancock authored
      If an alert message manages to loop back into the ticketing system, refuse
      posting to the ticket thread. Technically, the message should be marked as
      an auto-response message; however, auto-response messages should usually be
      allowed to be appended to the ticket thread.
      
      This patch will check if the From email header cites an email address that
      is a system email address (visible in the Emails section of the Admin
      Panel). If it is, the email is completely ignored.
      6e5c1f6a
  19. Sep 06, 2013
  20. Sep 03, 2013
    • Jared Hancock's avatar
      Remove requirement of ticket id in subject line · 29b37144
      Jared Hancock authored
      This patch affords an administrator the ability to remove the
      [#%{ticket.number}] from the email template subject line for the new ticket
      autoresponse and the new message autoresponse. Previously, the ticket number
      with a prefixed hash in brackets was used to identify which ticket thread an
      email was in reference to.
      
      With this patch, the email message-id (which was already kept on file) is
      sent in the MIME "References" header. When a user responds to and
      autoresponse email, the "References" will include this message-id in the
      return email. The ticket thread is then matched up with the email based on
      the message-id rather than the subject line.
      
      Ticket numbers are still supported in the subject line, in the event that
      non-compliant email clients do not properly include the References header.
      29b37144
  21. Aug 14, 2013
    • Jared Hancock's avatar
      Support Reply-To headers in ticket filters · ea1e647a
      Jared Hancock authored
      The email filtering feature supports a 'Use Reply-To' feature, but seems to
      never have been implemented. This patch officially supports using the
      Reply-To email header as the From header for emails matching the filter.
      ea1e647a
  22. Aug 13, 2013
  23. Aug 01, 2013
    • Peter Rotich's avatar
      * Scan for inline attachments · 5af3b7e4
      Peter Rotich authored
      Incoming messages with empty body and an inline attachment might not have
      parts - depending on encoding used.
      
      * Use "-" tag for emails with empty body/message
      5af3b7e4
  24. Jul 30, 2013
    • Jared Hancock's avatar
      Properly escape text/plain email bodies · fc3dc050
      Jared Hancock authored
      If there characters in the plain text body of the email that appear like
      HTML tags, for instance
      
      From: <sip:527772432@172.18.0.2>;tag=952422a9dd1ap1a6o1
      
      The <sip...> part would be removed by the Format::striptags() call in
      Format::sanitize().
      fc3dc050
  25. Jul 12, 2013
    • Jared Hancock's avatar
      Fallback to base64_decode if imap_base64 fails · 6f375159
      Jared Hancock authored
      Some mail clients and servers (like the ones developed in the northwestern
      United States) sometimes place encoded and non-encoded data in an email
      body declared with "Content-Transfer-Encoding: base64". imap_base64 will
      refuse to decode the body if it contains non base64 characters (like a
      period, colon, apostrophe, etc). This patch uses base64_decode as a fallback
      which will make a best effort to decode the data. In the case of our test
      mails, the decoded data will contain garbage where the non-base64-encoded
      data was in the original mail, but at least the message is preserved.
      6f375159
  26. Jul 10, 2013
    • Andrew Abdalian's avatar
      Spelling, grammar and readability fixups · c6c923f9
      Andrew Abdalian authored
      Spelling, grammar and readability in upgrader documents
        - Tweaked spelling, grammar and wording to make the text of the upgrader
          pages more readable.
      Fixed spelling regression
        - Higly —> Highly
      Spelling and readability fixes for /include/class.* files
        - Fixed some spelling mistakes
      A couple more spelling/readability fixes.
        - More fixes
      c6c923f9
  27. Mar 29, 2013
  28. Mar 05, 2013
  29. Feb 19, 2013
  30. Feb 10, 2013
Loading