Skip to content

Commit b2abe63

Browse files
rakeknivennextcloud-command
authored andcommitted
Merge branch 'master' into Valdnet-patch-1
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 parents 717430b + 9a1a3b4 commit b2abe63

File tree

3,314 files changed

+94867
-51472
lines changed

Some content is hidden

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

3,314 files changed

+94867
-51472
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ node_modules/
66
**/js/*
77
*.config.js
88
tests/lib/
9+
apps-extra
910

1011
# TODO: remove when comments files is not using handlebar templates anymore
1112
apps/comments/src/templates.js

.github/workflows/command-compile.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ jobs:
8686
npm ci
8787
npm run build --if-present
8888
89+
- name: Build css
90+
run: npm run --if-present sass
91+
92+
- name: Build icons css
93+
run: npm run --if-present sass:icons
94+
8995
- name: Commit and push default
9096
if: ${{ needs.init.outputs.arg1 != 'fixup' && needs.init.outputs.arg1 != 'amend' }}
9197
run: |

.github/workflows/command-rebase.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
steps:
2020
- name: Add reaction on start
21-
uses: peter-evans/create-or-update-comment@v1
21+
uses: peter-evans/create-or-update-comment@v2
2222
with:
2323
token: ${{ secrets.COMMAND_BOT_PAT }}
2424
repository: ${{ github.event.repository.full_name }}
@@ -32,12 +32,12 @@ jobs:
3232
token: ${{ secrets.COMMAND_BOT_PAT }}
3333

3434
- name: Automatic Rebase
35-
uses: cirrus-actions/rebase@1.5
35+
uses: cirrus-actions/rebase@1.6
3636
env:
3737
GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }}
3838

3939
- name: Add reaction on failure
40-
uses: peter-evans/create-or-update-comment@v1
40+
uses: peter-evans/create-or-update-comment@v2
4141
if: failure()
4242
with:
4343
token: ${{ secrets.COMMAND_BOT_PAT }}

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
php-versions: ['7.4', '8.0', '8.1']
9+
php-versions: ['7.4', '8.0', '8.1', '8.2']
1010
name: php${{ matrix.php-versions }} lint
1111
steps:
1212
- name: Checkout

.github/workflows/node.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
pull_request:
1010
push:
1111
branches:
12+
- main
1213
- master
1314
- stable*
1415

@@ -19,17 +20,17 @@ jobs:
1920
name: node
2021
steps:
2122
- name: Checkout
22-
uses: actions/checkout@v2
23+
uses: actions/checkout@v3
2324

2425
- name: Read package.json node and npm engines version
25-
uses: skjnldsv/read-package-engines-version-actions@v1.1
26+
uses: skjnldsv/read-package-engines-version-actions@v1.2
2627
id: versions
2728
with:
2829
fallbackNode: '^12'
2930
fallbackNpm: '^6'
3031

3132
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
32-
uses: actions/setup-node@v2
33+
uses: actions/setup-node@v3
3334
with:
3435
node-version: ${{ steps.versions.outputs.nodeVersion }}
3536

@@ -41,6 +42,12 @@ jobs:
4142
npm ci
4243
npm run build --if-present
4344
45+
- name: Build css
46+
run: npm run sass
47+
48+
- name: Build icons css
49+
run: npm run sass:icons
50+
4451
- name: Check webpack build changes
4552
run: |
4653
bash -c "[[ ! \"`git status --porcelain `\" ]] || exit 1"

.github/workflows/s3-external.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
php -S localhost:8080 &
5656
- name: PHPUnit
5757
run: |
58-
echo "<?php return ['run' => true,'hostname' => 'localhost','key' => 'minio','secret' => 'minio123', 'bucket' => 'bucket', 'port' => 9000, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/${{ env.APP_NAME }}/tests/config.amazons3.php
58+
echo "<?php return ['run' => true, 'secret' => 'actually-not-secret', 'passwordsalt' => 'actually-not-secret', 'hostname' => 'localhost','key' => 'minio','secret' => 'minio123', 'bucket' => 'bucket', 'port' => 9000, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/${{ env.APP_NAME }}/tests/config.amazons3.php
5959
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/Amazons3Test.php
6060
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/VersionedAmazonS3Test.php
6161
- name: S3 logs

.github/workflows/s3-primary.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
- master
77
- stable*
88

9-
109
jobs:
1110
s3-primary-tests-minio:
1211
runs-on: ubuntu-latest
@@ -52,9 +51,9 @@ jobs:
5251
- name: Wait for S3
5352
run: |
5453
sleep 10
55-
curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 1 http://localhost:9000/minio/health/ready
54+
curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 10 http://localhost:9000/minio/health/ready
5655
sleep 10
57-
curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 1 http://localhost:9000/minio/health/ready
56+
curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 10 http://localhost:9000/minio/health/ready
5857
5958
- name: PHPUnit
6059
working-directory: tests

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ jobs:
2727
exempt-issue-labels: '1. to develop,2. developing,3. to review,4. to release,security'
2828
days-before-stale: 30
2929
days-before-close: 14
30-
debug-only: true
30+
# debug-only: true
3131

.github/workflows/update-psalm-baseline.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,23 @@ name: Update Psalm baseline
33
on:
44
workflow_dispatch:
55
schedule:
6-
- cron: '5 4 * * *'
6+
- cron: "5 4 * * *"
77

88
jobs:
99
update-psalm-baseline:
1010
runs-on: ubuntu-latest
1111

12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
branches: ["master", "stable24", "stable23", "stable22"]
16+
17+
name: update-psalm-baseline-${{ matrix.branches }}
18+
1219
steps:
1320
- uses: actions/checkout@v2
1421
with:
22+
ref: ${{ matrix.branches }}
1523
submodules: true
1624

1725
- name: Set up php7.4
@@ -41,10 +49,8 @@ jobs:
4149
committer: GitHub <noreply@github.com>
4250
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
4351
signoff: true
44-
branch: automated/noid/psalm-baseline-update
45-
# Make sure we can open multiple PRs
46-
branch-suffix: timestamp
47-
title: '[Automated] Update psalm-baseline.xml'
52+
branch: automated/noid/${{ matrix.branches }}-update-psalm-baseline
53+
title: "[${{ matrix.branches }}] Update psalm-baseline.xml"
4854
body: |
4955
Auto-generated update psalm-baseline.xml with fixed psalm warnings
5056
labels: |

0 commit comments

Comments
 (0)