Alexander Makarov
8c30bab105
Eliminated else branches in beforeSave() and beforeDelete() phpdoc examples [skip ci]
8 years ago
Artem Aleksandrov
6a28353a97
Update db-migrations.md ( #14109 ) [skip ci]
...
By default, the class BaseMigrateController property migrationPath is assigned the value '@app/migrations'. In the method getNewMigrations() is the conversion migrationNamescpaces in the path to the file and merges it all into a single array along with the path migrationPath. If the project for migration module is a separate table in the database, all migration came from migrationPath are not initialized and therefore try to migrate. Therefore, it is necessary to specify the property 'migrationPath' => null.
8 years ago
Alexander Makarov
fc8ea4831b
Fixes #14108 : fixed phpdoc mistake in method description
8 years ago
Brandon Kelly
debe85fa34
Fixes #14098 : `yii\helpers\BaseFileHelper::normalizeOptions()` is now protected
8 years ago
Bizley
f8b3d68817
Fixes #4793 : `yii\filters\AccessControl` now can be used without `user` component
8 years ago
Alexander Makarov
7b2df5554c
Fixes #14072 : Fixed a bug where `\yii\db\Command::createTable()`, `addForeignKey()`, `dropForeignKey()`, `addCommentOnColumn()`, and `dropCommentFromColumn()` weren't refreshing the table cache on `yii\db\Schema`
8 years ago
Robert Korulczyk
31e321b9b2
Remove unused imports. ( #14096 )
8 years ago
SilverFire - Dmitry Naumenko
f6a4f3c18f
Merge branch '14062-oracle-in-conditions'
8 years ago
SilverFire - Dmitry Naumenko
7a2737105b
Updated PHPdoc
8 years ago
SilverFire - Dmitry Naumenko
2d0e3fb9ef
Fixed Oracle SQL queries with `IN` condition and more than 1000 parameters
8 years ago
Robert Korulczyk
33cff4b5cc
Cleanup after #14017 ( #14091 )
8 years ago
Alex
533da6240e
Update phpdoc, \yii\db\ActiveRecord => \yii\db\ActiveRecordInterface [skip ci] ( #14076 )
8 years ago
brandonkelly
3456c4e0fd
!==
8 years ago
Alexander Makarov
78446e9ed4
Fixes #13086 , Fixes #13656 : Fixed bug with optional parameters at the beginning of pattern in `yii\web\UrlRule`
8 years ago
brandonkelly
11c0d4bf15
Skip just certain things for sqllite
8 years ago
brandonkelly
33140546cc
Merge branch 'master' of https://github.com/yiisoft/yii2 into schema-cache-fixes
8 years ago
brandonkelly
237af91e8e
Skip testAutoRefreshTableSchema on sqllite
8 years ago
Carsten Brandt
f14d4c767f
fixed missing changelog and missing `@since`
8 years ago
Brandon Kelly
be3f3e0bb1
Merge branch 'master' into schema-cache-fixes
8 years ago
Robert Korulczyk
2d28b585a0
Merge branch 'master' into 13614-add-a-failing-test-for-url-rule
8 years ago
SilverFire - Dmitry Naumenko
6c03216aab
Reordered CHANGELOG
8 years ago
SilverFire - Dmitry Naumenko
e8e48e4820
Fixed CHANGELOG
8 years ago
SilverFire - Dmitry Naumenko
8349362271
Fixed tests
8 years ago
SilverFire - Dmitry Naumenko
fce20a3020
Renamed `ActiveForm::registerJs()` to `registerClientScript()`, added tests
8 years ago
Oleg Poludnenko
a480d70875
More control over ActiveForm widget
...
If part of a form is rendered separately (e.g. in ajax request), it's not easy to apply JS validation to it.
By moving JS registration to a separate method this problem could be solved much more easier.
8 years ago
Dmitry Naumenko
c443c25a1e
Merge pull request #14075 from Kolyunya/fix-documentation
...
Fix validators documentation
8 years ago
Kolyunya
4a17032717
Fix validators documentation
8 years ago
Dmitry Naumenko
5a674a5547
Merge pull request #14074 from lynicidn/patch-6
...
initdb fixture will not loaded
8 years ago
lynicidn
96dae1cebc
file will not loaded
...
https://github.com/yiisoft/yii2/tree/master/framework/test
8 years ago
brandonkelly
60fac269cb
Reorder changelog
8 years ago
brandonkelly
15acf45ab2
Merge branch 'master' of https://github.com/yiisoft/yii2 into schema-cache-fixes
8 years ago
brandonkelly
e242e9b0ee
Fixes #14072 : clear table schema cache for all methods that affect cache
8 years ago
Dmitry Naumenko
526c76be3c
Merge pull request #14071 from Kolyunya/patch-9
...
Fix an invalid phpDocumentor annotation
8 years ago
Nikolay Oleynikov
da6eada8c8
Fix an invalid phpDocumentor annotation
...
Fixed an invalid phpDocumentor annotation of `yii\data\DataProviderInterface::getPagination()`.
8 years ago
Robert Korulczyk
94eda9bd52
Add phpdoc. [skip ci]
8 years ago
Dmitry Eliseev
d7fad8a555
Fixes #14059 : Removed unused AR instantiating for calling of static methods
8 years ago
Alexander Makarov
375ea7a847
Fixes #13951 : renamed get-method which was conflicting with existing property ( #14055 )
8 years ago
Alexander Makarov
705dae9964
Fixes #14052 : Fixed processing parse errors on PHP 7 since these are instances of `\ParseError`
8 years ago
Alexander Makarov
a3a123077f
Fixes #13790 : Fixed error in `\yii\widgets\MaskedInput` JavaScript by raising version required
8 years ago
Robert Korulczyk
4dbcc78559
Update runtime-routing.md
8 years ago
Alexander Makarov
c1fbd52c52
Adjusted changelog [skip ci]
8 years ago
Alexander Makarov
1bf2f160d0
param → parameter [skip ci]
8 years ago
Alexander Makarov
100213d9b2
Removed redundant else
8 years ago
Alexander Makarov
a9bf1a3a7f
Removed redundant use
8 years ago
Kolyunya
1e65fc29ed
Fixes #14033 : Fixed `yii\filters\AccessRule::matchIp()` erroring in case IP is not defined under HHVM
8 years ago
Carsten Brandt
d786b78f25
Helper independent ( #14050 )
...
* Made sure most helpers are independent of Yii::$app
* Made sure most validators are independent of Yii::$app
8 years ago
Michael Härtl
6792099bcc
Fixes #13689 : Fixed handling of errors in closures
8 years ago
Cyrillos Jonua
db0e7a6c8f
Fixes #13848 : `yii\di\Instance::ensure()` wasn't throwing an exception when `$type` is specified and `$reference` object isn't instance of `$type`
8 years ago
Alexander Makarov
70cd75c84e
Fixes #13226 : `yii cache` command now warns about the fact that it's not able to flush APC cache from console
8 years ago
Alexander Makarov
3a8f702759
Adjusted code style for less conditions branching
8 years ago