Skip to content
Snippets Groups Projects
  1. Apr 23, 2012
  2. Apr 22, 2012
  3. 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
  4. Apr 19, 2012
  5. Apr 13, 2012
  6. Apr 11, 2012
  7. Apr 09, 2012
  8. Apr 06, 2012
    • Jared Hancock's avatar
      Track ticket owners at each tracked ticket event · a3b6e39e
      Jared Hancock authored
      Track assigned department, team, staff, and help topic when the ticket event
      occurs. This will greatly help in correlation of various reports and queries
      
      Also start plowing the way toward incremental database updates using a
      patching technique. The hash of the main install SQL script for a respective
      database will be used to track the signature of the database currently. The
      signature will be stored in %config::schema_signature, and the main.inc.php
      script can simply check the value in the schema against the value known to
      the source code to be the signature the code expects. Should the two
      signatures differ, patches in the setup/inc/sql/patches folder should exist
      and be executed to assist in incrementally upgrading the database to the
      new-current schema version.
      a3b6e39e
    • Peter Rotich's avatar
      Merge pull request #47 from greezybacon/feature/test-suite-lint · fa14754b
      Peter Rotich authored
      Fix unitialized variables.
      
      Reviewed by: Peter Rotich 
      fa14754b
    • Jared Hancock's avatar
      13450df3
    • Jared Hancock's avatar
      Add (beginnings of) a formal test suite · 8a56e5ad
      Jared Hancock authored
      8a56e5ad
Loading