Permalink
Commits on Jul 25, 2017
  1. Fixed `yii\validators\ExistValidator` and `yii\validators\UniqueValid…

    …ator` throw exception in case they are set for `yii\db\ActiveRecord` with `$targetClass` pointing to NOSQL ActiveRecord
    klimov-paul committed Jul 25, 2017
Commits on Jul 24, 2017
  1. Added `yii\web\MultipartFormDataParser::$force` option allowing to en…

    …force parsing even on 'POST' request
    klimov-paul committed Jul 24, 2017
Commits on Jun 5, 2017
  1. Fixes #5108 `DateValidator` resets `$timestampAttribute` value on emp…

    …ty attribute (#14242)
    
    * `yii\validators\DateValidator` now resets `$timestampAttribute` value on empty validated attribute value
    
    * array-value test at `DateValidatorTest` restored
    klimov-paul committed with cebe Jun 5, 2017
Commits on Jun 2, 2017
Commits on Jun 1, 2017
  1. Fixes #13058: Fixed caught exception thrown during view file renderin…

    …g produces wrong output
    klimov-paul committed with samdark Jun 1, 2017
Commits on May 9, 2017
Commits on Apr 25, 2017
Commits on Apr 20, 2017
Commits on Apr 13, 2017
  1. unit test fix

    klimov-paul committed Apr 13, 2017
Commits on Mar 18, 2017
Commits on Feb 9, 2017
  1. Fix #13278: `DbQueryDependency` created (#13384)

    `DbQueryDependency` created
    klimov-paul committed on GitHub Feb 9, 2017
  2. Fixed `yii\db\BaseActiveRecord::deleteAll()` changes method signature…

    … declared by `yii\db\ActiveRecordInterface::deleteAll()`
    klimov-paul committed Feb 9, 2017
Commits on Jan 23, 2017
Commits on Jan 16, 2017
  1. Added support for field `yii\console\controllers\BaseMigrateControlle…

    …r::$migrationNamespaces` setup from CLI
    klimov-paul committed Jan 16, 2017
Commits on Jan 13, 2017
  1. Added `yii\validators\EachValidator::$stopOnFirstError` allowing addi…

    …tion of more than one error
    klimov-paul committed Jan 13, 2017
  2. Added `yii\widgets\InputWidget::$field` field, allowing access to the…

    … related `yii\widget\ActiveField` instance
    klimov-paul committed Jan 13, 2017
Commits on Jan 10, 2017
Commits on Jan 5, 2017
Commits on Dec 26, 2016
  1. Code style fix

    klimov-paul committed Dec 26, 2016
Commits on Dec 19, 2016
Commits on Dec 13, 2016
  1. redundant code removed

    klimov-paul committed Dec 13, 2016
Commits on Dec 2, 2016
  1. Added `QueryInterface::emulateExecution()`

    Added `QueryInterface::emulateExecution()`, which allows preventing of
    the actual query execution.
    This allows to cancel `DataProvider` preventing search query execution
    in case search model is invalid:
    
    ``` php
    public function search($params)
        {
            $query = Item::find();
    
            $dataProvider = new ActiveDataProvider([
                'query' => $query,
            ]);
    
            $this->load($params);
    
            if (!$this->validate()) {
                $query->where('0=1');
                $query->emulateExecution(); // No SQL execution will be done
                return $dataProvider;
            }
    ```
    
    This also fix unecessary query in case of `via()` usage. See #12390.
    
    fixes #12390
    fixes #6373
    close #12708
    klimov-paul committed with cebe Oct 10, 2016
Commits on Nov 30, 2016