Skip to content
Snippets Groups Projects
  1. Aug 01, 2013
  2. Jul 23, 2013
    • Jared Hancock's avatar
      Add concept of initial data · 1c5338ac
      Jared Hancock authored
      We should move initial data out of the install SQL file, which will make way
      for a few things:
      
        * Internationalization -- which breaks the migrater model currently.
              Moving the data outside the install script makes it translatable
              without changing the SQL hash
        * Review -- Migrations which add more data don't highlight new features
              that need review to the adminsitrator
      1c5338ac
  3. Jul 04, 2013
    • Jared Hancock's avatar
      Support multiple update streams · b02778cd
      Jared Hancock authored
      This patch allows the upgrader to upgrade multiple database update
      'streams'. The main stream is renamed to 'core' to reflect changes made
      to the config class. This will significantly ease customizations
      requiring database customizations, and will make plugins requiring
      database changes possible.
      b02778cd
  4. Jul 03, 2013
  5. 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
      03ede650
    • 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
  6. May 23, 2013
  7. 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
  8. May 13, 2013
  9. Apr 02, 2013
  10. Mar 14, 2013
  11. Mar 13, 2013
  12. Feb 19, 2013
  13. Feb 14, 2013
  14. Jan 21, 2013
  15. Jan 18, 2013
  16. Jan 07, 2013
  17. Dec 17, 2012
  18. Nov 01, 2012
  19. Oct 19, 2012
  20. Oct 03, 2012
  21. Oct 02, 2012
  22. Sep 27, 2012
  23. Sep 18, 2012
  24. 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
  25. Sep 10, 2012
  26. Sep 03, 2012
Loading