Pavel Ivanov
839112a919
Issue #14834 : skip 'TIMESTAMP' definition test when NO_ZERO_DATE enabled ( #15987 )
...
This is a temporary patch to be able to run tests on local configurations without additional MySQL 5.7 tuning.
This will not affect travis builds because travis running with NO_ZERO_DATE disabled.
7 years ago
Pavel Ivanov
4e940a2772
Fix travis builds for 'nightly' php ( #15992 )
...
1) Fixed unexpected exceptions (PHP nightly): https://travis-ci.org/yiisoft/yii2/jobs/358866164#L789
2) Fixed session issues (PHP hhvm): https://travis-ci.org/yiisoft/yii2/jobs/358866162#L841
3) Excluded unicode characters check from 'nightly' PHP version
4) Also deprecated InvalidParamException replaced with InvalidArgumentException
7 years ago
Pavel Ivanov
6adc81da4c
Fix master travis builds ( #15971 )
7 years ago
Carsten Brandt
0af1c05d6a
`yii\db\ActiveRecord::findOne()` now accepts column names prefixed with table name
...
fixes #15931
7 years ago
Pavel Ivanov
8aebdd8c17
CacheableWidgetBehaviorTest enhancements ( #15930 )
...
1) Better PhpDoc (removed PhpStorm warnings)
2) Small speed optimization: there is no need 42 iterations for counter increment test. 2 is enough.
7 years ago
SilverFire - Dmitry Naumenko
b37f361ad7
Fixed possible SQL injection through `ActiveRecord::findOne()`
7 years ago
Marco Moreno
f33959419a
Fixes #15878 : Fixed migration with a comment containing an apostrophe
7 years ago
SilverFire - Dmitry Naumenko
a1a2932131
Added test to check issue #15902
...
Closes #15902
7 years ago
Marco Moreno
c31f9ac811
Fixes #15878 : Fixed migration with a comment containing an apostrophe
7 years ago
Carsten Brandt
52c80f782d
moved SQL specific test to SQL AR
7 years ago
SilverFire - Dmitry Naumenko
79583a2c7e
Reverted casting JsonExpression(null) to SQL NULL
7 years ago
SilverFire - Dmitry Naumenko
c6ea3fb455
Revert "Fixed JsonExpressionBuilder to generate SQL NULL"
...
This reverts commit cf4bd39fc1
.
7 years ago
SilverFire - Dmitry Naumenko
b3f54d1065
Simplified code, enhanced PHPDocs
7 years ago
SilverFire - Dmitry Naumenko
0ca003343b
Fixed test
7 years ago
SilverFire - Dmitry Naumenko
cf4bd39fc1
Fixed JsonExpressionBuilder to generate SQL NULL
...
Fixes #15863
7 years ago
SilverFire - Dmitry Naumenko
cc29ef8968
Fixed JsonExpressionBuilder to cast JSON explicitly
...
Fixes #15839 ;
7 years ago
Dmitry Naumenko
f435284952
Fixed typo
7 years ago
Fabrizio
52263077c0
Bug #15858 : Fixed array undefined offset error calling Html::errorSummary with same error messages from different model attributes. (FabrizioCaldarelli)
7 years ago
SilverFire - Dmitry Naumenko
aed911b5f1
Fixed nesting of JsonExpression, ArrayExpression
7 years ago
Leandro Gehlen
c484792084
Fixes #15840 : Fixed regression on load fixture data file
7 years ago
SilverFire - Dmitry Naumenko
45bccb11c1
Added test to verify #15838
7 years ago
SilverFire - Dmitry Naumenko
fcea028cf1
Disabled UrlTest for HHVM in Travis
...
Probably, this change will fix random exception during HHVM build
on travis:
ps_files_cleanup_dir: opendir(/var/lib/hhvm/sessions) failed: Permission denied (13)
7 years ago
SilverFire - Dmitry Naumenko
78aaca7a87
Fixed CommandTest::testBindValuesSupportsDeprecatedPDOCastingFormat()
7 years ago
SilverFire - Dmitry Naumenko
4e35eb6539
Fixed JSONB support in PostgreSQL 9.4
...
Closes #15829
7 years ago
SilverFire - Dmitry Naumenko
f7da602250
PgSQL: Fix table schema load for table name in quotes
...
This commit fixes the table schema loading for PostgreSQL, when
the table name is specified in quotes, e.g. `"type"`.
7 years ago
SilverFire - Dmitry Naumenko
66081c6187
Added a unit test to verify #15827
...
Closes #15827
7 years ago
SilverFire - Dmitry Naumenko
8bb31fb9e5
Updated docs, added tests
7 years ago
SilverFire - Dmitry Naumenko
5fa25b331d
Fixed encoding of empty ArrayExpression for PostgreSQL
7 years ago
SilverFire - Dmitry Naumenko
d5d4b8b0f5
Fixed `null` values handling for PostgresSQL arrays
...
Fixes #15804
7 years ago
SilverFire - Dmitry Naumenko
233eeb52d7
fixed unit tests
7 years ago
SilverFire - Dmitry Naumenko
9a949525a1
Fixed deprecated type casting format in Command::bindValues()
...
Fixed #15817
7 years ago
SilverFire - Dmitry Naumenko
08c87aec4f
Fixed `Component::off()` not to throw an exception
...
Fixes #15822
7 years ago
xutongle
695218c312
Fix a unit test hand error.
7 years ago
xutongle
d704f87219
Fix a unit test hand error.
7 years ago
Fabrizio
12afecf9ce
Added test to check has-error class on tabular input
7 years ago
Fabrizio
c4d8fd00b5
Added test to check has-error class on tabular input
7 years ago
berosoboy
061f75e15f
Fix PHPDoc [skip ci]
7 years ago
Sergey Makinen
ac687aab29
Fixed yii\db\Command::upsert() for Cubrid/MSSQL/Oracle
7 years ago
Sergey Makinen
ebc306299c
Fix MSSQL tests
7 years ago
Sergey Makinen
766f24945c
Fix Oracle tests
7 years ago
SilverFire - Dmitry Naumenko
455b1f3f97
Fixing HHVM@Travis
7 years ago
SilverFire - Dmitry Naumenko
6e30577abc
Added ArrayAccess object in EachValidator
...
Fixes #15760
7 years ago
Alexander Makarov
0ed15c6496
Added test for FileHelper::findDirectories except option
7 years ago
bscheshirwork
7473c422ee
Fixes #15318 : Fixed "session_name(): Cannot change session name when session is active" errors
7 years ago
Dmitry Naumenko
dc452b7e24
Fixed multiple JSON-related issues ( #15732 )
7 years ago
Dmitry Naumenko
6c8b87f3e2
Implemented \Traversable in ArrayExpression ( #15733 )
...
* Implemented \Traversable in ArrayExpression
* Fix punctuation [skip ci]
7 years ago
Viktor
77ad6bc008
Fixes #15678 : Fixed `resetForm` method in `yii.activeForm.js` which used an undefined variable
7 years ago
edwards-sj
1c473325ac
Fixes #15742 : Updated setActivePlaceholder to be consistent with activeLabel
7 years ago
SilverFire - Dmitry Naumenko
55f1f34e44
Added test to verifiy #15731
7 years ago
SilverFire - Dmitry Naumenko
23b41220ce
Fixed ActiveRecordTest::testCustomARRelation() to work on PHP <5.5
7 years ago