Alexander Makarov
9828bde1db
Added escaping for column name
7 years ago
Carsten Brandt
5c72047426
Fixed ambiguous column name in SELECT in UniqueValidator
...
fixes #14042
7 years ago
Carsten Brandt
5ed6910e1c
Added support for cloning a db connection
...
improved fix #14020
fixes #13890
https://github.com/yiisoft/yii2/pull/14020/files#r115185865
close #14121
7 years ago
Alexey Rogachev
80d6f7323a
Do not render empty row in GridView when data is empty and emptyText set to false
...
Fixes #13352
close #13422
7 years ago
Carsten Brandt
3b7eb5ceea
added changelog for #12528
7 years ago
Carsten Brandt
156f09fc6e
Merge pull request #14056 from cebe/db-logging
...
added option to disable query logging in DB command
7 years ago
Alexander Makarov
23cc4bf4fe
Further changes for unique and exist validators
...
- Combined methods for getting names and aliases of from tables
- Normalized names and aliases
- Added MSSQL syntax
- Added support for spaces in aliases and table names
7 years ago
Carsten Brandt
4cb98c42cb
changelog for #14067
7 years ago
Craig London
e360457091
function clear() -- Set populated arrays to empty arrays ( #14067 )
...
`yii\web\View::clear()` sets populated arrays to empty arrays
7 years ago
Klimov Paul
473598ac8c
Added support for sorting by expression to `\yii\data\Sort`
7 years ago
Alexander Makarov
990b7c1574
Fixed changelog [skip ci]
7 years ago
Leandro Gehlen
25242adb91
Fixes #5442 : Fixed problem on load fixture dependencies with database related tests
7 years ago
Carsten Brandt
9c0274d249
Merge pull request #14051 from cebe/asset-only
...
Added copyEmptyDirectories option to FileHelper
7 years ago
Carsten Brandt
3e79d56447
made AssetBundle tests less cryptic
...
cleanup step was added in setUp() so this will still work.
split test functions filehelper test
7 years ago
Carsten Brandt
5e8e6840b6
Added copyEmptyDirectories option to FileHelper
...
also set it to false in AssetManager to avoid creating a lot of empty
directories.
fixes #9669
7 years ago
quantum
583a2bcb9f
failing test for asset bundle publishing empty directories
7 years ago
Carsten Brandt
fb2441c3d7
moved query log logic into private method and reduced calls to getRawSql()
...
fixes #12528
7 years ago
Carsten Brandt
65ea226729
added option to disable query logging in DB command
...
fixes #12528
7 years ago
Novrian Y.F
1c07c429cf
Add Indonesian guide translation ( #14120 ) [skip ci]
...
* Update README.md on Indonesian Guide Translation
* Translate "Working with Forms" guide to Bahasa Indonesia
7 years ago
Taras Gudz
18bc835243
Typo ( #14117 ) [skip ci]
8 years ago
Artem Aleksandrov
618f61fafe
Update db-migrations.md ( #14113 ) [skip ci]
...
I made a typo. Sorry. The command migration-rbac, migrationPath property already exists.
8 years ago
Andrey Akimov
5695b869a9
Fixes #13890 : DbTarget log transaction bug
8 years ago
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