2442 Commits

Author SHA1 Message Date
200e1ba718 Update Elasticsearch link (#18816) 2021-08-08 16:49:32 +03:00
ca50dd0bc7 fix core framework code style link (#18805) 2021-08-04 08:21:28 +02:00
88e942821c update composer asset plugin link (#18797) 2021-08-01 09:04:55 +02:00
9b2720e664 Update links (#18790) 2021-07-29 17:26:53 +03:00
f8e37eb48b update fontawesome link (#18780) 2021-07-25 09:34:26 +02:00
5c80accf0b update twig link (#18774)
Co-authored-by: Bizley <pawel@positive.codes>
2021-07-22 09:32:33 +02:00
7374d4ac5c update http to https website links 2021-07-19 00:16:20 +03:00
2147029615 update structure block (#18760) 2021-07-12 08:24:44 +02:00
fd99eb6c8b update yii forum & chat link (#18751) 2021-07-08 10:12:15 +02:00
c318536cc3 update forum link (start-looking-ahead.md) (#18744) 2021-07-04 10:28:53 +02:00
9a9b722d52 update IRC chat (#18736) 2021-06-30 10:29:51 +02:00
db39f7c955 Json pretty print (#18726)
* Added pretty print support to Json helper

* Updated documentation for `yii\helpers\Json::$prettyPrint`

* Fixed line ending in \yiiunit\framework\helpers\JsonTest::testPrettyPrint for windows

* Added helper-json.md link in docs/guide/README.md

* Capitalized JSON in descriptions

Co-authored-by: Alexander Makarov <sam@rmcreative.ru>

Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Bizley <pawel@positive.codes>
2021-06-27 14:08:41 +02:00
be4faf6018 fix books link & update code block 2021-06-27 02:25:41 +03:00
60327cce22 Merge branch 'master' into patch-2 2021-06-24 13:41:54 +02:00
1affade837 Update docs/guide/security-passwords.md
Co-authored-by: Bizley <pawel@positive.codes>
2021-06-24 07:37:43 -04:00
c542ee14ad Update security-passwords.md to more correct word
Fundamentally, hashes cannot be `reversed`, rather they are cracked.
2021-06-23 23:49:35 -04:00
f29f8a279b single style to structure block (start-workflow.md) 2021-06-23 23:32:18 +03:00
d4f904f42c fix IIS Web site link 2021-06-11 00:26:20 +03:00
31ca0fcb6f Fix #18676: Added method yii\helpers\BaseFileHelper::changeOwnership() and properties newFileMode/newFileOwnership in yii\console\controllers\BaseMigrateController
Co-authored-by: Bizley <pawel@positive.codes>
2021-05-30 19:26:15 +03:00
9f766ac779 Fix #18637: Mentioned that relation can not be named "relation" 2021-05-25 10:32:14 +03:00
82be8b61cf Replacing deprecated ::className() with ::class (#18671) 2021-05-22 23:14:54 +03:00
f7e29678a7 Update security-authorization.md (#18667)
change deprecated function to actual
2021-05-20 22:26:41 +03:00
79a81fd77f update npmjs urls 2021-05-10 00:24:32 +03:00
93425c3568 Fix #18631: Update nodejs links in docs 2021-05-07 11:10:04 +03:00
08a133e728 Update docs for #9718 (#18623)
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2021-05-05 12:47:38 +03:00
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
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
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
8885ec55e4 Allowlist instead of white list [ci skip] (#18240) 2020-08-18 16:16:37 +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
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
87a9beaede Add NGINX Unit config to start-installation.md (#18079) 2020-06-05 00:19:34 +03:00