Commit Graph

2875 Commits

Author SHA1 Message Date
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
SilverFire - Dima Naumenko
b5d95f845e Formatter::asDuration() PHPDoc and PHPUnit test enhanced 2015-10-26 23:57:05 +02:00
John Was
928a02c3bc Added Formatter::asDuration() method 2015-10-26 20:48:39 +02:00
Alexander Makarov
5242765257 Fixes #3506: Added \yii\validators\IpValidator to perform validation of IP addresses and subnets 2015-10-22 14:21:31 +03:00
Edgard Lorraine Messias
2d8106a39c Fixed testCreateTable and testAlterTable in CommandTest for MSSQL and OCI 2015-10-21 00:19:48 +03:00
SilverFire - Dima Naumenko
f38bb6ced4 Chg #9953: TimestampBehavior::getValue() value processing is consistent with AttributeBehavior::getValue() 2015-10-18 16:14:19 +03:00
Vadim
c00b97a12c Fixes #9915: yii\helpers\ArrayHelper::getValue() was erroring instead of returning null for non-existing object properties 2015-10-14 12:56:59 +03:00
SilverFire - Dima Naumenko
c128d008d3 Added more tests for StringHelper::explode 2015-10-14 12:50:14 +03:00
SilverFire - Dima Naumenko
a46ae82f6a Fixes #9906, #9907 FormatConverterTest updated to pass on different ICU data versions 2015-10-14 00:54:43 +03:00
SilverFire - Dima Naumenko
ccd20793d4 Fixed #9911 - StringHelper::explode with skip_empty option removed item eq to 0 2015-10-14 00:15:22 +03:00
kidol
4bc2eb7945 Fixes controller DI 2015-10-12 15:52:19 +02:00
Carsten Brandt
decd45201c allow passing a single Expression object to select() and addSelect()
fixes #9883
2015-10-11 09:58:42 +02:00
Carsten Brandt
3826b6f4a3 added test for #9869 2015-10-09 16:30:18 +02:00
Vit S
88612a49b4 Merge branches '9198-buttons-visible-in-action-column' and 'master' of github.com:fornit1917/yii2 into 9198-buttons-visible-in-action-column
Conflicts:
	framework/CHANGELOG.md
2015-10-05 22:16:21 +03:00
mdmunir
3accf52ddb fix #9823 2015-10-03 23:00:46 +07:00
mdmunir
b7020065c8 Fixes #9476: Added DI injection via controller action method signature 2015-09-27 19:35:43 +03:00
Alexander Makarov
ed17ba31d0 Merge pull request #9722 from rezident1307/9714-fix-add-save-assignments-to-phpmanager
Bug #9714: Fixed unable to save users assignments
2015-09-24 16:22:48 +03:00
Alexander Makarov
00f432ab65 Fixes #9747: added tests for Url::isRelative() 2015-09-23 15:47:51 +03:00
John Was
ac8d185539 cache ResourceBundle and created messages; fix unit divisor 2015-09-21 18:20:23 +02:00
John Was
4d3c211e24 use unit translations from ResourceBundle 2015-09-21 17:34:24 +02:00
Carsten Brandt
989699614f fixed test break 2015-09-19 18:29:41 +02:00
Carsten Brandt
4e7adc13ea adjusted docs about Query::from() and subqueries
also added a  test to verify behavior

close #9720
close #9266
2015-09-19 17:41:45 +02:00
Yuri Nazarenko
0d4d54c3c7 Bug #9714: Fixed unable to save users assignments 2015-09-18 12:31:27 +03:00
Alexander Makarov
ab06e9c8dc Fixes #9605 2015-09-08 02:24:56 +03:00