Skip to content
Snippets Groups Projects
  1. Mar 13, 2015
  2. Mar 10, 2015
  3. Mar 09, 2015
  4. Mar 05, 2015
  5. Mar 02, 2015
    • Jared Hancock's avatar
      Revert "filter: Fix filtering by list item properties" · 3331b720
      Jared Hancock authored
      This partially reverts commit bff191b6.
      The hasSpecialSearch() method can be retired in `develop-next` — NOT in the
      `develop` branch
      3331b720
    • Jared Hancock's avatar
      oops: Fix corruption of thread body posted by collabs · b143ea6f
      Jared Hancock authored
      If the system receives an email by a collaborator which has not yet been
      added to the ticket (a friend of a friend — that is, a collaborator forwards
      an email to a third-party), a header is added to the thread body something
      like:
      
      Received From: afriendofafriend@mycompany.tld
      
      However, if the thread body is text and the HTML ticket thread is enabled,
      then the text formatting hint will be lost and the body will be assumed as
      HTML deeper inside the thread entry creation process. Therefore, the
      whitespace inside the resulting thread entry will be collapsed.
      
      This patch addresses the issue by maintaining the original format hint with
      the thread body.
      b143ea6f
  6. Feb 27, 2015
  7. Feb 18, 2015
  8. Feb 17, 2015
  9. Feb 16, 2015
  10. Feb 13, 2015
    • Jared Hancock's avatar
      f9547ed3
    • Jared Hancock's avatar
      priority: Admin can elect the priority of each prio field · 30f56195
      Jared Hancock authored
      This allows for multiple priority fields to specify differing defaults, and
      it also allows for a selection of 'System Default' in the config, which
      renders as 'Default' when rendered.
      
      It also fixes up a couple PHP warnings about include/class.forms.php
      30f56195
    • Jared Hancock's avatar
      oops: Fix empty export in some cases · 979e4884
      Jared Hancock authored
      If the ticket details form has an extra field of type "Priority Level"
      (beyond the one built in), exports of tickets will be empty.
      
      This patch addresses the issue in the exporter which uses an older version
      of the custom data materialized view (__cdata table), which created separate
      columns for selection and ID values. The current cdata system only creates a
      single column and stores the ID value. It also addresses an issue where the
      ID column was passed to the PriorityField::to_php() as the first argument.
      979e4884
  11. Feb 12, 2015
    • Jared Hancock's avatar
      thread: Fix a couple issues with email message-ids · ae603f80
      Jared Hancock authored
        * Fix matching of collaborators on return emails. Previously the
          collaborator ID was used instead of the related user ID. Also, the 'C'
          user class (collaborator) was not handled in ::decodeMessageId()
        * Only send a reply separator for email related to a thread
        * Always generate a tag for the email message id. This will allow reply
          from the help desk administrator for the new ticket alert
      ae603f80
  12. Feb 11, 2015
    • Jared Hancock's avatar
      oops: Fix truncated random data · ca970b2a
      Jared Hancock authored
      ca970b2a
    • Jared Hancock's avatar
      login: Require CSRF token to login · 504831fe
      Jared Hancock authored
      This patch fixes a vulnerable scenario, where sequential login attempts can
      be made without an existing session, and without a valid CSRF token. This
      scenario lends itself well for brute force password attempts, because
      attackers can avoid using a session and still send requests to determine if
      a set of credentials are valid. This vector also avoids the authentication
      lockout mechanism, because it requires an ongoing session to shutdown the
      requests.
      
      This patch addresses the issue by requiring a session and a valid CSRF token
      generated by the server and placed in the session to be submitted with the
      credentials. Therefore, an existing session and a Cookie header are required
      to process a login attempt. Secondly, the CSRF token will be changed on the
      server after each login processed. Therefore, for each session, a subsequent
      GET request would be necessary before submitting another login attempt.
      504831fe
  13. Feb 06, 2015
  14. Feb 03, 2015
  15. Feb 02, 2015
  16. Jan 30, 2015
  17. Jan 24, 2015
  18. Jan 23, 2015
  19. Jan 14, 2015
    • Jared Hancock's avatar
      Session never expires · ee072130
      Jared Hancock authored
      This patch sends updated session cookies to the browser when the session is
      refreshed on the server. This allows the session cookie to expire on the
      browser at the same time the session timeout occurs at the server. In the
      event the session timeout is configured in osTicket not to expire, the
      cookie will expire after seven days on the client browser, and will expire
      in PHP when it is garbage collected sometime after 86400 seconds after the
      time last refresh time.
      
      Using this method, the session will never expire if the session timeout in
      osTicket is configured to 0, and the session is refreshed at least daily.
      ee072130
  20. Jan 13, 2015
    • Chefkeks's avatar
    • Jared Hancock's avatar
      Fix very predictable random data on some platforms · 2a358417
      Jared Hancock authored
      Misc::randCode does not generate significantly random data for Windows
      platforms with a local database. This stems from the random seed using the
      milliseconds from the current time of day and the database connection time,
      in microseconds. Because Windows has especially poor sub-second time
      resolution via the microtime() function, the seed does not have many
      variations.
      
      This patch addresses the issue by using the included Crypto::random()
      function as a source of random data rather than the mt_rand() function, as
      it uses native cryptographic random data generators if possible to generate
      the data, and uses microtime() as a fallback if no other source of random
      data is available on the platform.
      2a358417
  21. Jan 12, 2015
  22. Jan 09, 2015
    • Jared Hancock's avatar
      alerts: Include team members on new message alert · b7e75b1e
      Jared Hancock authored
      This fixes a slight issue where the team members would never be included on
      the new message alert. Now, the system will send to either the assigned
      staff member, if any, or the members of the assigned team, again, if any.
      b7e75b1e
Loading