5475 Commits

Author SHA1 Message Date
219bf07dbb 'ctype' PHP extension added to the requirements 2015-05-14 16:41:36 +03:00
3a39f8ab72 yii\helpers\Html allows correct rendering of conditional comments containing !IE 2015-05-14 16:22:26 +03:00
0a12094505 Merge pull request #8403 from nkovacs/7707-trim-client-side
Fix client-side trim validator.
2015-05-13 18:26:25 -04:00
adb0460ee1 yii\console\controllers\MessageController now sorts created messages, even if there is no new one, while saving to PHP file 2015-05-13 16:08:36 +03:00
72ec914992 yii\console\controllers\MessageController improved allowing extraction of nested translator calls 2015-05-13 15:49:00 +03:00
f64d00bdf0 Fix client-side trim validator.
Subsequent validators now use the trimmed value instead of the original value.

fixes #7707
2015-05-13 14:18:27 +02:00
32bc19ae9b Updated web/Controller.php, simplified code design
close #8387
2015-05-13 12:53:44 +02:00
cad9fd9d20 yii\behaviors\TimestampBehavior::touch() throws an exception if owner is new record 2015-05-13 13:19:46 +03:00
fc8ff4d08e Updated Ukrainian messages 2015-05-11 12:52:29 +03:00
8da1ebb449 prepare for next release. 2015-05-10 18:25:21 -04:00
cf0541fd59 2.0.4 release. 2015-05-10 16:09:47 -04:00
42fd70b2a1 exception message fix 2015-05-10 15:40:41 -04:00
4488dbbff7 build cleanup [skip ci] 2015-05-10 13:29:32 -04:00
23b31d13de improve documentation of date validator
fixes #7514
2015-05-10 15:47:45 +02:00
78d3a856d3 Added Json::htmlEncode() to support safer JSON data encoding in HTML code 2015-05-09 23:38:17 -04:00
ec920d2881 add missing schema name conditions for mssql
close #8046
fixes #6234
2015-05-10 00:31:43 +02:00
f6b4601a83 improved doc message 2015-05-09 22:50:15 +02:00
8f1811919f ensure error will always result in a failing HTTP status code
fixes #8326
proper fix for #7571 which did not work in all situations
2015-05-08 22:38:49 +02:00
6c10b91e57 Merge branch 'master' of github.com:yiisoft/yii2 2015-05-08 11:17:57 +03:00
582b7606ac Fixed yii\db\ActiveRelationTrait::populateRelation() fails when link refers to array string convertable object attribute 2015-05-08 11:17:35 +03:00
49ac8d790a phpdoc: added link 2015-05-08 00:00:31 +02:00
f9bf2cf818 Fix NL translation for "months ago"
close #8317
2015-05-07 17:38:14 +02:00
632dbcf8c4 Updated comments in ManagerInterface
It is necessary that triggered tips of result on viewing variables.

close #8312
2015-05-07 11:37:55 +02:00
486e7c59cf updated fxp/composer-asset-plugin version constraint
fixes #6253
2015-05-06 16:32:55 +02:00
8609311738 Fixed numeric keys in $_GET transformed to 0-based, if 'pretty URL' enabled 2015-05-06 17:09:31 +03:00
6d14f6e74d phpdoc typo 2015-05-06 15:47:26 +02:00
5d4780da21 Fixes #8268: Allow QueryBuilder to recognize more variations of limit and offset values 2015-05-05 22:28:50 -04:00
048c89f15d Fix FragmentCache when enabled is false.
Fixes #8273
close #8274
2015-05-05 23:12:10 +02:00
94d6843f8b added FragmentCache test for issue #8273 2015-05-05 23:12:10 +02:00
ebc089e6c2 Fixes #8194: Caching of the matched rules added to yii\web\UrlManager::createUrl() 2015-05-03 22:03:42 -04:00
8c22270591 db Command performance tweak 2015-05-03 21:03:55 +02:00
b31b9e2411 Fix conversion of ICU 'L' symbol.
L should not contain a leading zero.
Added a test for this too.

close #7761
2015-05-03 01:04:49 +02:00
3f24954659 Added min/max option to DateValidator.
Refs #7514
close #8115
2015-05-03 00:50:35 +02:00
cf51d46a75 keep BC in internal implamentation of DateValidator
prepare for #8115
2015-05-03 00:24:57 +02:00
1c41c2bd58 added DateValidator::$timestampAttributeTimeZone
this also makes DateValidator completly functional for validating values that include time.

issue #5053
2015-05-02 23:52:37 +02:00
d60445c066 Add DateValidator::$timestampAttributeFormat
includes refactoring of the formatting method to fix some major timezone issues.

fixes #5053
close #6820
2015-05-01 18:53:28 +02:00
543daf099f Added Formatter:$numberFormatterSymbols
this allows to specify custom symbols such as currency symbol.
also improved error reporting in case intl fails

fixes #7915, close #7920
2015-04-30 19:10:17 +02:00
c105622004 example for a link tag: issue #2803
[ci skip]
2015-04-30 18:25:04 +02:00
4496e2c405 preserve configuration of gridview even when called multiple times
fixes #8231
2015-04-30 10:54:45 +02:00
3bef482046 Merge pull request #8218 from vbelogai/master
Update Schema.php
2015-04-28 16:08:15 +03:00
672510d521 Update Schema.php
insert: added $columnSchemas initialization; added size parameter to pdoStatement->bindParam
2015-04-28 15:46:10 +03:00
8c81a15ac9 Fixed yii\helpers\Html::dropDownList() overrides label specified at 'groups' option 2015-04-28 15:45:03 +03:00
2c94bb0899 Fixes #7808: Adjusted Masked input to correctly generate the hash variable to store the plugin options 2015-04-27 22:10:16 -04:00
21f51400ef added information about quoting to batch insert 2015-04-27 10:22:56 +02:00
e6b09bb82f Fixes #7888 doc fix [skip ci] 2015-04-26 23:03:26 -04:00
b0be36668e slight refactoring for #8179 2015-04-26 21:32:50 +02:00
095398f9ce Merge pull request #8179 from thiagotalma/isAttributeChanged
Compare it equals
2015-04-25 22:01:50 -04:00
b13d47f52d changelog 2015-04-25 23:01:12 -03:00
4970fb1e95 if...else 2015-04-25 22:36:40 -03:00
4bb9ec8906 new param 2015-04-24 14:32:09 -03:00