Skip to content
Snippets Groups Projects
  1. 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
  2. Sep 24, 2013
  3. 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
  4. Sep 06, 2013
  5. 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
  6. 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
  7. Aug 13, 2013
  8. 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
  9. 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
  10. 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
  11. 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
  12. Mar 29, 2013
  13. Mar 05, 2013
  14. Feb 19, 2013
  15. Feb 10, 2013
  16. Jan 24, 2013
  17. Jan 09, 2013
  18. Dec 13, 2012
  19. Nov 23, 2012
  20. Nov 16, 2012
  21. Oct 02, 2012
  22. Aug 31, 2012
  23. Jul 30, 2012
  24. Jul 28, 2012
  25. Jul 25, 2012
  26. Jul 12, 2012
  27. Jun 24, 2012
  28. May 13, 2012
  29. Apr 26, 2012
  30. Apr 21, 2012
    • Jared Hancock's avatar
      Add lint test for (calls to) undefined functions · cd4b4faa
      Jared Hancock authored
      And correct several undefined function errors from several source files. So
      while function names in PHP are considered case-insensitive, it still makes
      sense to use consistent camel casing for both defining and calling methods.
      The lint test searches the code base for method calls, and then searches the
      code base again looking for a function definition matching the name of the
      function invoked. It's not failsafe, because it doesn't detect the class
      from which the method should belong, so it's likely to have false negatives.
      Furthermore, it won't work well for PHP 5 where several classes are built
      into PHP (and aren't searchable in the osTicket code base).
      
      Remove the include/staff/api.inc.php as it no longer appears to be used (and
      contains references to undefined methods).
      cd4b4faa
  31. Mar 19, 2012
Loading