Skip to content

Commit 6625ff7

Browse files
authored
Merge pull request #78 from pdsinterop/feature/nextcloud-24
Feature/nextcloud 24
2 parents 5289835 + 9adfcbc commit 6625ff7

21 files changed

Lines changed: 916 additions & 694 deletions

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM nextcloud:21
1+
FROM nextcloud:24.0.1
22
COPY site.conf /etc/apache2/sites-enabled/000-default.conf
33
RUN a2enmod ssl
44
RUN mkdir /tls
@@ -18,7 +18,6 @@ ADD ./solid /usr/src/nextcloud/apps/solid
1818
# Run composer:
1919
WORKDIR /usr/src/nextcloud/apps/solid
2020
RUN ls
21-
RUN php /install/composer.phar require lcobucci/jwt:3.3.3
2221
RUN php /install/composer.phar update
2322
RUN php /install/composer.phar install --no-dev --prefer-dist
2423
WORKDIR /var/www/html

init.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ 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 '96 i\ RewriteRule ^\\.well-known/openid-configuration /apps/solid/openid [R=302,L]' /var/www/html/.htaccess
76
sed -i "25 i\ 1 => 'server'," /var/www/html/config/config.php
87
sed -i "26 i\ 2 => 'nextcloud.local'," /var/www/html/config/config.php
98
sed -i "27 i\ 3 => 'thirdparty'," /var/www/html/config/config.php

site.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
Header always set Access-Control-Allow-Origin %{AccessControlAllowOrigin}e env=AccessControlAllowOrigin
1313

1414
Header always set Access-Control-Allow-Credentials true
15-
Header always set Access-Control-Allow-Headers "*, allow, authorization, content-type, dpop, slug"
15+
Header always set Access-Control-Allow-Headers "*, allow, accept, authorization, content-type, dpop, slug"
1616
Header always set Access-Control-Allow-Methods "GET, PUT, POST, OPTIONS, DELETE, PATCH"
17-
Header always set Accept-Patch: application/sparql-update
17+
Header always set Accept-Patch: text/n3
1818
Header always set Access-Control-Expose-Headers "Authorization, User, Location, Link, Vary, Last-Modified, ETag, Accept-Patch, Accept-Post, Updates-Via, Allow, WAC-Allow, Content-Length, WWW-Authenticate, MS-Author-Via"
1919
</VirtualHost>

solid/appinfo/app.php

Lines changed: 0 additions & 5 deletions
This file was deleted.

solid/appinfo/info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ IMPORTANT: See https://github.com/pdsinterop/solid-nextcloud/blob/main/INSTALL.m
1818
<category>integration</category>
1919
<bugs>https://github.com/pdsinterop/solid-nextcloud/issues</bugs>
2020
<dependencies>
21-
<nextcloud min-version="15" max-version="25"/>
21+
<nextcloud min-version="24" max-version="24"/>
2222
</dependencies>
2323
<settings>
2424
<admin>OCASolidSettings</admin>

solid/appinfo/routes.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
['name' => 'page#handleApproval', 'url' => '/sharing/{clientId}', 'verb' => 'POST'],
1616
['name' => 'page#dataJson', 'url' => '/@{userId}/data.json', 'verb' => 'GET' ],
1717

18-
['name' => 'server#openid', 'url' => '/openid', 'verb' => 'GET'],
1918
['name' => 'server#cors', 'url' => '/{path}', 'verb' => 'OPTIONS', 'requirements' => array('path' => '.+') ],
2019
['name' => 'server#authorize', 'url' => '/authorize', 'verb' => 'GET'],
2120
['name' => 'server#jwks', 'url' => '/jwks', 'verb' => 'GET'],

solid/composer.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,17 @@
2121
}
2222
],
2323
"require": {
24-
"php": "^7.3",
24+
"php": "^8.0",
2525
"ext-json": "*",
2626
"ext-openssl": "*",
27-
"easyrdf/easyrdf": "^0.9.1",
28-
"laminas/laminas-diactoros": "^2.4",
29-
"lcobucci/jwt": "3.3.3",
30-
"pdsinterop/flysystem-nextcloud":"^0.1",
31-
"pdsinterop/flysystem-rdf": "^0.3",
32-
"pdsinterop/solid-auth": "^v0.6.3",
33-
"pdsinterop/solid-crud": "^0.3"
27+
"easyrdf/easyrdf": "^1.1.1",
28+
"laminas/laminas-diactoros": "^2.8",
29+
"lcobucci/jwt": "^4.1",
30+
"pdsinterop/flysystem-nextcloud":"^0.2",
31+
"pdsinterop/flysystem-rdf": "^0.5",
32+
"pdsinterop/solid-auth": "^0.7",
33+
"pdsinterop/solid-crud": "^0.6",
34+
"psr/log" : "^1.1"
3435
},
3536
"require-dev": {
3637
"phpunit/phpunit": "^8 || ^9"

0 commit comments

Comments
 (0)