Skip to content

Commit 1c09cfa

Browse files
committed
Merge branch 'master' into stable
2 parents 6c8c359 + 5804e84 commit 1c09cfa

65 files changed

Lines changed: 3744 additions & 2847 deletions

Some content is hidden

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

.github/dependabot.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ updates:
4343
- dependency-name: christophwurst/nextcloud
4444
versions:
4545
- 20.0.7
46+
cooldown:
47+
default-days: 7
4648
- package-ecosystem: npm
4749
directory: "/"
4850
schedule:
@@ -97,11 +99,15 @@ updates:
9799
- dependency-name: "@vue/test-utils"
98100
versions:
99101
- 1.1.3
102+
cooldown:
103+
default-days: 7
100104
- package-ecosystem: github-actions
101-
directory: "/"
105+
directory: ".github/workflows"
102106
schedule:
103107
interval: weekly
104108
day: saturday
105109
time: "03:00"
106110
timezone: Europe/Paris
107111
open-pull-requests-limit: 10
112+
cooldown:
113+
default-days: 7

.github/workflows/codeql.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ on:
1818
# The branches below must be a subset of the branches above
1919
branches: [ master ]
2020

21+
concurrency:
22+
group: codeql-${{ github.head_ref || github.run_id }}
23+
cancel-in-progress: true
24+
2125
jobs:
2226
analyze:
2327
name: Analyze
@@ -36,11 +40,13 @@ jobs:
3640

3741
steps:
3842
- name: Checkout repository
39-
uses: actions/checkout@v6
43+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
44+
with:
45+
persist-credentials: false
4046

4147
# Initializes the CodeQL tools for scanning.
4248
- name: Initialize CodeQL
43-
uses: github/codeql-action/init@v4
49+
uses: github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
4450
with:
4551
languages: ${{ matrix.language }}
4652
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -51,7 +57,7 @@ jobs:
5157
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5258
# If this step fails, then you should remove it and run the build manually (see below)
5359
- name: Autobuild
54-
uses: github/codeql-action/autobuild@v4
60+
uses: github/codeql-action/autobuild@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
5561

5662
# ℹ️ Command-line programs to run using the OS shell.
5763
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -65,4 +71,4 @@ jobs:
6571
# make release
6672

6773
- name: Perform CodeQL Analysis
68-
uses: github/codeql-action/analyze@v4
74+
uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2

.github/workflows/dependency-review.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,18 @@ on: [pull_request]
1010
permissions:
1111
contents: read
1212

13+
concurrency:
14+
group: dependency-review-${{ github.head_ref || github.run_id }}
15+
cancel-in-progress: true
16+
1317
jobs:
1418
dependency-review:
1519
runs-on: ubuntu-latest
1620
steps:
1721
- name: 'Checkout Repository'
18-
uses: actions/checkout@v6
22+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
23+
with:
24+
persist-credentials: false
25+
1926
- name: 'Dependency Review'
20-
uses: actions/dependency-review-action@v5
27+
uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5

.github/workflows/floccus.yml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ concurrency:
1919
group: floccus-tests-${{ github.head_ref || github.run_id }}
2020
cancel-in-progress: true
2121

22+
permissions:
23+
contents: read
24+
2225
jobs:
2326
init:
2427
runs-on: ubuntu-latest
@@ -33,22 +36,23 @@ jobs:
3336

3437
steps:
3538
- name: Checkout floccus
36-
uses: actions/checkout@v6
39+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3740
with:
41+
persist-credentials: false
3842
path: floccus
3943
ref: ${{ matrix.floccus-branch }}
4044
repository: floccusAddon/floccus
4145

4246
- name: Set up node ${{ matrix.node-version }}
43-
uses: actions/setup-node@v6
47+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
4448
with:
4549
node-version: ${{ matrix.node-version }}
4650

4751
- name: Set up npm ${{ matrix.npm-version }}
4852
run: npm i -g npm@"${{ matrix.npm-version }}"
4953

5054
- name: Cache node modules
51-
uses: actions/cache@v5
55+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
5256
env:
5357
cache-name: cache-node-modules
5458
with:
@@ -66,7 +70,7 @@ jobs:
6670
npm run build-release --if-present
6771
6872
- name: Save context
69-
uses: buildjet/cache/save@v4
73+
uses: buildjet/cache/save@3e70d19e31d6a8030aeddf6ed8dbe601f94d09f4 # v4.0.2
7074
with:
7175
key: floccus-context-${{ matrix.floccus-branch }}-${{ github.run_id }}
7276
path: ./
@@ -139,23 +143,24 @@ jobs:
139143
steps:
140144

141145
- name: Set up node ${{ matrix.node-version }}
142-
uses: actions/setup-node@v6
146+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
143147
with:
144148
node-version: ${{ matrix.node-version }}
145149

146150
- name: Set up npm ${{ matrix.npm-version }}
147151
run: npm i -g npm@"${{ matrix.npm-version }}"
148152

149153
- name: Restore context
150-
uses: buildjet/cache/restore@v4
154+
uses: buildjet/cache/restore@3e70d19e31d6a8030aeddf6ed8dbe601f94d09f4 # v4.0.2
151155
with:
152156
fail-on-cache-miss: true
153157
key: floccus-context-${{matrix.floccus-branch}}-${{ github.run_id }}
154158
path: ./
155159

156160
- name: Checkout bookmarks app
157-
uses: actions/checkout@v6
161+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
158162
with:
163+
persist-credentials: false
159164
path: ${{ env.APP_NAME }}
160165

161166
- name: Install bookmarks app
@@ -191,7 +196,7 @@ jobs:
191196
echo 'Waiting for the Grid'
192197
sleep 1
193198
done
194-
199+
195200
echo "Selenium Grid is up - executing tests"
196201
197202
- name: Run tests
@@ -203,7 +208,7 @@ jobs:
203208
npm run test
204209
205210
summary:
206-
runs-on: ubuntu-latest
211+
runs-on: ubuntu-latest-low
207212
needs: [ init, selenium ]
208213

209214
if: always()

.github/workflows/issues.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,30 @@ on:
77
env:
88
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
99

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
first_comment:
15+
permissions:
16+
issues: write
17+
1218
runs-on: ubuntu-latest
1319
name: Add first comment
1420
steps:
15-
- uses: ben-z/actions-comment-on-issue@1.0.3
21+
- uses: ben-z/actions-comment-on-issue@402eb412a8f396be0d4ac52a823ec7121206cc26 # 1.0.3
1622
with:
1723
message: |
1824
Hello :wave:
19-
25+
2026
Thank you for taking the time to open this issue with the bookmarks app. I know it's frustrating when software
2127
causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at
2228
and if possible solved.
2329
I'm Marcel and have been maintaining this software the last few years. I currently work for Nextcloud but maintain this app
2430
in my free time, because it is not an official Nextcloud product. My day job at Nextcloud is pretty awesome but sadly leaves me with
2531
less time for side projects like this one than I used to have.
2632
I still try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it.
27-
Until then, please be patient.
33+
Until then, please be patient.
2834
Note also that GitHub is a place where people meet to make software better *together*. Nobody here is under any obligation
2935
to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can
3036
collaborate to make this software better. For everyone.
@@ -34,7 +40,7 @@ jobs:
3440
One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the forum,
3541
to twitter or somewhere else. But this is a technical issue tracker, so please make sure to
3642
focus on the tech and keep your opinions to yourself. (Also see our [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/). Really.)
37-
43+
3844
I look forward to working with you on this issue
3945
Cheers :blue_heart:
4046
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/lint.yml

Lines changed: 38 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ on:
77
- master
88
- stable*
99

10+
permissions:
11+
contents: read
12+
13+
concurrency:
14+
group: lint-${{ github.head_ref || github.run_id }}
15+
cancel-in-progress: true
16+
1017
jobs:
1118
php:
1219
runs-on: ubuntu-latest
@@ -17,10 +24,13 @@ jobs:
1724

1825
name: php${{ matrix.php-versions }}
1926
steps:
20-
- uses: actions/checkout@v6
27+
- name: Checkout app
28+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
29+
with:
30+
persist-credentials: false
2131

2232
- name: Set up php ${{ matrix.php-versions }}
23-
uses: shivammathur/setup-php@v2
33+
uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # 2.37.1
2434
with:
2535
php-version: ${{ matrix.php-versions }}
2636
coverage: none
@@ -33,24 +43,26 @@ jobs:
3343

3444
strategy:
3545
matrix:
36-
php-versions: ['8.3']
46+
php-versions: ['8.5']
3747

3848
name: cs php${{ matrix.php-versions }}
3949
steps:
40-
- name: Checkout
41-
uses: actions/checkout@v6
50+
- name: Checkout app
51+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
52+
with:
53+
persist-credentials: false
4254

43-
- name: Set up php
44-
uses: shivammathur/setup-php@v2
45-
with:
46-
php-version: ${{ matrix.php-versions }}
47-
coverage: none
55+
- name: Set up php
56+
uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # 2.37.1
57+
with:
58+
php-version: ${{ matrix.php-versions }}
59+
coverage: none
4860

49-
- name: Install dependencies
50-
run: composer i
61+
- name: Install dependencies
62+
run: composer i --ignore-platform-req=php
5163

52-
- name: Run coding standards check
53-
run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )
64+
- name: Run coding standards check
65+
run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )
5466

5567
node:
5668
runs-on: ubuntu-latest
@@ -61,17 +73,20 @@ jobs:
6173

6274
name: eslint node${{ matrix.node-version }}
6375
steps:
64-
- uses: actions/checkout@v6
76+
- name: Checkout app
77+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
78+
with:
79+
persist-credentials: false
6580

6681
- name: Read package.json node and npm engines version
67-
uses: skjnldsv/read-package-engines-version-actions@v3
82+
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
6883
id: versions
6984
with:
7085
fallbackNode: '^12'
7186
fallbackNpm: '^6'
7287

7388
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
74-
uses: actions/setup-node@v6
89+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
7590
with:
7691
node-version: ${{ steps.versions.outputs.nodeVersion }}
7792

@@ -94,17 +109,20 @@ jobs:
94109

95110
name: stylelint node${{ matrix.node-version }}
96111
steps:
97-
- uses: actions/checkout@v6
112+
- name: Checkout app
113+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
114+
with:
115+
persist-credentials: false
98116

99117
- name: Read package.json node and npm engines version
100-
uses: skjnldsv/read-package-engines-version-actions@v3
118+
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
101119
id: versions
102120
with:
103121
fallbackNode: '^12'
104122
fallbackNpm: '^6'
105123

106124
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
107-
uses: actions/setup-node@v6
125+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
108126
with:
109127
node-version: ${{ steps.versions.outputs.nodeVersion }}
110128

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,9 @@
66
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
77
# SPDX-License-Identifier: MIT
88

9-
name: Node
9+
name: Build Javascript
1010

11-
on:
12-
pull_request:
13-
push:
14-
branches:
15-
- main
16-
- master
17-
- stable*
11+
on: pull_request
1812

1913
permissions:
2014
contents: read
@@ -59,7 +53,7 @@ jobs:
5953
name: NPM build
6054
steps:
6155
- name: Checkout
62-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
56+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
6357
with:
6458
persist-credentials: false
6559

0 commit comments

Comments
 (0)