Merge branch 'main' into versions/next-major

This commit is contained in:
Joachim Van Herwegen
2023-07-25 09:43:15 +02:00
39 changed files with 801 additions and 242 deletions

View File

@@ -12,6 +12,7 @@
"handlers": [
{ "@id": "urn:solid-server:default:Middleware" },
{
"@id": "urn:solid-server:default:BaseHttpHandler",
"@type": "WaterfallHandler",
"handlers": [
{ "@id": "urn:solid-server:default:StaticAssetHandler" },

View File

@@ -11,6 +11,7 @@
"handlers": [
{ "@id": "urn:solid-server:default:Middleware" },
{
"@id": "urn:solid-server:default:BaseHttpHandler",
"@type": "WaterfallHandler",
"handlers": [
{ "@id": "urn:solid-server:default:StaticAssetHandler" },

View File

@@ -2,10 +2,10 @@
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^6.0.0/components/context.jsonld",
"@graph": [
{
"comment": "Handles the generation and serialization of notifications for WebHookChannel2023.",
"comment": "Handles the generation and serialization of notifications for WebhookChannel2023.",
"@id": "urn:solid-server:default:WebHookNotificationHandler",
"@type": "TypedNotificationHandler",
"type": "http://www.w3.org/ns/solid/notifications#WebHookChannel2023",
"type": "http://www.w3.org/ns/solid/notifications#WebhookChannel2023",
"source": {
"@type": "ComposedNotificationHandler",
"generator": { "@id": "urn:solid-server:default:BaseNotificationGenerator" },
@@ -14,7 +14,7 @@
}
},
{
"comment": "Emits serialized notifications through HTTP requests to the WebHook.",
"comment": "Emits serialized notifications through HTTP requests to the Webhook.",
"@id": "urn:solid-server:default:WebHookEmitter",
"@type": "WebHookEmitter",
"baseUrl": { "@id": "urn:solid-server:default:variable:baseUrl" },

View File

@@ -5,7 +5,7 @@
"@id": "urn:solid-server:default:WebHookRoute",
"@type": "RelativePathInteractionRoute",
"base": { "@id": "urn:solid-server:default:NotificationRoute" },
"relativePath": "/WebHookChannel2023/"
"relativePath": "/WebhookChannel2023/"
},
{
"@id": "urn:solid-server:default:WebHookWebIdRoute",
@@ -15,11 +15,11 @@
},
{
"comment": "Handles the WebHookChannel2023 WebID.",
"comment": "Handles the WebhookChannel2023 WebID.",
"@id": "urn:solid-server:default:WebHookWebId",
"@type": "OperationRouterHandler",
"baseUrl": { "@id": "urn:solid-server:default:variable:baseUrl" },
"allowedPathNames": [ "/WebHookChannel2023/webId$" ],
"allowedPathNames": [ "/WebhookChannel2023/webId$" ],
"handler": {
"@type": "WebHookWebId",
"baseUrl": { "@id": "urn:solid-server:default:variable:baseUrl" }

View File

@@ -2,12 +2,12 @@
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^6.0.0/components/context.jsonld",
"@graph": [
{
"comment": "Handles the subscriptions targeting a WebHookChannel2023.",
"comment": "Handles the subscriptions targeting a WebhookChannel2023.",
"@id": "urn:solid-server:default:WebHookRouter",
"@type": "OperationRouterHandler",
"baseUrl": { "@id": "urn:solid-server:default:variable:baseUrl" },
"allowedMethods": [ "HEAD", "GET", "POST" ],
"allowedPathNames": [ "/WebHookChannel2023/$" ],
"allowedPathNames": [ "/WebhookChannel2023/$" ],
"handler": {
"@id": "urn:solid-server:default:WebHookSubscriber",
"@type": "NotificationSubscriber",
@@ -20,7 +20,7 @@
}
},
{
"comment": "Contains all the metadata relevant for a WebHookChannel2023.",
"comment": "Contains all the metadata relevant for a WebhookChannel2023.",
"@id": "urn:solid-server:default:WebHookChannel2023Type",
"@type": "WebhookChannel2023Type",
"route": { "@id": "urn:solid-server:default:WebHookRoute" },

View File

@@ -38,6 +38,7 @@
"comment": "A server that stores its resources on disk while enforcing quota."
},
{
"comment": "Sets the maximum size of a single pod to 7KB.",
"@id": "urn:solid-server:default:QuotaStrategy",
"@type": "PodQuotaStrategy",
"limit_amount": 7000,

View File

@@ -2,13 +2,17 @@
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^6.0.0/components/context.jsonld",
"@graph": [
{
"comment": "Converts many RDF serialization to Quad objects.",
"comment": "Converts many RDF serialization to Quad objects. Caching notification related contexts to prevent too many requests.",
"@id": "urn:solid-server:default:RdfToQuadConverter",
"@type": "RdfToQuadConverter",
"contexts": [
{
"RdfToQuadConverter:_contexts_key": "https://www.w3.org/ns/solid/notification/v1",
"RdfToQuadConverter:_contexts_value": "@css:templates/contexts/notification.jsonld"
},
{
"RdfToQuadConverter:_contexts_key": "https://www.w3.org/ns/activitystreams",
"RdfToQuadConverter:_contexts_value": "@css:templates/contexts/activitystreams.jsonld"
}
]
}