Skip to content
Snippets Groups Projects
  1. Jul 31, 2018
    • aydreeihn's avatar
      Reset Button Fix: · 73ed2e57
      aydreeihn authored
      This commit makes sure that when the Reset button is hit, we only reset File Upload Field attachments for the specific form we're on.
      
      Ex: Viewing a Ticket as an Agent and switching between 'Post Reply' and 'Post Internal Note'. If you had an image in the Post Reply file upload but switched to Post Internal Note and hit Reset, only the text/attachments on the Post Internal Note tab would be cleared.
      
      (Improves upon #4369)
      73ed2e57
  2. Jul 30, 2018
    • aydreeihn's avatar
      Web Portal Fixes: · 4decaeca
      aydreeihn authored
      - Add space between column headers and sort arrow
      - Fix sorting by 'Subject' column
      - Fix redactor issues with 'Reset' button
      	- Make sure text within redactor is cleared correctly
      	- Make sure we don't keep attachments if Reset
      - Make sure redactor is reinitialized where needed
      4decaeca
  3. Jul 18, 2017
    • JediKev's avatar
      oops: Fix Reset Button · 6b639d6f
      JediKev authored
      This addresses issue 3670 where the reset button does nothing but return
      an error. This adds a check for `data-draft-id` to the reset button. If
      there is one it will delete the draft and reset the text box. If there is
      not one then it will just reset the text box.
      Also includes:
      - A line to add the `data-draft-id` to the text box automatically, when a
      draft is saved, through AJAX.
      6b639d6f
  4. Mar 25, 2016
  5. Aug 04, 2015
  6. Jul 30, 2015
  7. Jul 21, 2015
  8. May 20, 2015
  9. May 13, 2015
    • Jared Hancock's avatar
      richtext: Fix draft delete button · 971f2055
      Jared Hancock authored
      971f2055
    • Jared Hancock's avatar
      Fixup a few small style issues on the client portal · 7db248ea
      Jared Hancock authored
      This includes adding support to the Redactor editor to force the width of th
      editable content to match the width of the displayed content on the client
      portal. Also, the landing page displayed on the client portal is themed
      (css-class wise) to match that of the Redactor content similar to the FAQ
      and thread-entry designer boxes as well.
      7db248ea
    • Jared Hancock's avatar
      i18n: Add language and spell check hints · 778f70d2
      Jared Hancock authored
      This patch adds Content-Language and <link rel="alternate"> information to
      the client interface for better integration with search engines. It also
      adds @lang attribute to the <html> element and various input, textarea, and
      richtext boxes for better spell check integration and accuracy.
      778f70d2
  10. May 05, 2015
    • Peter Rotich's avatar
      redactor: Change event · 20c2a91c
      Peter Rotich authored
      Register change event on underlaying textarea on focusout. This is necessary
      for event listener e.g locking system.
      20c2a91c
  11. Apr 30, 2015
    • Jared Hancock's avatar
      dae9fb2e
    • Jared Hancock's avatar
      Allow selection of original poster's signature · acc58c4b
      Jared Hancock authored
      Also add resend only option (for the case when "Edit and Resend" is not
      allowed).
      acc58c4b
    • 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
      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
  12. Apr 07, 2015
  13. Feb 27, 2015
    • Jared Hancock's avatar
      draft: Find the draft corresponding to your user id · 12922b3c
      Jared Hancock authored
      Previously, any draft would be identified — even if it isn't owned by the
      current user. Then, when the draft would attempt to be updated, the update
      would be refused and the annoying draft saved popup would appear.
      12922b3c
    • Jared Hancock's avatar
      lock: Sync lockCode input with lock renew · 06a1119b
      Jared Hancock authored
      Also, add warning popup when lock is about to expire and allow the user to
      attempt to renew the lock. Also, connect the keyup callback for redactor to
      the autoLock.handleEvent for greater update of the lock, and also deadband
      the lock to every 10 seconds.
      06a1119b
  14. Feb 13, 2015
  15. Feb 12, 2015
    • Jared Hancock's avatar
      Collaborators for threads, lock as a utility · 67d55198
      Jared Hancock authored
      This patch includes a slight database migration, and adjusts the
      functionality of a few core components.
      
        * Move collaborators from the ticket to the thread.
          This concept allows collaborators on any object which has a thread,
          including tasks.
      
        * Add flags to the thread entry
          This will allow flagging thread entries for different purposes.
          Initially this can be used to flag the original message of a thread in
          case a ticket / thread is created without an initial message.
      
        * Lock becomes more of a utility
          The lock is now disconnected from the ticket and is a separate utility.
          Separately, the ticket and task objects can have a reference to a lock
          object. Furthermore, when submitting some activities to tickets, the
          lock is verified to be owned by the respective agent, and the lock code
          must match a current lock code. The code is rotated on each acquire()
          call to guard against double submissions.
      
        * Collaborator is an ORM model
          The TicketUser class is broken up now so that the collaborator instance
          can exist apart from a ticket. Email message ids are now generated for
          collaborators without respect for a ticket so that collaborators can be
          properly supported on any thread.
      67d55198
  16. Jan 30, 2015
  17. Dec 08, 2014
  18. Oct 03, 2014
  19. Oct 02, 2014
  20. Sep 29, 2014
    • Jared Hancock's avatar
      forms: Revisit several small issues for "info" field · e9dfba9c
      Jared Hancock authored
        * Use the title of "Information" with internal tag of "info"
        * Add "Visibility" column to UI and retire "Required" and "Internal"
          columns
        * Add visibility selection to new fields and show visibility to the user
          information fields when displayed on the ticket details form
        * Make the visibility settings translatable
        * Use constants internally for visibility configuration detection
        * Use a larger input when managing the information HTML content
        * Fix validation errors for new fields
          * Enforce new field name uniqueness
          * Enforce new field name character validation
      e9dfba9c
  21. Sep 25, 2014
  22. Sep 05, 2014
  23. Sep 01, 2014
  24. Aug 28, 2014
    • Jared Hancock's avatar
      html: Fix dropped text after inserted image · 402d4be9
      Jared Hancock authored
      On some setups, IE v10 on Windows 7 at least, text added to the Redactor
      editor after an image is inserted (via the image popup dialog for instance),
      will not be retrieved via the ::get() method and so will not be submitted
      with the form submit button.
      
      This patch introduces a workaround by manually calling ::sync() for the
      Redactor when the submit button is pressed — just before the form is
      submitted.
      402d4be9
Loading