Skip to content
Snippets Groups Projects
  1. Jul 03, 2013
  2. May 28, 2013
    • Jared Hancock's avatar
      Various bug-fixes for the upgrader · 0e0f6dcb
      Jared Hancock authored
      - timezone_offset was dropped from the config table at 1.7-dpr1
      - upgrader: only apply five patches in one request
      - upgrader: fix readPatchInfo to work correctly
      - session: support migrating from 1.6 (again)
      - config: support migrating from 1.6 (fallback)
      - config: no default for 'isonline' setting
      - config: fix SQL whitespace issue for schema signature fallbacks
      - config: hash 1.6 versions in the schema signature lookup
      - upgrader: fix logging bug in attachment migration
      0e0f6dcb
    • Jared Hancock's avatar
      Federate configuration settings · db81f071
      Jared Hancock authored
      Change the config table from a column-based table to a key-value table
      with namespacing. This allows several parts of osTicket to store their
      respective configurations in the same table without requiring database
      structure updates
      
      'namespace' is reserved in PHP
      db81f071
  3. May 23, 2013
    • Jared Hancock's avatar
      Use ticket default department=0 · 3e206b68
      Jared Hancock authored
      Since the first department id cannot be assumed
      3e206b68
    • Jared Hancock's avatar
      Use database default storage engine · 55e1c8ec
      Jared Hancock authored
      Drop required usage of MyISAM tables, and drop fulltext indexes as they
      are not used in the code currently anyway. Also, use a blob to store
      session data so as not to waste space with UTF-8 encoding. Lastly, fix
      session_id storage to use VARCHAR(255) which is required for versions
      of MySQL < 5.0.3, and use ascii for the storage model for the
      session_id as it will contain simple characters only.
      55e1c8ec
  4. May 22, 2013
    • Jared Hancock's avatar
      Allow osTicket to install on a database cluster · c83248ce
      Jared Hancock authored
      The problem stems from assumed MySQL insert ids. In MySQL clusters, the id
      numbers will not necessarily be consecutive. This patch causes the install
      and upgrade patches to lookup the assumed values for the linked id numbers.
      c83248ce
  5. Feb 14, 2013
  6. Jan 21, 2013
  7. Jan 18, 2013
  8. Dec 17, 2012
  9. Nov 16, 2012
  10. Oct 19, 2012
  11. Oct 02, 2012
  12. Sep 27, 2012
  13. Sep 18, 2012
  14. Sep 14, 2012
    • Jared Hancock's avatar
      Add chunked file data support · e51bb66f
      Jared Hancock authored
      This will remove the upper limit of BLOB sizes imposed by MySQL with the
      max_allowed_packet setting completely.
      
      This adds a new table %file_chunk which will contain the filedata in smaller
      chunks (256kB). It also includes a new class, AttachmentChunkedData, which
      will handle reading and writing the data, abstracting away the chunks.
      
      This is done by migrating data from the %file table to the %file_chunk
      table. One must beware that this must safely (the migration that is) plug
      into the both the live osTicket developers as well as the users doing a full
      upgrade from osTicket-1.6*. For this, the AttachmentFile::save method was
      patched to use the new AttachmentChunkedData class to write the attachment
      data to the database in chunks. That is, the migrater will use the new code
      on the major upgrade and bypass the filedata column of the %file table
      altogether. Therefore, the patch associated with this commit will not
      migrate any data for the major upgrade.
      
      For developers doing incremental upgrades, the patch included in this
      commit will transfer the data from the %file data to the new %file_chunk
      table by chunking it. As written, only the first 16MB of the attachment is
      migrated. This could easily be adjusted, but it seems like a reasonable
      limit for now.
      e51bb66f
  15. Sep 10, 2012
  16. Sep 03, 2012
  17. Aug 31, 2012
  18. Aug 30, 2012
  19. Aug 13, 2012
  20. Jul 22, 2012
  21. Jul 21, 2012
  22. Jul 16, 2012
  23. Jul 09, 2012
  24. Jul 02, 2012
  25. Jun 30, 2012
  26. Jun 23, 2012
  27. Jun 18, 2012
    • Jared Hancock's avatar
      Add default paper size for printing · 5857dfaa
      Jared Hancock authored
      Allow staff members the ability to select a default paper size which will be
      used in printing tickets via PDF. In the future, this may be overridden per
      ticket by a dialog box at print time.
      5857dfaa
  28. Apr 28, 2012
  29. Apr 25, 2012
  30. Apr 23, 2012
    • Jared Hancock's avatar
      f13d62bd
    • Jared Hancock's avatar
      Add annulment support for ticket events · 0d33dc90
      Jared Hancock authored
      Add the ability of revoking previous ticket state tracking events when new
      events are logged for the same ticket. This will allow, for instance, the
      ability to revert the 'closed' state of a ticket when the ticket is
      reopened.
      
      For statistics tracking, a user could configure whether or not the events
      should be counted for each event tracked or just the non-annulled events.
      For instance, if a ticket is closed and reopened several times, only the
      very last closed event should count toward the statistics for the ticket.
      Therefore, when a ticket is reopened, previous closed events should be
      marked as annulled.
      0d33dc90
  31. Apr 09, 2012
    • Jared Hancock's avatar
      Merge ticket thread tables into one (2 of 2) · abd61039
      Jared Hancock authored
      Add SQL patch file and update the main install SQL (MySQL) script to
      transfer messages, responses, and notes into the new ticket_thread table.
      For new installations, transfer is not necessary because there are no
      messages
      abd61039
  32. 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
  33. Apr 03, 2012
  34. Apr 01, 2012
Loading