Permalink
Commits on Mar 27, 2012
Commits on Mar 26, 2012
  1. Merge pull request #317 from fzaninotto/fix_model_pager

    willdurand committed Mar 26, 2012
    Fix PropelModelPager::getLastPage() return type.
  2. Merge pull request #319 from K-Phoen/feature-versionable-utility-methods

    willdurand committed Mar 26, 2012
    Add: some usefull methods to Versionable objects
  3. Merge pull request #315 from ddalmais/feat-explain-plan

    willdurand committed Mar 26, 2012
    Provide explain plan feature
Commits on Mar 24, 2012
  1. Merge pull request #324 from K-Phoen/fix-versioning-inheritance

    willdurand committed Mar 24, 2012
    Fix: versioning tables with inheritance
Commits on Mar 23, 2012
  1. Fix: versioning tables with inheritance

    K-Phoen committed Mar 23, 2012
    When wersioning a table with inheritance, the `getOneVersion` method
    did not return a "Version" object.
    
    Calling `getOneVersion` on a versioned Novel (instance of Book) would
    have returned a Book object, instead of a BookVersion object.
    
    Furthermore, the QuickBuilder was broken for this kind of schema and
    needed to be fixed.
Commits on Mar 20, 2012
  1. Add: some usefull methods to Versionable objects

    K-Phoen committed Mar 20, 2012
    This PR adds two methods to versionable objects:
    
      * `getLastVersions($max, $criteria, $con)`: retrieves the $max last
        versions
      * `compareVersion($number)`: compares the current object to a given
        version.
    
    I also added the `$ignoredColumns` parameter to the compareVersion(s)
    methods.
Commits on Mar 19, 2012
  1. Fix PropelModelPager::getLastPage() return type.

    fzaninotto committed Mar 19, 2012
    Turns out that PHP's `ceil()` converts a float to an integer but still returns... a float.
    The patch forces the return type of `getLastPage()` by casting to integer after calling `ceil()`.
    
    Closes #316.
  2. Fix CS

    ddalmais committed Mar 19, 2012
Commits on Mar 16, 2012
  1. Fix text formatting

    ddalmais committed Mar 16, 2012
  2. Format DBMysql code

    ddalmais committed Mar 16, 2012
  3. Remove forced database read connection

    ddalmais committed Mar 16, 2012
    Oracle must write explain plan in PLAN_TABLE
  4. Fix phpdoc function title

    ddalmais committed Mar 16, 2012
  5. Fix text in ExplainPlanTest

    ddalmais committed Mar 16, 2012
  6. Add explain function

    ddalmais committed Mar 16, 2012
    use adapter specific doExplainPlan function
  7. Add doExplainPlan on DBAdapter

    ddalmais committed Mar 16, 2012
    Return PropelException
    Used to return Exception in adapter without override of doExplainPlan function
Commits on Mar 14, 2012
  1. Merge pull request #314 from K-Phoen/fix-is-versionning-necessary-fk

    willdurand committed Mar 14, 2012
    Fix: some isVersionningNecessary() calls can cause fatal errors
  2. Fix: some isVersionningNecessary() calls can cause fatal errors

    K-Phoen committed Mar 14, 2012
    Given the following model, some isVersionningNecessary() calls would cause
    fatal errors.
    
        User                              Group
        ----                              -----
        name                              name
        group_id [FK, not required]
    
    When saving an user with no group but a name, the isVersioningNecessary()
    method returns true because the object is modified. But if we save again the
    same user - as there are no modifications on the user - the foreign keys
    are checked and isVersioningNecessary() is called on them, which causes
    a fatal error when one of them is not set.
Commits on Mar 8, 2012
  1. Merge pull request #310 from akalyaev/master

    willdurand committed Mar 8, 2012
    fixes Archivable behavior
  2. fixed code style (Refs #309)

    melekes committed Mar 8, 2012
Commits on Mar 6, 2012
  1. Fixed propel-gen. Closes #180

    willdurand committed Mar 6, 2012
Commits on Mar 5, 2012
  1. Marked PGSQL test skipped

    willdurand committed Mar 5, 2012