Skip to content

Commit 9e9f808

Browse files
committed
Merge branch 'refs/heads/7.0-dev' into 7.0-cms-object-propertytrait
2 parents bac002d + 2212afa commit 9e9f808

934 files changed

Lines changed: 4447 additions & 4118 deletions

File tree

Some content is hidden

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

.drone.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
kind: pipeline
23
name: package
34

@@ -47,14 +48,13 @@ steps:
4748
- name: prepare
4849
image: joomlaprojects/docker-images:packager
4950
commands:
50-
- export MINORVERSION=${DRONE_BRANCH%-*}
5151
- composer --version
5252
- mkdir -p transfer
53-
- date +%s > transfer/$MINORVERSION-time.txt
54-
- git rev-parse origin/$MINORVERSION-dev > transfer/$MINORVERSION.txt
55-
- php build/build.php --remote=origin/$MINORVERSION-dev --exclude-gzip --disable-patch-packages
53+
- date +%s > transfer/${DRONE_BRANCH%%-dev}-time.txt
54+
- git rev-parse origin/${DRONE_BRANCH} > transfer/${DRONE_BRANCH%%-dev}.txt
55+
- php build/build.php --remote=origin/${DRONE_BRANCH} --exclude-gzip --disable-patch-packages
5656
- mv build/tmp/packages/* transfer/
57-
- php build/build.php --remote=origin/$MINORVERSION-dev --exclude-zip --exclude-gzip --exclude-bzip2 --debug-build
57+
- php build/build.php --remote=origin/${DRONE_BRANCH} --exclude-zip --exclude-gzip --exclude-bzip2 --debug-build
5858
- mv build/tmp/packages/* transfer/
5959

6060
- name: upload
@@ -69,27 +69,25 @@ steps:
6969
MATTERMOST_NIGHTLY_HOOK:
7070
from_secret: mattermost_nightly_hook
7171
commands:
72-
- export MINORVERSION=${DRONE_BRANCH%-*}
7372
- mkdir -p ~/.ssh
7473
- eval $(ssh-agent -s)
7574
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
7675
- echo "$nightly_key" > ~/.ssh/id_rsa
7776
- chmod 600 ~/.ssh/id_rsa
7877
- ssh-add
7978
- rclone config create nightly sftp host $nightly_host user $nightly_user port 22
80-
- rclone delete nightly:/home/devj/public_html/nightlies/ --include "Joomla_$MINORVERSION.*"
79+
- rclone delete nightly:/home/devj/public_html/nightlies/ --include "Joomla_${DRONE_BRANCH%%-dev}.*"
8180
- rclone delete nightly:/home/devj/public_html/cache/com_content/
8281
- rclone copy ./transfer/ nightly:/home/devj/public_html/nightlies/
83-
- 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
82+
- curl -i -X POST -H 'Content-Type:application/json' -d '{"text":"Nightly Build for [Joomla '"${DRONE_BRANCH%%-dev}"'](https://developer.joomla.org/nightly-builds.html) successfully built."}' $MATTERMOST_NIGHTLY_HOOK
8483

8584
- name: buildfailure
8685
image: joomlaprojects/docker-images:packager
8786
environment:
8887
MATTERMOST_NIGHTLY_HOOK:
8988
from_secret: mattermost_nightly_hook
9089
commands:
91-
- export MINORVERSION=${DRONE_BRANCH%-*}
92-
- 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
90+
- curl -i -X POST -H 'Content-Type:application/json' -d '{"text":"Nightly Build for [Joomla '"${DRONE_BRANCH%%-dev}"'](https://developer.joomla.org/nightly-builds.html) FAILED to build."}' $MATTERMOST_NIGHTLY_HOOK
9391
when:
9492
status:
9593
- failure
@@ -103,6 +101,6 @@ trigger:
103101

104102
---
105103
kind: signature
106-
hmac: 8c9f8d28fda74e2a6fc508602dd07e9af7d9f4a5a13af769c6a53e6bd6e91389
104+
hmac: b62009a5a3a1303955cdf02e0d38850e7065febe2e8b06731f6c740a89dfd6e9
107105

108106
...

.github/CONTRIBUTING.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,12 @@ before it will be accepted, we ask that you follow these simple guidelines:
3232
Please be patient as not all items will be viewed or tested immediately (remember, all bug testing for the Joomla! CMS is done by volunteers) and be receptive to feedback about your code.
3333

3434
#### Branches
35-
Bug fixing PRs should be made to the `5.4-dev` branch. Merged bugfixes will be upmerged into the current branches. New features that do not break backwards compatibility should be made to the `6.1-dev`.
35+
Bug fixing PRs should be made to the `5.4-dev` branch. Merged bugfixes will be upmerged into the current branches. New features that do not break backwards compatibility should be made to the `6.2-dev`.
3636

3737
| Branch | Purpose |
3838
|---------|-----------------------------------------------------------------------------------------|
3939
| 5.4-dev | Branch for the current 5.x Joomla version. |
40-
| 6.0-dev | Branch for the current 6.x Joomla version. Bugfixes only for 6.x go into this branch. |
41-
| 6.1-dev | Branch for the next minor 6.x Joomla version. New features have to go into this branch. |
40+
| 6.0-dev | Branch for the current 6.x Joomla version. Bugfixes only for 6.0 go into this branch. |
41+
| 6.1-dev | Branch for the current 6.x Joomla version. Bugfixes only for 6.1 go into this branch. |
42+
| 6.2-dev | Branch for the next minor 6.x Joomla version. New features have to go into this branch. |
4243
| 7.0-dev | Branch for the next major Joomla version. New features that include a b/c break have to go into this branch. |
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
5+
---
6+
7+
Feature requests should **NOT** be submitted as an issue.
8+
9+
The correct place for a feature request is the Discussion area. More in depth information on the feature request process can be found here: https://github.com/joomla/joomla-cms/discussions/46934

.github/ISSUE_TEMPLATE/Feature_request.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 50 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
runs-on: ubuntu-latest
1515
container: joomlaprojects/docker-images:php8.4
1616
steps:
17-
- uses: actions/checkout@v4
18-
- uses: actions/cache@v4
17+
- uses: actions/checkout@v6
18+
- uses: actions/cache@v5
1919
id: cache-php
2020
with:
2121
path: libraries/vendor
@@ -39,18 +39,22 @@ jobs:
3939
container: joomlaprojects/docker-images:php8.4
4040
needs: [composer]
4141
steps:
42-
- uses: actions/setup-node@v4
42+
- uses: actions/setup-node@v6
4343
with:
4444
node-version: latest
45-
- uses: actions/checkout@v4
46-
- uses: actions/cache@v4
45+
- uses: actions/checkout@v6
46+
- uses: actions/cache@v5
4747
id: cache-assets
4848
with:
4949
path: |
5050
node_modules
5151
media
52-
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json', 'build/media_source/**', 'administrator/components/com_media/resources/**') }}
53-
- uses: actions/cache/restore@v4
52+
installation/template/css
53+
installation/template/images
54+
installation/template/js
55+
installation/template/scss
56+
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json', 'build/build.mjs', 'build/build-modules-js/**', 'media_source/**') }}
57+
- uses: actions/cache/restore@v5
5458
with:
5559
path: libraries/vendor
5660
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
@@ -71,8 +75,8 @@ jobs:
7175
matrix:
7276
command: ['php-cs-fixer fix -vvv --dry-run --diff', 'phpcs --extensions=php -p --standard=ruleset.xml .']
7377
steps:
74-
- uses: actions/checkout@v4
75-
- uses: actions/cache/restore@v4
78+
- uses: actions/checkout@v6
79+
- uses: actions/cache/restore@v5
7680
with:
7781
path: libraries/vendor
7882
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
@@ -94,16 +98,20 @@ jobs:
9498
matrix:
9599
check: ['lint:js', 'lint:testjs', 'lint:css']
96100
steps:
97-
- uses: actions/setup-node@v4
101+
- uses: actions/setup-node@v6
98102
with:
99103
node-version: latest
100-
- uses: actions/checkout@v4
101-
- uses: actions/cache/restore@v4
104+
- uses: actions/checkout@v6
105+
- uses: actions/cache/restore@v5
102106
with:
103107
path: |
104108
node_modules
105109
media
106-
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json', 'build/media_source/**', 'administrator/components/com_media/resources/**') }}
110+
installation/template/css
111+
installation/template/images
112+
installation/template/js
113+
installation/template/scss
114+
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json', 'build/build.mjs', 'build/build-modules-js/**', 'media_source/**') }}
107115
- name: Check code style
108116
run: npm run ${{ matrix.check }}
109117

@@ -113,8 +121,8 @@ jobs:
113121
container: joomlaprojects/docker-images:php8.4
114122
needs: [code-style-php]
115123
steps:
116-
- uses: actions/checkout@v4
117-
- uses: actions/cache/restore@v4
124+
- uses: actions/checkout@v6
125+
- uses: actions/cache/restore@v5
118126
with:
119127
path: libraries/vendor
120128
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
@@ -135,8 +143,8 @@ jobs:
135143
matrix:
136144
php_version: ['8.3', '8.4', '8.5']
137145
steps:
138-
- uses: actions/checkout@v4
139-
- uses: actions/cache/restore@v4
146+
- uses: actions/checkout@v6
147+
- uses: actions/cache/restore@v5
140148
with:
141149
path: libraries/vendor
142150
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
@@ -181,12 +189,12 @@ jobs:
181189
host: 'postgres'
182190
user: 'root'
183191
steps:
184-
- uses: actions/checkout@v4
192+
- uses: actions/checkout@v6
185193
- name: Start LDAP container
186194
uses: docker://docker
187195
with:
188196
args: docker run -d --name openldap --network ${{ job.container.network }} --network-alias openldap -e "LDAP_ADMIN_USERNAME=admin" -e "LDAP_ADMIN_PASSWORD=adminpassword" -e "LDAP_USERS=customuser" -e "LDAP_PASSWORDS=custompassword" -e "LDAP_ENABLE_TLS=yes" -e "LDAP_TLS_CERT_FILE=/certs/openldap.crt" -e "LDAP_TLS_KEY_FILE=/certs/openldap.key" -e "LDAP_TLS_CA_FILE=/certs/CA.crt" -e "BITNAMI_DEBUG=true" -e "LDAP_CONFIG_ADMIN_ENABLED=yes" -e "LDAP_CONFIG_ADMIN_USERNAME=admin" -e "LDAP_CONFIG_ADMIN_PASSWORD=configpassword" -v "${{ github.workspace }}/tests/certs/openldap.crt":"/certs/openldap.crt" -v "${{ github.workspace }}/tests/certs/openldap.key":"/certs/openldap.key" -v "${{ github.workspace }}/tests/certs/CA.crt":"/certs/CA.crt" ghcr.io/joomla-projects/mirror-bitnami-openldap:latest
189-
- uses: actions/cache/restore@v4
197+
- uses: actions/cache/restore@v5
190198
with:
191199
path: libraries/vendor
192200
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
@@ -238,8 +246,8 @@ jobs:
238246
matrix:
239247
php_version: ['8.3', '8.4', '8.5']
240248
steps:
241-
- uses: actions/checkout@v4
242-
- uses: actions/cache/restore@v4
249+
- uses: actions/checkout@v6
250+
- uses: actions/cache/restore@v5
243251
id: cache-php-windows
244252
with:
245253
path: libraries/vendor
@@ -269,8 +277,8 @@ jobs:
269277
matrix:
270278
php_version: ['8.3', '8.4', '8.5']
271279
steps:
272-
- uses: actions/checkout@v4
273-
- uses: actions/cache/restore@v4
280+
- uses: actions/checkout@v6
281+
- uses: actions/cache/restore@v5
274282
with:
275283
path: libraries/vendor
276284
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
@@ -308,14 +316,18 @@ jobs:
308316
env:
309317
CYPRESS_VERIFY_TIMEOUT: 100000
310318
steps:
311-
- uses: actions/checkout@v4
312-
- uses: actions/cache/restore@v4
319+
- uses: actions/checkout@v6
320+
- uses: actions/cache/restore@v5
313321
with:
314322
path: |
315323
node_modules
316324
media
317-
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json', 'build/media_source/**', 'administrator/components/com_media/resources/**') }}
318-
- uses: actions/cache@v4
325+
installation/template/css
326+
installation/template/images
327+
installation/template/js
328+
installation/template/scss
329+
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json', 'build/build.mjs', 'build/build-modules-js/**', 'media_source/**') }}
330+
- uses: actions/cache@v5
319331
id: cache-cypress
320332
with:
321333
path: |
@@ -370,12 +382,12 @@ jobs:
370382
env:
371383
JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK: 1
372384
steps:
373-
- uses: actions/checkout@v4
374-
- uses: actions/cache/restore@v4
385+
- uses: actions/checkout@v6
386+
- uses: actions/cache/restore@v5
375387
with:
376388
path: libraries/vendor
377389
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
378-
- uses: actions/cache/restore@v4
390+
- uses: actions/cache/restore@v5
379391
with:
380392
path: plugins/system/webauthn/fido.jwt
381393
key: ${{ runner.os }}-webauthn-${{ hashFiles('composer.lock') }}
@@ -384,8 +396,12 @@ jobs:
384396
path: |
385397
node_modules
386398
media
387-
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json', 'build/media_source/**', 'administrator/components/com_media/resources/**') }}
388-
- uses: actions/cache/restore@v4
399+
installation/template/css
400+
installation/template/images
401+
installation/template/js
402+
installation/template/scss
403+
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json', 'build/build.mjs', 'build/build-modules-js/**', 'media_source/**') }}
404+
- uses: actions/cache/restore@v5
389405
with:
390406
path: |
391407
/root/.cache/Cypress
@@ -394,7 +410,7 @@ jobs:
394410
- name: Run System tests
395411
run: bash tests/System/entrypoint.sh "$(pwd)" ${{ matrix.config.test_group }} ${{ matrix.config.db_engine }} ${{ matrix.config.db_host }} ${{ matrix.browser }}
396412
- name: Archive test results results
397-
uses: actions/upload-artifact@v4
413+
uses: actions/upload-artifact@v7
398414
if: always()
399415
with:
400416
name: system-test-output
@@ -427,7 +443,7 @@ jobs:
427443
runs-on: ubuntu-latest
428444
steps:
429445
- name: Checkout Actions Repository
430-
uses: actions/checkout@v4
446+
uses: actions/checkout@v6
431447
- name: Spell Check Repository
432448
uses: crate-ci/typos@v1.34.0
433449
with:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ jobs:
2626
if: ${{ github.repository == 'joomla-translation-bot/joomla-cms' && github.ref == 'refs/heads/translation5' }}
2727

2828
steps:
29-
- uses: actions/checkout@v5
29+
- uses: actions/checkout@v6
3030
# We need the full depth to create / update the pull request against the main repo
3131
with:
3232
ref: translation5
3333
fetch-depth: 0
3434
token: ${{ secrets.PAT_WORKFLOW }}
35-
- uses: actions/setup-node@v5
35+
- uses: actions/setup-node@v6
3636
with:
3737
node-version: 24
3838

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
env:
1414
JOOMLA_MAJOR_VERSION: 6
15-
JOOMLA_MINOR_VERSION: '6.0'
15+
JOOMLA_MINOR_VERSION: '6.1'
1616

1717
permissions:
1818
contents: read
@@ -26,13 +26,13 @@ jobs:
2626
if: ${{ github.repository == 'joomla-translation-bot/joomla-cms' && github.ref == 'refs/heads/translation6' }}
2727

2828
steps:
29-
- uses: actions/checkout@v5
29+
- uses: actions/checkout@v6
3030
# We need the full depth to create / update the pull request against the main repo
3131
with:
3232
ref: translation6
3333
fetch-depth: 0
34-
token: ${{ secrets.PAT_WORKFLOW }}
35-
- uses: actions/setup-node@v5
34+
token: ${{ secrets.PAT_WORKFLOW }}
35+
- uses: actions/setup-node@v6
3636
with:
3737
node-version: 24
3838

.github/workflows/merge-conflicts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: "Detect merge conflicts"
22
on:
33
# So that PRs touching the same files as the push are updated
44
push:
5-
# So that the `dirtyLabel` is removed if conflicts are resolve
5+
# So that the `dirtyLabel` is removed if conflicts are resolved
66
# We recommend `pull_request_target` so that github secrets are available.
77
# In `pull_request` we wouldn't be able to change labels of fork PRs
88
pull_request_target:

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626

2727
# Template CSS files generated by NPM
2828
/installation/template/css
29+
/installation/template/images
30+
/installation/template/js
31+
/installation/template/scss
2932

3033
# Test Related Files
3134
/phpunit.xml
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
INSERT INTO `#__content_types` (`type_id`, `type_title`, `type_alias`, `table`, `rules`, `field_mappings`, `router`, `content_history_options`) VALUES (14, 'Module', 'com_modules.module', '{"special":{"dbtable":"#__modules","key":"id","type":"Module","prefix":"Joomla\\\\CMS\\\\Table\\\\"}}', '', '{}', '', '{"formFile":"administrator\\/components\\/com_modules\\/forms\\/module.xml", "hideFields":["checked_out", "checked_out_time", "publish_up", "publish_down"], "ignoreChanges":["checked_out", "checked_out_time"], "convertToInt":["publish_up", "publish_down"], "displayLookup":[{"sourceColumn":"checked_out", "targetTable":"#__users", "targetColumn":"id", "displayColumn":"name"}]}');
1+
-- --------------------------------------------------------
2+
-- The following statement which was introduced with 6.1.0-beta1
3+
-- has been disabled as it was replaced in 6.1.0-beta3 with
4+
-- a new statement in file "6.1.0-2026-03-10.sql".
5+
-- See https://github.com/joomla/joomla-cms/pull/47361 for details.
6+
--
7+
-- INSERT INTO `#__content_types` (`type_id`, `type_title`, `type_alias`, `table`, `rules`, `field_mappings`, `router`, `content_history_options`) VALUES (14, 'Module', 'com_modules.module', '{"special":{"dbtable":"#__modules","key":"id","type":"Module","prefix":"Joomla\\\\CMS\\\\Table\\\\"}}', '', '{}', '', '{"formFile":"administrator\\/components\\/com_modules\\/forms\\/module.xml", "hideFields":["checked_out", "checked_out_time", "publish_up", "publish_down"], "ignoreChanges":["checked_out", "checked_out_time"], "convertToInt":["publish_up", "publish_down"], "displayLookup":[{"sourceColumn":"checked_out", "targetTable":"#__users", "targetColumn":"id", "displayColumn":"name"}]}');

0 commit comments

Comments
 (0)