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
Alexander Makarov
b13940c31d
Minor syntax and style fixes
8 years ago
Carsten Brandt
b6e250857c
Edited and extended Guide section about client scripts
...
This section had the "under development note" for a long time and was
lacking a lot of information.
It should also contain info about `yii.js` but that is to be added in
another PR.
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
Boudewijn Vahrmeijer
475d18ca58
Merge branch 'master' into fix-pjax-automatic-id
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
SilverFire - Dmitry Naumenko
25eafa560e
Merge branch '11627-document-and-test-empty-listview' of git://github.com/mytskine/yii2 into mytskine-11627-document-and-test-empty-listview
...
Conflicts:
framework/widgets/BaseListView.php
tests/framework/widgets/ListViewTest.php
8 years ago
Boudewijn Vahrmeijer
7dac3ed1ca
Kirkhansen 9053 add radio button column ( #13126 )
...
* Added the RadioButtonColumn class and updated the changelog.
* - several enhancements:
- unit tests added
- changelog fixed
* Update CHANGELOG.md
* small markdown fixes
* fix travis: custom ID
8 years ago
Boudewijn Vahrmeijer
eb6ea11931
Fix docs about table prefixes ( #13127 )
...
* fixes #8354 to improve docs on table prefixes
* accents
* patched silverfires comments
* Update db-active-record.md
improved wording and added link about quoting.
* fix link to DAO guide
8 years ago
Carsten Brandt
9c1f892ecf
Update concept-di-container.md
...
put code block into the list
8 years ago
Evgeniy Tkachenko
72532fe910
Fixed code formatting in concept-di-container.md [skip-ci] ( #13136 )
8 years ago
Carsten Brandt
d7436dea83
fixed urls in bash/zsh installation instructions
8 years ago
Carsten Brandt
496310e7e3
fixed typo in security guide about namespace
...
backslash vs. slash
fixes #13132
8 years ago
Alexander Makarov
a056281fa0
Attempt to make tests pass on travis environment
8 years ago
Carsten Brandt
ce9e6fd6f9
disable codeclimate complaining about else statements
...
encouraging early return is good, but this check complains about every
single else statement in the code.
see https://github.com/yiisoft/yii2/pull/13126#issuecomment-264653343
8 years ago