Commit Graph

3198 Commits

Author SHA1 Message Date
Alexander Makarov
0e0079bcae Fixes #9573: Added yii\rbac\ManagerInterface::getUserIDsByRole() and implementations 2015-12-08 20:00:48 +03:00
SilverFire - Dmitry Naumenko
2be8a716b1 #8995, #8996 - added unit test, changelog line 2015-12-05 21:23:33 +02:00
Klimov Paul
bea90e1228 Fixed yii\db\Query::where() does not add params from directly passed yii\db\Expression 2015-12-05 12:28:43 +02:00
Klimov Paul
170c376648 yii\helpers\VarDumper::dump() now respects PHP magic method __debugInfo() 2015-12-05 11:21:49 +02:00
Jan Was
69e36fa86c Merge branch 'master' into 9703-si-formatters 2015-12-03 10:45:52 +01:00
LAV45
a2bf2598ce Release fix from SilverFire 2015-11-29 01:24:43 +03:00
LAV45
1028152aac Unexpected behavior for \SimpleXMLElement and Json::encode() #10278 2015-11-29 00:58:32 +03:00
Carsten Brandt
d6c45d36ce added test to verify #10204 2015-11-27 18:42:37 +01:00
githubjeka
a215013f68 Missing phpDoc properties has been added 2015-11-27 19:48:20 +03:00
githubjeka
0fc744598d optimized imports & add phpDoc 2015-11-27 19:43:29 +03:00
githubjeka
fd6e33ccf3 Semantics of the test has been improved 2015-11-27 19:32:03 +03:00
githubjeka
e5e67ebed5 Add testValidateTargetClass for reproduce the bug.
When IDs targetClass & model(not new)  is same then unique validator passed
2015-11-27 00:04:49 +03:00
Daniel Gomez Pan
c5eebe1a00 Fix test for migration 2015-11-25 10:56:53 +01:00
Alexander Makarov
8765cae71c Reverted #9656 because of BC break (reverted from commit 4a464afe9b) 2015-11-25 06:41:55 +03:00
Alexander Makarov
45432cc653 #9528: added missing data provider for JSON formatter test, added changelog and upgrade note, added @since tag to new property 2015-11-25 05:52:15 +03:00
MaXL
4f81b4a99d Fixes #9528: Traversable objects are now formatted as arrays in yii\web\XmlResponseFormatter to support SPL objects and Generators 2015-11-25 05:51:12 +03:00
Daniel Gomez Pan
0b950f4039 Fix phpdocs and small bug 2015-11-24 20:03:09 +01:00
Daniel Gomez Pan
2a1764f97a Enhancements for #9465 2015-11-23 13:33:26 +03:00
Carsten Brandt
d1812d2081 fixed arrayhelper test, renamed test methods according to FW change 2015-11-22 17:07:48 +01:00
Alexander Makarov
76e8556d34 #9465 better naming, code polish, changelog, docs wording 2015-11-20 22:50:32 +03:00
Daniel Gomez Pan
9afd240ab6 Fixes #9465: ./yii migrate/create now generates code based on migration name and --fields 2015-11-20 22:08:47 +03:00
Edgard Lorraine Messias
7c9b7c77a7 Added tests for dropTable, truncateTable and renameTable 2015-11-20 16:16:44 +03:00
Sam Mousa
4a464afe9b Fixes #9656: yii\db\BaseActiveRecord refactored in order to getting, setting and unsetring attribute values using the same approach 2015-11-20 15:45:12 +03:00
SilverFire - Dmitry Naumenko
035a9ce0a8 Added yii\filters\auth\AuthMetod::optional property
Added `yii\base\ActionFilter::getActionId()` - code extracted from `ActionFilter::isActive()`
2015-11-19 19:00:12 +02:00
Mehdi Achour
faa7a731c7 #10158: Remove defer attribute value from test case
Also fixed the CHANGELOG.md entry positionning
2015-11-19 13:05:13 +01:00
SilverFire - Dmitry Naumenko
58119c5b11 Fixed testCreateTable, testAlterTable now quotes table name 2015-11-19 00:17:16 +02:00
Sam Mousa
22d9997281 Implemented support of traversable objects in RangeValidator::ranges, added ArrayHelper::in() and ArrayHelper::subset() 2015-11-18 16:41:56 +02:00
Mehdi Achour
0b2bbb2e99 Merge 2015-11-18 10:24:33 +01:00
Mehdi Achour
cca500083e Implement #10078: Allow disabling csrf hidden input generation on a form 2015-11-18 10:22:31 +01:00
Carsten Brandt
6acb76606c fixed connection serialization test 2015-11-17 12:06:32 +01:00
Dmitry Naumenko
4839ddb09b Merge pull request #10169 from SilverFire/mb-function-encoding
Normalized mb_* function calls to use Yii::$app->charset
2015-11-17 12:10:52 +02:00
Mehdi Achour
c49096c553 Fix merge conflict 2015-11-17 10:57:37 +01:00
Mehdi Achour
06d499ab02 #10158: Accept arrays for 'js' as well
Also applied @samdark comments on array testing
2015-11-17 10:55:05 +01:00
SilverFire - Dima Naumenko
a6e1ba2cf6 Fixed mb_ functions calls to use UTF-8 or app charset 2015-11-17 09:02:22 +02:00
Sam Mousa
603a956b8d Implemented __sleep in yii\db\Connection
to support serializing the connection object without exceptions.

- Added test for serializing an open connection.
- Added unserialize test

close #10149
2015-11-16 22:44:57 +01:00
Mehdi Achour
5619e98eda Allow setting css options per CSS file in AssetBundle::, fixes #10158 2015-11-16 15:12:14 +01:00
SilverFire - Dima Naumenko
d7bb1be296 EmailValidator - specified encoding for mb_strlen 2015-11-15 19:39:50 +02:00
SilverFire - Dima Naumenko
bf6b50f58e #10142 Fixed EmailValidator to check email length properly 2015-11-14 00:39:12 +02:00
romeOz
9ed8b80493 Added tests for #9790 2015-11-11 21:04:18 +03:00
SilverFire - Dima Naumenko
6f6e54686b Skip IpValidatorTest fully, when IPv6 support is not enabled 2015-11-10 14:44:46 +02:00
SilverFire - Dima Naumenko
c1b0d1263b FromatterDateTest - fixed tests on PHP7 2015-11-10 14:43:56 +02:00
SilverFire - Dima Naumenko
ebee1d04ce ComposerValidatorTest - Fixed PHP7 error 2015-11-10 12:41:48 +02:00
rezident1307
be407391ce Fixes #10101: Fixed assignments saving on role removing in \yii\rbac\PhpManager 2015-11-06 19:54:35 +03:00
Sidney Lins (slinstj, former sidtj)
c33574bc0a Fixes #7566: Improved \yii\validators\CompareValidator default messages 2015-11-05 22:05:50 +03:00
SilverFire - Dima Naumenko
a7f102fa94 Enh #10061: yii\helpers\BaseInflector::transliterate() is now public 2015-11-05 16:07:33 +02:00
freezy
7bea7b65fd Fixes #9282: Improved JSON error handling to support PHP 5.5 error codes 2015-11-04 12:59:37 +03:00
SilverFire - Dima Naumenko
8d80616cb6 Bug #9999: added PHPUnit test case to UrlRuleTest 2015-11-01 14:49:42 +02:00
Carsten Brandt
939b3a9283 added scenario test while reproducing #10034 2015-10-29 14:57:51 +01:00
Alexander Makarov
fe4cbd30d6 Fixes #9803: Added option to register asset with scheme (reverted from commit 57dc8540fd) 2015-10-29 12:38:42 +03:00
Nikita Verkhovin
57dc8540fd Fixes #9803: Added option to register asset with scheme 2015-10-28 14:08:56 +03:00