Commit Graph

4221 Commits

Author SHA1 Message Date
Alexander Makarov
f00fd142fc a bit more overview 2013-08-04 01:17:10 +04:00
Alexander Makarov
c861474bb0 mentioned installing from Composer in docs 2013-08-04 01:17:10 +04:00
Alexander Makarov
d7f93350a4 bumped up twig version 2013-08-04 01:17:10 +04:00
crtlib
bb05ed4f24 Update Component.php 2013-08-03 23:13:31 +02:00
crtlib
846f17017c Component::hasProperty() small optimization 2013-08-03 23:10:43 +02:00
Qiang Xue
27238f8d03 refactored ActiveDataProvider. 2013-08-03 17:02:36 -04:00
Qiang Xue
250ec28e0c Fixes #713. 2013-08-03 16:54:08 -04:00
Qiang Xue
60ba20491e Added support for passing parameters to the format method. 2013-08-03 16:51:57 -04:00
Qiang Xue
d836654af9 Fixes #704. 2013-08-03 14:07:32 -04:00
Qiang Xue
6b41d41fd9 Fixes #711. 2013-08-03 14:04:36 -04:00
Qiang Xue
62dee1490b Fixes #709. 2013-08-03 13:49:59 -04:00
Qiang Xue
dd5368b349 Refactored ActiveDataProvider. 2013-08-03 13:19:33 -04:00
Alexander Makarov
58eb23d3e8 Merge pull request #708 from lucianobaraglia/master
Minor doc and messages fixes [skip ci]
2013-08-03 09:59:48 -07:00
Qiang Xue
b31b02a55d renamed IDataProvider::getItems() to getModels() 2013-08-03 08:20:30 -04:00
Qiang Xue
3d5388ff2b Reorganized captcha code. 2013-08-03 07:20:39 -04:00
Luciano Baraglia
8760407cc9 Some doc code cleanup [skip ci] 2013-08-03 02:13:22 -03:00
Luciano Baraglia
f829b9478b Minor doc and messages fixes [skip ci] 2013-08-03 02:05:49 -03:00
Qiang Xue
9f4ccb6243 Added status code display to debugger toolbar. 2013-08-02 22:07:26 -04:00
Qiang Xue
da81f8da9e Merge branch 'master' of github.com:yiisoft/yii2 2013-08-02 17:25:19 -04:00
Qiang Xue
4ac501f492 Removed placeholders. 2013-08-02 17:25:03 -04:00
Alexander Makarov
0cde54bc3c added note about routes for camelCased controllers and actions 2013-08-03 01:23:17 +04:00
Alexander Makarov
3a2215b833 fixed length constraints check to always result in correct range 2013-08-03 01:19:26 +04:00
Alexander Makarov
478560fdd1 requirements: fixed intl version checking 2013-08-03 01:16:11 +04:00
Qiang Xue
7f27ef59c5 Merge branch 'master' of github.com:yiisoft/yii2 2013-08-02 16:36:26 -04:00
Qiang Xue
f72c451c86 Display debug toolbar on error pages. 2013-08-02 16:36:11 -04:00
Qiang Xue
2017a96a16 Merge pull request #707 from yiidevelop/patch-2
Add encodeLabels configure
2013-08-02 13:10:48 -07:00
yiidevelop
5790a00de5 Add encodeLabels configure
Please, review and approval.
Thanks
2013-08-03 03:08:32 +07:00
Qiang Xue
1398de3f4a Renamed DataColumn::type to format.
Added GridView::dataColumnClass.
2013-08-02 15:17:37 -04:00
Qiang Xue
d1ebf65597 Fixed the issue that ActiveQuery::one() doesn't bring back related objects when asArray is true. 2013-08-02 15:07:23 -04:00
Qiang Xue
b2739b84c5 Merge branch 'master' of github.com:yiisoft/yii2 2013-08-02 13:51:18 -04:00
Alexander Makarov
71fae803bc fixes #684 2013-08-02 17:22:30 +04:00
Qiang Xue
d135631f8e Avoid logging db errors repeatedly. 2013-08-01 20:06:58 -04:00
Alexander Makarov
af6f6d15e5 Merge pull request #702 from creocoder/ar-getnamespacedclass-call-type
ActiveRecord::getNamespacedClass() call style
2013-08-01 06:22:10 -07:00
creocoder
c091248e0d ActiveRecord::getNamespacedClass() call style 2013-08-01 17:19:44 +04:00
Qiang Xue
4b9e965454 GridView WIP 2013-08-01 08:26:54 -04:00
Suralc
f7bb54be1c Test fix for Php 5.3 2013-07-31 23:03:34 +02:00
Suralc
467d88faf9 Added StringValidatorTest 2013-07-31 22:48:19 +02:00
Alexander Makarov
445854171b Merge pull request #696 from creocoder/ar-getnamespacedclass-static
Make ActiveRecord::getNamespacedClass() static
2013-07-31 13:27:49 -07:00
Alexander Makarov
92d3c98cde Merge pull request #697 from DavertMik/patch-1
A simple patch to get AspectMock and Go Aop working with Yii2
2013-07-31 13:24:37 -07:00
davert
7f2d2da52c formatting fix 2013-07-31 23:01:11 +03:00
davert
2a08297ac8 formatting fix 2013-07-31 22:47:45 +03:00
Michael Bodnarchuk
58083f6ed0 A simple patch to get AspectMock and Go Aop working with Yii2
This is a very tiny patch that changes nothing in code logic, but is required to get [AspectMock](https://github.com/Codeception/AspectMock) and Go Aop working with Yii2. 

Go Aop is processing all `include` and `require` directives, replacing them with its filters. Unfortunately it doesn't play well with one-liners. So I had to break the code into few lines to get that working. 

I was trying to fix this issue in [Go Aop](https://github.com/lisachenko/go-aop-php/pull/78) but looks like, the only option is to fix that in Yii2.

AspectMock can dramaticly improve unit testing in Yii2, and I plan to do a blogpost with tutorial about it.
2013-07-31 22:39:13 +03:00
Suralc
1ce7344e18 Additional tests in EmailValidator. 2013-07-31 21:14:14 +02:00
Suralc
1c57661e1f Merge branch 'add-tests' of github.com:suralc/yii2 into add-tests 2013-07-31 20:52:52 +02:00
Suralc
777ff792c4 DateValidatorTest 2013-07-31 20:12:45 +02:00
Suralc
1c6b64e717 Added CompareValidatorTest and improved BooleanValidatorTest and UrlValidatorTest 2013-07-31 19:42:20 +02:00
creocoder
02581c59e7 Make ActiveRecord::getNamespacedClass() static 2013-07-31 18:56:36 +04:00
Qiang Xue
a23f233457 enhanced the usage of StringValidator. 2013-07-31 07:42:59 -04:00
Qiang Xue
4e1264efbc Merge pull request #695 from Jomaanro/master
[doc] Correct validation rule in model
2013-07-31 04:21:48 -07:00
Qiang Xue
eda171e1be Added more YII_ENV constants. 2013-07-31 07:18:59 -04:00