Permalink
Commits on Jul 15, 2017
  1. Fix MssqlAdapter::applyLimit from generating malformed queries when `…

    …from` is included as a non-keyword (#1395)
    McManning committed with marcj Jul 15, 2017
Commits on Jul 7, 2017
  1. Fix detection of subquery virtual columns in MssqlAdapter::applyLimit (

    McManning committed with marcj Jul 7, 2017
Commits on Jun 8, 2017
  1. Fix wrong string generation in PropelDateTime::getMicrotime

    marcj committed on GitHub Jun 8, 2017
Commits on May 30, 2017
  1. Update Database.php (#1379)

    * Update Database.php
    
    fix #1378
    
    * Update Database.php
    
    recheck travis
    gulaandrij committed with marcj May 30, 2017
Commits on May 29, 2017
  1. Fixed versionable behavior with incorrect constant (#1270)

    * Fixed versionable behavior
     - related object's addVersion was adding foreignKey -> foreignColumn, which is actually the local column, exchanged to add the foreignTable's first primary key
    - $fkColumn from the point of the related entry is $fk->getLocalColumn(), foreignColumn would be the local and therefore would be unkown on the foreign object's map
    
    * Further changes:
     - made pass unit test
     - also added new unit test to check from N>1 point
    gabor-kormany committed with marcj May 29, 2017
Commits on May 28, 2017
  1. Fix greedy regex incorrectly splitting query string with multiple FRO…

    …M statements [Mssql] (#1375)
    McManning committed with marcj May 28, 2017
Commits on May 26, 2017
  1. Check incomplete foreign-keys #675 (#1259)

    * Incomplete foreign key references
    
    Propel should not allow incomplete foreign key references when foreign
    table has a composite primary key
    
    * Revert "Merge remote-tracking branch 'propelorm/master'"
    
    This reverts commit 6f47656, reversing
    changes made to 906b84d.
    
    * Incomplete foreign key references
    
    Propel should not allow incomplete foreign key references when foreign
    table has a composite primary key
    atompulse committed with marcj May 26, 2017
  2. Fix broken boolean types on IniFileLoader (propelorm/Propel2#1355) (#…

    gboddin committed with marcj May 26, 2017
  3. Undefined method being called; issue #1352 (#1354)

    AlexanderBliznuk committed with marcj May 26, 2017
  4. json type column for mysql 5.7 (#1372)

    * Init json type column
    
    * Add tests
    cedriclombardot committed with marcj May 26, 2017
  5. Allowing file loader to accept empty env vars (e.g. DB_PW) (#1373)

    * Allowing file loader to accept empty env vars (e.g. DB_PW)
    
    * Added a unit test case
    AviBueno committed with marcj May 26, 2017
  6. Allows the use of Unsigned="true|false" as a MySQL vendor column para…

    …meter. (#1360)
    TrogloGeek committed with marcj May 26, 2017
  7. Support XML Inclusions in configuration, adds #1321 (#1322)

    Implemented via the existing functionality in PHPs' DOMDocument object.
    
    Additionally libxml_disable_entity_loader(true) is not necessary any
    longer (it prevented opening XML files from disc earlier) since Oct 2012
    with the release of libxml2 version 2.9.0.
    
    The old code looked influenced by the (earlier to that date) hotfix in
    the Symfony project however the XXE attack Symfony was prone to, did not
    apply to the XmlToArrayConverter (no validate on parse).
    
    Refs:
    
    - #1321
    
    - https://www.w3.org/TR/xinclude/
    
    - https://mail.gnome.org/archives/xml/2012-October/msg00045.html
    hakre committed with marcj May 26, 2017
Commits on May 15, 2017
  1. Result of method Model::init*() (void) is used. (#1365)

    Big-Shark committed with marcj May 15, 2017
  2. Fixed Om\Object::toArray when using DateTimeImmutable (#1359)

    mxcoder committed with marcj May 15, 2017
  3. Fix remove spaces in empty line on windows (#1357)

    * Fix remove spaces in empty line on windows
    
    * Whoops
    Quiss committed with marcj May 15, 2017
Commits on Feb 22, 2017
  1. Test also php 7.1 (#1337)

    garak committed with marcj Feb 22, 2017
  2. fix TableMapTrait.php (#1339)

    Fix translateFieldNames method in Propel/Runtime/Map/TableMapTrait.php.
    Bug: if key == 0(id in my case) field name does not translated.
    CrayD committed with marcj Feb 22, 2017
  3. Validator fix (#1350)

    * fix for issues/1347
    
    * fix for issues/1347
    
    * fix composer version
    angelk committed with marcj Feb 22, 2017
Commits on Feb 17, 2017
  1. Revert "Update composer.json" (#1349)

    marcj committed on GitHub Feb 17, 2017
  2. Update composer.json (#1348)

    * Update composer.json
    
    skip symfony/validator 3.2.2
    
    * Update composer.json
    gulaandrij committed with marcj Feb 17, 2017
Commits on Feb 6, 2017
  1. don't allow symfony/validator < 2.3 (#1342)

    gharlan committed with marcj Feb 6, 2017
Commits on Feb 2, 2017
  1. Update PgsqlPlatform.php (#1338)

    Added `sqlType` to condition list when generating column DDL for diff
    oliwier-spryker committed with marcj Feb 2, 2017
  2. symfony/validator >= 3.2.2 is not supported anymore.

    marcj committed Feb 2, 2017
Commits on Jan 30, 2017
  1. Changes description of filterBy function (#1334)

    Big-Shark committed with marcj Jan 30, 2017
Commits on Jan 9, 2017
  1. Fix regression in ObjectCollection of Collections. (#1330)

    Was failing with: `Propel\Runtime\Exception\BadMethodCallException: Call to undefined
    method: hashCode` because Collection.php has a __call method and no
    hashCode method.
    peter17 committed with marcj Jan 9, 2017
  2. Fix php7.1 [] operator not supported for strings in (#1329)

    * Fix php7.1 [] operator not supported for strings in
    
    * Fix php7.1
    cedriclombardot committed with marcj Jan 9, 2017
Commits on Jan 3, 2017
  1. Fixes #1324 - fixed wrong sprintf arguments positioning in getIdentif…

    …ierPhp()
    
    Related to #1090.
    marcj committed Jan 3, 2017
Commits on Dec 5, 2016
  1. Check 'alreadyInSave' before save transaction (#1309)

    Xfaider48 committed with marcj Dec 5, 2016
Commits on Dec 4, 2016
  1. fix generated code formatting (#1304)

    angelk committed with marcj Dec 4, 2016
Commits on Nov 26, 2016
  1. array columns getter: return correct value for `[0]` (#1302)

    gharlan committed with marcj Nov 26, 2016
Commits on Nov 16, 2016
  1. persistent connections working again, Removed StatementInterface and …

    …PdoStatement (#1295)
    
    * persistent connections working again (if not using HHVM)
    ref: propelorm/Propel2#1225
    
    * removing PdoStatement class
    
    * removing `StatementInterface` in favor of native `\PDOStatement`
    prgTW committed with marcj Nov 16, 2016
Commits on Nov 11, 2016
  1. removing leading space within the sqlite dsn (#1292)

    the extra space was causing the below error when using an absolute path like /home/my.app.sq3
    Unable to connect to the specific sql server: SQLSTATE[HY000] [14] unable to open database file
    nickdietel committed with marcj Nov 11, 2016
  2. Use DATETIME2 to allow high precision timestamps (#1293)

    DATETIME timestamps are limited to 3 digit precision, where DATETTIME2 allows 7 digits. The timestampable behavior needs this precision. 
    
    Example of types: 
    datetime	2007-05-08 12:35:29.123
    datetime2	2007-05-08 12:35:29. 1234567
    jhaisley committed with marcj Nov 11, 2016