Skip to content

Commit a579102

Browse files
authored
Merge pull request #20028 from terabytesoftw/synchronize-to-master
Synchronize to master.
2 parents 7b1761d + 36686cb commit a579102

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+3003
-1551
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: sudo locale-gen fr_FR.UTF-8
2929

3030
- name: Checkout.
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3232

3333
- name: Install PHP.
3434
uses: shivammathur/setup-php@v2

.github/workflows/ci-mssql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ jobs:
4343
options: --name=mssql --health-cmd="/opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P 'YourStrong!Passw0rd' -Q 'SELECT 1'" --health-interval=10s --health-timeout=5s --health-retries=3
4444

4545
steps:
46-
- name: Checkout.
47-
uses: actions/checkout@v3
46+
- name: Checkout
47+
uses: actions/checkout@v4
4848

4949
- name: Create MS SQL Database.
5050
run: docker exec -i mssql /opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P 'YourStrong!Passw0rd' -Q 'CREATE DATABASE yiitest'

.github/workflows/ci-mysql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141

4242
steps:
4343
- name: Checkout.
44-
uses: actions/checkout@v3
44+
uses: actions/checkout@v4
4545

4646
- name: Install PHP with extensions.
4747
uses: shivammathur/setup-php@v2

.github/workflows/ci-node.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- name: Checkout.
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121

2222
- name: Install dependencies.
2323
run: composer update $DEFAULT_COMPOSER_FLAGS

.github/workflows/ci-oracle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
steps:
3939
- name: Checkout.
40-
uses: actions/checkout@v3
40+
uses: actions/checkout@v4
4141

4242
- name: Install PHP with extensions.
4343
uses: shivammathur/setup-php@v2

.github/workflows/ci-pgsql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646

4747
steps:
4848
- name: Checkout.
49-
uses: actions/checkout@v3
49+
uses: actions/checkout@v4
5050

5151
- name: Install PHP with extensions.
5252
uses: shivammathur/setup-php@v2

.github/workflows/ci-sqlite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
steps:
3030
- name: Checkout.
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3232

3333
- name: Install PHP with extensions.
3434
uses: shivammathur/setup-php@v2

build/controllers/MimeTypeController.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,14 @@ private function generateMimeTypesFile($outFile, $content)
121121
* Its content is generated from the apache http mime.types file.
122122
* https://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/mime.types?view=markup
123123
* This file has been placed in the public domain for unlimited redistribution.
124+
*
125+
* All extra changes made to this file must be comitted to /build/controllers/MimeTypeController.php
126+
* otherwise they will be lost on next build.
124127
*/
125128
\$mimeTypes = $array;
126129
127-
if (PHP_VERSION_ID >= 80100) {
130+
# fix for bundled libmagic bug, see also https://github.com/yiisoft/yii2/issues/19925
131+
if ((PHP_VERSION_ID >= 80100 && PHP_VERSION_ID < 80122) || (PHP_VERSION_ID >= 80200 && PHP_VERSION_ID < 80209)) {
128132
\$mimeTypes = array_replace(\$mimeTypes, array('xz' => 'application/octet-stream'));
129133
}
130134
@@ -148,6 +152,9 @@ private function generateMimeAliasesFile($outFile)
148152
* MIME aliases.
149153
*
150154
* This file contains aliases for MIME types.
155+
*
156+
* All extra changes made to this file must be comitted to /build/controllers/MimeTypeController.php
157+
* otherwise they will be lost on next build.
151158
*/
152159
return $array;
153160
@@ -209,6 +216,9 @@ private function generateMimeExtensionsFile($outFile, $content)
209216
* Its content is generated from the apache http mime.types file.
210217
* https://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/mime.types?view=markup
211218
* This file has been placed in the public domain for unlimited redistribution.
219+
*
220+
* All extra changes made to this file must be comitted to /build/controllers/MimeTypeController.php
221+
* otherwise they will be lost on next build.
212222
*/
213223
return $array;
214224

composer.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,9 @@
7676
"ezyang/htmlpurifier": "^4.6",
7777
"cebe/markdown": "~1.0.0 | ~1.1.0 | ~1.2.0",
7878
"bower-asset/jquery": "3.7.*@stable | 3.6.*@stable | 3.5.*@stable | 3.4.*@stable | 3.3.*@stable | 3.2.*@stable | 3.1.*@stable | 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable",
79-
"bower-asset/inputmask": "~3.2.2 | ~3.3.5",
80-
"bower-asset/punycode": "1.3.*",
81-
"bower-asset/yii2-pjax": "~2.0.1",
82-
"paragonie/random_compat": ">=1"
79+
"bower-asset/inputmask": "^5.0.8 ",
80+
"bower-asset/punycode": "^2.2",
81+
"bower-asset/yii2-pjax": "~2.0.1"
8382
},
8483
"require-dev": {
8584
"dms/phpunit-arraysubset-asserts": "^0.5",
@@ -110,7 +109,6 @@
110109
},
111110
"config": {
112111
"allow-plugins": {
113-
"cweagans/composer-patches": true,
114112
"yiisoft/yii2-composer": true
115113
}
116114
},

0 commit comments

Comments
 (0)