Skip to content
Snippets Groups Projects
  1. Apr 15, 2015
  2. Apr 01, 2015
  3. Mar 25, 2015
    • Jared Hancock's avatar
      thread: Defer loading email header information · 92154704
      Jared Hancock authored
      The %ticket_email_info table needs an index on thread_id. This is done in
      the `develop-next` branch; however, this patch helps alleviate performance
      issues on the main branch until the `develop-next` branch is collapsed for
      main line development.
      92154704
  4. Mar 19, 2015
  5. Mar 18, 2015
  6. Mar 05, 2015
  7. Mar 02, 2015
    • Jared Hancock's avatar
      oops: Fix corruption of thread body posted by collabs · b143ea6f
      Jared Hancock authored
      If the system receives an email by a collaborator which has not yet been
      added to the ticket (a friend of a friend — that is, a collaborator forwards
      an email to a third-party), a header is added to the thread body something
      like:
      
      Received From: afriendofafriend@mycompany.tld
      
      However, if the thread body is text and the HTML ticket thread is enabled,
      then the text formatting hint will be lost and the body will be assumed as
      HTML deeper inside the thread entry creation process. Therefore, the
      whitespace inside the resulting thread entry will be collapsed.
      
      This patch addresses the issue by maintaining the original format hint with
      the thread body.
      b143ea6f
    • Jared Hancock's avatar
      d429b5d7
  8. Feb 27, 2015
  9. Feb 18, 2015
  10. Feb 12, 2015
    • Jared Hancock's avatar
      Collaborators for threads, lock as a utility · 67d55198
      Jared Hancock authored
      This patch includes a slight database migration, and adjusts the
      functionality of a few core components.
      
        * Move collaborators from the ticket to the thread.
          This concept allows collaborators on any object which has a thread,
          including tasks.
      
        * Add flags to the thread entry
          This will allow flagging thread entries for different purposes.
          Initially this can be used to flag the original message of a thread in
          case a ticket / thread is created without an initial message.
      
        * Lock becomes more of a utility
          The lock is now disconnected from the ticket and is a separate utility.
          Separately, the ticket and task objects can have a reference to a lock
          object. Furthermore, when submitting some activities to tickets, the
          lock is verified to be owned by the respective agent, and the lock code
          must match a current lock code. The code is rotated on each acquire()
          call to guard against double submissions.
      
        * Collaborator is an ORM model
          The TicketUser class is broken up now so that the collaborator instance
          can exist apart from a ticket. Email message ids are now generated for
          collaborators without respect for a ticket so that collaborators can be
          properly supported on any thread.
      67d55198
  11. Feb 10, 2015
  12. Jan 30, 2015
  13. Jan 23, 2015
  14. Jan 09, 2015
  15. Jan 06, 2015
  16. Jan 05, 2015
    • Jared Hancock's avatar
      oops: Fix several small, general issues · 1922920a
      Jared Hancock authored
        * Fix fatal errors adding a new FAQ (fixes #1648)
        * Fix removal of attachments when deleting a thread (fixes #1650)
        * Fix crash discovering department members for alerts (fixes #1652)
      1922920a
  17. Dec 31, 2014
    • Jared Hancock's avatar
      files: Provide unified download script · d9cf38bc
      Jared Hancock authored
      This script adds a single download script, 'file.php', which provides access
      to files of all types to all users. It uses a HMAC signature system with an
      expires time, which allows signed URLs to be sent to external users.
      
      This also fixes an issue with the Http::cacheable() method, where the
      last-modified and Etag headers were not properly compared, which resulted in
      permanent cache misses by the client.
      d9cf38bc
  18. Dec 28, 2014
    • Peter Rotich's avatar
      Retire l.php · b647d1aa
      Peter Rotich authored
      Stop trampolining links via l.php. It was necessary before in order to avoid
      the potential of leaking ticket number & email. The authentication mechanism
      in place now redirects on successful login.
      b647d1aa
  19. Dec 26, 2014
    • Jared Hancock's avatar
      Properly escape text bodies for canned responses · cfa84eab
      Jared Hancock authored
      This patch changes the default formatting for text bodies used in emails,
      ticket thread, and canned response quoting so that white-space in text
      bodies is properly preserved. Previously, the text was treated as raw HTML
      and was not properly escaped, nor was the original whitespace preserved.
      cfa84eab
  20. Dec 22, 2014
  21. Dec 15, 2014
    • Jared Hancock's avatar
      email: Message-Id header with user and thread ID · ecd2e6a9
      Jared Hancock authored
      This patch suggests a change to the message-id creation process that
      includes stamping the receiving user-id (staff or client) along with the
      thread-id of the originating notice. This allows detection of threading if
      the clinically brain-dead mail client drops all the other header detection
      mechanisms, including the tag placed in the email body, on response.
      
      This patch works for both client and agent communication.
      ecd2e6a9
  22. Dec 11, 2014
Loading