Qiang Xue
b9b6fbc94b
Fixes #5039 : `UniqueValidator` and `ExistValidator` did not respect query conditions added by default scope
10 years ago
Qiang Xue
00cfe93b20
Finished console Gii feature.
10 years ago
Qiang Xue
b9c97ff2aa
Fixes #4938 : When `yii\db\ActiveQuery` is used to build sub-queries, its WHERE clause is not correctly generated
10 years ago
Qiang Xue
91e41b0470
Fixes #5001 : `yii\rest\CreateAction`, `yii\rest\UpdateAction` and `yii\rest\DeleteAction` should throw 500 error if the model operation returns false without validation errors
10 years ago
Qiang Xue
2150fa3239
Fixes #4970 : `joinWith()` called by a relation was ignored by `yii\db\ActiveQuery`
10 years ago
Qiang Xue
b835422479
Fixes #4897 : Added `yii\helpers\FileHelper::mimeMagicFile
10 years ago
Qiang Xue
44b5e8ef60
Fixes #4954 : MSSQL column comments are not retrieved correctly
10 years ago
Carsten Brandt
d82195706f
UPGRADE and CHANGELOG notes for the Formatter changes
10 years ago
Qiang Xue
f50f840a55
Fixes #4955 : Replaced callbacks with events for `ActiveForm`
10 years ago
Qiang Xue
377cb09aa8
Fixes #4945 : Added `yii\test\ArrayFixture`
10 years ago
Qiang Xue
b4c4b4053a
Fixes #3511 : Dropped `yii.allowAction()` and modified `yii.confirm()` in `yii.js` to support callbacks
10 years ago
Qiang Xue
ae13b0593f
Fixes #3410 : yii.activeForm.js now supports adding/removing fields dynamically
10 years ago
Qiang Xue
08d4d89930
Fixes #2914 : `ActiveForm::fieldConfig` will be merged recursively with the `$options` parameter in `ActiveForm::field()`
10 years ago
Qiang Xue
155f525e0b
Fixes #2380 : `yii\widgets\ActiveForm` will register validation js even if there are not fields inside
10 years ago
Qiang Xue
d5077d70b7
Fixes #3738 : ActiveField custom error selector not functioning
10 years ago
Qiang Xue
4ad022c372
Fixes #3240 : Added support for assigning an anonymous function to `yii\widgets\ActiveForm::fieldConfig`
10 years ago
Qiang Xue
ef1a6d20d1
When an ID is found to be in both `Application::controllerMap` and `Application::modules`, the former will take precedence
10 years ago
Qiang Xue
7efb47bf39
Fixes #4920 : `yii\filters\auth\CompositeAuth` should not trigger error as long as one of the methods succeeds
...
Fixes #3177 : `yii\filters\auth\CompositeAuth` will send out challenges from all auth methods
10 years ago
Qiang Xue
61284ed405
Fixes #3910 : Removed the `container` option from `Html::checkbox()` and `Html::radio()`
10 years ago
Qiang Xue
262a77caca
Added `yii\web\Response::enableCsrfCookie` to support storing CSRF tokens in session
10 years ago
Alexander Makarov
00ca1cb4b3
Fixes #4914
10 years ago
Alexander Makarov
3af08064b8
Fixes #4911 : Changed callback signature used in `yii\base\ArrayableTrait::fields()` from `function ($field, $model) {` to `function ($model, $field) {`
10 years ago
Qiang Xue
f34b138aab
Fixes #4225 : Added `ActiveForm::validateOnBlur` and `ActiveField::validateOnBlur`
10 years ago
Qiang Xue
212c5ee3ef
Fixes #4254 : `SqlDataProvider` does not work with Oracle and SQL Server
10 years ago
Qiang Xue
62b08a0959
Fixes #4755 : `yii\test\BaseActiveFixture::unload()` does not clean up the internal cached data
10 years ago
Qiang Xue
f417f4353c
Added `yii\composer\Installer::postCreateProject()` and modified the syntax of calling installer methods in composer.json [skip ci]
10 years ago
Carsten Brandt
92b958cd33
fixed return value of yii\web\Request::getPrefferedLanguage
...
ensure it is one of the input values
fixes #4880
10 years ago
Qiang Xue
fa0418f8a1
Fixes #4424 : Added `inline` and `mimeType` options to all file downloading methods provided in `yii\web\Response`
10 years ago
Carsten Brandt
78b5c7db66
fixed boolean handling for PostgreSQL
...
- do not allow boolean values for integer columns
- use native boolean type with boolean values
- removed workaround that turned out to be wrong when schema and values
are used correctly. Workaround resulted from wrong usage of boolean
values before.
fixes #4672
10 years ago
Alexander Makarov
31a17d6791
Revert "Fixes #4829 : Removed `PARSING_ONLY` from `\yii\rest\UrlRule` to allow creating non-GET URLs for forms and tests"
...
This reverts commit 4ffbfec9aa
.
10 years ago
Alexander Makarov
4ffbfec9aa
Fixes #4829 : Removed `PARSING_ONLY` from `\yii\rest\UrlRule` to allow creating non-GET URLs for forms and tests
10 years ago
Qiang Xue
f3105f736a
Fixes #3283 : Added `$checkAjax` to `yii\web\User::loginRequired()`
10 years ago
Alexander Makarov
355c26df8b
Fixes #4188 : API exceptions are now exposing less data when YII_DEBUG is false
...
- If exception is internal it's always returned as HTTP 500 general purpose one.
- Type isn't exposed anymore.
10 years ago
Alexander Makarov
7aed617c38
Fixes #4813 : Fixed MSSQL schema that was getting incorrect info about constraints
10 years ago
Klimov Paul
0bf16497af
Convert 'caseless' option into 'caseSensitive' option at `yii\helpers\BaseFileHelper::findFiles()`
10 years ago
Klimov Paul
6461523aca
Added 'caseless' option to `yii\helpers\BaseFileHelper::findFiles()`
10 years ago
Klimov Paul
b48e46a25b
Added error logging at `yii\caching\FileCache::gcRecursive()`
10 years ago
Klimov Paul
e3cea2138a
Added `forceDownload` parameter to `yii\web\Response::xSendFile()`
10 years ago
Qiang Xue
1cfa5bc9ee
Fixes #4740 : Added `yii\web\Session::addFlash()`
10 years ago
Qiang Xue
c0d771f744
Fixes #4640 : Added `yii\widgets\ActiveForm::beginField()` and `endField()`
10 years ago
Alexander Makarov
109da0b76e
Added missing github name to changelog
10 years ago
Alexander Makarov
90c6a476ce
Fixes #4727 : Fixed wrong Stylus definition in `\yii\web\AssetConverter`
10 years ago
Qiang Xue
88d38b7820
Fixes #4501 : Renamed the constant `YII_PATH` to `YII2_PATH`
10 years ago
Paweł 'Zibi' Zaremba
c6c29db9b4
Fixes #4636 : Added `yii\web\Response::setDownloadHeaders()`
10 years ago
DaSourcerer
e944ca18e4
Changelog update [skip ci]
10 years ago
Qiang Xue
3704b9191e
Fixes #4697 : MSSQL query builder does not work for newer MSSQL versions when LIMIT is used without ORDER BY
10 years ago
Qiang Xue
7cf358af03
Fixes #4607 : AR model will throw an exception if it does not have a primary key to avoid updating/deleting data massively
10 years ago
Alex-Code
25c2f9bf85
Made error message encoding configurable for ActiveForm
...
Updated yii.activeform.js to use the encode option introduced in #4122 .
Updated ActiveForm with new option encodeErrorSummary
fixes #4690 , close #4691
10 years ago
Klimov Paul
ce18373221
CHANGELOG updated
10 years ago
Qiang Xue
5fe6c55d6b
Fixes #4586 : Signed bigint and unsigned int will be converted into integers when they are loaded from DB by AR
10 years ago