2843 Commits

Author SHA1 Message Date
79583a2c7e Reverted casting JsonExpression(null) to SQL NULL 2018-03-10 11:14:08 +02:00
c6ea3fb455 Revert "Fixed JsonExpressionBuilder to generate SQL NULL"
This reverts commit cf4bd39fc1927c3cbe85c08c6fc473d60921d96f.
2018-03-10 11:11:11 +02:00
b3f54d1065 Simplified code, enhanced PHPDocs 2018-03-10 10:19:07 +02:00
0ca003343b Fixed test 2018-03-10 10:09:17 +02:00
cf4bd39fc1 Fixed JsonExpressionBuilder to generate SQL NULL
Fixes #15863
2018-03-10 10:04:41 +02:00
cc29ef8968 Fixed JsonExpressionBuilder to cast JSON explicitly
Fixes #15839;
2018-03-10 09:56:28 +02:00
f435284952 Fixed typo 2018-03-09 08:15:51 +02:00
52263077c0 Bug #15858: Fixed array undefined offset error calling Html::errorSummary with same error messages from different model attributes. (FabrizioCaldarelli) 2018-03-08 23:24:41 +01:00
aed911b5f1 Fixed nesting of JsonExpression, ArrayExpression 2018-03-08 12:45:01 +02:00
c484792084 Fixes #15840: Fixed regression on load fixture data file 2018-03-08 00:44:22 +03:00
45bccb11c1 Added test to verify #15838 2018-03-05 16:27:03 +02:00
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)
2018-03-05 16:25:59 +02:00
78aaca7a87 Fixed CommandTest::testBindValuesSupportsDeprecatedPDOCastingFormat() 2018-03-05 15:49:01 +02:00
4e35eb6539 Fixed JSONB support in PostgreSQL 9.4
Closes #15829
2018-03-04 20:25:36 +02:00
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"`.
2018-03-04 20:19:45 +02:00
66081c6187 Added a unit test to verify #15827
Closes #15827
2018-03-03 22:31:42 +02:00
b642c36019 Merge branch 'antonmarin-patch-1' 2018-03-03 21:17:42 +02:00
8bb31fb9e5 Updated docs, added tests 2018-03-03 21:17:31 +02:00
5fa25b331d Fixed encoding of empty ArrayExpression for PostgreSQL 2018-03-03 20:43:58 +02:00
d5d4b8b0f5 Fixed null values handling for PostgresSQL arrays
Fixes #15804
2018-03-03 18:54:33 +02:00
233eeb52d7 fixed unit tests 2018-03-03 18:12:51 +02:00
9a949525a1 Fixed deprecated type casting format in Command::bindValues()
Fixed #15817
2018-03-03 17:50:18 +02:00
08c87aec4f Fixed Component::off() not to throw an exception
Fixes #15822
2018-03-03 16:37:41 +02:00
695218c312 Fix a unit test hand error. 2018-03-03 18:01:44 +08:00
d704f87219 Fix a unit test hand error. 2018-03-03 17:58:07 +08:00
12afecf9ce Added test to check has-error class on tabular input 2018-03-01 00:04:04 +01:00
061f75e15f Fix PHPDoc [skip ci] 2018-02-26 00:34:56 -03:00
ac687aab29 Fixed yii\db\Command::upsert() for Cubrid/MSSQL/Oracle 2018-02-24 19:59:12 +03:00
ebc306299c Fix MSSQL tests 2018-02-24 19:51:50 +03:00
766f24945c Fix Oracle tests 2018-02-24 19:51:34 +03:00
455b1f3f97 Fixing HHVM@Travis 2018-02-24 13:25:23 +02:00
6e30577abc Added ArrayAccess object in EachValidator
Fixes #15760
2018-02-24 11:59:32 +02:00
0ed15c6496 Added test for FileHelper::findDirectories except option 2018-02-24 02:32:49 +03:00
7473c422ee Fixes #15318: Fixed "session_name(): Cannot change session name when session is active" errors 2018-02-24 01:03:27 +03:00
0ef536d9c0 Merge pull request #15700 from bboure/15693-fix-http-heaer-auth
Fix HttpAuthHeader
2018-02-23 23:40:27 +02:00
64255b3d0a Merge branch 'master' into query-select-bug 2018-02-23 23:33:07 +02:00
dc452b7e24 Fixed multiple JSON-related issues (#15732) 2018-02-23 23:07:04 +02:00
6c8b87f3e2 Implemented \Traversable in ArrayExpression (#15733)
* Implemented \Traversable in ArrayExpression

* Fix punctuation [skip ci]
2018-02-23 22:50:06 +02:00
77ad6bc008 Fixes #15678: Fixed resetForm method in yii.activeForm.js which used an undefined variable 2018-02-23 12:58:47 +03:00
1c473325ac Fixes #15742: Updated setActivePlaceholder to be consistent with activeLabel 2018-02-23 12:33:41 +03:00
55f1f34e44 Added test to verifiy #15731 2018-02-21 23:53:19 +02:00
23b41220ce Fixed ActiveRecordTest::testCustomARRelation() to work on PHP <5.5 2018-02-21 22:22:06 +02:00
c297986066 Fixed Query::select()
fixes #15728
2018-02-21 18:11:27 +02:00
ce0812559d Merge branch 'master' into 15693-fix-http-heaer-auth 2018-02-21 14:42:44 +01:00
517a5ad93c Add tests 2018-02-21 14:38:50 +01:00
3616dc5e74 Fix test output (Prevent output among phpunit tests) (#15717)
* Clear output in MigrateControllerTest::testCreateLongNamedMigration

* Clear output in FragmentCacheTest::testVariations
2018-02-21 09:55:17 +02:00
4cb5132e6d Merge branch 'master' into 15692-filter-exist-relation-validator 2018-02-21 08:34:05 +02:00
4409c19d58 Merge pull request #15702 from developeruz/15696-magic-getter-for-AR
Fix magic getter for ActiveRecord (#15696)
2018-02-21 08:22:32 +02:00
ff4391a8f0 Prevent output among phpunit tests 2018-02-21 02:45:22 -03:00
a01a67c81c Fixed regexp in tests 2018-02-20 23:58:03 +02:00