Skip to content

Commit 5ada9fb

Browse files
Merge branch '5.3-dev' into 5.2-dev
2 parents 6998357 + c8b3f3c commit 5ada9fb

File tree

896 files changed

+13373
-8222
lines changed

Some content is hidden

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

896 files changed

+13373
-8222
lines changed

.drone.yml

Lines changed: 35 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ clone:
66

77
steps:
88
- name: setup
9-
image: joomlaprojects/docker-images:php8.3
9+
image: joomlaprojects/docker-images:php8.4
1010
volumes:
1111
- name: certificates
1212
path: /certificates
1313
commands:
1414
- cp -v tests/certs/* /certificates/
1515

1616
- name: composer
17-
image: joomlaprojects/docker-images:php8.3
17+
image: joomlaprojects/docker-images:php8.4
1818
volumes:
1919
- name: composer-cache
2020
path: /tmp/composer-cache
@@ -70,6 +70,13 @@ steps:
7070
- php -v
7171
- ./libraries/vendor/bin/phpunit --testsuite Unit
7272

73+
- name: php84-unit
74+
depends_on: [ phpcs ]
75+
image: joomlaprojects/docker-images:php8.4
76+
commands:
77+
- php -v
78+
- ./libraries/vendor/bin/phpunit --testsuite Unit
79+
7380
- name: php81-integration
7481
depends_on: [ npm ]
7582
image: joomlaprojects/docker-images:php8.1
@@ -91,6 +98,13 @@ steps:
9198
- php -v
9299
- ./libraries/vendor/bin/phpunit --testsuite Integration
93100

101+
- name: php84-integration
102+
depends_on: [ npm ]
103+
image: joomlaprojects/docker-images:php8.4
104+
commands:
105+
- php -v
106+
- ./libraries/vendor/bin/phpunit --testsuite Integration
107+
94108
- name: php81-integration-pgsql
95109
depends_on: [ npm ]
96110
image: joomlaprojects/docker-images:php8.1
@@ -112,6 +126,13 @@ steps:
112126
- php -v
113127
- ./libraries/vendor/bin/phpunit --testsuite Integration --configuration phpunit-pgsql.xml.dist
114128

129+
- name: php84-integration-pgsql
130+
depends_on: [ npm ]
131+
image: joomlaprojects/docker-images:php8.4
132+
commands:
133+
- php -v
134+
- ./libraries/vendor/bin/phpunit --testsuite Integration --configuration phpunit-pgsql.xml.dist
135+
115136
- name: scss-cs
116137
depends_on: [ npm ]
117138
image: node:current-alpine
@@ -128,14 +149,14 @@ steps:
128149
- name: prepare_system_tests
129150
depends_on:
130151
- npm
131-
image: joomlaprojects/docker-images:systemtests8.1
152+
image: joomlaprojects/docker-images:cypress8.4
132153
volumes:
133154
- name: cypress-cache
134155
path: /root/.cache/Cypress
135156
environment:
136157
CYPRESS_VERIFY_TIMEOUT: 100000
137158
commands:
138-
- mv cypress.config.dist.mjs cypress.config.mjs
159+
- cp cypress.config.dist.mjs cypress.config.mjs
139160
- npx cypress install
140161
- npx cypress verify
141162

@@ -149,42 +170,24 @@ steps:
149170
environment:
150171
JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK: 1
151172
commands:
152-
- bash tests/System/drone-system-run.sh "$(pwd)" cmysql mysqli mysql
173+
- bash tests/System/entrypoint.sh "$(pwd)" cmysql mysqli mysql
153174

154175
- name: phpmax-system-mysql
155176
depends_on:
156177
- phpmin-system-mysql
157-
image: joomlaprojects/docker-images:cypress8.2
178+
image: joomlaprojects/docker-images:cypress8.4
158179
volumes:
159180
- name: cypress-cache
160181
path: /root/.cache/Cypress
161182
environment:
162183
JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK: 1
163184
commands:
164-
- bash tests/System/drone-system-run.sh "$(pwd)" cmysqlmax mysqli mysql
185+
- bash tests/System/entrypoint.sh "$(pwd)" cmysqlmax mysqli mysql
165186
when:
166187
event:
167188
exclude:
168189
- pull_request
169190

170-
- name: phpnext-system-mysql
171-
depends_on:
172-
- phpmax-system-mysql
173-
image: joomlaprojects/docker-images:cypress8.3
174-
volumes:
175-
- name: cypress-cache
176-
path: /root/.cache/Cypress
177-
environment:
178-
JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK: 1
179-
failure: ignore
180-
commands:
181-
- echo "This test is disabled because php next is not stable yet"
182-
- exit 1
183-
- bash tests/System/drone-system-run.sh "$(pwd)" cmysqlnext mysqli mysql
184-
when:
185-
event:
186-
exclude:
187-
- pull_request
188191

189192
- name: phpmin-system-postgres
190193
depends_on:
@@ -196,7 +199,7 @@ steps:
196199
environment:
197200
JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK: 1
198201
commands:
199-
- bash tests/System/drone-system-run.sh "$(pwd)" cpostgres pgsql postgres
202+
- bash tests/System/entrypoint.sh "$(pwd)" cpostgres pgsql postgres
200203
when:
201204
event:
202205
exclude:
@@ -205,39 +208,18 @@ steps:
205208
- name: phpmax-system-postgres
206209
depends_on:
207210
- phpmin-system-postgres
208-
image: joomlaprojects/docker-images:cypress8.2
209-
volumes:
210-
- name: cypress-cache
211-
path: /root/.cache/Cypress
212-
environment:
213-
JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK: 1
214-
commands:
215-
- bash tests/System/drone-system-run.sh "$(pwd)" cpostgresmax pgsql postgres
216-
217-
- name: phpnext-system-postgres
218-
depends_on:
219-
- phpmax-system-postgres
220-
image: joomlaprojects/docker-images:cypress8.3
211+
image: joomlaprojects/docker-images:cypress8.4
221212
volumes:
222213
- name: cypress-cache
223214
path: /root/.cache/Cypress
224215
environment:
225216
JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK: 1
226-
failure: ignore
227217
commands:
228-
- echo "This test is disabled because php next is not stable yet"
229-
- exit 1
230-
- bash tests/System/drone-system-run.sh "$(pwd)" cpostgresnext pgsql postgres
231-
when:
232-
event:
233-
exclude:
234-
- pull_request
218+
- bash tests/System/entrypoint.sh "$(pwd)" cpostgresmax pgsql postgres
235219

236220
- name: artifacts-system-tests
237221
image: joomlaprojects/docker-images:packager
238222
depends_on:
239-
- phpnext-system-mysql
240-
- phpnext-system-postgres
241223
- phpmax-system-mysql
242224
- phpmax-system-postgres
243225
- phpmin-system-mysql
@@ -410,15 +392,16 @@ steps:
410392
- rclone delete nightly:/home/devj/public_html/nightlies/ --include "Joomla_$MINORVERSION.*"
411393
- rclone delete nightly:/home/devj/public_html/cache/com_content/
412394
- rclone copy ./transfer/ nightly:/home/devj/public_html/nightlies/
413-
- curl -i -X POST -H 'Content-Type:application/json' -d '{"text":"Nightly Build for [Joomla 5.2](https://developer.joomla.org/nightly-builds.html) successfully built."}' $MATTERMOST_NIGHTLY_HOOK
395+
- curl -i -X POST -H 'Content-Type:application/json' -d '{"text":"Nightly Build for [Joomla ${MINORVERSION}](https://developer.joomla.org/nightly-builds.html) successfully built."}' $MATTERMOST_NIGHTLY_HOOK
414396

415397
- name: buildfailure
416398
image: joomlaprojects/docker-images:packager
417399
environment:
418400
MATTERMOST_NIGHTLY_HOOK:
419401
from_secret: mattermost_nightly_hook
420402
commands:
421-
- curl -i -X POST -H 'Content-Type:application/json' -d '{"text":"Nightly Build for [Joomla 5.2](https://developer.joomla.org/nightly-builds.html) FAILED to build."}' $MATTERMOST_NIGHTLY_HOOK
403+
- export MINORVERSION=${DRONE_BRANCH%-*}
404+
- curl -i -X POST -H 'Content-Type:application/json' -d '{"text":"Nightly Build for [Joomla ${MINORVERSION}](https://developer.joomla.org/nightly-builds.html) FAILED to built."}' $MATTERMOST_NIGHTLY_HOOK
422405
when:
423406
status:
424407
- failure
@@ -432,6 +415,6 @@ trigger:
432415

433416
---
434417
kind: signature
435-
hmac: 10ae86041b814459e0a4618a7fa2356480177af7966412cc050e9902e9384cbe
418+
hmac: 99da78521b10f37ddf6731e695fe52f85ee3db142bccac66901ae5372e332aae
436419

437420
...

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ insert_final_newline = true
1515
indent_style = space
1616
indent_size = 4
1717

18-
[*.{js,json,scss,css,yml,vue}]
18+
[*.{mjs,js,json,scss,css,yml,vue}]
1919
indent_style = space
2020
indent_size = 2

.github/workflows/create-translation-pull-request-v5.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
env:
1414
JOOMLA_MAJOR_VERSION: 5
15-
JOOMLA_MINOR_VERSION: 5.2
15+
JOOMLA_MINOR_VERSION: 5.3
1616

1717
permissions:
1818
contents: read

.php-cs-fixer.dist.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
// Arrays on multiline should have a trailing comma
7777
'trailing_comma_in_multiline' => ['elements' => ['arrays']],
7878
// Align elements in multiline array and variable declarations on new lines below each other
79-
'binary_operator_spaces' => ['operators' => ['=>' => 'align_single_space_minimal', '=' => 'align']],
79+
'binary_operator_spaces' => ['operators' => ['=>' => 'align_single_space_minimal', '=' => 'align', '??=' => 'align']],
8080
// The "No break" comment in switch statements
8181
'no_break_comment' => ['comment_text' => 'No break'],
8282
// Remove unused imports
@@ -91,6 +91,14 @@
9191
'native_function_invocation' => ['include' => ['@compiler_optimized']],
9292
// Adds null to type declarations when parameter have a default null value
9393
'nullable_type_declaration_for_default_null_value' => true,
94+
// Removes unneeded parentheses around control statements
95+
'no_unneeded_control_parentheses' => true,
96+
// Using isset($var) && multiple times should be done in one call.
97+
'combine_consecutive_issets' => true,
98+
// Calling unset on multiple items should be done in one call
99+
'combine_consecutive_unsets' => true,
100+
// There must be no sprintf calls with only the first argument
101+
'no_useless_sprintf' => true,
94102
]
95103
)
96104
->setFinder($finder);

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ Build Status
55

66
| Drone-CI | AppVeyor | PHP | Node | npm |
77
|------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|--------------------------------------------------------------------------------------|---------------------------------------------------------------------------------|
8-
| [![Build Status](https://ci.joomla.org/api/badges/joomla/joomla-cms/status.svg?branch=5.2-dev)](https://ci.joomla.org/joomla/joomla-cms) | [![Build status](https://ci.appveyor.com/api/projects/status/ru6sxal8jmfckvjc/branch/5.2-dev?svg=true)](https://ci.appveyor.com/project/release-joomla/joomla-cms) | [![PHP](https://img.shields.io/badge/PHP-V8.1.0-green)](https://www.php.net/) | [![node-lts](https://img.shields.io/badge/Node-V20.0-green)](https://nodejs.org/en/) | [![npm](https://img.shields.io/badge/npm-v10.1.0-green)](https://nodejs.org/en/) |
8+
| [![Build Status](https://ci.joomla.org/api/badges/joomla/joomla-cms/status.svg?branch=5.3-dev)](https://ci.joomla.org/joomla/joomla-cms) | [![Build status](https://ci.appveyor.com/api/projects/status/ru6sxal8jmfckvjc/branch/5.3-dev?svg=true)](https://ci.appveyor.com/project/release-joomla/joomla-cms) | [![PHP](https://img.shields.io/badge/PHP-V8.1.0-green)](https://www.php.net/) | [![node-lts](https://img.shields.io/badge/Node-V20.0-green)](https://nodejs.org/en/) | [![npm](https://img.shields.io/badge/npm-v10.1.0-green)](https://nodejs.org/en/) |
99

1010
Overview
1111
---------------------
1212
* This is the source of Joomla! 5.x.
1313
* Joomla's [Official website](https://www.joomla.org).
14-
* Joomla! 5.2 [version history](https://docs.joomla.org/Special:MyLanguage/Joomla_5.2_version_history).
15-
* Detailed changes are in the [changelog](https://github.com/joomla/joomla-cms/commits/5.2-dev).
14+
* Joomla! 5.3 [version history](https://docs.joomla.org/Special:MyLanguage/Joomla_5.3_version_history).
15+
* Detailed changes are in the [changelog](https://github.com/joomla/joomla-cms/commits/5.3-dev).
1616

1717
What is Joomla?
1818
---------------------
@@ -45,9 +45,9 @@ git clone https://github.com/joomla/joomla-cms.git
4545
```bash
4646
cd joomla-cms
4747
```
48-
- Go to the 5.2-dev branch:
48+
- Go to the 5.3-dev branch:
4949
```bash
50-
git checkout 5.2-dev
50+
git checkout 5.3-dev
5151
```
5252
- Install all the needed composer packages:
5353
```bash

README.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Joomla! CMS™
33
1- Overview
44
* This is a Joomla! 5.x installation/upgrade package.
55
* Joomla! Official site: https://www.joomla.org
6-
* Joomla! 5.2 version history - https://docs.joomla.org/Special:MyLanguage/Joomla_5.2_version_history
7-
* Detailed changes in the Changelog: https://github.com/joomla/joomla-cms/commits/5.2-dev
6+
* Joomla! 5.3 version history - https://docs.joomla.org/Special:MyLanguage/Joomla_5.3_version_history
7+
* Detailed changes in the Changelog: https://github.com/joomla/joomla-cms/commits/5.3-dev
88

99
2- What is Joomla?
1010
* Joomla! is a Content Management System (CMS) which enables you to build websites and powerful online applications.

administrator/components/com_actionlogs/actionlogs.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
<file>actionlogs.xml</file>
1717
<file>config.xml</file>
1818
<folder>forms</folder>
19-
<folder>layouts</folder>
2019
<folder>services</folder>
2120
<folder>src</folder>
2221
<folder>tmpl</folder>

administrator/components/com_actionlogs/forms/filter_actionlogs.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</field>
2828
<field
2929
name="user"
30-
type="logcreator"
30+
type="user"
3131
label="COM_ACTIONLOGS_NAME"
3232
class="js-select-submit-on-change"
3333
>

administrator/components/com_actionlogs/src/Controller/ActionlogsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function exportLogs()
8787
if (\count($data)) {
8888
try {
8989
$rows = ActionlogsHelper::getCsvData($data);
90-
} catch (\InvalidArgumentException $exception) {
90+
} catch (\InvalidArgumentException) {
9191
$this->setMessage(Text::_('COM_ACTIONLOGS_ERROR_COULD_NOT_EXPORT_DATA'), 'error');
9292
$this->setRedirect(Route::_('index.php?option=com_actionlogs&view=actionlogs', false));
9393

administrator/components/com_actionlogs/src/Field/LogcreatorField.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
* Field to load a list of all users that have logged actions
2121
*
2222
* @since 3.9.0
23+
*
24+
* No longer used, will be removed without replacement
25+
*
26+
* @deprecated 7.0 will be removed in 7.0
2327
*/
2428
class LogcreatorField extends ListField
2529
{

0 commit comments

Comments
 (0)