Commit Graph

6117 Commits

Author SHA1 Message Date
Carsten Brandt
ba6bce4e2d fixed DateValidator to work with multibyte strings
fixes #6835
2015-02-28 23:45:17 +01:00
Yoyon Cahyono
8b5e16ed56 compare position at which date value parsing ended with its string length to ensure validation when using php intl extension to parse date value
- fixes #6553
- Add additional testValidateAttributeICUFormat() test case using "2012-12-12foo" for "yyyy-MM-dd" date format
- close #6835
2015-02-28 23:33:17 +01:00
Pavel
5ed412495e Added dot symbol to Html::getInputId()
close #7209
2015-02-28 23:15:34 +01:00
Carsten Brandt
95cdd0905d fix case in asDatetime method references
close #7095
2015-02-28 23:09:10 +01:00
Nikolay Bogolubov
2e414632be fix EmailValidator - added unit tests
close #7183
fixes #7172
2015-02-28 23:04:12 +01:00
Alexander Makarov
4fffd8fcef Prevented Security from erroring in case of /dev/urandom or /dev/random aren't available 2015-02-28 23:04:19 +03:00
Carsten Brandt
68f78f25e0 Update CHANGELOG.md
fixed typo in issue number, 796a0e6156
2015-02-27 22:11:03 +01:00
Carsten Brandt
da50920ac8 improved wording in TimestampBehavior 2015-02-27 21:25:49 +01:00
Carsten Brandt
e742ba0ea1 updated docs about timestamp and refresh
fixes #7484
2015-02-27 11:31:45 +01:00
Qiang Xue
94564cd766 minor fix [skip ci] 2015-02-26 21:45:57 -05:00
Qiang Xue
0eb27981cd Fixes #7440: Added support to automatically set the maxlength attribute for Html::activeTextInput() 2015-02-26 21:45:02 -05:00
Leonardo Tietböhl
7f73d6a525 Use getAttributeName() 2015-02-26 21:25:33 -05:00
Leonardo Tietböhl
cdfd73a9ff Add maxlength option to activeTextInput
Issue [#7440](https://github.com/yiisoft/yii2/issues/7440)
2015-02-26 21:25:33 -05:00
Qiang Xue
f57a517f6d Fixes #7449: Added encode option to allow not encoding select options for Html::dropDownList() and Html::listBox() 2015-02-26 21:24:46 -05:00
Anton Ivanov
9a52aab0f1 Enh #7449: yii\helpers\Html::dropDownList() and yii\helpers\Html::listBox() now supports Unicode characters in option text (yapi68) 2015-02-26 21:09:33 -05:00
Carsten Brandt
30e45a4aea improve documentation about uncheck and unselect in activefield
fixes #7465
2015-02-26 19:06:51 +01:00
Carsten Brandt
e83b479dfb improved validator documentation
fixes #7472
2015-02-26 18:40:13 +01:00
Alexander Makarov
61b28b137c Merge pull request #7447 from yiisoft/log-db-target-timestamp
Fixes #7383: Fix precision loss in log timestamps when using `yii\log\DBTarget`
2015-02-26 13:02:21 +03:00
Qiang Xue
5a63ae324e Fixes #7211: Query caching should properly deal with the case when query result is false 2015-02-25 23:06:42 -05:00
Alexander Makarov
796a0e6156 Fixes #7383: Fix precision loss in log timestamps when using yii\log\DBTarget 2015-02-26 04:11:27 +03:00
Alexander Makarov
7d0173db80 Added CHANGELOG 2015-02-26 02:48:18 +03:00
Alexander Makarov
187322052d Fixed converting double to PHP type 2015-02-26 02:37:47 +03:00
Alexander Makarov
c0e448bacb Changed CUBRID type for Double 2015-02-26 02:28:59 +03:00
Alexander Makarov
5870a74672 Added Schema::DOUBLE to represent ANSI SQL Double Precision 2015-02-25 16:01:37 +03:00
Amir Basiri
b65006a469 Fixes #7438: Changed the Farsi messages directory name to be generalized 2015-02-25 13:31:31 +03:00
Qiang Xue
0f79732b8a Fixes #7425: yii\widgets\ActiveField::radio() should not generate the label twice 2015-02-24 21:37:01 -05:00
justinvoelker
f2523cb5d7 Update ActiveField.php
Update radio() to set $options['label'] to null rather than using unset. Fixes issue #7425.
2015-02-24 21:35:19 -05:00
Carsten Brandt
2897257ec1 fixed wrong docs about loadDefaultValues() and init()
fixes #7373
2015-02-24 20:51:47 +01:00
Alexander Makarov
7721baae1f Used StringHelper for byte operations 2015-02-24 19:20:28 +03:00
Alexander Makarov
94d6e139b9 Added more info to UPGRADE 2015-02-24 17:27:06 +03:00
Alexander Makarov
f7f838e9d0 Added upgrade not about Security 2015-02-24 15:49:09 +03:00
Carsten Brandt
89d1e55f91 phpdoc fix, close #7404 2015-02-24 13:26:01 +01:00
Alexander Makarov
b2f5739781 Merge pull request #7407 from sidtj/7301-check-icu-version-in-requirements
#7301 adds checking of the icu version in requirements
2015-02-24 14:22:40 +03:00
tom--
4512833fac Fixes #7215: Uses OpenSSL crypto lib instead of Mcrypt. Added testing of encrypted data compatibility, both backward and forward 2015-02-24 14:03:41 +03:00
Qiang Xue
a3ea7b774d Fixes #7350: Added yii\helpers\Html::$dataAttributes to support customizing data attributes. 2015-02-23 21:30:45 -05:00
Sidney Lins - WMaior.com
183dc43b6f Merge branch 'master' of github.com:yiisoft/yii2 into 7301-check-icu-version-in-requirements 2015-02-23 21:08:24 -03:00
Sidney Lins - WMaior.com
61e695b39b Solve conflicts on upstream merging 2015-02-23 21:07:44 -03:00
Alexander Makarov
a5b9aec6cd Fixed phpdoc typo 2015-02-24 03:05:43 +03:00
Sidney Lins - WMaior.com
f0cc302802 [i18n, #7301] Check ICU version in requirements warning when < 49 2015-02-23 20:45:31 -03:00
Alexander Makarov
02f8f7ef9d Fixes #7332: Added ability to remove yii\widgets\Menu container tag by setting options['tag'] to false 2015-02-24 02:06:42 +03:00
Boudewijn Vahrmeijer
e385f323eb Update Menu.php
The feature:
http://getbootstrap.com/components/#list-group-linked

Currently, Menu isnt capable of creating a bootstraps list-group-linked because:
- Menu forces a item container around the link

Menu does allow:
- defining the tag of the menu container
- defining the tag of the item container
- defining the template of the link

This means, that it is a small step to enable a menu like the list-group-linked in which:
- menu container is a DIV
- there are no item containers
- there are only links which should get the correct status by the (link)template

I provided a patch in which you can set the item-tag on false. When this is done,
the item tag is ignored and no LI is created, which is necessary for the list-group-linked.
2015-02-24 01:52:00 +03:00
Carsten Brandt
6dc45276b5 Added hint about safeUp/safeDown 2015-02-23 21:19:53 +01:00
Qiang Xue
e56bf03130 Fixed test break. 2015-02-22 19:33:23 -05:00
Qiang Xue
57c298a523 Fixes #7361: The trim validator now works on the client side too 2015-02-22 19:25:06 -05:00
Carsten Brandt
63af984d7c improved framework README 2015-02-22 22:01:34 +01:00
Qiang Xue
07403d3f9d Fixes #3723: yii\filters\PageCache now supports caching response headers as well as non-HTML response content 2015-02-21 19:45:44 -05:00
Qiang Xue
56dbd4cefa Fixes #7357: Refactored yii\db\ColumnSchema by adding typecast() method to decouple phpTypecast() from dbTypecast() 2015-02-20 22:03:39 -05:00
Alexander Makarov
00aafc82ef Fixes #7258: Response was sending HTML content type when formatter was set to JSON or XML, nulls were handled wrong 2015-02-21 02:32:09 +03:00
slavcodev
9028bc5aa7 Fixed header Content-Type when response is empty 2015-02-21 02:05:03 +03:00
Qiang Xue
1088fd496d Added support to yii\di\Container to instantiate and configure an object that implements yii\base\Configurable. 2015-02-19 22:46:49 -05:00