Qiang Xue
d1ebf65597
Fixed the issue that ActiveQuery::one() doesn't bring back related objects when asArray is true.
12 years ago
Qiang Xue
b2739b84c5
Merge branch 'master' of github.com:yiisoft/yii2
12 years ago
Alexander Makarov
71fae803bc
fixes #684
12 years ago
Qiang Xue
d135631f8e
Avoid logging db errors repeatedly.
12 years ago
Alexander Makarov
af6f6d15e5
Merge pull request #702 from creocoder/ar-getnamespacedclass-call-type
...
ActiveRecord::getNamespacedClass() call style
12 years ago
creocoder
c091248e0d
ActiveRecord::getNamespacedClass() call style
12 years ago
Qiang Xue
4b9e965454
GridView WIP
12 years ago
Suralc
f7bb54be1c
Test fix for Php 5.3
12 years ago
Suralc
467d88faf9
Added StringValidatorTest
12 years ago
Alexander Makarov
445854171b
Merge pull request #696 from creocoder/ar-getnamespacedclass-static
...
Make ActiveRecord::getNamespacedClass() static
12 years ago
Alexander Makarov
92d3c98cde
Merge pull request #697 from DavertMik/patch-1
...
A simple patch to get AspectMock and Go Aop working with Yii2
12 years ago
davert
7f2d2da52c
formatting fix
12 years ago
davert
2a08297ac8
formatting fix
12 years ago
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.
12 years ago
Suralc
1ce7344e18
Additional tests in EmailValidator.
12 years ago
Suralc
1c57661e1f
Merge branch 'add-tests' of github.com:suralc/yii2 into add-tests
12 years ago
Suralc
777ff792c4
DateValidatorTest
12 years ago
Suralc
1c6b64e717
Added CompareValidatorTest and improved BooleanValidatorTest and UrlValidatorTest
12 years ago
creocoder
02581c59e7
Make ActiveRecord::getNamespacedClass() static
12 years ago
Qiang Xue
a23f233457
enhanced the usage of StringValidator.
12 years ago
Qiang Xue
4e1264efbc
Merge pull request #695 from Jomaanro/master
...
[doc] Correct validation rule in model
12 years ago
Qiang Xue
eda171e1be
Added more YII_ENV constants.
12 years ago
Maikel Brouwer
aaa84df0af
Correct validation rule
12 years ago
Qiang Xue
5d9c23c67b
Added Sort::hasAttribute().
12 years ago
Qiang Xue
f2ceef4c76
Fixes #686
12 years ago
Alexander Makarov
1e0decf44d
fixes #650
12 years ago
Alexander Makarov
0645445523
fixes #677
12 years ago
Alexander Makarov
18c00be6b4
Merge pull request #681 from aivus/query
...
Fix SORT_DESC comment in Query.php
12 years ago
Ilya Antipenko
7fd68199e5
Fix SORT_DESC comment in Query.php
12 years ago
Suralc
ec1dfeaa58
Ignoring javascript generating methods in coverage for now.
12 years ago
Alexander Makarov
0e9978d6c2
Merge pull request #680 from suralc/readme
...
viewRenderers -> renderers
12 years ago
Suralc
6adad3b0bb
viewRenderers -> renderers
12 years ago
Suralc
fc1d2af36c
UrlValidator Tests
12 years ago
Suralc
09c5e61462
fix test
12 years ago
Suralc
cde97847f4
BooleanValidatorTest
12 years ago
Alexander Makarov
376bddbe18
Merge pull request #678 from suralc/coveralls-impl-2
...
Coveralls.io travis settings and phpunit
12 years ago
Suralc
53cb062e8b
Update to be in-line with composer docs.
12 years ago
Suralc
e9f22eb44e
Travis-ci and phpunit config for coveralls
12 years ago
Suralc
e5cc17f94e
Add .gitkeep for coveralls reports
12 years ago
Qiang Xue
458f50acd0
typo fix
12 years ago
Alexander Makarov
860799e3b3
Merge pull request #675 from Jomaanro/master
...
Advanced app: Rename www to web in configuration
12 years ago
Maikel Brouwer
3af5c9bf38
Resolves #674 - Remove old config files
12 years ago
Maikel Brouwer
ccb2b0f609
Resolves #674
12 years ago
Qiang Xue
ef0d709f62
Merge branch 'master' of github.com:yiisoft/yii2
12 years ago
Qiang Xue
539be8ebaa
Refactored ListView.
12 years ago
Qiang Xue
b1c67b86a9
Fixed test break.
12 years ago
Qiang Xue
68d2bc2f54
Merge branch 'master' of github.com:yiisoft/yii2
12 years ago
Qiang Xue
ea9949c729
minor doc update.
12 years ago
Qiang Xue
3d91a210f9
Merge pull request #665 from DaSourcerer/travis-ci
...
Travis CI Clean-Up
12 years ago
Qiang Xue
dc893ec669
Added DataProvider::id
12 years ago