Skip to content

Commit 7e6d6c6

Browse files
authored
Merge pull request #142 from pdsinterop/feature/nextcloud26
Update to support up to Nextcloud 27
2 parents 407822f + 6c6dc90 commit 7e6d6c6

File tree

4 files changed

+14
-10
lines changed

4 files changed

+14
-10
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
# Latest is not tested here, as that could cause failures unrelated to project changes
3636
nextcloud_version:
3737
- 25
38+
- 26
39+
- 27
3840

3941
steps:
4042
- name: Create docker tag from git reference
@@ -81,13 +83,15 @@ jobs:
8183
matrix:
8284
nextcloud_version:
8385
- 25
86+
- 26
87+
- 27
8488
test:
8589
- 'solidtestsuite/solid-crud-tests:v7.0.5'
8690
- 'solidtestsuite/web-access-control-tests:v7.1.0'
8791
- 'solidtestsuite/webid-provider-tests:v2.1.0'
8892

8993
# Prevent EOL or non-stable versions of Nextcloud to fail the test-suite
90-
continue-on-error: ${{ contains(fromJson('[25]'), matrix.nextcloud_version) == false }}
94+
continue-on-error: ${{ contains(fromJson('[25,26,27]'), matrix.nextcloud_version) == false }}
9195

9296
steps:
9397
- name: Create docker tag from git reference

init-live.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ export PHP_MEMORY_LIMIT="512M"
33
php console.php maintenance:install --admin-user admin --admin-pass $MARIADB_ROOT_PASSWORD --database "mysql" --database-name "nextcloud" --database-user "root" --database-pass "$MARIADB_ROOT_PASSWORD" --database-host "127.0.0.1"
44
php console.php status
55
php console.php app:enable solid
6-
sed -i "25 i\ 1 => 'server'," /var/www/html/config/config.php
7-
sed -i "26 i\ 2 => 'nextcloud.local'," /var/www/html/config/config.php
8-
sed -i "27 i\ 3 => 'thirdparty'," /var/www/html/config/config.php
9-
sed -i "28 i\ 4 => '$HOST'," /var/www/html/config/config.php
6+
php console.php config:system:set trusted_domains 1 --value=server
7+
php console.php config:system:set trusted_domains 2 --value=nextcloud.local
8+
php console.php config:system:set trusted_domains 3 --value=thirdparty
9+
php console.php config:system:set trusted_domains 4 --value=$HOST
1010
echo configured

init.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export PHP_MEMORY_LIMIT="512M"
33
php console.php maintenance:install --admin-user alice --admin-pass alice123
44
php console.php status
55
php console.php app:enable solid
6-
sed -i "25 i\ 1 => 'server'," /var/www/html/config/config.php
7-
sed -i "26 i\ 2 => 'nextcloud.local'," /var/www/html/config/config.php
8-
sed -i "27 i\ 3 => 'thirdparty'," /var/www/html/config/config.php
6+
php console.php config:system:set trusted_domains 1 --value=server
7+
php console.php config:system:set trusted_domains 2 --value=nextcloud.local
8+
php console.php config:system:set trusted_domains 3 --value=thirdparty
99
echo configured

solid/appinfo/info.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ It supports the webid-oidc-dpop-pkce login flow to connect to a Solid App with y
1111
When you do this, the Solid App can store data in your Nextcloud account through the Solid protocol.
1212
IMPORTANT: See https://github.com/pdsinterop/solid-nextcloud/blob/main/INSTALL.md for additional install instructions!
1313
]]></description>
14-
<version>0.7.2</version>
14+
<version>0.7.3</version>
1515
<licence>agpl</licence>
1616
<author mail="auke@muze.nl" >Auke van Slooten</author>
1717
<namespace>Solid</namespace>
1818
<category>integration</category>
1919
<bugs>https://github.com/pdsinterop/solid-nextcloud/issues</bugs>
2020
<dependencies>
21-
<nextcloud min-version="25" max-version="25"/>
21+
<nextcloud min-version="25" max-version="27"/>
2222
</dependencies>
2323
<settings>
2424
<admin>\OCA\Solid\Settings</admin>

0 commit comments

Comments
 (0)