Skip to content
Snippets Groups Projects
  1. Apr 21, 2012
    • Jared Hancock's avatar
      Add lint test for (calls to) undefined functions · cd4b4faa
      Jared Hancock authored
      And correct several undefined function errors from several source files. So
      while function names in PHP are considered case-insensitive, it still makes
      sense to use consistent camel casing for both defining and calling methods.
      The lint test searches the code base for method calls, and then searches the
      code base again looking for a function definition matching the name of the
      function invoked. It's not failsafe, because it doesn't detect the class
      from which the method should belong, so it's likely to have false negatives.
      Furthermore, it won't work well for PHP 5 where several classes are built
      into PHP (and aren't searchable in the osTicket code base).
      
      Remove the include/staff/api.inc.php as it no longer appears to be used (and
      contains references to undefined methods).
      cd4b4faa
  2. Apr 06, 2012
  3. Apr 02, 2012
  4. Apr 01, 2012
  5. Mar 30, 2012
  6. Mar 27, 2012
    • Jared Hancock's avatar
      Add export support for ticket search page · cc7f20b9
      Jared Hancock authored
      Adds a link to the scp/tickets.php page (Tickets) allowing for the export of
      the data to CSV file. This is preliminary and still needs a few items:
        * An icon + button CSS definition
        * Support for alternate columns (staff assigned, etc.)
      
      Also add beginnings of complex export support (PDF, JSON  and other
      formats
      to follow). CSV is fully supported for now.
      
      And for brevity, add a Http::download method to allow for consistent and
      browser-independent forced page content downloads
      cc7f20b9
    • Jared Hancock's avatar
      (Re)Add tracking of ticket history · cf38f653
      Jared Hancock authored
      Add a %ticket_history table to track ticket states over time, correlated to
      the user account changing the ticket. Then, tickets are tracked to the table
      when (re)opened, closed, overdue, transferred and assigned.
      cf38f653
  7. Mar 26, 2012
  8. Mar 23, 2012
  9. Mar 22, 2012
  10. Mar 21, 2012
    • Jared Hancock's avatar
      Redirect URL clicks from within ticket viewing · 9c72ca86
      Jared Hancock authored
      Change href definitions for embedded links in the ticket thread so that the
      click will be bounced through a script. This will hide the original referrer
      URL where the link originated.
      9c72ca86
    • Jared Hancock's avatar
      Add deleteOrphans() utility to the File class to remove unused files · d91361d3
      Jared Hancock authored
      Also add a cron job to perform the task on demand
      Change the implementation for Ticket::deleteAttachments to call this method
      after simply removing all entries from the %ticket_attachment table
      d91361d3
    • Jared Hancock's avatar
      Reject tickets from banned emails · 28911eec
      Jared Hancock authored
      This will include other information described in email filters that mark the
      email as rejected. For instance, sender-name, message body content, etc. It
      also allows for other matching methods (contains, !=, !contains), rather
      than the quick banlist method from EmailFilter::isBanned().
      
      Also fix bug in Filter::__construct that prevented any filter from ever
      matching
      28911eec
  11. Mar 19, 2012
Loading