2552 Commits

Author SHA1 Message Date
ed9de17357 Sync to master branch. (#20401) 2025-06-09 12:03:50 -04:00
793fa33c09 Refactor asset management: Migrate from Bower to NPM for package dependencies and update related documentation. (#20368) 2025-05-04 07:37:37 -04:00
97a4d711ec Merge branch 'master' into sync-master-2052. 2025-04-26 19:03:07 -04:00
f94017ce4c Fix #20306: Add new yii\helpers\ArrayHelper::flatten() method 2025-01-06 17:53:58 +03:00
3fc7e71c67 Fix #20295: Add an ability to have wildcards in yii\log\Target::$maskVars array 2025-01-01 22:43:47 +03:00
8861f7bd9d Fix #20137: Added yii\caching\CallbackDependency to allow using a callback to determine if a cache dependency is still valid 2024-04-14 01:36:29 +03:00
1a34aaa3f6 Update docs PHP version requirement to 7.3.0 or higher. 2024-03-21 07:11:40 -03:00
20d6c65db2 Merge branch 'master' into sync-to-master. 2024-03-20 06:11:31 -03:00
c2e0485e0a Explain why DI fails sometimes and how to fix this (#20010) (#20108)
* Explain why DI fails sometimes and how to fix this (#20010)

* Explain why AR does not support DI by default and how to support it (#20010)
2024-02-17 01:11:56 +03:00
f83b772c4f Update input-tabular-input.md (#20100)
Upper case title, as used in other pages
2024-01-11 19:27:26 +03:00
0c8b043001 Merge branch 'master' into synchronize-to-master. 2023-10-22 07:20:26 -03:00
7b1761d9e1 Revert to 169c5fb 2023-10-22 11:39:45 +02:00
a7364aeb87 Sync to master. (#20012)
* added pcntl to requirements check

* Fix #13920: Fixed erroneous validation for specific cases

* Fix #13920: Added my name to CHANGELOG.md

* trim(): Passing null to parameter #1 ($string) of type string is deprecated

* Added section about Unsafe Reflection in Security best practices doc (#19948)

Co-authored-by: Bizley <pawel.bizley@gmail.com>

* Update CHANGELOG.md

* Fixed tests.

* Fix #13920: Add unit test

* Update `bower-asset/inputmask`, `bower-asset/punycode`.

* added CHANGELOG line

* Fix order.

* fix: #19978 - Mistake in Korean translation

* fix: keep doublequote

* Do not duplicate log messages in memory

* Update framework/log/FileTarget.php

Co-authored-by: Bizley <pawel.bizley@gmail.com>

* Update concept-di-container.md

Сслка "Конфигурация приложения" была не верной, она вела на страницу "Service-locator'a"

* Update CHANGELOG.md

* release version 2.0.49.1

* prepare for next release

* Revert changes in `mimeTypes.php` from 4a1f2c6b9bc90427e91da73f5e8c8fa33d3c53c1

restores https://github.com/yiisoft/yii2/pull/19936

* update actions/checkout to v4

* Fix mime type generator

* Added note

* Update structure-controllers.md (#20003)

добавил пропущенное слово "как"

* Update CHANGELOG.md

2.0.49.2 changelog

* release version 2.0.49.2

* prepare for next release

* New methods: BaseActiveRecord::loadRelations() and BaseActiveRecord::loadRelationsFor().

* Fixed a bug where the yii serve command would break if a custom router was supplied and it had a space in the path

* Fix `MaskedInputAsset::class`.

* Fix #19927: Fixed `console\controllers\MessageController` when saving translations to database: fixed FK error when adding new string and language at the same time, checking/regenerating all missing messages and dropping messages for unused languages

* Added 'zh' into 'framework/messages/config.php' (#19995)

---------

Co-authored-by: Tobias Munk <schmunk@usrbin.de>
Co-authored-by: Tim Fischer <tf@maschinensucher.de>
Co-authored-by: Tim Fischer <35448254+tim-fischer-maschinensucher@users.noreply.github.com>
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Oleg Poludnenko <ua.oleg@gmail.com>
Co-authored-by: Bizley <pawel.bizley@gmail.com>
Co-authored-by: Sonia Zorba <zonia3000@gmail.com>
Co-authored-by: Tobias Munk <t.munk@herzogkommunikation.de>
Co-authored-by: Akbar Herlambang <akbar6393222@yahoo.com>
Co-authored-by: lubosdz <lubosdz@gmail.com>
Co-authored-by: Yuriy Bachevskiy <Materik-r@yandex.ru>
Co-authored-by: Robert Korulczyk <robert@korulczyk.pl>
Co-authored-by: salehhashemi1992 <81674631+salehhashemi1992@users.noreply.github.com>
Co-authored-by: PowerGamer1 <PowerGamer1@users.noreply.github.com>
Co-authored-by: Brad Bell <brad@pixelandtonic.com>
Co-authored-by: Alexandru Trandafir Catalin <alex@heavydots.com>
Co-authored-by: Nabi KaramAliZadeh <NabiKAZ@gmail.com>
2023-10-19 18:17:15 +03:00
2995696db9 Added section about Unsafe Reflection in Security best practices doc (#19948)
Co-authored-by: Bizley <pawel.bizley@gmail.com>
2023-09-19 10:24:11 +02:00
c9917f2057 Remove XCache and ZendDataCache support (#19904)
Co-authored-by: Stefano Mtangoo <stefano@hosannahighertech.co.tz>
2023-07-24 09:08:59 +03:00
96f61b75f8 Fix #19902: Remove support for CUBRID 2023-07-18 17:00:54 +03:00
643d45a454 Add docs about default cache (#19861) 2023-06-09 19:34:38 +03:00
e8f2ca727d Update structure-models.md (#19846) 2023-05-24 09:36:23 +02:00
75ffb9248e update tutorial-performance-tuning.md php.net links (#19708) 2022-12-08 08:10:34 +01:00
b7f492da71 newline is required for correct rendering (#19707) 2022-12-06 14:15:51 +01:00
3c6e66f2b3 Unique and Exist validators docs updated (#19678)
* Unique and Exist validators docs updated

* Correct the line in unique validator as well

Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2022-11-16 08:32:27 +01:00
b520f57c4e Update protocol links (#19658) 2022-11-06 11:26:43 +04:00
7c26670f4d Fixed several typos and grammar errors (#19639) 2022-10-22 15:35:53 +02:00
54ee1aaf71 update input-forms.md mozilla links (#19636) 2022-10-21 08:50:17 +02:00
c410e2de64 Added info on how to delete fragment caching (#19613) 2022-10-09 23:57:36 +04:00
2086a8dbb1 Fixed typo mistakes (#19610) 2022-10-09 23:56:27 +04:00
592482a97a update structure-filters.md links (#19601) 2022-10-01 10:25:38 +02:00
4604206bfb Switch from swiftmailer to symfonymailer in examples & tutorials (#19582) 2022-09-19 22:04:22 +03:00
60dec4008b Wrong operator format (#19548)
Based on the docs and mainly my experience with Yii, I believe the "and" operator format here is wrong. The condition parts which the "and" separates have to be each in an array, otherwise the where() doesn't know where the condition starts and where ends.
2022-09-12 13:59:33 +02:00
161526cd41 HTTPS everywhere (#19503) 2022-08-03 12:32:18 +03:00
37ea399280 update jqueryui link (#19501) 2022-08-03 08:42:09 +02:00
ab8ea224f3 Update redis links (#19498)
* Update redis link

* Update redis link
2022-07-31 21:23:23 +02:00
bba3806961 update imagine link (#19490) 2022-07-29 08:14:44 +02:00
5eabb93482 Fix docs: input tabular data, remove unnecessary "-1" (#19489)
Before the change, with this input:
```
$_POST = [
    'Setting' => [
        0 => ['value' => 'value0'],
        1 => ['value' => 'value1'],
    ]
];
```
contents of $settings would be created as follows:
```
$settings = [
    Setting(value='value0'),
];
```
after the change it will be:
```
$settings = [
    Setting(value='value0'),
    Setting(value='value1'),
];
```
2022-07-28 23:34:10 +03:00
b924c807f5 update getbootstrap link (#19487) 2022-07-27 09:01:33 +02:00
8f2e182872 update sass,less,typescriptlang links (#19480) 2022-07-24 09:36:23 +02:00
421a8a1497 update daringfireball link (#19476) 2022-07-21 08:21:13 +02:00
b87210f9b8 PHP version update in documentation (#19474)
* PHP version update in documentation

* Remove latest php version in documentation
2022-07-20 11:37:09 +02:00
7fe09449b3 update semver link (#19473) 2022-07-19 08:14:02 +02:00
490181fe6b update wikipedia link (#19464) 2022-07-17 12:42:37 +02:00
e3de791aae update cherokee-project link (#19461) 2022-06-30 09:02:26 +02:00
101600a7d5 update php-fig link (#19457) 2022-06-27 08:02:06 +02:00
45519d3c18 Fix #19437: Add support to specify request port by trusted proxies in \yii\web\Request::getServerPort() 2022-06-17 20:18:18 +03:00
f60730e210 update sitepoint link (#19441) 2022-06-16 23:25:25 +02:00
9a44a205b0 update bower link (#19433) 2022-06-13 09:33:37 +02:00
57ce3d3c94 update memcached link (#19428) 2022-06-09 08:42:32 +02:00
2af75cb5e7 Fix typo in rest-filtering-collections.md (#19388) 2022-05-11 00:10:19 +03:00
9eb268a52c Add guide section for filtering REST collection. (#19357)
* Add guide section for filtering REST collection.

* Update docs/guide/rest-filtering-collections.md

Co-authored-by: Alexey Rogachev <arogachev90@gmail.com>

* Update docs/guide/rest-filtering-collections.md

Co-authored-by: Alexey Rogachev <arogachev90@gmail.com>

Co-authored-by: Alexey Rogachev <arogachev90@gmail.com>
2022-04-20 09:11:20 +02:00
1789b28d76 Extend examples in guide/input-tabular-input.md (#19278) 2022-04-07 00:05:17 +04:00
9bf7c96f26 Update db-active-record.md (#19250)
Complete the php command.
2022-02-19 11:07:44 +01:00