Skip to content
Snippets Groups Projects
  1. Feb 10, 2015
  2. Jan 06, 2015
  3. 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
  4. 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
  5. 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
  6. 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
  7. Dec 22, 2014
  8. Dec 11, 2014
  9. Dec 08, 2014
    • Jared Hancock's avatar
      i18n: Add locale-based date time formats · 0fbc09ad
      Jared Hancock authored
      This patch adds support for automatic date and time formatting based on a
      selection of locale. The locale can default to the system or user specified
      language+locale, or can be elected separately. For instance, English
      speakers can pick between US, GB, and many other English speaking locales.
      
      This also removes the need of the %timezone table and uses the timezonedb
      built into PHP 5.3+. User's can now select from a much longer list of
      database and no longer need to deal with the DST checkbox.
      0fbc09ad
  10. Nov 13, 2014
    • Jared Hancock's avatar
      thread: Fix regex for ticket # in email subject · 2e01010e
      Jared Hancock authored
      The ticket number regex was changed with the advent of custom ticket
      numbers, and it matches the closing punctuation in [#12345], that is, the
      closing bracket would be included in the ticket number sought in the
      database. Therefore, it would never match the ticket number properly.
      
      The new regex attempts to match punctuation and non-punctuation groups so
      that punctuation in the middle of the ticket number is matched; however,
      punctuation at the end is not. So #12345+DEPT will match properly and will
      ignore any trailing whitespace and punctuation.
      2e01010e
  11. Oct 20, 2014
  12. Oct 06, 2014
  13. Sep 10, 2014
    • Jared Hancock's avatar
      email: Improve user identification from headers · 67782d9a
      Jared Hancock authored
      Previously, the code would scan the email headers until it found a positive
      match from any of the email headers scanned. Additionally, it would attempt
      to find the user from the tagged email references header. However, this
      algorithm assumed that the references header was constant and predictable in
      its ordering. Recent tests with Gmail prove otherwise in some tests.
      
      This patch changes the system so that only the tagged reference header is
      included in the References header, and it will scan all items in a header
      (namely the References header) until both the thread and a user are
      identified. If a user can be identified, the thread and user are returned.
      Otherwise, the first thread hit is returned.
      67782d9a
  14. Sep 09, 2014
  15. Sep 04, 2014
  16. Aug 29, 2014
    • Jared Hancock's avatar
      forms: Unify attachment settings · 9fc4d080
      Jared Hancock authored
      Attachment settings are now exclusively handled by the settings on the
      ThreadEntry field on the ticket details form. Enabling attachments as well
      as tuning attachment validation settings are all handled from the one place
      now.
      9fc4d080
  17. Aug 14, 2014
  18. Aug 07, 2014
  19. Jul 29, 2014
    • Jared Hancock's avatar
      Implement concept of custom ticket numbers · 5cfa1f97
      Jared Hancock authored
      Ticket numbers are now configurable as a system-default and by help topic.
      Previously, an administrator could select between six-digit random and
      sequential numbers. Now, the sequence is selectable so multiple sequences
      as needed, and a format can be specified to define how the ticket numbers
      look. Formats can also be defined for each help topic.
      5cfa1f97
  20. Jun 27, 2014
  21. Jun 25, 2014
    • Thane de Loth's avatar
      Adopt translation work from Thane de Loth · 7042e6c8
      Thane de Loth authored
      Multilanguage Support via gettext
      
      - added gettext encapsulations to all texts i thought necessary
      - added fallback function for the case that the gettext extension isn't loaded
      - added browser language detection
      - added gettext to the list of optional extensions in setup
      - rewritten some of the texts to use sprintf instead of appending strings
      - added german translation file
      - removed mark_overdue-confirm from cannedresponses.inc.php
      
      extend multi language support and a fex fixes
      
      - Better detection of translation files
      - Added functionality to redirect language codes (see redirecting
      language codes)
      - Ticket Status can be translated
      - The Datepicker can be translated
      - Extended functionality of 'testlang.php' to show what language code is
      used to translate
      
      Forgotten to apply a patch from RC5 to RC6
      
      - Forgotten to change $var to $vars in line 380 of class.mailfetch.php
      - Removed unneeded comment
      
      Added php_gettext as primary translation engine
      
      - Added php_gettext support (thanks to Danilo Segan and Steven
      Armstrong)
      - php_gettext is now the primary translation engine
      - Extended language detection functionality
      
      Add error/misconfiguration checks and fix undefined variables
      7042e6c8
  22. Jun 05, 2014
  23. May 30, 2014
    • Jared Hancock's avatar
      thread: Add searchable view to ThreadBody · a00876a2
      Jared Hancock authored
      This will be useful for plugins which might need to scan the message body
      regardless of its encoding. This will also be required for full-text indexes
      which will not need to index HTML tags, for instance.
      a00876a2
  24. May 22, 2014
  25. May 20, 2014
    • Jared Hancock's avatar
      thread: Fixup link URLs for emails · 2ed876a2
      Jared Hancock authored
      This patch adds an 'email' format to ThreadBody::display() which allows
      formatting the html/text bodies specifically for email. Previously, there
      was ambiguity between the html view (which included inline image support and
      clickable links) and the email view, which requires neither.
      2ed876a2
Loading