Alexey Rogachev
6428fab406
Closes #9162 : Added support of closures in `value` for attributes in `yii\widgets\DetailView` ( #13013 )
...
#9162 : Added support of closures in `value` for attributes in `yii\widgets\DetailView`
8 years ago
Alexey Rogachev
ea251e24ba
Closes #7420 : Attributes for prompt generated with `renderSelectOptions` of `\yii\helpers\Html` helper
8 years ago
Carsten Brandt
059a80b47f
renamed Cache::$ttl to Cache::$defaultDuration
...
better naming as discussed in #12990
8 years ago
Walt Sorensen
f76f0cff6c
Test against the current hhvm version ( #12971 )
...
* Test against the current hhvm version
This provides the current HHVM version (3.15.2 as of this PR) and will track with each release (i.e. will be 3.16 when 3.16 is released.
If testing against HHVM LST versions is desired follow this guide. https://docs.travis-ci.com/user/languages/php#HHVM-versions
Should be able to change to container based Trusty after Q1-17 https://blog.travis-ci.com/2016-11-08-trusty-container-public-beta/
* Try to create travis user for trusty hhvm and grant permissions
remove conditionals for apc and memcache
* more tweaks to grant privileges
* try 127.0.0.1 rather than localhost
* grant after db create
* try a different create user grant privileges form
* try to specify postgresql: "9.3" for hhvm
* need to look more into specifying postgresql: "9.3"
hhvm issues
* addon with no dash postgresql: "9.3"
* requested change && not ||
* redis-server isn't needed here
* Apply @cebe's patch for pgsql test failure
* Update .travis.yml
* Update CommandTest.php
* Update CommandTest.php
* Update CommandTest.php
try to fix hhvm tests
* Update CommandTest.php
8 years ago
Carsten Brandt
6caedd1ff6
added test for MySQL index hints, #10869
8 years ago
SDKiller
556e9cf99b
Updates after PR review (related #6809 )
8 years ago
SDKiller
8df1017f42
Default cache ttl (duration) property ( fixes #6809 )
8 years ago
Klimov Paul
1157657cab
Fixed incorrect order of migrations history in case `yii\console\controllers\MigrateController::$migrationNamespaces` is in use
8 years ago
SilverFire - Dmitry Naumenko
14b4f52e44
Updated CHANGELOG
8 years ago
Anton Kozlov
20a411d8ab
Fixed #12822 : Fixed datetime creation from microseconds, added tests to \i18n\Formatter::asTimestamp
8 years ago
SilverFire - Dmitry Naumenko
25ebf03a8d
Fixed ValidatorTest::testValidateWithEmpty()
...
Closes #12848
8 years ago
SilverFire - Dmitry Naumenko
9e129705a7
PHPDocs updated
8 years ago
SilverFire - Dmitry Naumenko
a9124dd8c2
Added unit tests for rules with private fields
8 years ago
Carsten Brandt
24809c5d73
fixed group annotations for #12889
8 years ago
Carsten Brandt
c75a546621
document usage of ActiveRecordTestTrait
...
fixes #12897
8 years ago
Boudewijn Vahrmeijer
b641c1f41b
Enh Dependency getHasChanged ( #12928 )
...
* - rename getHasChanged() to isChanged()
- updated docs
- added tests for Dependency
- added useful helpers for inaccessible properties to TestCase
8 years ago
SilverFire - Dmitry Naumenko
87f843524e
Fixed typo
8 years ago
SilverFire - Dmitry Naumenko
24a5532ca9
Added unit tests for #12750
8 years ago
Alexander Zlakomanov
b48b1a0657
Fixes #12904 : Fixed lowercase table name in migrations
8 years ago
Alexey Rogachev
d50a06e4e7
Fixed typo in comment ( #12945 ) [skip ci]
8 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago
n.vanderburg
6b73cfccbb
Fixes #12881 : Added `removeValue` method to `yii\helpers\BaseArrayHelper` (nilsburg)
8 years ago
Boudewijn Vahrmeijer
8705219005
Added tests for HelpController ( #12908 )
8 years ago
Boudewijn Vahrmeijer
560e3eb0a3
Unit tests created for ActiveQuery ( #12889 )
...
* setup ActiveQueryTest
* basic unit tests for ActiveQuery are created:
- all protected & public methods are covered
- method return types are tested
- some functions are already full tested, others are supplied with @todo
* fix driver for mssql
* fix ::class to className()
* remove OCI tests
8 years ago
Klimov Paul
e7c080594d
Fixed `yii\behaviors\AttributeTypecastBehavior` marks attributes with `null` value as 'dirty'
8 years ago
Alexander Makarov
0ac321370b
Fixes #12856 : Fixed `yii\web\XmlResponseFormatter` to use `true` and `false` to represent booleans
8 years ago
Edgard Lorraine Messias
d3c7accc49
Added braces check for initDefaultButton ( #12863 )
8 years ago
Alexey Rogachev
aa6d34a285
Fixes #9796 : Initialization of not existing yii\grid\ActionColumn default buttons ( #12859 )
8 years ago
Evgeniy Tkachenko
757b3de0bf
Fixes #12828 : Fixed handling of nested arrays, objects in `\yii\grid\GridView::guessColumns`
8 years ago
Paul Klimov
8d05bd9479
`yii\base\Application::$version` converted to `yii\base\Module::$version` virtual property, allowing to specify version as a PHP callback
...
`yii\base\Application::$version` converted to `yii\base\Module::$version` virtual property, allowing to specify version as a PHP callback
8 years ago
Edgard Lorraine Messias
60208bb96c
Enabled tests for FileMutex on Windows, see #12824 ( #12831 )
8 years ago
Pavel Dovlatov
73a30780b3
Fixes #12810 : getChildRoles() throws an exception when role has no children
8 years ago
Carsten Brandt
dda5543a61
added test for View::registerJsFile()
8 years ago
Klimov Paul
d4df72a2a4
Fixed `yii\behaviors\AttributeTypecastBehavior` unable to automatically detect `attributeTypes`
8 years ago
Carsten Brandt
6346e7180c
added test for default route to Url helper
8 years ago
LAV45
04848a6c3b
Fix yii\rest\Serializer serialize ArrayDataProvider with pagination bug
...
fixes #11987
close #12683
8 years ago
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").
8 years ago
Carsten Brandt
fa9675636b
fixed broken test in ActiveRecordTestTrait
...
use generic class names that work for all db backends
fixes #12745
close #12746
8 years ago
p.chapl
3e1588b5b9
Added unit tests for #9561
...
canGetProperty and canSetProperty on ActiveRecord checks attributes
close #11087
8 years ago
Klimov Paul
2a9a997277
Added support for wildcards for `optional` at `yii\filters\auth\AuthMethod`
8 years ago
Robert Korulczyk
63f95fa3ad
Fixes #11309 : Added `yii\web\Request::getHostName()` method that returns hostname of current request
8 years ago
Carsten Brandt
89bc2918d3
Make 'safe' validator work on write-only properties
...
fixes #12605
8 years ago
githubjeka
76ced661b2
DetailView captionOptions & contentOptions attributes
8 years ago
Evgeniy Tkachenko
aa4b49a2e6
Fixes #11245 : Added `yii\rbac\ManagerInterface::getRolesByRole($roleName)` method. Implement to `DbManager` and `PhpManager`
8 years ago
SilverFire - Dmitry Naumenko
95152f3c2c
Fixed consistency of `indexBy` handling for `yii\db\Query::column()`
...
Closes #12649
8 years ago
Boudewijn Vahrmeijer
76d8bc9f94
enhance tests for DataColumn ( #12615 )
8 years ago
Boudewijn Vahrmeijer
41e2e244fc
fix failing test in Windows env
8 years ago
SilverFire - Dmitry Naumenko
fb210b8839
Fixed typo in data type. Fixes #12599
8 years ago
SilverFire - Dmitry Naumenko
3861108553
Fixed casting of `binnary()` type for MSSQL. Closes #12599
8 years ago
SilverFire - Dmitry Naumenko
3ec3ce9312
Reverted #10429 because of BC breaking
8 years ago