Skip to content
Snippets Groups Projects
  1. Jul 08, 2015
    • Jared Hancock's avatar
      mail: Ensure proper encoding of the To header · 857dd224
      Jared Hancock authored
      When using the php mail() function, the To: header encoded in the Mail_mime
      library was not properly transferred to the $to variable passed to the mail
      backend. The mail() function will add its own To: header which will
      mimic the received destination address.
      
      This patch ensures that the $to parameter is properly encoded.
      857dd224
  2. Jun 27, 2015
    • Nima Motamedi's avatar
      Pass data to the callabale by reference · 18dbd60f
      Nima Motamedi authored
      When using call_user_func_array arguments should be passed by reference in order to allow callable receive them by reference (only defining callable to receive data by reference is not enough).
      18dbd60f
  3. Jun 24, 2015
  4. Jun 23, 2015
  5. Jun 22, 2015
  6. Jun 08, 2015
    • Jared Hancock's avatar
      html: Balancing is important · 6c359046
      Jared Hancock authored
      9ae01bf2 turned off HTML balancing, however,
      quoted response removal will create unbalanced HTML. That HTML will be
      stored unbalanced and will require extra processing when displayed on the
      ticket thread.
      
      This patch adds balancing support using libxml if enabled, which will
      balance HTML without corrupting the HTML like htmLawed will with balancing
      enabled.
      6c359046
  7. May 31, 2015
  8. May 26, 2015
  9. May 22, 2015
    • Jared Hancock's avatar
      search: Fix several small issues with search indexing · 13d09b60
      Jared Hancock authored
      * Reindexing did not properly flush the last batch of items to the search
        therefore reindexing would always miss the last few items.
      * Creating a new html thread entry with inline images resulted in empty
        search content
      * HTML tag stripping in HtmlThreadBody::getSearchable() would result in
        missing white space between some words, resulting in poor searchable
        content
      13d09b60
  10. May 21, 2015
  11. May 18, 2015
  12. May 15, 2015
  13. May 13, 2015
  14. May 11, 2015
  15. May 08, 2015
  16. May 04, 2015
  17. Apr 30, 2015
  18. Apr 29, 2015
  19. Apr 24, 2015
    • Jared Hancock's avatar
      db: Drop tables before adding and renaming · ede824e2
      Jared Hancock authored
      If osTicket was improperly or incompletely upgraded, then some tables may
      exist which should otherwise not exist. This patch assists the upgrade
      process by dropping the tables which should not exist prior to adding or
      renaming tables.
      ede824e2
  20. Apr 23, 2015
  21. Apr 20, 2015
  22. Apr 16, 2015
  23. Apr 15, 2015
    • Jared Hancock's avatar
      mailer: Embed the Message-Id token in @class · 06a9b903
      Jared Hancock authored
      Several mail clients do not return the Message-ID header in a In-Reply-To or
      References header as they should. The assumption by such mail clients is
      that the email be threaded based on the Subject header. However, osTicket
      does not require the ticket number to be placed in the Subject header and so
      has trouble threading email from such systems. osTicket embeds a copy of the
      Message-ID header (or compatible version) in the body of the message in
      hopes part of the message will be returned.
      
      Many mail clients (such as osTicket) strip and clean the HTML when
      processing HTML email. Previously, the message-id token was embedded in a
      @data-mid attribute, which was likely stripped before the HTML email would
      be returned back to osTicket.
      
      This patch suggests that the token be placed in a @class attribute, which
      has a much better chance of returning to osTicket.
      06a9b903
    • Michael's avatar
  24. Apr 14, 2015
    • Jared Hancock's avatar
      Fix image CID rewrite for some pasted images · cd538a8f
      Jared Hancock authored
      Copy+Pasting images from a ticket thread or from a FAQ article to the HTML
      editor and submitting will result in the URL *not* being properly rewritten
      for storage in the database. When images are uploaded, a relative URL is
      returned from the server and embedded in the HTML editor. However, when
      images from the system are copy and pasted into the editor, an absolute URL
      with the http:// scheme is included. This URL was not properly handled by
      the URL rewriter in Format::localizeInlineImages().
      
      This patch addresses the issue by properly handling both relative URLs from
      image uploads and absolute URLs from copy and pasting.
      cd538a8f
    • Jared Hancock's avatar
      i18n: Fix missing echos · c71e477b
      Jared Hancock authored
      Fixes #1926
      c71e477b
Loading