5596 Commits

Author SHA1 Message Date
6dad27d4a1 Reversed #18499 (#18546) 2021-03-04 12:53:11 +03:00
6b1750d35f Add note about updating cacert.pem 2021-03-03 15:48:49 +03:00
3883d73cea Fix #9718: Fix user staying authorized despite authKey change 2021-03-03 13:18:06 +03:00
daafa44d57 Add "Configuring SSL peer validation" to security best practices guide 2021-03-03 03:21:50 +03:00
b8e31c0d31 Fix #18460: compareValue in CompareValidator can now take a closure returning a value 2021-02-25 13:01:38 +03:00
d1037db68d Fix #18499: When using yii\db\Query::all() and yii\db\Query::$indexBy, the yii\db\Query::$indexBy is auto inserted into yii\db\Query::$select - the same as in yii\db\Query::column()
Co-authored-by: Bizley <pawel@positive.codes>
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2021-02-23 18:44:39 +03:00
95c2d214d9 Fixed typo in di container guide 2021-02-02 22:48:07 +03:00
e2f286e96d Add more examples for exists and unique validators 2021-01-11 14:48:16 +03:00
2334f39b39 Fix typo in test-environment-setup.md 2020-11-16 14:56:37 +03:00
1d514e2ded Revert "Fix anchors in docs (#18344)"
This reverts commit 0f4b147352f2524f2a1530d419d13a8c8acd5069.
2020-11-05 14:14:35 +03:00
0f4b147352 Fix anchors in docs (#18344) 2020-11-01 17:51:16 +03:00
23cfb38cea Fix #18285: Enhanced DI container to allow passing parameters by name in constructor 2020-11-01 00:31:27 +03:00
840083724e Fix #18351: Added option to change default timezone for parsing formats without time part in yii\validators\DateValidator 2020-10-31 15:59:20 +03:00
ce088e05df Fix #18247: Added support for the 'session.use_strict_mode' ini directive in yii\web\Session 2020-10-31 11:58:34 +03:00
8651a79716 Update tutorial-core-validators.md (#18348)
The `DefaultValueValidator` works only with closures not with any callable as suggested.
See f8337a15c2/framework/validators/DefaultValueValidator.php (L47)

```
    /**
     * {@inheritdoc}
     */
    public function validateAttribute($model, $attribute)
    {
        if ($this->isEmpty($model->$attribute)) {
            if ($this->value instanceof \Closure) {
                $model->$attribute = call_user_func($this->value, $model, $attribute);
            } else {
                $model->$attribute = $this->value;
            }
        }
    }
```
2020-10-29 11:32:14 +03:00
9d338eed2b Fix: chinese document index page sphinx,redis,mogondb,elastic link is inactive (#18354) 2020-10-29 10:57:38 +03:00
9e184aaeae Typo fix "Enntêtes HTTP" (#18350)
Typo fix on "Enntêtes HTTP", should be "Entêtes HTTP" instead.
2020-10-26 18:27:35 +03:00
7354329ed6 Improvements for Russian documentation (#18343)
Added a little grammar, removed redundant words, improved the perception
of the text
2020-10-22 02:24:21 +03:00
1e7fbb2689 Update db-migrations.md (#18320)
Correcting a typo
2020-10-08 19:09:21 +03:00
c16a7fdfb2 Fix usage of Object in Chinese guide (#18310) 2020-09-30 18:35:22 +03:00
1972741bae Install codeception as a dev dependency (#18277) 2020-09-10 19:54:56 +03:00
c6cba1dff3 Minor typo for ActiveRecord doc (#18246) 2020-08-20 18:46:59 +03:00
6bfd21cead Update Russian translation of structure-assets.md (#18243) 2020-08-19 13:38:33 +03:00
8885ec55e4 Allowlist instead of white list [ci skip] (#18240) 2020-08-18 16:16:37 +03:00
38ba1231e0 docs/guide-ja updates (#18237) 2020-08-18 12:56:57 +03:00
4472a4f73c docs/guide-ja updated [ci skip] (#18234) 2020-08-18 03:11:38 +03:00
d62590807d Fix #18051: Fix using EachValidator with custom validation function 2020-07-06 16:18:03 +03:00
cf6a98fac4 Fix #18061: Mentioned session.use_strict_mode php.ini setting in "Sessions and Cookies" guide 2020-07-03 15:53:19 +03:00
17742afb73 Remove redundant line (#18138)
"build an HTML form in a view" and "zbudować formularz HTML w widoku" mean the same thing, but in 2 languages
2020-06-28 14:08:58 +03:00
5adb556151 Adding some important hints for IIS Configuration (#18112)
- Mention the term **Web site** of IIS that acts as Virtual Hosts in other servers.
- Introducing a list of helpful official IIS resources.
2020-06-18 00:52:19 +03:00
385fe13d66 Revert #18102 since renaming is technically problematic (#18109) 2020-06-17 13:40:17 +03:00
ba7106564d blacklist → exclude (#18104) 2020-06-14 23:55:24 +03:00
472600ee3f Fix #18102: Use “primary”/“replica” terminology instead of “master”/“slave” 2020-06-14 00:12:10 +03:00
Sam
4ea484ca68 Fix #17722: Add action injection support 2020-06-12 10:06:18 +03:00
c365f472cd docs/guide-ja updated [ci skip] (#18095) 2020-06-11 12:33:57 +03:00
87a9beaede Add NGINX Unit config to start-installation.md (#18079) 2020-06-05 00:19:34 +03:00
8957d08e0b Add blank lines before ```php if needed (#18042)
The documentation builder need a blank line before a code block:
* https://www.yiiframework.com/doc/guide/2.0/fr/structure-filters#access-control
> refusant l'accès à ces actions aux autres utilisateurs. `php use yii\filters\AccessControl;
* https://www.yiiframework.com/doc/guide/2.0/fr/structure-filters#content-negotiator
> de réponse, et anglais (États-Unis) et allemand en tant que langues. `php use yii\filters\ContentNegotiator; use
2020-05-16 21:06:30 +03:00
d0857589ae Fix Markdown formating and a typo (#18043) 2020-05-16 21:04:28 +03:00
bec66eb83c Add links to Russian translation of "testing" guide for templates (#18029) 2020-05-07 14:23:41 +03:00
0b66d8f988 Update yii2-base and yii2-advanced reference link (#18016) 2020-04-30 16:12:11 +03:00
a66fac3bb1 Fix #17758: Query::withQuery() can be used for CTE 2020-04-13 11:58:18 +03:00
2717070cce Update Russian translation (#17945) 2020-04-04 02:22:04 +03:00
68832c8f6d Fix #17928: Fix broken link in "Response Formatting" 2020-03-24 01:32:59 +03:00
445cc9f91f Fix Russian translation of output-data-providers.md 2020-03-02 16:03:54 +03:00
a04055579e Add detail transport properties in tutorial mailing [skip ci] 2020-02-14 13:12:35 +03:00
861da4ef8a Fix typo in Russian translation of runtime-logging [skip ci] 2020-02-14 01:26:49 +03:00
6d5c1a2a2b Update Html helper guide, Russian translation [skip ci] 2020-02-13 23:58:01 +03:00
1378ca03ba Fix incorrect info in start-installation.md (#17821) [skip ci] 2020-01-22 22:48:34 +03:00
8c29db5546 Fix typo in rest-resources.md (#17819) [skip ci] 2020-01-22 13:42:21 +03:00
607fac6d1a Fix typo in Russian rest-resources.md (#17820) [skip ci] 2020-01-22 13:41:38 +03:00