Skip to content
Snippets Groups Projects
  1. Oct 09, 2015
  2. Sep 28, 2015
  3. Sep 25, 2015
  4. Aug 31, 2015
    • ericLemanissier's avatar
      handling errors in decoding · ace26af6
      ericLemanissier authored
      This change handles write and read error in case of decoding to temp file, and falls back to in-memory decoding in case of failure
      ace26af6
  5. Aug 28, 2015
    • ericLemanissier's avatar
      reduce memory usage when decoding files · 255bd9ef
      ericLemanissier authored
      When decoding attached files, passing the whole content of the file to imap_base64 or base64_decode leads to allocating the memory for the whole base 64 decoded file while the binary content of the file is still in memory. This leads easily to Out of memory error on limited resources servers. Using .stream_filter_append to decode the file while writing it in a temporary file uses much less memory. The content of the decoded file is then simply read from the file
      255bd9ef
    • ericLemanissier's avatar
      reduce memory usage when storing file in DB · 9789b4ec
      ericLemanissier authored
      When saving an attached file in the database, Passing the whole content of the file to bin2hex leads to allocating the memory for the whole hex encoded file while the binary content of the file is still in memory. This leads easily to Out of memory error on limited resources servers. Calling bin2hex on each chunk of the file greatly limits the memory usage.
      9789b4ec
  6. Aug 19, 2015
  7. Aug 18, 2015
  8. Jul 30, 2015
  9. Jul 27, 2015
  10. Jul 24, 2015
  11. Jul 21, 2015
  12. Jul 20, 2015
    • Jared Hancock's avatar
      tnef: Fix clobbered message when an IMAP message has a TNEF attachment · 0ec7cf62
      Jared Hancock authored
      This fixes an issue where, when the mailfetch subsystem fetches more than
      one email and one of them has a TNEF attachment; each message body after the
      TNEF message will use the TNEF message body.
      
      This patch fixes the issue by clearing the TNEF body in each cycle through
      the message fetching and parsing loop.
      0ec7cf62
  13. Jul 13, 2015
  14. Jul 08, 2015
  15. Jun 30, 2015
  16. 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
  17. Jun 24, 2015
  18. Jun 23, 2015
  19. Jun 22, 2015
  20. 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
  21. May 31, 2015
  22. May 26, 2015
  23. 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
  24. May 21, 2015
  25. May 18, 2015
  26. May 15, 2015
  27. May 13, 2015
Loading