Skip to content
Closed

Stable22 #35462

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1802 commits
Select commit Hold shift + click to select a range
893619b
[tx-robot] updated from transifex
nextcloud-bot Jun 14, 2022
84b1a6e
Run php tests when 3rdparty changed
kesselb Jun 10, 2022
f3872c6
[tx-robot] updated from transifex
nextcloud-bot Jun 15, 2022
28b3be9
Merge pull request #32845 from nextcloud/backport/32685/stable22
ChristophWurst Jun 15, 2022
bdb15df
Make sure ResetTokenBackgroundJob doesn't execute if config is read-only
tcitworld May 25, 2022
7050cbc
Use OCP version of TimedJob instead of OC for ResetTokenBackgroundJob
tcitworld May 25, 2022
0184352
Update tests after ResetTokenBackgroundJob changes
tcitworld May 25, 2022
ca35739
[tx-robot] updated from transifex
nextcloud-bot Jun 16, 2022
7ffcca7
[tx-robot] updated from transifex
nextcloud-bot Jun 17, 2022
3226f0c
Revert "[stable22] Fix replacing external storage password during deb…
blizzz Jun 17, 2022
8a3c19f
Mention missing files subdir
bill-mcgonigle Jun 14, 2022
6f1b612
add serializer test
blizzz Jun 15, 2022
bf54874
fix overwriting original vars when logging
blizzz Jun 16, 2022
f9270b2
make placeholder a const for reuse
blizzz Jun 16, 2022
b74d8b9
Merge pull request #32905 from nextcloud/backport/32898/stable22
blizzz Jun 17, 2022
3e64e3e
Merge pull request #32917 from nextcloud/revert-32845-backport/32685/…
blizzz Jun 17, 2022
be0305f
[tx-robot] updated from transifex
nextcloud-bot Jun 18, 2022
04b3bd0
[tx-robot] updated from transifex
nextcloud-bot Jun 19, 2022
a57359d
[tx-robot] updated from transifex
nextcloud-bot Jun 20, 2022
c23d051
22.2.9
blizzz Jun 17, 2022
b25810e
Merge pull request #32914 from nextcloud/release/22.2.9
blizzz Jun 20, 2022
2c084ec
[tx-robot] updated from transifex
nextcloud-bot Jun 21, 2022
2182b45
Merge pull request #32816 from nextcloud/seeakble-http-stream-wrapper…
icewind1991 Jun 21, 2022
f861a99
[tx-robot] updated from transifex
nextcloud-bot Jun 22, 2022
673cef9
Use stored user for PasswordUpdatedEvent
artonge Apr 19, 2022
6ee1265
[tx-robot] updated from transifex
nextcloud-bot Jun 23, 2022
6fc8060
Improve local domain detection
come-nc Jun 23, 2022
9d24c2d
[tx-robot] updated from transifex
nextcloud-bot Jun 24, 2022
d427ea1
Merge pull request #32918 from nextcloud/backport/32874/stable22
blizzz Jun 24, 2022
4b744e0
Merge pull request #32872 from nextcloud/backport/32813/stable22
blizzz Jun 24, 2022
50dc873
Merge pull request #32992 from nextcloud/backport/32988/stable22
blizzz Jun 24, 2022
b468800
Fix email shares not being shown to other users
st3iny Jun 3, 2022
9834af4
Update guzzlehttp/guzzle requirement in /build/integration
dependabot[bot] Jun 25, 2022
7bb9354
[tx-robot] updated from transifex
nextcloud-bot Jun 25, 2022
3008908
[tx-robot] updated from transifex
nextcloud-bot Jun 27, 2022
57c2a8a
Use unique key to prevent email component reuse
Pytal Mar 2, 2022
567a597
[tx-robot] updated from transifex
nextcloud-bot Jun 28, 2022
f126c00
[tx-robot] updated from transifex
nextcloud-bot Jun 29, 2022
1f5dbfa
[tx-robot] updated from transifex
nextcloud-bot Jun 30, 2022
3fbd7a6
Check whether entry is of type ICacheEntry in Cache->remove()
mejo- Jun 28, 2022
a3cc499
[tx-robot] updated from transifex
nextcloud-bot Jul 1, 2022
51c8273
Merge pull request #33060 from nextcloud/backport/33050/stable22
tobiasKaminsky Jul 1, 2022
b814f42
Merge pull request #32605 from nextcloud/backport/32575/stable22
szaimen Jul 1, 2022
85ec1df
[tx-robot] updated from transifex
nextcloud-bot Jul 2, 2022
eb1f2f3
[tx-robot] updated from transifex
nextcloud-bot Jul 3, 2022
d2b16ce
[tx-robot] updated from transifex
nextcloud-bot Jul 4, 2022
6c76080
[tx-robot] updated from transifex
nextcloud-bot Jul 5, 2022
1c83b2b
Merge pull request #32976 from nextcloud/backport/32016/stable22
blizzz Jul 5, 2022
bed1648
Remove .php from url
CarlSchwan Jun 21, 2022
5115148
Fix 404 when using index.php in the url
CarlSchwan Jul 5, 2022
3d6f228
add missing GET param to getstoragestats url
Jul 5, 2022
1bac3c5
Fix translation of home breadcrumb
Pytal Jul 4, 2022
7893e5a
22.2.10 RC1
skjnldsv Jul 5, 2022
c1f2eca
Merge pull request #33117 from nextcloud/backport/33113/stable22
CarlSchwan Jul 5, 2022
112ea18
[tx-robot] updated from transifex
nextcloud-bot Jul 6, 2022
6509c84
Merge pull request #32681 from nextcloud/backport/32510/stable22
blizzz Jul 6, 2022
4a7775f
Merge pull request #32793 from nextcloud/backport/32675/stable22
blizzz Jul 6, 2022
90d603d
Merge pull request #32891 from nextcloud/backport/32584/stable22
blizzz Jul 6, 2022
47d5c62
Merge pull request #33017 from nextcloud/dependabot/composer/build/in…
blizzz Jul 6, 2022
cacd997
Update sabre/dav requirement from 4.3.1 to 4.4.0 in /build/integration
dependabot[bot] Jul 6, 2022
d710831
Merge pull request #33121 from nextcloud/backport/33109/stable22
blizzz Jul 6, 2022
9acc1ea
Fix quota text shown escaped
danxuliu Jun 23, 2022
117e417
Fix quota text not updated when no quota is set
danxuliu Jun 23, 2022
f19b44d
Fix quota text not updated after copying or moving a file
danxuliu Jun 23, 2022
02e432a
Merge pull request #33134 from nextcloud/backport/32993/stable22
blizzz Jul 6, 2022
bdf84c4
Do not save invalid display name to the database
Pytal Jun 28, 2022
1732740
Prevent duplicate set display name request
Pytal Jun 28, 2022
6940f4e
Fix unit tests
nickvergessen Jul 6, 2022
7005ac8
Merge pull request #33145 from nextcloud/backport/33052/stable22
Pytal Jul 6, 2022
3736cbd
[tx-robot] updated from transifex
nextcloud-bot Jul 7, 2022
3adddae
Update psalm baseline
nextcloud-command Jul 7, 2022
b141d39
Allow to disable password policy enforcement for selected groups
CarlSchwan Feb 15, 2022
762e080
Merge pull request #33151 from nextcloud/automated/noid/stable22-upda…
skjnldsv Jul 7, 2022
6b20c90
Merge pull request #33152 from nextcloud/backport/33114/stable22
skjnldsv Jul 7, 2022
92154d0
Merge pull request #33003 from nextcloud/backport/32719/stable22
skjnldsv Jul 7, 2022
28259ad
Merge pull request #33037 from nextcloud/backport/31345/stable22
skjnldsv Jul 7, 2022
936fc22
Merge pull request #33094 from nextcloud/dependabot/composer/build/in…
blizzz Jul 7, 2022
4398bb9
Fix hook encryption with cron job
CarlSchwan Mar 31, 2022
3b2d69c
Add settings to not match userID during full match
artonge May 10, 2022
1d6ecf4
Tweak tests to include shareapi_restrict_user_enumeration_full_match_…
artonge Apr 11, 2022
752a9fa
Add settings to ignore second display name in search
artonge May 10, 2022
3ecb7da
Add setting to ignore email during search
artonge Apr 13, 2022
831937e
Use share setting in DAV search
artonge Apr 13, 2022
2f2b8ef
Use email settings in DAV search
artonge Apr 19, 2022
7a454a7
FInish backport to stable22 of #32322
artonge Jun 27, 2022
30d72b5
Restore enforceLinkPassword
artonge Jul 7, 2022
444c69a
Merge pull request #33122 from nextcloud/release/22.2.10_rc1
skjnldsv Jul 7, 2022
f010a72
Merge pull request #32996 from nextcloud/backport/32322/stable22
artonge Jul 7, 2022
7060ebb
[tx-robot] updated from transifex
nextcloud-bot Jul 8, 2022
cfc5060
22.2.10 RC2
skjnldsv Jul 8, 2022
5b2aaf8
Merge pull request #33167 from nextcloud/release/22.2.10_rc2
skjnldsv Jul 8, 2022
015de2c
Update behat/behat requirement in /build/integration
dependabot[bot] Jul 9, 2022
e5f411e
[tx-robot] updated from transifex
nextcloud-bot Jul 9, 2022
096eb4e
[tx-robot] updated from transifex
nextcloud-bot Jul 10, 2022
e8c093e
[tx-robot] updated from transifex
nextcloud-bot Jul 11, 2022
cd6dae2
[tx-robot] updated from transifex
nextcloud-bot Jul 12, 2022
ebe48f4
load widgets only of enabled apps
blizzz Jun 22, 2022
a51b7fe
avoid early DI of IAppManager
blizzz Jun 22, 2022
f744a0c
fix lint issues, stay compatible with php7.3
Jul 12, 2022
1ea835d
[tx-robot] updated from transifex
nextcloud-bot Jul 13, 2022
f4b4e9b
[tx-robot] updated from transifex
nextcloud-bot Jul 14, 2022
b4ca1c2
[tx-robot] updated from transifex
nextcloud-bot Jul 15, 2022
1a719d8
[tx-robot] updated from transifex
nextcloud-bot Jul 16, 2022
d7c08d6
[tx-robot] updated from transifex
nextcloud-bot Jul 17, 2022
4a23725
[tx-robot] updated from transifex
nextcloud-bot Jul 18, 2022
ac3f8f8
22.2.10
blizzz Jul 18, 2022
b3b27e3
Merge pull request #33258 from nextcloud/release/22.2.10
blizzz Jul 18, 2022
e98b2a7
[tx-robot] updated from transifex
nextcloud-bot Jul 19, 2022
c12ef75
[tx-robot] updated from transifex
nextcloud-bot Jul 20, 2022
301f1a5
[tx-robot] updated from transifex
nextcloud-bot Jul 21, 2022
8077957
[tx-robot] updated from transifex
nextcloud-bot Jul 22, 2022
a28bc97
[tx-robot] updated from transifex
nextcloud-bot Jul 23, 2022
3e45431
[tx-robot] updated from transifex
nextcloud-bot Jul 24, 2022
afcff36
[tx-robot] updated from transifex
nextcloud-bot Jul 25, 2022
29050bb
[tx-robot] updated from transifex
nextcloud-bot Jul 26, 2022
c0be5cc
Improve local IP detection
come-nc Jun 27, 2022
4b2fc65
Refactor local IP if and set strict to true for in_array
come-nc Jun 28, 2022
81c18a8
Check for local IPs nested in IPv6 as well
come-nc Jun 28, 2022
f4988d8
Use Symfony IpUtils to check for local IP ranges
come-nc Jul 12, 2022
f1fdc90
Copy IpUtils from Symfony to avoid new dependency on backport
come-nc Aug 1, 2022
6de71bd
Align copied file with our code style
come-nc Aug 1, 2022
3b42eb0
Remove call to undefined function, fix typing
come-nc Aug 1, 2022
e75a4d9
Fix autoloader
come-nc Aug 1, 2022
2cb8b27
Backport guzzle fixes
CarlSchwan Aug 1, 2022
304ecf8
Merge pull request #33419 from nextcloud/patch-guzzle-stable22
CarlSchwan Aug 2, 2022
4f02d95
Merge pull request #33355 from nextcloud/backport/33031/stable22
PVince81 Aug 3, 2022
5dcf856
handle AccessDenied error when checking if external s3 support versions
mgallien Jul 19, 2022
27c2e07
[tx-robot] updated from transifex
nextcloud-bot Aug 5, 2022
624d6cf
[tx-robot] updated from transifex
nextcloud-bot Aug 6, 2022
3c92b1a
[tx-robot] updated from transifex
nextcloud-bot Aug 7, 2022
7115ef2
[tx-robot] updated from transifex
nextcloud-bot Aug 8, 2022
40d0a00
[tx-robot] updated from transifex
nextcloud-bot Aug 9, 2022
28a5f29
[tx-robot] updated from transifex
nextcloud-bot Aug 10, 2022
364930d
[tx-robot] updated from transifex
nextcloud-bot Aug 11, 2022
6c053ea
[tx-robot] updated from transifex
nextcloud-bot Aug 12, 2022
54ecf44
[tx-robot] updated from transifex
nextcloud-bot Aug 13, 2022
e5c675d
[tx-robot] updated from transifex
nextcloud-bot Aug 14, 2022
b7d4b8a
[tx-robot] updated from transifex
nextcloud-bot Aug 15, 2022
476a49d
[tx-robot] updated from transifex
nextcloud-bot Aug 16, 2022
c208a5b
[tx-robot] updated from transifex
nextcloud-bot Aug 17, 2022
eb2234c
[tx-robot] updated from transifex
nextcloud-bot Aug 18, 2022
42acad1
Do not update passwords if nothing changed
juliusknorr Aug 8, 2022
701c424
[tx-robot] updated from transifex
nextcloud-bot Aug 20, 2022
597b290
[tx-robot] updated from transifex
nextcloud-bot Aug 21, 2022
e76a7eb
[stable22] add 10.6
szaimen Aug 18, 2022
c725c7e
[tx-robot] updated from transifex
nextcloud-bot Aug 22, 2022
29c15de
Merge pull request #33613 from nextcloud/backport/33485/stable22
PVince81 Aug 22, 2022
19d7ee1
[tx-robot] updated from transifex
nextcloud-bot Aug 23, 2022
4149e74
Merge pull request #33607 from nextcloud/enh/noid/mariadb10.6-stable22
nickvergessen Aug 23, 2022
d09f30d
[tx-robot] updated from transifex
nextcloud-bot Aug 24, 2022
3685cc2
Update CRL
blizzz Aug 24, 2022
8266145
Bump @nextcloud/moment to 1.2.1
CarlSchwan Aug 2, 2022
1bd60e6
Fix plural usage in LDAP wizard
nickvergessen Aug 22, 2022
2dd9f28
Remove unused method
nickvergessen Aug 22, 2022
efdbbbd
Update node js ci job
CarlSchwan Aug 24, 2022
8d669e6
[tx-robot] updated from transifex
nextcloud-bot Aug 25, 2022
42c90f2
Merge pull request #33684 from nextcloud/backport/33667/stable22
blizzz Aug 25, 2022
e0c1a26
Merge pull request #33678 from nextcloud/backport/33624/stable22
blizzz Aug 25, 2022
1b82454
logger ignore args of sharepoint-related methods
blizzz Aug 25, 2022
b9556ae
Merge pull request #33437 from nextcloud/dependabot/npm_and_yarn/stab…
PVince81 Aug 25, 2022
80a7038
Merge pull request #33695 from nextcloud/backport/33689/stable22
blizzz Aug 25, 2022
ea39d85
[tx-robot] updated from transifex
nextcloud-bot Aug 26, 2022
a0ea9d0
[tx-robot] updated from transifex
nextcloud-bot Aug 27, 2022
f70667c
[tx-robot] updated from transifex
nextcloud-bot Aug 28, 2022
77a2647
[tx-robot] updated from transifex
nextcloud-bot Aug 29, 2022
f2e9f7f
[tx-robot] updated from transifex
nextcloud-bot Aug 30, 2022
6f2e44a
[tx-robot] updated from transifex
nextcloud-bot Aug 31, 2022
dc494ec
[tx-robot] updated from transifex
nextcloud-bot Sep 1, 2022
04cc17e
[tx-robot] updated from transifex
nextcloud-bot Sep 2, 2022
a1d042d
Merge pull request #33159 from nextcloud/backport/32987/stable22
CarlSchwan Sep 2, 2022
d107692
[tx-robot] updated from transifex
nextcloud-bot Sep 3, 2022
c5e2a89
[tx-robot] updated from transifex
nextcloud-bot Sep 4, 2022
d55c0a1
[tx-robot] updated from transifex
nextcloud-bot Sep 5, 2022
c20551c
Check calendar URI length before creation
miaulalala Jul 6, 2022
5671a46
Check address book URI length before creation
nickvergessen Aug 26, 2022
e6a3f0c
[tx-robot] updated from transifex
nextcloud-bot Sep 6, 2022
9bca0b3
I dug into it again, and the issue is much simpler than I previously …
artonge Sep 6, 2022
e04e967
[tx-robot] updated from transifex
nextcloud-bot Sep 7, 2022
e007550
[tx-robot] updated from transifex
nextcloud-bot Sep 8, 2022
ad68a6c
Merge pull request #33783 from nextcloud/backport/33139/stable22
blizzz Sep 8, 2022
d66dc3a
Merge pull request #33449 from nextcloud/backport/33280/stable22
blizzz Sep 8, 2022
d0920de
Merge pull request #33182 from nextcloud/dependabot/composer/build/in…
blizzz Sep 8, 2022
2be5fd5
Merge pull request #33208 from nextcloud/backport/32997/stable22
blizzz Sep 8, 2022
c18e8fa
[tx-robot] updated from transifex
nextcloud-bot Sep 9, 2022
9e97a7c
[tx-robot] updated from transifex
nextcloud-bot Sep 10, 2022
90d476b
[tx-robot] updated from transifex
nextcloud-bot Sep 11, 2022
204ba8f
[tx-robot] updated from transifex
nextcloud-bot Sep 13, 2022
07d8597
[tx-robot] updated from transifex
nextcloud-bot Sep 14, 2022
1e1c5f8
[tx-robot] updated from transifex
nextcloud-bot Sep 15, 2022
dbc49fd
[tx-robot] updated from transifex
nextcloud-bot Sep 16, 2022
c592b1e
[tx-robot] updated from transifex
nextcloud-bot Sep 17, 2022
91f2727
[tx-robot] updated from transifex
nextcloud-bot Sep 18, 2022
e28940c
[tx-robot] updated from transifex
nextcloud-bot Sep 19, 2022
4a78999
[tx-robot] updated from transifex
nextcloud-bot Sep 20, 2022
d9a5db9
Update CA certificate bundle
nextcloud-command Sep 20, 2022
15a347e
Merge pull request #34129 from nextcloud/automated/noid/stable22-upda…
PVince81 Sep 20, 2022
5c31a57
[tx-robot] updated from transifex
nextcloud-bot Sep 21, 2022
f871e0e
[tx-robot] updated from transifex
nextcloud-bot Sep 22, 2022
04f9f55
[tx-robot] updated from transifex
nextcloud-bot Sep 23, 2022
dbaa099
[tx-robot] updated from transifex
nextcloud-bot Sep 24, 2022
ccf7537
[tx-robot] updated from transifex
nextcloud-bot Sep 25, 2022
b59110e
[tx-robot] updated from transifex
nextcloud-bot Sep 26, 2022
ecda53e
[tx-robot] updated from transifex
nextcloud-bot Sep 27, 2022
5eb3059
[tx-robot] updated from transifex
nextcloud-bot Sep 28, 2022
7703848
[tx-robot] updated from transifex
nextcloud-bot Sep 29, 2022
0303d67
[tx-robot] updated from transifex
nextcloud-bot Sep 30, 2022
3be40fb
[tx-robot] updated from transifex
nextcloud-bot Oct 1, 2022
b1a8436
[tx-robot] updated from transifex
nextcloud-bot Oct 2, 2022
8bd8733
[tx-robot] updated from transifex
nextcloud-bot Oct 3, 2022
c89fafb
Url encode the web dav url for copying
miaulalala Sep 27, 2022
abc9948
[tx-robot] updated from transifex
nextcloud-bot Oct 4, 2022
4c12512
[tx-robot] updated from transifex
nextcloud-bot Oct 5, 2022
3278dd6
[tx-robot] updated from transifex
nextcloud-bot Oct 6, 2022
6e3b26f
Merge pull request #33923 from nextcloud/backport/33813/stable22
blizzz Oct 6, 2022
1ece16a
[tx-robot] updated from transifex
nextcloud-bot Oct 7, 2022
cc45ee6
[tx-robot] updated from transifex
nextcloud-bot Oct 8, 2022
44b83e6
[tx-robot] updated from transifex
nextcloud-bot Oct 9, 2022
7a1fa90
[tx-robot] updated from transifex
nextcloud-bot Oct 11, 2022
8bddfd3
Update CA certificate bundle
nextcloud-command Oct 11, 2022
bd3c3c5
Merge pull request #34519 from nextcloud/automated/noid/stable22-upda…
nickvergessen Oct 11, 2022
32f704b
Fix password length limitation
nickvergessen Oct 10, 2022
81081ff
[tx-robot] updated from transifex
nextcloud-bot Oct 12, 2022
6e91736
Merge pull request #34534 from nextcloud/backport/34500/stable22
nickvergessen Oct 12, 2022
33bdd10
[tx-robot] updated from transifex
nextcloud-bot Oct 13, 2022
07e9aa8
[tx-robot] updated from transifex
nextcloud-bot Oct 14, 2022
cb9135c
[tx-robot] updated from transifex
nextcloud-bot Oct 15, 2022
85065e3
[tx-robot] updated from transifex
nextcloud-bot Oct 16, 2022
ffc2061
[tx-robot] updated from transifex
nextcloud-bot Oct 17, 2022
b9458cd
[tx-robot] updated from transifex
nextcloud-bot Oct 18, 2022
194a4be
[tx-robot] updated from transifex
nextcloud-bot Oct 19, 2022
0e713b2
[tx-robot] updated from transifex
nextcloud-bot Oct 20, 2022
9b77a3e
Merge pull request #34384 from nextcloud/backport/34289/stable22
blizzz Oct 20, 2022
8a61b30
[tx-robot] updated from transifex
nextcloud-bot Oct 21, 2022
666b641
[tx-robot] updated from transifex
nextcloud-bot Oct 22, 2022
b9e5816
[tx-robot] updated from transifex
nextcloud-bot Oct 23, 2022
7866156
[tx-robot] updated from transifex
nextcloud-bot Oct 24, 2022
8b93127
[tx-robot] updated from transifex
nextcloud-bot Oct 25, 2022
f918c73
[tx-robot] updated from transifex
nextcloud-bot Oct 26, 2022
6726447
[tx-robot] updated from transifex
nextcloud-bot Oct 27, 2022
9253e4a
[tx-robot] updated from transifex
nextcloud-bot Oct 28, 2022
b9a1e14
[tx-robot] updated from transifex
nextcloud-bot Oct 29, 2022
c3898df
[tx-robot] updated from transifex
nextcloud-bot Oct 30, 2022
72af466
[tx-robot] updated from transifex
nextcloud-bot Oct 31, 2022
3d05336
[tx-robot] updated from transifex
nextcloud-bot Nov 1, 2022
bc048b8
[tx-robot] updated from transifex
nextcloud-bot Nov 2, 2022
d85f640
[tx-robot] updated from transifex
nextcloud-bot Nov 3, 2022
3590512
[tx-robot] updated from transifex
nextcloud-bot Nov 4, 2022
c10b2fb
Fix duplicate event email notifications
st3iny Nov 1, 2022
5c0c346
Merge pull request #35021 from nextcloud/backport/34909/stable22
PVince81 Nov 24, 2022
7862a63
Cap node version to 16
artonge Nov 28, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
codecov:
branch: master
branch: stable22
ci:
- drone.nextcloud.com
- !scrutinizer-ci.com
Expand Down
127 changes: 85 additions & 42 deletions .drone.yml

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions .github/workflows/block-merge-eol.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization

name: Pull request checks

on: pull_request

jobs:
block-merges-eol:
name: Block merges for EOL branches

# Only run on stableXX branches
if: startsWith( github.base_ref, 'stable')
runs-on: ubuntu-latest

steps:
- name: Download updater config
run: curl https://raw.githubusercontent.com/nextcloud/updater_server/production/config/config.php --output config.php

- name: Set server major version environment
run: |
# retrieve version number from branch reference
server_major=$(echo "${{ github.base_ref }}" | sed -En 's/stable//p')
echo "server_major=$server_major" >> $GITHUB_ENV

- name: Checking if ${{ env.server_major }} is EOL
run: |
php -r 'echo json_encode(require_once "config.php");' | jq --arg version "${{ env.server_major }}" '.stable[$version]["100"].eol' | grep --silent -i 'false'
21 changes: 21 additions & 0 deletions .github/workflows/block-merge-freeze.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization

name: Pull request checks

on: pull_request

jobs:
block-merges-during-freeze:
name: Block merges during feature freezes

runs-on: ubuntu-latest

steps:
- name: Download version.php from ${{ github.base_ref }}
run: curl https://raw.githubusercontent.com/nextcloud/server/${{ github.base_ref }}/version.php --output version.php

- name: Run check
run: cat version.php | grep 'OC_VersionString' | grep -i -v 'RC'
20 changes: 14 additions & 6 deletions .github/workflows/dependabot-approve-merge.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,29 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization

name: Dependabot
on: pull_request_target

on:
pull_request_target:
branches:
- master
- stable*

jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
# Default github action approve
- uses: hmarr/auto-approve-action@v2.0.0
if: github.ref == 'refs/heads/master' &&
(github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]')
- uses: hmarr/auto-approve-action@v2
if: github.actor == 'dependabot[bot]'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

# Nextcloud bot approve and merge request
- uses: ahmadnassri/action-dependabot-auto-merge@v2
if: github.ref == 'refs/heads/master' &&
(github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]')
if: github.actor == 'dependabot[bot]'
with:
target: minor
github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php-versions }}
extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
extensions: ctype,curl,dom,fileinfo,gd,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
- name: Lint
run: composer run lint
Expand All @@ -30,7 +30,7 @@ jobs:
uses: shivammathur/setup-php@master
with:
php-version: 7.4
extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
extensions: ctype,curl,dom,fileinfo,gd,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
tools: cs2pr
- name: Install dependencies
Expand Down
92 changes: 92 additions & 0 deletions .github/workflows/node-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
name: Node

on:
pull_request:
push:
branches:
- master
- stable*

jobs:
versions:
runs-on: ubuntu-latest
outputs:
nodeVersion: ${{ steps.versions.outputs.nodeVersion }}
npmVersion: ${{ steps.versions.outputs.npmVersion }}

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@v1.1
id: versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'

test:
runs-on: ubuntu-latest
needs: versions

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@v2
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}

- name: Set up npm ${{ needs.versions.outputs.npmVersion }}
run: npm i -g npm@"${{ needs.versions.outputs.npmVersion }}"

- name: Install dependencies
run: npm ci

- name: Test
run: npm run test

jsunit:
runs-on: ubuntu-latest
needs: versions

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@v2
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}

- name: Set up npm ${{ needs.versions.outputs.npmVersion }}
run: npm i -g npm@"${{ needs.versions.outputs.npmVersion }}"

- name: Install dependencies
run: npm ci

- name: Test
run: ./autotest-js.sh

handlebars:
runs-on: ubuntu-latest
needs: versions

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@v2
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}

- name: Set up npm ${{ needs.versions.outputs.npmVersion }}
run: npm i -g npm@"${{ needs.versions.outputs.npmVersion }}"

- name: Install dependencies
run: npm ci

- name: Run compile
run: ./build/compile-handlebars-templates.sh
99 changes: 39 additions & 60 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
@@ -1,79 +1,58 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization

name: Node

on:
pull_request:
push:
branches:
- main
- master
- stable*

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x]

steps:
- uses: actions/checkout@v2
- name: Use node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies & build
run: |
make clean
npm ci
npm run build --if-present
- name: Check webpack build changes
run: |
bash -c "[[ ! \"`git status --porcelain `\" ]] || ( echo 'Uncommited changes in webpack build' && git status && exit 1 )"
env:
CI: true

test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
name: node
steps:
- uses: actions/checkout@v2
- name: Use node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
npm ci
- name: Test
run: npm run test
- name: Checkout
uses: actions/checkout@v3

jsunit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Test
run: ./autotest-js.sh
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@v1.2
id: versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'

handlebars:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use node ${{ matrix.node-version }}
uses: actions/setup-node@v1
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
node-version: ${{ steps.versions.outputs.nodeVersion }}

- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"

- name: Install dependencies & build
run: |
npm ci
- name: Run compile
run: ./build/compile-handlebars-templates.sh
npm run build --if-present

- name: Check webpack build changes
run: |
bash -c "[[ ! \"`git status --porcelain `\" ]] || (echo 'Please recompile and commit the assets, see the section \"Show changes on failure\" for details' && exit 1)"

- name: Show changes on failure
if: failure()
run: |
git status
git --no-pager diff
exit 1 # make it red to grab attention

2 changes: 1 addition & 1 deletion .github/workflows/oci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,oci8,openssl,pdo_sqlite,posix,sqlite,xml,zip
extensions: ctype,curl,dom,fileinfo,gd,intl,json,mbstring,oci8,openssl,pdo_sqlite,posix,sqlite,xml,zip
tools: phpunit:8.5.2
coverage: none

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/psalm-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
submodules: recursive
- name: Psalm
uses: docker://vimeo/psalm-github-actions
uses: docker://vimeo/psalm-github-actions:4.9.3
continue-on-error: true
with:
composer_ignore_platform_reqs: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/psalm-security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
submodules: recursive
- name: Psalm
uses: docker://vimeo/psalm-github-actions
uses: docker://vimeo/psalm-github-actions:4.9.3
with:
security_analysis: true
composer_ignore_platform_reqs: false
Expand Down
Loading