Commit Graph

1727 Commits

Author SHA1 Message Date
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
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