5276 Commits

Author SHA1 Message Date
1a81211a9a Update AssetManager #7535
#7535
2015-03-03 09:39:27 +03:00
3f74319e26 Minor updates to Greek language. 2015-03-01 18:39:57 +02:00
82c1136613 prepare for next release. 2015-03-01 01:24:14 -05:00
985119350b 2.0.3 release. 2015-03-01 01:22:44 -05:00
2aace3714c minor adjustments 2015-03-01 01:24:28 +01:00
81bcd116a8 Added "submenuTemplate" property for "items" config in Menu widget
fixes #5681
close #5897
2015-03-01 00:33:00 +01:00
d7346cbfaf Used PHP_OS instead of php_uname() to check for Linix 2015-03-01 02:31:13 +03:00
7a37c47bb2 Fixed #7150 - support ICU single quote syntaxes
- When converting an ICU date/time format to PHP, text within single quotes will be replaced with backslashes in front of each character (the PHP date() method for escaping text), and double-single quotes will be replaced with single quotes.
- When converting an ICU date/time format to jQuery UI, text  within single quotes, and double-single quotes, will each be preserved (rather than parsed for date/time format symbols), as jQuery UI uses the same text escaping and single quote syntax as ICU.
- Add support for '' within 'escaped text' E.g. 'o''clock'

close #7151
2015-03-01 00:02:35 +01:00
29f5dc37a5 Correct phpDoc for return in several cases
close #6733
2015-02-28 23:49:16 +01:00
ba6bce4e2d fixed DateValidator to work with multibyte strings
fixes #6835
2015-02-28 23:45:17 +01:00
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
5ed412495e Added dot symbol to Html::getInputId()
close #7209
2015-02-28 23:15:34 +01:00
95cdd0905d fix case in asDatetime method references
close #7095
2015-02-28 23:09:10 +01:00
2e414632be fix EmailValidator - added unit tests
close #7183
fixes #7172
2015-02-28 23:04:12 +01:00
4fffd8fcef Prevented Security from erroring in case of /dev/urandom or /dev/random aren't available 2015-02-28 23:04:19 +03:00
68f78f25e0 Update CHANGELOG.md
fixed typo in issue number, 796a0e6156dae5e3a6b22707c0ae94d3d45d93dd
2015-02-27 22:11:03 +01:00
da50920ac8 improved wording in TimestampBehavior 2015-02-27 21:25:49 +01:00
e742ba0ea1 updated docs about timestamp and refresh
fixes #7484
2015-02-27 11:31:45 +01:00
94564cd766 minor fix [skip ci] 2015-02-26 21:45:57 -05:00
0eb27981cd Fixes #7440: Added support to automatically set the maxlength attribute for Html::activeTextInput() 2015-02-26 21:45:02 -05:00
7f73d6a525 Use getAttributeName() 2015-02-26 21:25:33 -05:00
cdfd73a9ff Add maxlength option to activeTextInput
Issue [#7440](https://github.com/yiisoft/yii2/issues/7440)
2015-02-26 21:25:33 -05:00
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
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
30e45a4aea improve documentation about uncheck and unselect in activefield
fixes #7465
2015-02-26 19:06:51 +01:00
e83b479dfb improved validator documentation
fixes #7472
2015-02-26 18:40:13 +01:00
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
5a63ae324e Fixes #7211: Query caching should properly deal with the case when query result is false 2015-02-25 23:06:42 -05:00
796a0e6156 Fixes #7383: Fix precision loss in log timestamps when using yii\log\DBTarget 2015-02-26 04:11:27 +03:00
7d0173db80 Added CHANGELOG 2015-02-26 02:48:18 +03:00
187322052d Fixed converting double to PHP type 2015-02-26 02:37:47 +03:00
c0e448bacb Changed CUBRID type for Double 2015-02-26 02:28:59 +03:00
5870a74672 Added Schema::DOUBLE to represent ANSI SQL Double Precision 2015-02-25 16:01:37 +03:00
b65006a469 Fixes #7438: Changed the Farsi messages directory name to be generalized 2015-02-25 13:31:31 +03:00
0f79732b8a Fixes #7425: yii\widgets\ActiveField::radio() should not generate the label twice 2015-02-24 21:37:01 -05:00
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
2897257ec1 fixed wrong docs about loadDefaultValues() and init()
fixes #7373
2015-02-24 20:51:47 +01:00
7721baae1f Used StringHelper for byte operations 2015-02-24 19:20:28 +03:00
94d6e139b9 Added more info to UPGRADE 2015-02-24 17:27:06 +03:00
f7f838e9d0 Added upgrade not about Security 2015-02-24 15:49:09 +03:00
89d1e55f91 phpdoc fix, close #7404 2015-02-24 13:26:01 +01:00
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
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
a3ea7b774d Fixes #7350: Added yii\helpers\Html::$dataAttributes to support customizing data attributes. 2015-02-23 21:30:45 -05:00
183dc43b6f Merge branch 'master' of github.com:yiisoft/yii2 into 7301-check-icu-version-in-requirements 2015-02-23 21:08:24 -03:00
61e695b39b Solve conflicts on upstream merging 2015-02-23 21:07:44 -03:00
a5b9aec6cd Fixed phpdoc typo 2015-02-24 03:05:43 +03:00
f0cc302802 [i18n, #7301] Check ICU version in requirements warning when < 49 2015-02-23 20:45:31 -03:00
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
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