Skip to content
Snippets Groups Projects
  1. Aug 02, 2018
    • aydreeihn's avatar
      Help Topic Required Error Message: · 9ef8f789
      aydreeihn authored
      This commit addresses an issue where the validation error for trying to save a Ticket without a Help Topic was not being shown as a result of the error message that was added to ensure that the Help Topic selected is Active.
      9ef8f789
    • aydreeihn's avatar
      Setting - Require Help Topic to Close: · cd3088c3
      aydreeihn authored
      This commit adds an Admin setting that requires a Ticket to have a Help Topic before it can be closed. It can be set by going to:
      
      Admin Panel | Settings | Tickets | Require Help Topic to Close
      
      If enabled, Tickets will have a warning banner across the bottom of the page, a warning banner when trying to change the Ticket status to Closed, and a warning flag beside the field when editing the Ticket.
      
      By default, this setting is NOT enabled.
      cd3088c3
    • JediKev's avatar
      issue: Saved Searches Flags · 97203c32
      JediKev authored
      This addresses an issue where class Queue sets SavedSearches flags to
      `FLAG_QUEUE` causing the SavedSearches to become Primary Queues.
      97203c32
    • aydreeihn's avatar
      Email Name Format: · e9a83423
      aydreeihn authored
      This commit addresses an issue where email alerts were not being properly sent out if the name format is set as 'Last, First' or if it has special characters. We now encode names with quotation marks to ensure that emails are sent out properly (escape possible commas).
      e9a83423
  2. Aug 01, 2018
    • aydreeihn's avatar
      Help Topic Inline Save Fix: · 00a3be21
      aydreeihn authored
      This commit adds a validation for Help Topics that are saved using Inline Edit. In the event that a Ticket has a disabled Help Topic assigned to it, we want to display the name of the Help Topic, but we want to make sure that value cannot be saved.
      
      In addition, it makes sure that if the Help Topic is disabled, it is the only disabled Help Topic that shows up in the list.
      00a3be21
    • JediKev's avatar
      issue: Priority Field Template Variable · 2433b8f9
      JediKev authored
      This addresses an issue with PriorityField Template Variables introduced
      with 4359 where the priority variable will appear as "Array" instead of the
      actual value. This adds an `asVar()` function to `class PriorityField` to
      get the appropriate data.
      2433b8f9
  3. Jul 31, 2018
    • aydreeihn's avatar
      Mailer Typo: · 7253baf2
      aydreeihn authored
      This commit fixes a mistake where a variable was incorrectly set. This in turn fixes the lint tests.
      7253baf2
    • JediKev's avatar
      issue: Client Side Thread Entries · e012bea1
      JediKev authored
      This addresses an issue where the client side thread entries are all grouped
      within the same div. This pushes all grouped entries to one side of the page
      making them illegible.
      e012bea1
    • Peter Rotich's avatar
      SavedSearch Fixup · eadccc2a
      Peter Rotich authored
      This commit addresses an issue where saved searches were not being ported to
      SavedQueues on 1.10.x upgrade to 1.11.x
      eadccc2a
  4. 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
    • JediKev's avatar
      collab: @localhost Mailer Error · 1bd37820
      JediKev authored
      This addresses issue 4370 where Users responding to tickets via Client
      Portal triggers a “Failed to add recipient: @localhost” Mailer Error in the
      osTicket Logs. This is due to the `notifyCollaborators()` function that
      lacks a check for an empty mailing list.
      1bd37820
    • JediKev's avatar
      mailer: EmailAddress Object as Array · effa8aeb
      JediKev authored
      This address issue 4366 where sending a User a password reset email throws a
      fatal error of "object of type EmailAddress cannot be used as an array".
      This adds a switch case for EmailAddress to get the User's email address as
      a string not an object.
      effa8aeb
    • JediKev's avatar
      issue: CLI Deploy Missing Bootstrap Fix · 2dc08a9e
      JediKev authored
      This addresses an issue introduced with 4332 where the deploy CLI breaks
      upon deploying to an existing location. This checks to see if there is a
      bootstrap file in the destination first and if so it uses that one if not
      uses the source.
      2dc08a9e
    • JediKev's avatar
      issue: ChoiceField Template Variable · 759b004c
      JediKev authored
      This addresses an issue on the forums where osTicket does not add the proper
      values to any custom choices field template variable. This adds an `asVar()`
      function to `class ChoiceField` so we can return the proper values for the
      template variables.
      759b004c
    • JediKev's avatar
      issue: Client Side Column Sorting · 9c7a8386
      JediKev authored
      This addresses an issue where client side column sorting does not work at
      all. This is due to the if/else statement that checks for a REQUEST sort
      order and if the REQUEST sort order matches an `$orderWays` array value. The
      if statement returns TRUE for DESC and sets the sort order to DESC as it
      equals '-' (a dash) but ASC equals '' (an empty string) so it returns FALSE
      which fails-over to the else statement setting the sort order to DESC. In
      addition, this adds sorting icons the the column headers to make it more
      obvious they are sortable.
      9c7a8386
    • JediKev's avatar
      issue: TextThreadEntryBody Sanitize · cec8be8e
      JediKev authored
      This addresses an issue introduced with a3d896c8 where TextThreadEntryBodies
      are not keeping their new line characters causing the email format to appear
      wonky. This balances the entry and then htmlchars it to ensure no XSS.
      cec8be8e
  5. Jul 26, 2018
    • JediKev's avatar
      mailer: EmailAddress Object as Array · debf76de
      JediKev authored
      This address issue 4366 where sending a User a password reset email throws a
      fatal error of "object of type EmailAddress cannot be used as an array".
      This adds a switch case for EmailAddress to get the User's email address as
      a string not an object.
      debf76de
  6. Jul 25, 2018
  7. Jul 24, 2018
    • JediKev's avatar
      issue: CLI Deploy Missing Bootstrap Fix · 2dacfde0
      JediKev authored
      This addresses an issue introduced with 4332 where the deploy CLI breaks
      upon deploying to an existing location. This checks to see if there is a
      bootstrap file in the destination first and if so it uses that one if not
      uses the source.
      2dacfde0
    • JediKev's avatar
      issue: Client Side Column Sorting · 1a92dcb1
      JediKev authored
      This addresses an issue where client side column sorting does not work at
      all. This is due to the if/else statement that checks for a REQUEST sort
      order and if the REQUEST sort order matches an `$orderWays` array value. The
      if statement returns TRUE for DESC and sets the sort order to DESC as it
      equals '-' (a dash) but ASC equals '' (an empty string) so it returns FALSE
      which fails-over to the else statement setting the sort order to DESC. In
      addition, this adds sorting icons the the column headers to make it more
      obvious they are sortable.
      1a92dcb1
    • JediKev's avatar
      issue: IE White Screen Of Death · ab7844ae
      JediKev authored
      This addresses an issue on the forums where clicking to view the ticket as
      an Agent in IE 11 throws a white screen of death. This is due to the
      shorthand javascript arrow functions in `include/staff/ticket-view.inc.php`.
      ab7844ae
  8. Jul 23, 2018
    • aydreeihn's avatar
      Collaborator Fixes: · a4de3514
      aydreeihn authored
      - Fix for ‘creating default object from empty value’ message
      - Add collaborators in the Ticket::create function instead of Ticket::open so that we can getRecipients in postMessage function
      - Add relevant thread_entry_recipients in postMessage function for front end tickets (scp or Web Portal)
      
      Note: This in turn fixes Issue #4354
      a4de3514
    • aydreeihn's avatar
      Recipients Icon + View Email Recipients for Users · 8c707b5d
      aydreeihn authored
      This commit puts the recipient icon (for one recipient or multiple) on Thread Entries created by Users. It also stores email recipients so you can view them in the Thread Entry Actions.
      
      For Emails:
      All recipients in the email are tracked
      
      For front end entries:
      All recipients who received an alert are tracked
      8c707b5d
    • JediKev's avatar
      issue: ChoiceField Template Variable · 59ec7afc
      JediKev authored
      This addresses an issue on the forums where osTicket does not add the proper
      values to any custom choices field template variable. This adds an `asVar()`
      function to `class ChoiceField` so we can return the proper values for the
      template variables.
      59ec7afc
  9. Jul 20, 2018
    • JediKev's avatar
      issue: TextThreadEntryBody Sanitize · d8abe105
      JediKev authored
      This addresses an issue introduced with a3d896c8 where TextThreadEntryBodies
      are not keeping their new line characters causing the email format to appear
      wonky. This balances the entry and then htmlchars it to ensure no XSS.
      d8abe105
  10. Jul 19, 2018
    • JediKev's avatar
      thread: getId On Non-Object · e3b333ed
      JediKev authored
      This addresses issue 4347 where opening a ticket without an initial message
      for the User and replying to it as an agent, fatally errors. This is because
      osTicket does not check if there is a last message before getting the ID
      from it. So it tries to lookup the ID of a non-object therefore fatally
      erroring out.
      e3b333ed
    • aydreeihn's avatar
      Collaborator Thread Event for Web Portal: · dc9f4327
      aydreeihn authored
      This commit makes it so that Users are able to see all Thread Events that pertain to a Collaborator being added to the Ticket.
      dc9f4327
  11. Jul 18, 2018
    • aydreeihn's avatar
      Collaborator Tickets Visibility Fix: · 98dc5d9b
      aydreeihn authored
      This commit fixes the counts in the Web Portal based on which Tickets the User has access to.
      98dc5d9b
    • aydreeihn's avatar
      Collaborator Tickets Visibility: · e9db21a5
      aydreeihn authored
      This feature gives Agents the capability deciding whether or not Users should be able to see Tickets to which they are Collaborators for in their Ticket queues.
      
      By default, Users are able to see all Tickets they take part in whether they are the User for the Ticket or a Collaborator.
      
      If the Agent would like to disable Users seeing their Collaborator Tickets, they can configure the setting here:
      Admin Panel | Tickets | Settings | Collaborator Tickets Visibility
      e9db21a5
    • aydreeihn's avatar
      Email Recipients Revisited Corrections · 731c9fe9
      aydreeihn authored
      - Clean up/correct notifyCollaborators function
      - Make sure function calls are passing in all needed variables
      - getContact function added to EmailRecipient class to properly set up email notifications
      - Corrections on encoding recipients for thread entries
      731c9fe9
    • aydreeihn's avatar
      Ticket-View Collaborator Collapsible Fix: · 7be98ee7
      aydreeihn authored
      This commit fixes an issue where the font for the word 'Collaborators' was being overwritten by the font associated with the icon-caret-right class.
      7be98ee7
    • Jared Hancock's avatar
      Revert "issue: Orphaned File Query Rewrite" · b778736f
      Jared Hancock authored
      An index was added to the v1.11 branch to support the ORM query. Because the
      index cannot be applied to v1.10, the query was rewritten for the 1.10.x
      branch to provide better performance without changes to the database. When
      1.10.x was merged into 1.11.x the rewritten SQL accidentally showed up. This
      reverts that merge to use the original ORM query.
      b778736f
  12. Jul 17, 2018
    • JediKev's avatar
      issue: Orphaned File Query Rewrite · e5dd24e0
      JediKev authored
      This addresses an issue that was introduced by a previous attempt to
      address the orphaned file query. The previous attempt addressed the
      original issue but slowed database performance so this addresses the
      performance issue.
      e5dd24e0
    • JediKev's avatar
      department: Error Feedback · 9f3b6b27
      JediKev authored
      This addresses an issue where osTicket did not ensure associated items exist
      before saving to the database. This also addresses an issue where the Parent
      Topic error was not displayed on page.
      9f3b6b27
    • JediKev's avatar
      security: Fix Multiple XSS Vulnerabilies · 4b8ee133
      JediKev authored
      It may be possible to steal or manipulate customer session and cookies,
      which might be used to impersonate a legitimate user, allowing the hacker to
      view or alter user records, and to perform transactions as that user.
      Sanitation of hazardous characters was not performed correctly on user
      input.
      
      osTicket did not properly sanitize array values in `Format::htmlchars()`.
      Some values in the Admin Interface were not properly sanitized and returned
      to the response.
      4b8ee133
    • JediKev's avatar
      issue: Auto-Assignment Log · d4262cef
      JediKev authored
      This addresses an issue on the Forums where the Auto-Assignment Thread
      Event (configurable via Help Topic) uses the Email of the User rather than
      the User’s Name. This adds the correct function to retrieve the User’s
      Name if the User has an Account.
      d4262cef
    • JediKev's avatar
      issue: Ticket Lock On Disable · 606f45ba
      JediKev authored
      This addresses an issue where disabling Ticket Locks but setting a time
      for the Lock Timeout will always throw a "lock required" error. This adds
      a check to see if locks are enabled AND there is a time set. If locks are
      disabled it will not throw the error.
      606f45ba
    • JediKev's avatar
      issue: User Import No Email · b65185ba
      JediKev authored
      This addresses issue 4329 where you can import a User with no email
      address via CSV file. Once the User is added and you try to update them
      with an email address it fails due to no default email. This updates the
      check for email address from `!isset()` to `empty()` which will correctly
      check for empty string.
      b65185ba
    • JediKev's avatar
      issue: CLI Deploy Missing Bootstrap · ee208fca
      JediKev authored
      This addresses issue 4322 where deploying via CLI is missing
      `bootstrap.php`. This is due to the `get_include_dir()` function that
      tries to include a file from the destination which doesn’t exist yet,
      causing a fatal error. This updates the function to use `$this->source`
      instead of `$this->destination` to correctly find and include
      `bootstrap.php`.
      ee208fca
    • JediKev's avatar
      issue: Language Pack Locale Mismatch · 132d838f
      JediKev authored
      This addresses issue 4325 where the Language Pack Locales are mismatched.
      The Locale for the first language is displayed on the second language,
      etc. This updates the `$manifest` variable to be set before we display
      data so the correct `MANIFEST` file is included and all language data is
      displayed correctly.
      132d838f
Loading