Commit Graph

7547 Commits

Author SHA1 Message Date
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
Maikel Brouwer
aaa84df0af Correct validation rule 2013-07-31 13:15:22 +02:00
Qiang Xue
5d9c23c67b Added Sort::hasAttribute(). 2013-07-30 12:01:02 -04:00
Qiang Xue
f2ceef4c76 Fixes #686 2013-07-30 11:56:09 -04:00
Alexander Makarov
1e0decf44d fixes #650 2013-07-29 20:29:55 +04:00
Alexander Makarov
0645445523 fixes #677 2013-07-29 20:08:47 +04:00
Alexander Makarov
18c00be6b4 Merge pull request #681 from aivus/query
Fix SORT_DESC comment in Query.php
2013-07-29 07:45:20 -07:00
Ilya Antipenko
7fd68199e5 Fix SORT_DESC comment in Query.php 2013-07-29 17:40:58 +03:00
Suralc
ec1dfeaa58 Ignoring javascript generating methods in coverage for now. 2013-07-29 16:40:33 +02:00
Alexander Makarov
0e9978d6c2 Merge pull request #680 from suralc/readme
viewRenderers -> renderers
2013-07-29 07:33:36 -07:00
Suralc
6adad3b0bb viewRenderers -> renderers 2013-07-29 16:30:45 +02:00
Suralc
fc1d2af36c UrlValidator Tests 2013-07-29 16:21:07 +02:00
Suralc
09c5e61462 fix test 2013-07-29 15:25:05 +02:00
Suralc
cde97847f4 BooleanValidatorTest 2013-07-29 15:15:33 +02:00
Alexander Makarov
376bddbe18 Merge pull request #678 from suralc/coveralls-impl-2
Coveralls.io travis settings and phpunit
2013-07-29 05:09:43 -07:00
Suralc
53cb062e8b Update to be in-line with composer docs. 2013-07-29 13:22:50 +02:00
Suralc
e9f22eb44e Travis-ci and phpunit config for coveralls 2013-07-29 13:17:57 +02:00
Suralc
e5cc17f94e Add .gitkeep for coveralls reports 2013-07-29 13:16:57 +02:00
Qiang Xue
458f50acd0 typo fix 2013-07-29 06:23:52 -04:00
Alexander Makarov
860799e3b3 Merge pull request #675 from Jomaanro/master
Advanced app: Rename www to web in configuration
2013-07-29 02:31:00 -07:00
Maikel Brouwer
3af5c9bf38 Resolves #674 - Remove old config files 2013-07-29 11:14:17 +02:00
Maikel Brouwer
ccb2b0f609 Resolves #674 2013-07-29 11:11:16 +02:00
Qiang Xue
ef0d709f62 Merge branch 'master' of github.com:yiisoft/yii2 2013-07-28 17:28:57 -04:00
Qiang Xue
539be8ebaa Refactored ListView. 2013-07-28 17:28:12 -04:00
Qiang Xue
b1c67b86a9 Fixed test break. 2013-07-28 17:27:16 -04:00