Permalink
Commits on Jul 21, 2014
  1. Respect engine specified in mysql schema

    opengeek committed Jul 21, 2014
    Fixes modxcms/xpdo#42
    
    Merge remote-tracking branch 'origin/pr/45' into develop
    
    * origin/pr/45:
      Update xpdogenerator.class.php
  2. Bump version for 2.3.1-dev

    opengeek committed Jul 21, 2014
Commits on Jul 15, 2014
  1. xPDO 2.3.0-pl

    opengeek committed Jul 15, 2014
    Merge branch 'develop'
    
    * develop:
      Bump version for 2.3.0-pl release
      Update copyright date
      Revert silent validation feature for now
      Update taking care or comment + replicated to other vehicles types
      Proposal for silent failure validation
      Allow recursive xPDOObject::remove() beyond one level
      Fix notice introduce in previous commit
      Remove deprecated xPDO::getMicroTime() method
      Fix bug with conditions referencing keys outside xPDOQuery::$_class
      Reject xPDOQuery conditions with SQL injection attempts
      Resolve xPDO::parseBindings() error from /e modifier fix
      Fix xPDO::getCount() to work with queries containing group by
      Replace reflection of PHP_SELF with SCRIPT_NAME in xPDO::log()
      Fix for deprecated preg_replace
      Add changelog entry
      Add dependency metadata/methods to xPDOTransport
      Bump version for 2.3.0-alpha development
      Disable phpdoc generation in build for now
      Update code docs, fix invalid constant
      Schema option callback="(class::)method" added to xPDOObject::set()
  2. Update copyright date

    opengeek committed Jul 15, 2014
Commits on Jul 11, 2014
  1. Have xPDOVehicle validators fail silently unless verbose enabled

    opengeek committed Jul 11, 2014
    Merge remote-tracking branch 'origin/pr/26' into develop
    
    * origin/pr/26:
      Update taking care or comment + replicated to other vehicles types
      Proposal for silent failure validation
  2. Allow recursive xPDOObject::remove() beyond one level

    opengeek committed Jul 11, 2014
    Still prevents circular dependency problems without preventing proper recursive functionality by keeping track of specific objects being removed from each class by primary key, rather than just excluding all objects by alias or class of already processed relations
    
    Addresses modxcms/xpdo#23 and should resolve modxcms/revolution#11453
Commits on Jun 30, 2014
  1. Fix notice introduce in previous commit

    opengeek committed Jun 30, 2014
    Plus simplified the logic around "generated" primary key fields — no longer depends on index="pk" being set on the schema
Commits on Jun 26, 2014
  1. Allow schema to define callbacks for field

    opengeek committed Jun 26, 2014
    This is automatically applied when the set() method is called on the field the callback is defined for
    
    Merge remote-tracking branch 'origin/pr/12' into develop
    
    * origin/pr/12:
      Schema option callback="(class::)method" added to xPDOObject::set()
  2. Remove deprecated xPDO::getMicroTime() method

    opengeek committed Jun 26, 2014
    Use microtime(true), available since PHP 5.0.0
Commits on Mar 12, 2014
  1. Fix bug with conditions referencing keys outside xPDOQuery::$_class

    opengeek committed Mar 12, 2014
    This problem was introduced in the last commit and will address modxcms/revolution#11203
Commits on Mar 11, 2014
  1. Reject xPDOQuery conditions with SQL injection attempts

    opengeek committed Mar 11, 2014
    Encountering a semi-colon or UNION keyword outside of quoted strings in an xPDOQuery condition triggers an xPDOException and causes the entire xPDOQuery to be effectively invalidated by adding an always false condition to the WHERE clause: 2=1
Commits on Jan 20, 2014
  1. Resolve xPDO::parseBindings() error from /e modifier fix

    opengeek committed Jan 20, 2014
    Fixes related errors including xPDO::removeObject() errors
Commits on Dec 27, 2013
Commits on Oct 23, 2013
  1. Replace use of deprecated /e preg_replace modifier

    opengeek committed Oct 23, 2013
    Closes http://tracker.modx.com/issues/10056
    Closes #17, #20, and #21
    
    Merge remote-tracking branch 'origin/pr/21' into develop
    
    * origin/pr/21:
      Fix for deprecated preg_replace
Commits on Oct 19, 2013
Commits on Sep 23, 2013
  1. Add dependency metadata/API to xPDOTransport

    opengeek committed Sep 23, 2013
    Merge remote-tracking branch 'origin/pr/16' into develop
    
    * origin/pr/16:
      Add changelog entry
      Add dependency metadata/methods to xPDOTransport
  2. Add changelog entry

    opengeek committed Sep 23, 2013
  3. Add dependency metadata/methods to xPDOTransport

    opengeek committed Sep 23, 2013
    Provides baseline support for dependency metadata to be specified and tested against version constraints
Commits on Sep 12, 2013
  1. xPDO 2.2.9-pl

    opengeek committed Sep 12, 2013
    Merge branch 'develop'
    
    * develop:
      Bump version for 2.2.9-pl release
      Fix xPDOTest::getTableMeta() error (sqlite/sqlsrv)
      Bump version for 2.2.9-dev
      Wrong query statistic counting
      [#10183] Fix cache entry removal on xPDOObject::remove()
Commits on Sep 7, 2013
  1. Bump version for 2.2.9-dev

    opengeek committed Sep 7, 2013
  2. Improve accuracy of query statistics

    opengeek committed Sep 7, 2013
    Merge remote-tracking branch 'origin/pr/15' into refactor-stats
    
    * origin/pr/15:
      Wrong query statistic counting
  3. Wrong query statistic counting

    Nikolay Lanets
    Nikolay Lanets committed Sep 7, 2013
Commits on Sep 6, 2013
Commits on Aug 26, 2013
  1. xPDO 2.2.8-pl

    opengeek committed Aug 26, 2013
    Merge branch 'develop'
    
    * develop:
      Bump version for 2.2.8-pl release
      Various documentation corrections
      Fix xPDOIterator->next() using void return value
      Fix undefined constant object in xPDO->toCache()
      Fix xPDO::prepare() sending no driver_options
      Fix xPDO::getInstance() when reusing existing
      Fix invalid call to $this->xpdo->log()
      [#9864] Identify compound PK's properly in xPDOQuery::parseConditions()
      Bump version for 2.2.8-dev
      Update getPK() to look for Schema Version 1.1 indexes first
      Check ob_get_level() at ob_end_* calls where ob wasn't explicitly started