Skip to content
Snippets Groups Projects
  1. Feb 14, 2019
    • JediKev's avatar
      issue: Upgrader Wrong Guide Link · 61e240c3
      JediKev authored
      This addresses issue 4738 where the Upgrade and Migration Guide link is
      incorrect. This updates the link to the new Documentation site.
      61e240c3
  2. Sep 14, 2018
  3. Dec 16, 2016
  4. Oct 25, 2016
  5. Apr 24, 2016
  6. Apr 14, 2016
  7. Mar 29, 2016
  8. Mar 24, 2016
  9. Mar 18, 2016
    • Jared Hancock's avatar
      orm: Migrate create functionality to the constructor · 1ba40e35
      Jared Hancock authored
      Previously, the create method was used to create a new instance of an orm
      model (which would later result in an INSERT when persisted); however, some
      classes require or utilize varying parameters to their create() method,
      which PHP7 considers an error. Methods in subclasses must be defined with a
      calling signature compatible with the parent class.
      
      This patch shifts the concept of model creation to the constructor. Now, the
      constructor of ORM models is required to be compatible with that of
      ModelBase class. Now that most models do not define a constructor, this is
      much easier to control, and much more logical.
      
      Also, remove an issue where assignments on a relationship field to an
      instance of a super class of the foreign model would raise an error. This
      was previously addressed by re-classing the instance in the
      ModelInstanceManager::getOrBuild(); however that design would create
      multiple instances of the same object in memory, which defeats one of the
      primary design concepts of the ORM. This patch addresses the issue by
      allowing super-classes of the declared foreign model in relationship
      assignments.
      1ba40e35
    • Jared Hancock's avatar
      php: Support PHP 7, require at least 5.4 · 9616a61d
      Jared Hancock authored
      This commit attempts to remove all coding standard warnings emitted by PHP
      7.0.
      9616a61d
  10. Feb 05, 2016
    • Jared Hancock's avatar
      forms: Fix search by datetime fields · 5ebebbbc
      Jared Hancock authored
      This changes the storage model for datetime fields and stores them in the
      same format as the MySQL `datetime` column type. This allows for the
      searching code to be consistent when searching the database for
      datetime custom form entry data.
      5ebebbbc
  11. Aug 19, 2015
  12. Aug 18, 2015
    • Jared Hancock's avatar
      upgrade: Don't add thread_id to %ticket · abb9a08d
      Jared Hancock authored
      abb9a08d
    • Jared Hancock's avatar
      upgrade: Consolidate updates to %thread_entry · 832ea943
      Jared Hancock authored
      The previous code resulted in rebuilding the %thread_entry table several
      times during the upgrade process. For systems will several hundred or
      thousand megabytes of content in their system, this could result in a very
      slow or crashed system.
      
      This patch avoids multiple rebuilds of the table by simply creating a new
      one and copying the correct values into the new table. It also avoids
      possible duplicates when changing collaborators to the new thread system
      considering that collaborators were not properly removed with tickets in
      previous versions.
      832ea943
  13. Aug 10, 2015
  14. Aug 06, 2015
  15. Aug 04, 2015
  16. Jul 22, 2015
  17. Jul 21, 2015
  18. Jul 13, 2015
    • Peter Rotich's avatar
      Bug fixes · a9b52e17
      Peter Rotich authored
      * Preserve external storage flag on field configuration
      * User gridlayout to render task's forms
      * Use new roles for task's nav
      
      Credit: Jared Hancock <jared@osticket.com>
      a9b52e17
  19. Jul 10, 2015
    • Jared Hancock's avatar
      upgrade: Defer migrating attachments from v1.6 · 6d30aa28
      Jared Hancock authored
      This patch suggests that old attachments in the `upload_dir` can be located
      and left alone when upgrading away from osTicket v1.6. Later, via the `file`
      command line applet, the attachments can be migrated into the database, or
      to the new filesystem plugin after it is installed with:
      
          php manage.php file migrate --backend=6 --to=D
      
      This allows attachment migration to be retried in the event it failed for
      any reason.
      6d30aa28
    • Jared Hancock's avatar
      upgrade: Drop `<div>` from user's names · 42ddeea3
      Jared Hancock authored
      42ddeea3
  20. Jul 08, 2015
  21. Jun 03, 2015
    • Jared Hancock's avatar
      Fix numerous observed issues · fdef8182
      Jared Hancock authored
      * Fix crash in Ticket::getLastRespondent
      * Fix crash is ORM if using a superclass of a relationship from cache. For
        instance, if the cache contains an ObjectThread instance, but a
        TicketThread instance is required in the relationship. In such a case, use
        the cached data, but change this class. This; however, violates the single
        nature of cache entries.
      * Fix spurious events appearing after upgrade due to deleted tickets
      * Ensure floating content in thread-body divs does not float past the bottom
      * Provide an anchor to thread entries
      * Show thread entries before events where both have the same timestamp
      * Fix double events for collaborator additions
      * Credit email sender with collaborator addition
      * Fix incorrect rendering of collaborator addition event
      * Fix crash on new ticket due to non-static function
      * Fix missing sort on sub-query if explicitly declared in QuerySet
      * Fix missing parentheses in SQL for ['field__eq' => QuerySet]
      * Fix incorrect SQL on compileSelect for models with inherited $meta['table']
      * Dynamically adjust relative time client side
      fdef8182
  22. May 27, 2015
Loading