Skip to content
Snippets Groups Projects
  1. May 13, 2015
  2. May 11, 2015
  3. May 08, 2015
    • Jared Hancock's avatar
      autocron: Release agent session before running · b076f503
      Jared Hancock authored
      The PHP session system will hold a lock on the session until it is released.
      It is important to release the session before performing long-running tasks
      so that further requests from the agent are not locked.
      b076f503
  4. May 05, 2015
  5. Apr 30, 2015
    • Jared Hancock's avatar
      typeahead: Add scroll support · e939f1be
      Jared Hancock authored
      e939f1be
    • Jared Hancock's avatar
      2fdd4d56
    • Jared Hancock's avatar
      dae9fb2e
    • Jared Hancock's avatar
      typeahead: Port newer `minLength` option · d5e477f5
      Jared Hancock authored
      Which allows opening the typeahead before any input is given
      d5e477f5
    • Jared Hancock's avatar
      Implement resend and arbitrary history · c161b596
      Jared Hancock authored
      Add in the ability for an agent to resend a response. Optionally editing the
      response before sending it, and setting the signature as is possible with
      the usual responses.
      
      When the response is resent, the edited version is marked as GUARDED, and
      subsequent edits will result in new links in the history chain. That is,
      when a response is edited and resent by an agent, that response will remain
      in the history chain.
      c161b596
    • Jared Hancock's avatar
      role: Add role for thread entry editing · 13509d5b
      Jared Hancock authored
      The new role would like be assigned to power users and would all such users
      access to edit any post by any user.
      
      Agents can always edit their own posts, and department managers can edit all
      posts while the ticket is in the department they manage.
      13509d5b
    • Jared Hancock's avatar
      Add concept of thread editing · 5570feca
      Jared Hancock authored
      Threads can be edited by marking the original as hidden and setting it's PID to
      the id of the new entry. The new entry has cloned data from the original and
      sets the `updated` timestamp to reflect the time of last edit. An edited flag
      is added to the new entry to reflect its origin.
      
      This patch suggests that agents can edit their own posts, department managers
      can edit posts while the ticket is in their department, and that help desk
      admins can edit anything.
      
      If a post is edited more than once, only the most recent edit is kept.
      5570feca
  6. Apr 15, 2015
    • Jared Hancock's avatar
      custom-data: Address major confusion · 4efef017
      Jared Hancock authored
      This feature addresses a major issue with the initial implementation of the
      custom data system. The original system confused the usage of
      database-backed field (dynamic-fields) and their corresponding
      implementation. This created the need to crate awkward caching pieces to
      ensure that validation errors and data was maintained. Furthermore, the
      system confused the linking between form instances (dynamic-entry) and the
      form used to represent that entry.
      
      This patch addresses the confusion in two ways:
      
      Dynamic form entries do not link directly to the dynamic form. Instead, the
      ::getForm() method returns something from the forms API directly.
      Furthermore, the ::getFields() method does not return dynamic field
      instances (database backed / designed fields). Instead, the actual
      implementation of the fields from the forms API is retrieved. This allows
      the fields to *always* be cached, which helps preserve data and validation
      state.
      
      Secondly, the dynamic form uses the same system, so that requests to turn a
      dynamic form into a form (via ::getForm) will also result in the same
      behavior, again, where the fields are represented as forms API fields rather
      than the dynamic fields.
      
      So going forward, the dynamic fields are *only* used to create corresponding
      forms API field implementations. The are associated with the dynamic
      counterparts as sparingly as possible.
      4efef017
  7. Apr 14, 2015
  8. Apr 10, 2015
  9. Apr 07, 2015
  10. Apr 02, 2015
  11. Apr 01, 2015
  12. Mar 31, 2015
  13. Mar 24, 2015
  14. Mar 23, 2015
  15. Mar 18, 2015
  16. Mar 17, 2015
    • Jared Hancock's avatar
      search: Fix search on create date · 4d26f29f
      Jared Hancock authored
      This addresses the issue where the advanced search dialog was submitted
      before the date picker inputs were fixed up. This problem arises out of a
      difference between the agent's date formatting preference and the server
      being able to process that date format. The date pickers are reformated to
      yyyy-mm-dd before submission; however, for advanced search, the submission
      happened before the inputs were fixed up.
      
      This patch addresses the issue by manually fixing up the date in the
      submission routine for the advanced search dialog.
      4d26f29f
Loading