SilverFire - Dmitry Naumenko
cfbdb06d6d
Test empty commit
8 years ago
SilverFire - Dmitry Naumenko
11c58549d4
Fixed FileHelperTest::testFindFilesRecursiveWithSymLink()
8 years ago
SilverFire - Dmitry Naumenko
50953c2960
Merge branch 'zalatov-fix-filehelper-findfiles-isdir'
8 years ago
SilverFire - Dmitry Naumenko
9a45b70adf
Updated FileHelperTest
8 years ago
SilverFire - Dmitry Naumenko
cfe5202e44
Fixed CHANGELOG merge problems
8 years ago
zalatov
1d5a6d1722
Add is_dir() validation for BaseFileHelper::findFiles().
...
Sometimes it throws exception when file/directory is deleted or moved while executing script.
8 years ago
SilverFire - Dmitry Naumenko
821ba54720
Reordered CHANGELOG
8 years ago
Alexander Makarov
cc23f94b5d
Merge pull request #13210 from yiisoft/query-filter-having
...
Query filter having
8 years ago
Alexander Makarov
3e03237713
Merge branch 'master' into query-filter-having
8 years ago
Alexander Makarov
b78d6367ba
Removed duplicate assertion from tests, divided test method into two
8 years ago
Elvira Sheina
bfba0aa711
Refactor validateAttribute method in UniqueValidator ( #13202 )
...
* Refactor validateAttribute method in UniqueValidator
Extract prepareParams and prepareQuery from validateAttribute,
so they can be tested separately.
* Added issue number to changelog
* Eliminated unneeded variable
* Renamed methods and parameters, update PHPDocs
8 years ago
Carsten Brandt
01997441cc
added tests for rest\UrlRule::createUrl()
...
verify issue #13200
8 years ago
Dmitry Naumenko
518be6b8ec
Enhanced PHPDocs markup
8 years ago
Alexander Makarov
837b33767c
Fixes #11697 : Added `filterHaving()`, `andFilterHaving()` and `orFilterHaving()` to `yii\db\Query`
...
Signed-off-by: Alexander Makarov <sam@rmcreative.ru>
8 years ago
Konstantin Tsukur
e78a7fe20e
Initial work on #11697
8 years ago
SilverFire - Dmitry Naumenko
88f2348ed5
Fixed `ActiveRecord::unlinkAll()` to respect `onCondition()`
...
Closes #12213
8 years ago
Sergey Makinen
da944aa9c0
Rebased "Revamps PageCache to store data in one entry ( #10506 )" ( #12145 )
8 years ago
Alexey Rogachev
7be8ccbb41
All words in h3 in docs must start with capital letter ( #13207 )
8 years ago
Alexey Rogachev
a1581329cf
Fixes #13183 : Docs for working with separated migrations ( #13201 )
8 years ago
SilverFire - Dmitry Naumenko
a132ee9a08
Fixed order or checks in IpValidator
...
Fixes #13198
8 years ago
Klimov Paul
50b668eee8
redundant code removed
8 years ago
Chris Harris
ae83dd0524
Fixes #13128 : Fixed incorrect position of {pos} string in ColumnSchemaBuilder `__toString`
8 years ago
Dmitry Naumenko
75b98c6b7e
Updated PHPDocs for Cache
8 years ago
SilverFire - Dmitry Naumenko
7d494c1915
Fixed unexpected form submit on `validate()` call
...
Fixed `validate()` method in `yii.activeForm.js` to prevent unexpected form submit
when `forceValidate` set to `true`
Closes #13105
8 years ago
Robert Korulczyk
8e0af24203
Fix protocol-relative URLs in `Url::to()` ( #13156 ) ( #13157 )
...
* Fix protocol-relative URLs in `Url::to()`
* Use `isRelative()` in `Url::to()`
8 years ago
SilverFire - Dmitry Naumenko
2645b5ac78
Merge branch 'zlakomanoff-13122-oracle-optimisation'
8 years ago
Zlakomanov Alexander
b8bf0d0c0c
added hint into foreign keys query for oracle 11g optimisation
...
update oci tests
improved varible name
Closes #13122
8 years ago
Alexey Rogachev
d96363674c
Added JS tests for yii.captcha.js ( #12840 ), fixes #13159 ( #13160 )
...
* Added JS tests for yii.captcha.js (#12840 ), fixes #13159
* Sinon needs to be imported in similar fashion in other test files
* Added according line to CHANGELOG [skip ci]
* Update CHANGELOG.md
* Try to run tests with default timeout in Travis
* Added note about JS tests to the docs [skip ci]
* Simplified tests for multiple elements (init, destroy methods)
8 years ago
Alexey Rogachev
bd85b7ced2
Closes #6242 : Access to validator in inline validation ( #13027 )
...
* Closes #6242 : Access to validator in inline validation
* Updated PHPDoc according to PR review [skip ci]
* Imrpoved PHPDoc, updated guide info [skip ci]
* Fixes related with PR review
* Corrected CHANGELOG [skip ci]
* Update input-validation.md
added version info
8 years ago
Sergey Makinen
3611aa409b
Fixes PageCacheTest: requestedRoute is not set up ( #13173 )
8 years ago
Boudewijn Vahrmeijer
92eee10ae1
Change the name of method getQueryTableName and remove its $query argument ( #12893 )
...
* refactores getQueryTableName:
* replaces the $query argument with a $this implementation
* exposes getQueryTableName to be public instead of private. Fixes #12878
* added unit tests for exposed method
* updated changelog
* - methodname changed to 'getTableNameAndAlias'
- scope back to private
- added @internal tag to emphasize that the method is used purely for the internal workings of this piece of software.
- removed changelog (as the API has not changed)
* update tests
8 years ago
Carsten Brandt
65e4a28800
consistent behavior for Yii::$app->controller and ->action ( #13167 )
...
Fixed inconsistency, `Yii::$app->controller` is available
after handling the request since 2.0.10, this is now also the case for
`Yii::$app->controller->action`.
fixes #12795
8 years ago
Boudewijn Vahrmeijer
33c27bcf1e
Update yii.php
...
fixes #13169
8 years ago
Alexander Makarov
6e826dfade
Assorted minor Russian guide updates [skip ci]
8 years ago
Alexander Makarov
d815ca102a
Updated Russian translation of AR guide [skip ci]
8 years ago
Alexander Makarov
447c68bef7
Updated configuration and DI guides Russian translation [skip ci]
8 years ago
Alexander Makarov
74f72ac663
Updated caching guide Russian translation [skip ci]
8 years ago
Carsten Brandt
4fd7a9d29e
Merge branch 'sergeymakinen-pagecache-tests' PR #13149
...
* sergeymakinen-pagecache-tests:
refactored pagecache test
Adds tests for yii\filters\PageCache
close #13149
8 years ago
Carsten Brandt
8913bee15a
refactored pagecache test
...
- use dataprovider for different test cases instead of foreach
- use time mocking to avoid sleep(2)
8 years ago
Sergey Makinen
f8787b4471
Adds tests for yii\filters\PageCache
8 years ago
Nikola Kovacs
f5beaf3edf
Make validator getClientOptions public
...
This allows implementing custom client-side validation
without extending every validator.
Fixes #11163
close #13145
8 years ago
Alexander Makarov
0e5efb91eb
Replaced links to non-existing widget demos with links to API docs and guide [skip ci]
8 years ago
sztyvny
6d005092ac
Polish translations for field validation fix ( #13153 ) [skip ci]
8 years ago
Carsten Brandt
48c806fe1c
added unit test for DynamicModel::load()
...
issue #12116
8 years ago
Carsten Brandt
4735d4da6b
Update DynamicModel.php
...
added note about limitations, i.e. no scenarios -> no safe attributes -> no load().
8 years ago
Carsten Brandt
1d4eb072d3
readded comments to phpmd rules #13139
8 years ago
Bizley
5092c9666d
Code Climate PHPMD settings ( #13139 )
...
* codeclimate phpmd rulesets
* PHPMD ruleset
* phpmd_ruleset moved
* Delete phpmd_ruleset.xml
* ruleset moved
8 years ago
SilverFire - Dmitry Naumenko
cdaf5c86ef
Merge branch 'arogachev-11163-client-validate-options'
8 years ago
Alexey Rogachev
76e253e140
`yii\validators\Validator` - added separate methods for client-side validation options
...
Closes #11163
8 years ago
SilverFire - Dmitry Naumenko
0261a5498f
Simplified ListViewTest
8 years ago