Commit Graph

15391 Commits

Author SHA1 Message Date
Qiang Xue
e3d3b555d2 fixed asset plugin version in translated docs. 2015-03-01 10:53:07 -05:00
Marco van 't Wout
4afd9f112b Update structure-controllers.md
In MVC, the "M" is a model -layer-, and not just a collection of models. If we don't teach this to new users, they will quickly end up with heavily bloated model classes.

Maybe this deserves some attention in other introduction pages as well.

http://stackoverflow.com/questions/5863870/how-should-a-model-be-structured-in-mvc
2015-03-01 14:32:43 +01:00
Qiang Xue
82c1136613 prepare for next release. 2015-03-01 01:24:14 -05:00
Qiang Xue
985119350b 2.0.3 release. 2.0.3 2015-03-01 01:22:44 -05:00
Qiang Xue
57ed5127f2 Merge pull request #7509 from softark/docs-guide-small-fix
docs/guide/test-overview.md - minor change [ci skip]
2015-03-01 01:19:35 -05:00
Nobuo Kihara
876263931a docs/guide/test-overview.md - minor change [ci skip] 2015-03-01 13:48:52 +09:00
Carsten Brandt
2aace3714c minor adjustments 2015-03-01 01:24:28 +01:00
Artem Belov
81bcd116a8 Added "submenuTemplate" property for "items" config in Menu widget
fixes #5681
close #5897
2015-03-01 00:33:00 +01:00
Alexander Makarov
d7346cbfaf Used PHP_OS instead of php_uname() to check for Linix 2015-03-01 02:31:13 +03:00
Brandon Kelly
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
Alexander Kochetov
29f5dc37a5 Correct phpDoc for return in several cases
close #6733
2015-02-28 23:49:16 +01:00
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
Alexander Makarov
0efe621684 Adjusted nginx docs to match older packages provided by most OSes nowadays 2015-02-28 13:56:16 +03:00
Qiang Xue
f7290bce8c Merge pull request #7494 from softark/docs-guide-ja-helper-rev
docs/guide-ja/helper reviewed [ci skip]
2015-02-28 00:56:37 -05:00
Nobuo Kihara
347891596d docs/guide-ja/helper reviewed [ci skip] 2015-02-28 13:27:13 +09:00
Qiang Xue
ce124fce2a Merge pull request #7492 from softark/docs-guide-ja-tutorial-rev
Docs guide ja tutorial rev [ci skip]
2015-02-27 21:41:47 -05:00
Nobuo Kihara
f321b5aa66 docs/guide-ja/tutorial - reviewed [ci skip] 2015-02-28 11:34:11 +09:00
Nobuo Kihara
cc514fdb97 docs/guide-ja/tutorial-i18n.md - reviewed [ci skip] 2015-02-28 11:34:11 +09:00
Nobuo Kihara
b626e5a206 docs/guide-ja/tutorial - reviewing [ci skip] 2015-02-28 11:34:10 +09:00
Nobuo Kihara
f11b74bf27 docs/guide-ja/tutorial - reviewing [ci skip] 2015-02-28 11:34:09 +09:00
Nobuo Kihara
489b35183d docs/guide-ja/test-fixtures.md - reviewed [ci skip] 2015-02-28 11:34:08 +09: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
36aa65287a Enh #7449: HtmlTest improvements 2015-02-26 21:09:33 -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
Alexander Makarov
aa0ebc7f5f Reverted #7459, #7469, #7470 2015-02-27 02:27:06 +03: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
c0e0ba0004 Merge pull request #7468 from Riyyi/patch-1
[skip ci] Update tutorial-core-validators.md
2015-02-26 18:29:18 +03:00
Alexander Makarov
11c3b23291 Merge pull request #7470 from creocoder/benchmark-composer-json-wrong-cs
Fixed wrong benchmark composer.json CS
2015-02-26 18:28:01 +03:00
Alexander Kochetov
257bab9d45 Fixed wrong benchmark composer.json CS 2015-02-26 18:26:10 +03:00
Alexander Makarov
3d75c3fb60 Merge pull request #7469 from creocoder/fix-applications2
Several application templates fixes
2015-02-26 18:24:22 +03:00
Alexander Kochetov
e6fcaa3665 Updated basic app template README.md 2015-02-26 18:21:58 +03:00
Alexander Kochetov
c148dce6ad Updated advanced app template README.md 2015-02-26 18:21:50 +03:00
Alexander Kochetov
c7788f3d05 Added prefered install option to composer.json for advanced app template 2015-02-26 18:21:02 +03:00
Alexander Kochetov
ca2071f3aa Added prefered install option to composer.json for basic app template 2015-02-26 18:20:50 +03:00
Alexander Kochetov
eb1c4c01ef Removed min stability from composer.json for benchmark application 2015-02-26 18:19:23 +03:00
Alexander Kochetov
6659cb196c Removed min stability from composer.json for advanced application template 2015-02-26 18:18:36 +03:00
Alexander Kochetov
38bd72efcb Removed min stability from composer.json for basic application template 2015-02-26 18:18:25 +03:00