Skip to content

Commit 46acbfd

Browse files
authored
Merge branch '5.x-dev' into fix/icon/vertical-align
2 parents dd1aadf + 15b9570 commit 46acbfd

875 files changed

Lines changed: 13875 additions & 8479 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.

.ddev/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,23 @@ ddev matomo:init:dev
4444

4545
This command will set up the environment for development, installing the additional dependencies required.
4646

47+
We have also added a parameter to the `ddev matomo:init:dev` command to enable source maps for Vue components.
48+
To enable them, you can run:
49+
```
50+
ddev matomo:init:dev --with-sourcemaps
51+
```
52+
53+
You can also disable sourcemaps at any time if you want to, just run the default command again:
54+
```
55+
ddev matomo:init:dev
56+
```
57+
NOTE: You should tick 'Disable cache' on your browser developer tools to see the changes.
58+
59+
To see help:
60+
```
61+
ddev help matomo:init:dev
62+
```
63+
4764
### 4. Set up the testing environment
4865

4966
After Matomo is set up, you can initialize the testing environment by running:

.ddev/commands/host/matomo_init_dev

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
#!/usr/bin/env bash
22

33
## Description: Initialize Matomo environment for development
4-
## Usage: matomo:init:dev
5-
## Example: ddev matomo:init:dev
4+
## Usage: matomo:init:dev [--with-sourcemaps]
5+
## Example: ddev matomo:init:dev --with-sourcemaps
6+
7+
WITH_MAPS=0
8+
for arg in "$@"; do
9+
if [ "$arg" = "--with-sourcemaps" ]; then
10+
WITH_MAPS=1
11+
fi
12+
done
13+
14+
MAP_FLAG_VALUE=$([ "$WITH_MAPS" -eq 1 ] && echo 1 || echo 0)
15+
616

717
echo "Run npm install ..."
818
ddev npm install
@@ -11,6 +21,10 @@ echo "Enable development mode and disable assets merging ..."
1121
ddev matomo:console development:enable
1222
ddev matomo:console config:set Development.disable_merged_assets=1
1323

24+
echo "Configure Vue source maps"
25+
ddev matomo:console config:set Development.allow_vue_sourcemaps=$MAP_FLAG_VALUE
26+
## recreate the htaccess files to include/exclude maps
27+
ddev matomo:console core:create-security-files
28+
1429
echo "Done: Matomo dev setup initialisation finished."
1530
echo ""
16-

.github/scripts/clean-build.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,6 @@ rm -rf node_modules/chroma-js/test
111111

112112
rm -rf node_modules/iframe-resizer/js/iframeResizer.contentWindow.js
113113
rm -rf node_modules/iframe-resizer/js/iframeResizer.js
114-
rm -rf node_modules/iframe-resizer/src/ie8.polyfils.js
115-
rm -rf node_modules/iframe-resizer/src/iframeResizer.contentWindow.js
116-
rm -rf node_modules/iframe-resizer/src/iframeResizer.js
117-
rm -rf node_modules/iframe-resizer/test-main.js
118114

119115
rm -rf node_modules/jquery/dist/jquery.js
120116
rm -rf node_modules/jquery/src

.github/workflows/buildtrackerjs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
distribution: 'zulu'
5555
java-version: '9'
5656
if: steps.vars.outputs.branch != ''
57-
- uses: actions/checkout@v5
57+
- uses: actions/checkout@v6
5858
with:
5959
ref: ${{ steps.vars.outputs.branch }}
6060
lfs: false

.github/workflows/buildvue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
echo "islocalbranch=$(expr $BASE == $GITHUB_REPOSITORY)" >> $GITHUB_OUTPUT
4646
echo "branch=$REF" >> $GITHUB_OUTPUT
4747
echo "base=$BASE_SHA" >> $GITHUB_OUTPUT
48-
- uses: actions/checkout@v5
48+
- uses: actions/checkout@v6
4949
with:
5050
lfs: false
5151
persist-credentials: false

.github/workflows/buildwoff2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
echo "islocalbranch=$(expr $BASE == $GITHUB_REPOSITORY)" >> $GITHUB_OUTPUT
4646
echo "branch=$REF" >> $GITHUB_OUTPUT
4747
echo "base=$BASE_SHA" >> $GITHUB_OUTPUT
48-
- uses: actions/checkout@v5
48+
- uses: actions/checkout@v6
4949
with:
5050
lfs: false
5151
persist-credentials: false

.github/workflows/composer-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-24.04
2424

2525
steps:
26-
- uses: actions/checkout@v5
26+
- uses: actions/checkout@v6
2727
with:
2828
ref: '5.x-dev'
2929
lfs: false

.github/workflows/dependabot_prs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Dependabot metadata
2525
id: dependabot-metadata
2626
uses: dependabot/fetch-metadata@v2
27-
- uses: actions/checkout@v5
27+
- uses: actions/checkout@v6
2828
if: ${{ steps.dependabot-metadata.outputs.package-ecosystem == 'npm_and_yarn' }}
2929
with:
3030
ref: ${{ github.head_ref }}

.github/workflows/matomo-tests.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,18 @@ on:
2828
required: false
2929
TESTOMATIO_INTEGRATION:
3030
required: false
31-
31+
schedule:
32+
# Run every 2 hours from Saturday 00:00 (Germany) until Sunday 16:00 (Germany)
33+
# Germany assumed CET (UTC+1):
34+
# - Start: Sat 00:00 DE -> Fri 23:00 UTC
35+
# - End: Sun 16:00 DE -> Sun 15:00 UTC
36+
#
37+
# Friday 23:00 UTC (Sat 00:00 DE)
38+
- cron: "0 23 * * 5"
39+
# All odd hours on Saturday UTC: 01,03,...,23
40+
- cron: "0 1-23/2 * * 6"
41+
# Sunday UTC hours: 01,03,05,07,09,11,13,15 (up to 16:00 DE)
42+
- cron: "0 1-15/2 * * 0"
3243
permissions:
3344
actions: read
3445
checks: none
@@ -66,7 +77,7 @@ jobs:
6677
mysql-engine: 'Mysql'
6778
mysql-version: '8.0'
6879
steps:
69-
- uses: actions/checkout@v5
80+
- uses: actions/checkout@v6
7081
with:
7182
lfs: false
7283
persist-credentials: false
@@ -89,7 +100,7 @@ jobs:
89100
runs-on: ubuntu-24.04
90101
timeout-minutes: 15
91102
steps:
92-
- uses: actions/checkout@v5
103+
- uses: actions/checkout@v6
93104
with:
94105
lfs: false
95106
persist-credentials: false
@@ -106,7 +117,7 @@ jobs:
106117
runs-on: ubuntu-24.04
107118
timeout-minutes: 15
108119
steps:
109-
- uses: actions/checkout@v5
120+
- uses: actions/checkout@v6
110121
with:
111122
lfs: false
112123
persist-credentials: false
@@ -126,7 +137,7 @@ jobs:
126137
matrix:
127138
parts: [ 0,1,2,3 ]
128139
steps:
129-
- uses: actions/checkout@v5
140+
- uses: actions/checkout@v6
130141
with:
131142
lfs: true
132143
persist-credentials: false

.github/workflows/phpcs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
name: PHPCS
2020
runs-on: ubuntu-24.04
2121
steps:
22-
- uses: actions/checkout@v5
22+
- uses: actions/checkout@v6
2323
with:
2424
lfs: false
2525
persist-credentials: false

0 commit comments

Comments
 (0)