Commit Graph

6117 Commits

Author SHA1 Message Date
Carsten Brandt
23b31d13de improve documentation of date validator
fixes #7514
2015-05-10 15:47:45 +02:00
Qiang Xue
78d3a856d3 Added Json::htmlEncode() to support safer JSON data encoding in HTML code 2015-05-09 23:38:17 -04:00
Jan Waś
ec920d2881 add missing schema name conditions for mssql
close #8046
fixes #6234
2015-05-10 00:31:43 +02:00
Carsten Brandt
f6b4601a83 improved doc message 2015-05-09 22:50:15 +02:00
Carsten Brandt
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
Klimov Paul
6c10b91e57 Merge branch 'master' of github.com:yiisoft/yii2 2015-05-08 11:17:57 +03:00
Klimov Paul
582b7606ac Fixed yii\db\ActiveRelationTrait::populateRelation() fails when link refers to array string convertable object attribute 2015-05-08 11:17:35 +03:00
Carsten Brandt
49ac8d790a phpdoc: added link 2015-05-08 00:00:31 +02:00
Niek ten Hoopen
f9bf2cf818 Fix NL translation for "months ago"
close #8317
2015-05-07 17:38:14 +02:00
Evgeniy Tkachenko
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
Carsten Brandt
486e7c59cf updated fxp/composer-asset-plugin version constraint
fixes #6253
2015-05-06 16:32:55 +02:00
Klimov Paul
8609311738 Fixed numeric keys in $_GET transformed to 0-based, if 'pretty URL' enabled 2015-05-06 17:09:31 +03:00
Carsten Brandt
6d14f6e74d phpdoc typo 2015-05-06 15:47:26 +02:00
Qiang Xue
5d4780da21 Fixes #8268: Allow QueryBuilder to recognize more variations of limit and offset values 2015-05-05 22:28:50 -04:00
Nikola Kovacs
048c89f15d Fix FragmentCache when enabled is false.
Fixes #8273
close #8274
2015-05-05 23:12:10 +02:00
Carsten Brandt
94d6843f8b added FragmentCache test for issue #8273 2015-05-05 23:12:10 +02:00
Qiang Xue
ebc089e6c2 Fixes #8194: Caching of the matched rules added to yii\web\UrlManager::createUrl() 2015-05-03 22:03:42 -04:00
laszlovl
8c22270591 db Command performance tweak 2015-05-03 21:03:55 +02:00
Nikola Kovacs
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
Nikola Kovacs
3f24954659 Added min/max option to DateValidator.
Refs #7514
close #8115
2015-05-03 00:50:35 +02:00
Carsten Brandt
cf51d46a75 keep BC in internal implamentation of DateValidator
prepare for #8115
2015-05-03 00:24:57 +02:00
Carsten Brandt
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
Carsten Brandt
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
Carsten Brandt
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
Carsten Brandt
c105622004 example for a link tag: issue #2803
[ci skip]
2015-04-30 18:25:04 +02:00
Carsten Brandt
4496e2c405 preserve configuration of gridview even when called multiple times
fixes #8231
2015-04-30 10:54:45 +02:00
Paul Klimov
3bef482046 Merge pull request #8218 from vbelogai/master
Update Schema.php
2015-04-28 16:08:15 +03:00
vbelogai
672510d521 Update Schema.php
insert: added $columnSchemas initialization; added size parameter to pdoStatement->bindParam
2015-04-28 15:46:10 +03:00
Klimov Paul
8c81a15ac9 Fixed yii\helpers\Html::dropDownList() overrides label specified at 'groups' option 2015-04-28 15:45:03 +03:00
Qiang Xue
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
Carsten Brandt
21f51400ef added information about quoting to batch insert 2015-04-27 10:22:56 +02:00
Qiang Xue
e6b09bb82f Fixes #7888 doc fix [skip ci] 2015-04-26 23:03:26 -04:00
Carsten Brandt
b0be36668e slight refactoring for #8179 2015-04-26 21:32:50 +02:00
Qiang Xue
095398f9ce Merge pull request #8179 from thiagotalma/isAttributeChanged
Compare it equals
2015-04-25 22:01:50 -04:00
Thiago Talma
b13d47f52d changelog 2015-04-25 23:01:12 -03:00
Thiago Talma
4970fb1e95 if...else 2015-04-25 22:36:40 -03:00
Thiago Talma
4bb9ec8906 new param 2015-04-24 14:32:09 -03:00
Klimov Paul
771ff15133 Fixed yii\log\Logger unable to export session id
close #8174
fixes #8036
2015-04-24 18:22:26 +02:00
Thiago Talma
815ca6b444 Compare it equals 2015-04-24 12:45:15 -03:00
Klimov Paul
2199565180 Merge branch 'master' of github.com:yiisoft/yii2 2015-04-24 18:03:54 +03:00
Klimov Paul
a4f760e798 Fixed yii\base\Model does not recognize scenario declared by rules using 'except' 2015-04-24 18:03:34 +03:00
Carsten Brandt
9a5abd923f cleanup after #8171 2015-04-24 15:28:57 +02:00
Klimov Paul
a0b5652673 yii\console\controllers\MessageController::saveMessagesToDb() updated to use yii\db\Schema::insert() 2015-04-24 15:34:46 +03:00
Klimov Paul
ca81665b64 Merge branch 'master' of github.com:yiisoft/yii2 2015-04-24 14:34:33 +03:00
Klimov Paul
faf7bb73fa redundant call chain removed 2015-04-24 14:34:07 +03:00
Klimov Paul
f13a4809b8 yii\test\ActiveFixture::load() updated to use yii\db\Schema::insert() 2015-04-24 14:30:40 +03:00
Philippe Gaultier
be6c619de9 Fixes #8171: Allow the user to enforce the fileSize to allow sending files which are not seekable. Needed when using S3 Stream Wrapper 2015-04-24 14:30:30 +03:00
Klimov Paul
4503cae876 code style fix 2015-04-24 13:47:44 +03:00
Klimov Paul
c0fc4596e2 Fixed yii\db\ActiveRelationTrait::populateRelation() fails when link refers to string convertable object attribute, like \MongoId 2015-04-24 13:42:47 +03:00
Carsten Brandt
ef662b57be added missing @since annotations 2015-04-24 12:09:40 +02:00