Skip to content
Snippets Groups Projects
  1. Aug 21, 2018
    • JediKev's avatar
      issue: SelectionField nset · 2d277075
      JediKev authored
      This addresses an issue where creating an advanced search with selection
      field "does not have a value" throws a fatal error. This was due to an
      improperly named search method "notset".
      2d277075
  2. May 12, 2017
    • JediKev's avatar
      forms: Proper Field Deletion · ad34072c
      JediKev authored
      This addresses issue where upon deletion of a form field and all its
      entry values, the field record wouldn't be deleted from the `form_field`
      table. This links another issue where you can't delete a list if its
      been a field before. This is due to the list delete() function that
      checks for list field records in the `form_field` table.
      ad34072c
  3. Oct 24, 2016
    • Peter Rotich's avatar
      forms: Refetch answers in request · f67c4637
      Peter Rotich authored
      f67c4637
    • Peter Rotich's avatar
      Forced SetValue · 74bdc023
      Peter Rotich authored
      When issue summary is disabled for a specific help topic, the system uses
      help topic name as the subject line.
      
      Due to validation error on disabled subject field the setValue fails to take
      in the help topic. The change here allows for forced value set.
      74bdc023
  4. May 27, 2016
  5. Apr 25, 2016
  6. Apr 19, 2016
    • Jared Hancock's avatar
      forms: Fix lag updating the CDATA table · 33455cae
      Jared Hancock authored
      This fixes an issue where the CDATA table is updated with the OLD version of
      an answer after it is updated. That is, after an answer is updated, the
      CDATA table is also updated to reflect the change; however, the old content
      of the answer value is used when updating the CDATA value.
      33455cae
  7. Mar 30, 2016
  8. 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
  9. Mar 17, 2016
  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
    • Peter Rotich's avatar
      export: Support users and orgs export · 9fb57ec9
      Peter Rotich authored
      Change orgs listing to ORM
      Add cdata tables support for users and organizations
      9fb57ec9
  11. Oct 09, 2015
    • Jared Hancock's avatar
      forms: Avoid dropping the CDATA table · fddd2d12
      Jared Hancock authored
      MySql 5.6 and MariaDB 10 will return affected_rows == 0 if updating a row to
      its current values. Therefore, if an object is "edited", but none of the
      CDATA is modified, then the CDATA table might be dropped and rebuilt.
      fddd2d12
  12. Aug 18, 2015
  13. Aug 10, 2015
  14. Aug 04, 2015
  15. Jul 21, 2015
  16. Jul 13, 2015
  17. Jun 30, 2015
  18. Jun 22, 2015
  19. May 27, 2015
  20. May 22, 2015
  21. May 15, 2015
  22. May 14, 2015
  23. May 13, 2015
Loading