Commit Graph

3198 Commits

Author SHA1 Message Date
Carsten Brandt
fd68e6814e added failing test for #11088 2016-04-22 11:01:53 +02:00
Carsten Brandt
6309962c5c more tests for #11056 2016-04-22 10:56:17 +02:00
Carsten Brandt
22503ebe97 allow setting custom logger in Dispatcher via config
fixes #11056
2016-04-22 10:53:59 +02:00
SilverFire - Dmitry Naumenko
b77d74b6d6 Fixed broken PostgreSQLQueryBuilderTest::testCommentColumn() 2016-04-20 09:49:01 +03:00
SilverFire - Dmitry Naumenko
b08c82c5fe Driver specific QueryBuilderTest::testCommentColumn() - improved to use replaceQuotes() 2016-04-20 09:40:21 +03:00
SilverFire - Dmitry Naumenko
2478ba7b20 QueryBuilderTest::testCommentColumn() - improved to use replaceQuotes() 2016-04-20 09:35:43 +03:00
SilverFire - Dmitry Naumenko
8999e66e71 Fixed SqliteQueryBuilderTest 2016-04-19 18:40:05 +03:00
SilverFire - Dmitry Naumenko
1aa2f1d927 Removed sqlite/ColumnSchemaBuilder::comment() method override 2016-04-19 18:29:12 +03:00
SilverFire - Dmitry Naumenko
0fe27b9d3b Refactored code in PR #9441 2016-04-19 17:48:25 +03:00
SilverFire - Dmitry Naumenko
c9dfc90be0 Merge branch 'methods_for_schema_builder' of https://github.com/vaseninm/yii2 into vaseninm-methods_for_schema_builder 2016-04-19 12:21:33 +03:00
Chris Harris
5316576361 Fixes after() column string builder (#11362) 2016-04-19 11:59:16 +03:00
Edgard Lorraine Messias
8d6b669bc6 Added more tests for mutex; (#11359) 2016-04-16 12:59:33 +03:00
Alexander Makarov
5f7cd1cbc4 Skipped RNG performance tests 2016-04-12 13:46:25 +03:00
Klimov Paul
2d5a0bf5ae EachValidator::validateAttribute() fixed to restore original value on error 2016-04-12 12:00:33 +03:00
Klimov Paul
205f16811a Fixed yii\validators\EachValidator does not invoke validateAttribute() method of the embedded validator 2016-04-12 11:14:57 +03:00
maine-mike
ad6047e09f Fixes #10480: Fixed removing old identity cookie when loggin in as another user without logging out first 2016-04-12 02:19:34 +03:00
Alexander Makarov
7976aaeb59 Merge pull request #11285 from yiisoft/security-enhancements
Security enhancements
2016-04-12 02:02:18 +03:00
mdmunir
d437c4bd37 Add session migration 2016-04-09 20:45:59 +03:00
Angel Guevara
b49488b1f7 Enh new property skipUpdateOnClean for AttributeBehavior (#11302)
Fixes #11002: `AttributeBehavior::$skipUpdateOnClean` which determines whether to skip a behavior when the behavior owner has not been modified
2016-04-09 15:38:41 +03:00
Ivaylo Ushev
5921865459 Fixed: #11270 - Error when link record in one to many relation. (#11301)
Fixed: #11270 - Error when link record in one to many relation.
2016-04-08 10:36:38 +03:00
SilverFire - Dmitry Naumenko
3b32359fa9 Updated ActiveRecordTestTrait to ensure nested relations work as expected 2016-04-07 14:50:09 +03:00
Mikk Tendermann
2f9395bbd6 fix #11299 2016-04-07 10:52:43 +03:00
Aleksei Vesnin
6745bdb65e Fixed yii\widgets\ActiveField to handle inputs AJAX validation with changed ID properly.
Tests for `yii\widgets\ActiveField` with custom input ID.
2016-04-06 23:08:23 +03:00
Angel Guevara
b923adf75c Enh: Support for useTablePrefix parameter in migrate command
Fixes #11166: migrate command new option `useTablePrefix`
2016-04-06 13:37:37 +03:00
Tom Worster
c455a3c54b Security component enhancements
- Added tests for random key generation speed.
- Better generateRandomKey() performance for small reads because of using fopen + buffered read and local caching of source detection.
- Use /dev/random on FreeBSD.
2016-04-06 01:49:07 +03:00
Alexander Makarov
f312163258 Fixes #11220: NumberValidator now handles objects properly 2016-04-06 00:53:10 +03:00
Angel Guevara
49aec24ae1 Enh: Migrate command now supports foreign keys
Fixes #11207: migrate command can create foreign keys
2016-04-05 01:02:52 +03:00
Yaroslav Lukyanov
db1a96d876 Added tests for #8920, used 16bit integers to avoid out of range error 2016-04-05 00:57:52 +03:00
Misbahul D Munir
0e17d652dc Enhanced RBAC Rule assignment
* #11254 Enhanced RBAC Rule assignment

* Enhanced RBAC Rule assignment
2016-04-05 00:52:04 +03:00
Robbert Jan van de Velde
d438c03dbc Bug #11223: Fixed returning an empty array when DbManager::getRolesByUser() was called on a user with user id 0
* Bug #11223: Fixed returning an empty array when DbManager::getRolesByUser() was called on a user with user id 0 (VirtualRJ)

* Added unit tests for #11223
2016-04-01 22:28:23 +03:00
SilverFire - Dmitry Naumenko
499ee6de9e Added CH test sentence to InflectorTest 2016-03-31 11:53:51 +03:00
Alexander Makarov
cfbe50e96d Fixes #11026: Fixed StringHelper::truncateWords() to count words properly for non-English text 2016-03-30 00:26:56 +03:00
githubjeka
8e1ec62191 update BooleanValidator 2016-03-29 16:38:17 +03:00
Carsten Brandt
608066b05f fixed ActiveForm tests for output buffering
related to  #8779, and 7dc984d359
2016-03-28 04:55:15 +02:00
Daniel Gomez Pan
7dc984d359 Fixed #8779: Automatically set enctype form option when using file input field 2016-03-27 23:47:19 +03:00
Angel Guevara
3cbd64547a Additional phpdoc for #11187 2016-03-27 23:38:23 +03:00
particleflux
1dfab19b77 Fixes #11137: Added weak ETag support to yii\filters\HttpCache. It could be turned on via setting $weakEtag to true 2016-03-25 23:39:29 +03:00
Damian Zajkowski
3fb85fb84e Fixing VarDumper for throwing PHP Fatal when dumping __PHP_Incomplete_Class. #11196 issue. 2016-03-25 15:54:15 +01:00
Alexander Makarov
4cb0c1b55c Fixed tests 2016-03-25 14:08:56 +03:00
Sam Mousa
c7436909f4 Added optional $checkHeader param to loginRequired for checking the Accept header; defaults to true.
Added changelog line.

Fixed DbSessionTest

Added version annotations.

Improvements to phpdoc and whitespace.
2016-03-23 00:08:01 +02:00
SilverFire - Dmitry Naumenko
5db2afbaeb Code style fixed, PHPDoc updated 2016-03-22 23:31:23 +02:00
mdmunir
67b5f4ea19 fix for unsafe validator
Closes #8145 #8139 #11153
2016-03-22 23:31:16 +02:00
Chris Harris
2fe6cee8bf Added SQLite bigpk test. Moved schema builder patterns spreadsheet to docs/internals folder. 2016-03-21 23:39:54 -07:00
Chris Harris
0b2db6f18a Fixing tests 2016-03-21 04:29:45 -07:00
Chris Harris
7bfcd0c427 Fixing tests 2016-03-21 04:14:38 -07:00
Chris Harris
0ba1f5bba5 Merge branch 'master' of git://github.com/yiisoft/yii2 into 9562-add-char-datatype 2016-03-21 04:01:31 -07:00
Chris Harris
d8d10229c6 Fixing tests 2016-03-21 03:59:27 -07:00
Dmitry Naumenko
d85e0eb80d Merge pull request #11150 from yiisoft/11139-each-validator-attribute-value
EachValidator injects specific attribute value in error message
2016-03-21 12:35:43 +02:00
LAV45
6c2545c807 Added SVG image and SVG mimeType test to FileValidatorTest 2016-03-21 08:34:24 +02:00
SilverFire - Dmitry Naumenko
a0f9bf2893 Fixed yii\web\UploadedFile::getBaseName() to be multibyte-safe, added test 2016-03-20 23:45:08 +02:00