Skip to content
Snippets Groups Projects
  1. May 13, 2018
  2. Jun 06, 2016
  3. May 27, 2016
  4. 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
  5. Dec 31, 2015
  6. Dec 02, 2015
    • Peter Rotich's avatar
      forms: Field Render Mode · e38e8641
      Peter Rotich authored
      Allow fields to internally define the render mode. This allows for fields to
      to self render in a view mode when it's not editable.
      e38e8641
    • Peter Rotich's avatar
      Ticket Status Properties · 113bf7df
      Peter Rotich authored
      Allow changing/saving setting/properties on internal ticket statuses. With
      the exception of the state.
      113bf7df
  7. Aug 18, 2015
  8. Aug 04, 2015
  9. Jul 30, 2015
  10. Jul 29, 2015
    • Jared Hancock's avatar
      list: Fix add and edit for "Ticket Status" list · d7af8c7d
      Jared Hancock authored
      This patch shores up the new list management feature with the custom list
      handler feature written to support lists being saved in a table other than
      %list_item, namely the built-in ticket status list.
      
      Also squelch the 'You sure?' popup appearing multiple times.
      d7af8c7d
  11. Jul 21, 2015
  12. May 27, 2015
  13. Apr 30, 2015
  14. Apr 15, 2015
  15. Mar 30, 2015
  16. Feb 27, 2015
  17. Feb 17, 2015
  18. Jan 23, 2015
  19. Dec 11, 2014
  20. Dec 08, 2014
  21. Oct 14, 2014
    • Peter Rotich's avatar
      bug: Custom ticket statuses · 871d8b38
      Peter Rotich authored
      Add order by method to ticket status list to return appropriate sort columns
      Delegate __get method in CustomListHandler to the parent list
      871d8b38
  22. Sep 24, 2014
  23. Sep 19, 2014
  24. Sep 17, 2014
  25. Sep 12, 2014
  26. Sep 02, 2014
  27. Sep 01, 2014
  28. Aug 29, 2014
  29. Aug 27, 2014
    • Jared Hancock's avatar
      forms: Standardize saving of choice field values · 4a49ddd1
      Jared Hancock authored
      Always save a key/value hash of the selected value(s). However, if the field
      does not have the multivalue configuration setting, then retrieve just the
      key with the to_php() function. to_database(), however, will always return a
      JSON string with the value(s) formatted as a hash array.
      4a49ddd1
  30. Aug 22, 2014
Loading