Skip to content
Snippets Groups Projects
  1. Jan 02, 2015
  2. Dec 31, 2014
  3. Dec 30, 2014
    • Peter Rotich's avatar
      http: Use http build query · f0b18dad
      Peter Rotich authored
      Use http::build_query instead of inline urlencode
      f0b18dad
    • Jared Hancock's avatar
      filters: Fix several small, major issues · ada4d9a0
      Jared Hancock authored
        * Fix incorrect mapping to user email address
        * Fix early rejecting of tickets — even if a filter earlier in the
          matching filter list had "stop on match" set
        * Fix ::stopOnMatch referring to incorrect db field
      
      The new logic abandons the early rejection logic in ticket create. Instead,
      the normal validation is completed as usual. Thereafter, the filter is
      initialized and applied to the ticket. Upon rejection, a RejectedException
      is thrown by the ::apply() method of the TicketFilter. The Ticket::create()
      method will handle the exception and reject the ticket.
      ada4d9a0
  4. Dec 28, 2014
  5. 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
    • Jared Hancock's avatar
      dept: Add function to retrieve alert email mailbox · 0b91a9ca
      Jared Hancock authored
      This patch adds a ::getAlertEmail() method to the Department class, which
      allows administrators to use the department email address (normally for
      replies) as the alert email address. If not specified, the system alert
      email address is retrieved instead, automatically.
      0b91a9ca
  6. Dec 22, 2014
    • Jared Hancock's avatar
      Correct set status on new ticket · 646fc2c8
      Jared Hancock authored
      This affects new ticket by staff as well as honoring the influence of ticket
      filters on new ticket, where the status may be set to something other than
      the system default. Even the system default may be influenced if it were set
      to a closed state derivative.
      
      So the concept is simple: the new status should be set using the standard
      logic so that the closed_by staff member, date, events, and other
      information is set as normally is when a ticket is closed.
      646fc2c8
  7. Dec 18, 2014
  8. Dec 17, 2014
  9. Dec 16, 2014
  10. Dec 15, 2014
    • Jared Hancock's avatar
      Ensure case-insensitive file extension comparison · edcb6960
      Jared Hancock authored
      Ensure that when generating the list of acceptable file extensions, that the list is lower cased, because the extension from the filename will be lower-cased before attempting to find the extension in the list of acceptable extensions.
      edcb6960
  11. Nov 29, 2014
  12. Nov 20, 2014
  13. Nov 19, 2014
  14. Nov 14, 2014
  15. Nov 13, 2014
    • Jared Hancock's avatar
      i18n: Clarify attachment settings labels · be5b63fe
      Jared Hancock authored
      be5b63fe
    • 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
  16. Nov 04, 2014
  17. Oct 31, 2014
  18. Oct 29, 2014
  19. Oct 28, 2014
  20. Oct 27, 2014
Loading