Edgard Lorraine Messias
60208bb96c
Enabled tests for FileMutex on Windows, see #12824 ( #12831 )
2016-10-25 13:37:55 +03:00
Pavel Dovlatov
73a30780b3
Fixes #12810 : getChildRoles() throws an exception when role has no children
2016-10-24 14:11:09 +03:00
Carsten Brandt
dda5543a61
added test for View::registerJsFile()
2016-10-21 13:48:31 +02:00
Klimov Paul
d4df72a2a4
Fixed yii\behaviors\AttributeTypecastBehavior unable to automatically detect attributeTypes
2016-10-21 12:49:22 +03:00
Carsten Brandt
6346e7180c
added test for default route to Url helper
2016-10-20 22:10:01 +02:00
LAV45
04848a6c3b
Fix yii\rest\Serializer serialize ArrayDataProvider with pagination bug
...
fixes #11987
close #12683
2016-10-20 13:17:10 +02:00
François Gannaz
7669d60df6
Document and test ListView.showOnEmpty
...
This addresses #11627 by completing the documentation without changing
the behavior. Some basic unit tests are added on ListView to ensure this
won't change unintentionnally.
That means a ListView widget with an empty provider and
`showOnEmpty=true` will still display an empty element (by default, an
empty "div.list-view").
2016-10-14 15:40:23 +02:00
Carsten Brandt
fa9675636b
fixed broken test in ActiveRecordTestTrait
...
use generic class names that work for all db backends
fixes #12745
close #12746
2016-10-14 14:41:38 +02:00
p.chapl
3e1588b5b9
Added unit tests for #9561
...
canGetProperty and canSetProperty on ActiveRecord checks attributes
close #11087
2016-10-13 13:18:37 +02:00
Klimov Paul
2a9a997277
Added support for wildcards for optional at yii\filters\auth\AuthMethod
2016-10-10 12:24:04 +03:00
Robert Korulczyk
63f95fa3ad
Fixes #11309 : Added yii\web\Request::getHostName() method that returns hostname of current request
2016-10-07 01:00:14 +03:00
Carsten Brandt
89bc2918d3
Make 'safe' validator work on write-only properties
...
fixes #12605
2016-10-06 14:44:11 +02:00
githubjeka
76ced661b2
DetailView captionOptions & contentOptions attributes
2016-10-05 11:43:21 +03:00
Evgeniy Tkachenko
aa4b49a2e6
Fixes #11245 : Added yii\rbac\ManagerInterface::getRolesByRole($roleName) method. Implement to DbManager and PhpManager
2016-10-04 14:44:18 +03:00
SilverFire - Dmitry Naumenko
95152f3c2c
Fixed consistency of indexBy handling for yii\db\Query::column()
...
Closes #12649
2016-10-03 11:17:32 +03:00
Dmitry Naumenko
970cc292f1
Merge pull request #12608 from dynasource/fix-moduletest-windows
...
makes ModuleTest pass in windows environment
2016-09-27 15:16:13 +03:00
Boudewijn Vahrmeijer
76d8bc9f94
enhance tests for DataColumn ( #12615 )
2016-09-27 13:42:56 +03:00
Boudewijn Vahrmeijer
41e2e244fc
fix failing test in Windows env
2016-09-26 22:24:11 +02:00
SilverFire - Dmitry Naumenko
fb210b8839
Fixed typo in data type. Fixes #12599
2016-09-26 14:06:08 +03:00
SilverFire - Dmitry Naumenko
3861108553
Fixed casting of binnary() type for MSSQL. Closes #12599
2016-09-26 13:41:27 +03:00
SilverFire - Dmitry Naumenko
3ec3ce9312
Reverted #10429 because of BC breaking
2016-09-23 12:28:50 +03:00
Carsten Brandt
e327d018b4
added test for pagination params
...
verify #12569
2016-09-20 09:48:44 +02:00
Dmitry Naumenko
6b88f2fa71
Merge pull request #12537 from Alex-Code/StringHelper
...
StringHelper fixes
2016-09-19 10:40:14 +03:00
SilverFire - Dmitry Naumenko
f3dc5c437d
Fixed replacement of alias more than once in View::registerJsFile() and View::registerCssFile(), updated tests
2016-09-17 10:28:39 +03:00
SilverFire - Dmitry Naumenko
9931324e48
Fixed regression in View::registerJsFile, View::registerCssFile
...
Closes #12544
2016-09-15 21:23:19 +03:00
SilverFire - Dmitry Naumenko
770c96b7c9
#12544 - Added additional tests cases for AssetBundleTest::testRegisterFileAppendTimestamp()
2016-09-15 20:58:27 +03:00
SilverFire - Dmitry Naumenko
8eaf4e2ffe
#12544 - Added mote test cases for AssetBundleTest::testRegisterFileAppendTimestamp()
2016-09-15 19:51:17 +03:00
Alex-Code
37caadfab8
Extra truncate HTML tests
2016-09-14 12:40:24 +01:00
Klimov Paul
bda1dbe004
Fix unit test
2016-09-13 12:33:07 +03:00
Klimov Paul
60307c118b
code style fix
2016-09-12 14:43:46 +03:00
Klimov Paul
8c39b1cbfa
code style fix
2016-09-12 14:41:05 +03:00
Klimov Paul
11c93c405c
fix LoggerTest to be more reliable
2016-09-12 14:06:59 +03:00
Paul Klimov
8aa0e85a07
Add migration namespace support ( #12511 )
...
namespace support added to `BaseMigrateController`
2016-09-12 14:01:04 +03:00
SilverFire - Dmitry Naumenko
c66b845f48
Revert "Fixed #11973 : yii\helpers\BaseHtml::getAttributeValue() fixed to work with items[] notation correctly"
...
This reverts commit 3fcc26996b .
2016-09-11 22:13:59 +03:00
SilverFire - Dmitry Naumenko
8ec60e3d9b
Merge branch '12423-migration-tool' of https://github.com/pana1990/yii2 into pana1990-12423-migration-tool
2016-09-11 21:17:43 +03:00
Daniel Gomez Pan
ae42d7b281
Fix #12423 Fix bug migration tool when creating fields with brackets in comment
2016-09-11 18:03:09 +02:00
SilverFire - Dmitry Naumenko
7f69b71d60
Updated QueryTest. Verified andFilterWhere to work with nested operator format conditions
...
Closes #5365
2016-09-10 21:25:39 +03:00
SilverFire - Dmitry Naumenko
6670fa986f
Updated MenuTest. Verified that item template override works correctly
...
Closes #4668
2016-09-10 21:18:12 +03:00
SilverFire - Dmitry Naumenko
72f9a10844
Fixed tests
2016-09-10 16:01:40 +03:00
SilverFire - Dmitry Naumenko
c3622bb1ad
Added tests for #10429
2016-09-10 15:41:39 +03:00
Evgeniy Tkachenko
fd6dd73cec
AssetManager::getAssetUrl() fixed to get URL when appendedTimestamp is true
2016-09-10 12:46:54 +03:00
Klimov Paul
d73d155e43
code style fix
2016-09-09 14:59:11 +03:00
Dmitry Naumenko
5d91ed520c
Merge pull request #12305 from rob006/fix-11323-bc
...
Fix BC break for `UniqueValidator` custom message
2016-09-09 13:41:28 +03:00
Carsten Brandt
b13d6fb13a
make version_compare() match everything starting from alpha
...
to include PHP 7.1-rc1
2016-09-08 00:53:08 +02:00
Carsten Brandt
1edf562800
better version match for travis memcache
2016-09-08 00:42:48 +02:00
Carsten Brandt
9524672cd1
skip memcache extension on PHP 7 but keep memcacheD
2016-09-08 00:36:15 +02:00
Carsten Brandt
2bd301d1fe
fix test for PHP 7.1, expect deprecation message for mcrypt_create_iv()
2016-09-08 00:03:43 +02:00
Carsten Brandt
06b045c8fe
created unit test to verify #12483
2016-09-07 11:21:15 +02:00
Paul Klimov
4e59607c9d
MultipartFormDataParser added (#12466 )
...
`MultipartFormDataParser` added
2016-09-07 12:05:32 +03:00
SilverFire - Dmitry Naumenko
7e16a667ee
Added unit-test for BaseHtml::errorSummary()
2016-09-06 22:26:27 +03:00