Skip to content
Snippets Groups Projects
  1. Jul 28, 2014
  2. Jul 07, 2014
  3. May 19, 2014
  4. Apr 11, 2014
  5. Apr 09, 2014
  6. Apr 07, 2014
    • Jared Hancock's avatar
      Fixup missing column in upgrades from < v1.8.0 · 9568ff48
      Jared Hancock authored
      There was a major goof for osTicket 1.8.0 where the installer created a
      `form_id` column in the `%filter` table; however, the upgrader neglected to
      add the column. Therefore, users who have upgraded from a version previous
      to 1.8.0 will not have the `form_id` column in their database whereas users
      who installed osTicket >= v1.8.0 and upgraded will have the column. Since
      MySQL has no concept of `ADD IF NOT EXISTS`, this dynamic query will
      assist with adding the column if it doesn't exist.
      
      Thanks, http://stackoverflow.com/a/16405301/1025836
      9568ff48
  7. Apr 02, 2014
  8. Mar 25, 2014
  9. Mar 13, 2014
  10. Feb 27, 2014
  11. Feb 22, 2014
    • Jared Hancock's avatar
      file: Fix saving backend char · e84030f4
      Jared Hancock authored
      Because the file type normally defaults to the system default (for fetched
      emails at least), the backend char was not saved, because the file type char
      was left at the system default. Therefore, if a file is saved to a backend
      other than the default (in the database), the data will likely be saved to
      the backend, but the file metadata will reflect the incorrect backend.
      
      The only reason the file type char was not defaulted in the
      AttachmentFile::save() method was for the migration process from osTicet 1.6
      to osTicket 1.7. This is mitigated by passing `false` specifically from the
      migration task.
      
      Since otherwise the file type char is now set, the backend char is now saved
      with the file metadata.
      e84030f4
  12. Feb 19, 2014
  13. Jan 27, 2014
    • Jared Hancock's avatar
      Drop `subject` and `body` from filters · 694221d2
      Jared Hancock authored
      They are only available for tickets arriving via the email channel. All
      other channel (including email) use the new ticket form to record the
      subject and body, which are mapped to the 'Issue Summary' and 'Issue
      Details' fields respectively
      
      Structure the drop-down list for the `what` column to be future-minded
      concerning custom user data matching.
      694221d2
    • Jared Hancock's avatar
      Add PK to %ticket_email_info.`id` · 7f9415ff
      Jared Hancock authored
      This patch partially reverts the previous database migration patch which
      added a primary key to the table on the `thread_id` column. This column
      cannot be used, because there may be multiple entries for thread_id = 0.
      
      This also allows ticket_collaborator.isactive to be negative, as well as
      adds the database portion of regex support for ticket filters.
      7f9415ff
  14. Jan 24, 2014
  15. Jan 18, 2014
    • Jared Hancock's avatar
      Rewrite %file table structure · ba781964
      Jared Hancock authored
      Add `attrs` field for backend state information (multi-part migration,
      multi-part upload, etc). Change `size` to be an integer rather than text
      field. (Storage space will be about the same, but int makes more sense).
      Size the `key` and `signature` for ~512 bits. The base64 encoding allows
      6-bits per char. At 86 chars, we have 516 bits maximum space.
      ba781964
    • Jared Hancock's avatar
      Fixup storage of email attachments · 8259ea0f
      Jared Hancock authored
      Fixes the rewriting of the `key` field in the ticket thread body. The
      storage de-duplication system may replace the `key` value with an existing
      one. The ticket thread system will use the `key` value assigned when the
      file is committed to the database or the existing key of the duplicate file.
      
      Also fixup installation issues with the attachment storage plugin
      architecture
      8259ea0f
    • Jared Hancock's avatar
      Migrate file metadata table · d5305279
      Jared Hancock authored
        * Include a `bk` column to store the storage backend
        * Include a `signature` column which represents a repeatable hash of the
          file contents
        * Rename `hash` to `key` since it isn't a real hash
      d5305279
  16. Jan 17, 2014
  17. Jan 15, 2014
  18. Dec 17, 2013
  19. Dec 12, 2013
  20. Nov 27, 2013
  21. Nov 26, 2013
  22. Nov 22, 2013
  23. Nov 20, 2013
  24. Nov 16, 2013
  25. Nov 15, 2013
Loading