feat: Use asynchandler library for handlers

This commit is contained in:
Joachim Van Herwegen 2024-09-05 11:08:43 +02:00
parent dce39f67e8
commit 58574eec07
186 changed files with 944 additions and 1590 deletions

View File

@ -2,6 +2,8 @@
"AccessMap", "AccessMap",
"Adapter", "Adapter",
"AlgJwk", "AlgJwk",
"AsyncHandlerInput",
"AsyncHandlerOutput",
"BaseActivityEmitter", "BaseActivityEmitter",
"BaseChannelType", "BaseChannelType",
"BaseHttpError", "BaseHttpError",
@ -40,7 +42,6 @@
"TransformOptions", "TransformOptions",
"ValuePreferencesArg", "ValuePreferencesArg",
"VariableBindings", "VariableBindings",
"UnionHandler",
"VirtualObject", "VirtualObject",
"WrappedSetMultiMap", "WrappedSetMultiMap",
"YargsOptions" "YargsOptions"

View File

@ -1,5 +1,43 @@
# Community Solid Server release notes # Community Solid Server release notes
## v8.0.0
### New features
- ...
### Data migration
No actions are required to migrate data.
### Configuration changes
You might need to make changes to your v7 configuration if you use a custom config.
The `@context` needs to be updated to
`https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/8.0.0/components/context.jsonld`.
The following changes pertain to the imports in the default configs:
- ...
The following changes are relevant for v7 custom configs that replaced certain features.
- Due to extracting the core handlers as an external library,
the CSS had to adapt some of them resulting in new class names.
The following renames have happened, meaning that if you used or extended a component of one of the following types,
you will have to update the `@type` in your configuration.
- `ArrayUnionHandler` -> `StatusArrayUnionHandler`
- `BooleanHandler` -> `StatusBooleanHandler`
- `UnionHandler` -> `StatusUnionHandler`
- `WaterfallHandler` -> `StatusWaterfallHandler`
### Interface changes
These changes are relevant if you wrote custom modules for the server that depend on existing interfaces.
- The handler changes discussed above also impact the code if you used one there.
## v7.0.0 ## v7.0.0
### New features ### New features

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/app/init/initializers/base-url.json", "css:config/app/init/initializers/base-url.json",
"css:config/app/init/initializers/logger.json", "css:config/app/init/initializers/logger.json",
@ -26,7 +29,6 @@
"@id": "urn:solid-server:default:PrimaryInitializer", "@id": "urn:solid-server:default:PrimaryInitializer",
"@type": "ProcessHandler", "@type": "ProcessHandler",
"executeOnPrimary": true, "executeOnPrimary": true,
"clusterManager": { "@id": "urn:solid-server:default:ClusterManager" },
"source": { "source": {
"comment": "These initializers will all be executed sequentially when starting the server.", "comment": "These initializers will all be executed sequentially when starting the server.",
"@id": "urn:solid-server:default:PrimarySequenceInitializer", "@id": "urn:solid-server:default:PrimarySequenceInitializer",
@ -47,7 +49,6 @@
"@id": "urn:solid-server:default:WorkerInitializer", "@id": "urn:solid-server:default:WorkerInitializer",
"@type": "ProcessHandler", "@type": "ProcessHandler",
"executeOnPrimary": false, "executeOnPrimary": false,
"clusterManager": { "@id": "urn:solid-server:default:ClusterManager" },
"source": { "source": {
"comment": "These initializers will all be executed sequentially when starting the server.", "comment": "These initializers will all be executed sequentially when starting the server.",
"@id": "urn:solid-server:default:WorkerSequenceInitializer", "@id": "urn:solid-server:default:WorkerSequenceInitializer",

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/app/init/base/init.json" "css:config/app/init/base/init.json"
], ],

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/app/init/default.json", "css:config/app/init/default.json",
"css:config/app/init/initializers/root.json" "css:config/app/init/initializers/root.json"

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/app/init/default.json", "css:config/app/init/default.json",
"css:config/app/init/initializers/root.json" "css:config/app/init/initializers/root.json"

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/app/init/default.json", "css:config/app/init/default.json",
"css:config/app/init/initializers/root-pod.json" "css:config/app/init/initializers/root-pod.json"

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/app/init/default.json", "css:config/app/init/default.json",
"css:config/app/init/initializers/root.json" "css:config/app/init/initializers/root.json"

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/app/init/migration/v6.json" "css:config/app/init/migration/v6.json"
], ],

View File

@ -1,7 +1,11 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/app/main/general/templates.json" "css:config/app/main/general/templates.json",
"css:config/app/main/general/util.json"
], ],
"@graph": [ "@graph": [
{ {

View File

@ -1,10 +1,13 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Template engine that finds the appropriate template engine to use based on the template extension.", "comment": "Template engine that finds the appropriate template engine to use based on the template extension.",
"@id": "urn:solid-server:default:TemplateEngine", "@id": "urn:solid-server:default:TemplateEngine",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ {
"comment": "Template engine that supports EJS templates.", "comment": "Template engine that supports EJS templates.",

View File

@ -0,0 +1,13 @@
{
"@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [
{
"@id": "urn:solid-server:default:UnsupportedErrorFactory",
"@type": "ClassErrorFactory",
"error": { "@type": "NotImplementedHttpError" }
}
]
}

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/http/handler/handlers/storage-description.json" "css:config/http/handler/handlers/storage-description.json"
], ],
@ -12,7 +15,7 @@
{ "@id": "urn:solid-server:default:Middleware" }, { "@id": "urn:solid-server:default:Middleware" },
{ {
"@id": "urn:solid-server:default:BaseHttpHandler", "@id": "urn:solid-server:default:BaseHttpHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ "@id": "urn:solid-server:default:StaticAssetHandler" }, { "@id": "urn:solid-server:default:StaticAssetHandler" },
{ "@id": "urn:solid-server:default:OidcHandler" }, { "@id": "urn:solid-server:default:OidcHandler" },

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "The relative path appended to a storage container URL to find its description resource.", "comment": "The relative path appended to a storage container URL to find its description resource.",
@ -34,7 +37,7 @@
{ {
"comment": "Combines the output of all storage describers.", "comment": "Combines the output of all storage describers.",
"@id": "urn:solid-server:default:StorageDescriber", "@id": "urn:solid-server:default:StorageDescriber",
"@type": "ArrayUnionHandler", "@type": "StatusArrayUnionHandler",
"handlers": [ "handlers": [
{ {
"@type": "StaticStorageDescriber", "@type": "StaticStorageDescriber",

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/http/handler/handlers/storage-description.json" "css:config/http/handler/handlers/storage-description.json"
], ],
@ -12,7 +15,7 @@
{ "@id": "urn:solid-server:default:Middleware" }, { "@id": "urn:solid-server:default:Middleware" },
{ {
"@id": "urn:solid-server:default:BaseHttpHandler", "@id": "urn:solid-server:default:BaseHttpHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ "@id": "urn:solid-server:default:StaticAssetHandler" }, { "@id": "urn:solid-server:default:StaticAssetHandler" },
{ "@id": "urn:solid-server:default:StorageDescriptionHandler" }, { "@id": "urn:solid-server:default:StorageDescriptionHandler" },

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/http/middleware/handlers/constant-headers.json", "css:config/http/middleware/handlers/constant-headers.json",
"css:config/http/middleware/handlers/cors.json" "css:config/http/middleware/handlers/cors.json"

View File

@ -1,9 +1,12 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"@id": "urn:solid-server:default:StorageDescriber", "@id": "urn:solid-server:default:StorageDescriber",
"@type": "ArrayUnionHandler", "@type": "StatusArrayUnionHandler",
"handlers": [ "handlers": [
{ {
"comment": "New notification subscription types should add a NotificationChannelType here so they can be discovered.", "comment": "New notification subscription types should add a NotificationChannelType here so they can be discovered.",

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Generates the Notification objects and caches them based on the topic.", "comment": "Generates the Notification objects and caches them based on the topic.",
@ -10,7 +13,7 @@
"@type": "StateNotificationGenerator", "@type": "StateNotificationGenerator",
"resourceSet": { "@id": "urn:solid-server:default:CachedResourceSet" }, "resourceSet": { "@id": "urn:solid-server:default:CachedResourceSet" },
"source": { "source": {
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ "@type": "DeleteNotificationGenerator" }, { "@type": "DeleteNotificationGenerator" },
{ {

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"@id": "urn:solid-server:default:NotificationHttpHandler", "@id": "urn:solid-server:default:NotificationHttpHandler",
@ -16,7 +19,7 @@
"errorHandler": { "@id": "urn:solid-server:default:ErrorHandler" }, "errorHandler": { "@id": "urn:solid-server:default:ErrorHandler" },
"responseWriter": { "@id": "urn:solid-server:default:ResponseWriter" }, "responseWriter": { "@id": "urn:solid-server:default:ResponseWriter" },
"operationHandler": { "operationHandler": {
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ "@id": "urn:solid-server:default:NotificationReadWriteHandler" }, { "@id": "urn:solid-server:default:NotificationReadWriteHandler" },
{ "@id": "urn:solid-server:default:NotificationDeleteHandler" } { "@id": "urn:solid-server:default:NotificationDeleteHandler" }
@ -37,7 +40,7 @@
"operationHandler": { "operationHandler": {
"comment": "New notification subscription types should be added here to allow subscriptions.", "comment": "New notification subscription types should be added here to allow subscriptions.",
"@id": "urn:solid-server:default:NotificationTypeHandler", "@id": "urn:solid-server:default:NotificationTypeHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ ] "handlers": [ ]
} }
} }

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Listens to the activities emitted by the MonitoringStore.", "comment": "Listens to the activities emitted by the MonitoringStore.",
@ -10,7 +13,7 @@
"handler": { "handler": {
"comment": "New notification types should add a handler here to emit events.", "comment": "New notification types should add a handler here to emit events.",
"@id": "urn:solid-server:default:NotificationHandler", "@id": "urn:solid-server:default:NotificationHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
] ]

View File

@ -1,10 +1,15 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Disables notification routing.", "comment": "Disables notification routing.",
"@id": "urn:solid-server:default:NotificationHttpHandler", "@id": "urn:solid-server:default:NotificationHttpHandler",
"@type": "UnsupportedAsyncHandler" "@type": "StaticThrowHandler",
"onlyHandle": false,
"factory": { "@id": "urn:solid-server:default:UnsupportedErrorFactory" }
} }
] ]
} }

View File

@ -1,14 +1,19 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Disables notification routing.", "comment": "Disables notification routing.",
"@id": "urn:solid-server:default:NotificationHttpHandler", "@id": "urn:solid-server:default:NotificationHttpHandler",
"@type": "UnsupportedAsyncHandler" "@type": "StaticThrowHandler",
"onlyHandle": false,
"factory": { "@id": "urn:solid-server:default:UnsupportedErrorFactory" }
}, },
{ {
"@id": "urn:solid-server:default:WebSocketHandler", "@id": "urn:solid-server:default:WebSocketHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ {
"comment": "Catches the server upgrade events and handles the WebSocket connections.", "comment": "Catches the server upgrade events and handles the WebSocket connections.",

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/http/notifications/base/description.json", "css:config/http/notifications/base/description.json",
"css:config/http/notifications/base/handler.json", "css:config/http/notifications/base/handler.json",
@ -13,7 +16,7 @@
"@graph": [ "@graph": [
{ {
"@id": "urn:solid-server:default:WebSocketHandler", "@id": "urn:solid-server:default:WebSocketHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ {
"comment": "Catches the server upgrade events and handles the WebSocket connections.", "comment": "Catches the server upgrade events and handles the WebSocket connections.",

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"@id": "urn:solid-server:default:StreamingHTTP2023Route", "@id": "urn:solid-server:default:StreamingHTTP2023Route",
@ -43,7 +46,7 @@
{ {
"comment": "Add the router to notification type handler", "comment": "Add the router to notification type handler",
"@id": "urn:solid-server:default:NotificationTypeHandler", "@id": "urn:solid-server:default:NotificationTypeHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ "@id": "urn:solid-server:default:StreamingHttp2023Router" } { "@id": "urn:solid-server:default:StreamingHttp2023Router" }
] ]

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Handles the generation and serialization of notifications for WebhookChannel2023.", "comment": "Handles the generation and serialization of notifications for WebhookChannel2023.",
@ -25,7 +28,7 @@
{ {
"@id": "urn:solid-server:default:NotificationHandler", "@id": "urn:solid-server:default:NotificationHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ "@id": "urn:solid-server:default:WebhookNotificationHandler" } { "@id": "urn:solid-server:default:WebhookNotificationHandler" }
] ]

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"@id": "urn:solid-server:default:WebhookRoute", "@id": "urn:solid-server:default:WebhookRoute",
@ -29,7 +32,7 @@
{ {
"@id": "urn:solid-server:default:NotificationTypeHandler", "@id": "urn:solid-server:default:NotificationTypeHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ "@id": "urn:solid-server:default:WebhookRouter" }, { "@id": "urn:solid-server:default:WebhookRouter" },
{ "@id": "urn:solid-server:default:WebhookWebId" } { "@id": "urn:solid-server:default:WebhookWebId" }

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Handles the generation and serialization of notifications for WebSocketChannel2023.", "comment": "Handles the generation and serialization of notifications for WebSocketChannel2023.",
@ -23,7 +26,7 @@
{ {
"@id": "urn:solid-server:default:NotificationHandler", "@id": "urn:solid-server:default:NotificationHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ "@id": "urn:solid-server:default:WebSocket2023NotificationHandler" } { "@id": "urn:solid-server:default:WebSocket2023NotificationHandler" }
] ]

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Catches newly opened WebSockets and verifies if they belong to a subscription.", "comment": "Catches newly opened WebSockets and verifies if they belong to a subscription.",
@ -37,7 +40,7 @@
{ {
"@id": "urn:solid-server:default:WebSocketHandler", "@id": "urn:solid-server:default:WebSocketHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ "@id": "urn:solid-server:default:WebSocket2023Listener" } { "@id": "urn:solid-server:default:WebSocket2023Listener" }
] ]

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Handles the subscriptions targeting a WebSocketChannel2023.", "comment": "Handles the subscriptions targeting a WebSocketChannel2023.",
@ -34,7 +37,7 @@
{ {
"@id": "urn:solid-server:default:NotificationTypeHandler", "@id": "urn:solid-server:default:NotificationTypeHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ "@id": "urn:solid-server:default:WebSocket2023Router" } { "@id": "urn:solid-server:default:WebSocket2023Router" }
] ]

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"@id": "urn:solid-server:default:ServerConfigurator", "@id": "urn:solid-server:default:ServerConfigurator",
@ -18,7 +21,7 @@
"@type": "WebSocketServerConfigurator", "@type": "WebSocketServerConfigurator",
"handler": { "handler": {
"@id": "urn:solid-server:default:WebSocketHandler", "@id": "urn:solid-server:default:WebSocketHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [] "handlers": []
} }
} }

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/identity/access/initializers/idp.json", "css:config/identity/access/initializers/idp.json",
"css:config/identity/access/initializers/well-known.json" "css:config/identity/access/initializers/well-known.json"

View File

@ -1,11 +1,15 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "The default configuration does not contain credentials for an email client. In production systems, you likely want to set up your own.", "comment": "The default configuration does not contain credentials for an email client. In production systems, you likely want to set up your own.",
"@id": "urn:solid-server:default:EmailSender", "@id": "urn:solid-server:default:EmailSender",
"@type": "UnsupportedAsyncHandler", "@type": "StaticThrowHandler",
"errorMessage": "No email server is configured." "onlyHandle": false,
"factory": { "@id": "urn:solid-server:default:UnsupportedErrorFactory" }
} }
] ]
} }

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Sets all the relevant Solid-OIDC parameters.", "comment": "Sets all the relevant Solid-OIDC parameters.",

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/identity/handler/base/adapter-factory.json", "css:config/identity/handler/base/adapter-factory.json",
"css:config/identity/handler/base/jwks.json", "css:config/identity/handler/base/jwks.json",
@ -13,7 +16,9 @@
{ {
"comment": "Disabled the account component.", "comment": "Disabled the account component.",
"@id": "urn:solid-server:default:IdentityProviderHandler", "@id": "urn:solid-server:default:IdentityProviderHandler",
"@type": "UnsupportedAsyncHandler" "@type": "StaticThrowHandler",
"onlyHandle": false,
"factory": { "@id": "urn:solid-server:default:UnsupportedErrorFactory" }
} }
] ]
} }

View File

@ -1,12 +1,15 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Enable account creation." "comment": "Enable account creation."
}, },
{ {
"@id": "urn:solid-server:default:InteractionRouteHandler", "@id": "urn:solid-server:default:InteractionRouteHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [{ "@id": "urn:solid-server:default:AccountRouter" }] "handlers": [{ "@id": "urn:solid-server:default:AccountRouter" }]
}, },

View File

@ -1,12 +1,15 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Enable client credentials creation." "comment": "Enable client credentials creation."
}, },
{ {
"@id": "urn:solid-server:default:InteractionRouteHandler", "@id": "urn:solid-server:default:InteractionRouteHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [{ "@id": "urn:solid-server:default:AccountClientCredentialsRouter" }] "handlers": [{ "@id": "urn:solid-server:default:AccountClientCredentialsRouter" }]
}, },

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Enable pod creation." "comment": "Enable pod creation."
@ -7,7 +10,7 @@
{ {
"@id": "urn:solid-server:default:InteractionRouteHandler", "@id": "urn:solid-server:default:InteractionRouteHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ "@id": "urn:solid-server:default:AccountPodRouter" } { "@id": "urn:solid-server:default:AccountPodRouter" }
] ]

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Enable linking WebIDs to an account." "comment": "Enable linking WebIDs to an account."
@ -7,7 +10,7 @@
{ {
"@id": "urn:solid-server:default:InteractionRouteHandler", "@id": "urn:solid-server:default:InteractionRouteHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ "@id": "urn:solid-server:default:AccountWebIdRouter" } { "@id": "urn:solid-server:default:AccountWebIdRouter" }
] ]

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Handles logging a user out.", "comment": "Handles logging a user out.",
@ -24,7 +27,7 @@
{ {
"@id": "urn:solid-server:default:InteractionRouteHandler", "@id": "urn:solid-server:default:InteractionRouteHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [{ "@id": "urn:solid-server:default:AccountLogoutRouter" }] "handlers": [{ "@id": "urn:solid-server:default:AccountLogoutRouter" }]
}, },

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Handles the client credentials link details such as deletion.", "comment": "Handles the client credentials link details such as deletion.",
@ -12,7 +15,7 @@
}, },
"source": { "source": {
"@id": "urn:solid-server:default:ClientCredentialsResourceHandler", "@id": "urn:solid-server:default:ClientCredentialsResourceHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ {
"@type": "MethodFilterHandler", "@type": "MethodFilterHandler",
@ -38,7 +41,7 @@
{ {
"@id": "urn:solid-server:default:InteractionRouteHandler", "@id": "urn:solid-server:default:InteractionRouteHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [{ "@id": "urn:solid-server:default:AccountClientCredentialsIdRouter" }] "handlers": [{ "@id": "urn:solid-server:default:AccountClientCredentialsIdRouter" }]
} }
] ]

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Root API entry. Returns an empty body so we can add controls pointing to other interaction routes.", "comment": "Root API entry. Returns an empty body so we can add controls pointing to other interaction routes.",
@ -22,7 +25,7 @@
{ {
"@id": "urn:solid-server:default:InteractionRouteHandler", "@id": "urn:solid-server:default:InteractionRouteHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [{ "@id": "urn:solid-server:default:IndexRouter" }] "handlers": [{ "@id": "urn:solid-server:default:IndexRouter" }]
}, },

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Returns the links of the HTML pages that can be used to log in with specific methods.", "comment": "Returns the links of the HTML pages that can be used to log in with specific methods.",
@ -33,7 +36,7 @@
{ {
"@id": "urn:solid-server:default:InteractionRouteHandler", "@id": "urn:solid-server:default:InteractionRouteHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [{ "@id": "urn:solid-server:default:LoginRouter" }] "handlers": [{ "@id": "urn:solid-server:default:LoginRouter" }]
}, },

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/identity/handler/routing/account/main.json", "css:config/identity/handler/routing/account/main.json",
"css:config/identity/handler/routing/client-credentials/create.json", "css:config/identity/handler/routing/client-credentials/create.json",
@ -17,7 +20,7 @@
"@graph": [ "@graph": [
{ {
"@id": "urn:solid-server:default:InteractionHandler", "@id": "urn:solid-server:default:InteractionHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ {
"comment": "Returns the relevant HTML pages for the interactions when needed.", "comment": "Returns the relevant HTML pages for the interactions when needed.",
@ -78,7 +81,7 @@
{ {
"comment": "Contains all JsonInteractionHandlers that can potentially handle the input request.", "comment": "Contains all JsonInteractionHandlers that can potentially handle the input request.",
"@id": "urn:solid-server:default:InteractionRouteHandler", "@id": "urn:solid-server:default:InteractionRouteHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [] "handlers": []
} }
] ]

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Allows users to cancel an OIDC interaction, bringing them back to the original client.", "comment": "Allows users to cancel an OIDC interaction, bringing them back to the original client.",
@ -13,7 +16,7 @@
}, },
"source": { "source": {
"@id": "urn:solid-server:default:CancelOidcHandler", "@id": "urn:solid-server:default:CancelOidcHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ {
"@type": "MethodFilterHandler", "@type": "MethodFilterHandler",
@ -26,7 +29,7 @@
{ {
"@id": "urn:solid-server:default:InteractionRouteHandler", "@id": "urn:solid-server:default:InteractionRouteHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [{ "@id": "urn:solid-server:default:OidcCancelRouter" }] "handlers": [{ "@id": "urn:solid-server:default:OidcCancelRouter" }]
}, },

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Handles the interaction that occurs when a logged in user wants to authenticate with a new app.", "comment": "Handles the interaction that occurs when a logged in user wants to authenticate with a new app.",
@ -13,7 +16,7 @@
}, },
"source": { "source": {
"@id": "urn:solid-server:default:ConsentHandler", "@id": "urn:solid-server:default:ConsentHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ {
"@type": "MethodFilterHandler", "@type": "MethodFilterHandler",
@ -37,7 +40,7 @@
{ {
"@id": "urn:solid-server:default:InteractionRouteHandler", "@id": "urn:solid-server:default:InteractionRouteHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [{ "@id": "urn:solid-server:default:OidcConsentRouter" }] "handlers": [{ "@id": "urn:solid-server:default:OidcConsentRouter" }]
}, },

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Allows the picked WebID to be forgotten in an OIDC interaction so the user can pick again.", "comment": "Allows the picked WebID to be forgotten in an OIDC interaction so the user can pick again.",
@ -13,7 +16,7 @@
}, },
"source": { "source": {
"@id": "urn:solid-server:default:ForgetWebIdHandler", "@id": "urn:solid-server:default:ForgetWebIdHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ {
"@type": "MethodFilterHandler", "@type": "MethodFilterHandler",
@ -29,7 +32,7 @@
{ {
"@id": "urn:solid-server:default:InteractionRouteHandler", "@id": "urn:solid-server:default:InteractionRouteHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [{ "@id": "urn:solid-server:default:OidcForgetWebIdRouter" }] "handlers": [{ "@id": "urn:solid-server:default:OidcForgetWebIdRouter" }]
}, },

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Handles picking a WebID during an OIDC interaction.", "comment": "Handles picking a WebID during an OIDC interaction.",
@ -24,7 +27,7 @@
{ {
"@id": "urn:solid-server:default:InteractionRouteHandler", "@id": "urn:solid-server:default:InteractionRouteHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ "@id": "urn:solid-server:default:OidcPickWebIdRouter" } { "@id": "urn:solid-server:default:OidcPickWebIdRouter" }
] ]

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Handles the interaction that occurs when a logged in user wants to authenticate with a new app.", "comment": "Handles the interaction that occurs when a logged in user wants to authenticate with a new app.",
@ -33,7 +36,7 @@
{ {
"@id": "urn:solid-server:default:InteractionRouteHandler", "@id": "urn:solid-server:default:InteractionRouteHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [{ "@id": "urn:solid-server:default:OidcPromptRouter" }] "handlers": [{ "@id": "urn:solid-server:default:OidcPromptRouter" }]
}, },

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Allows adding the email/password login method to an account", "comment": "Allows adding the email/password login method to an account",
@ -24,7 +27,7 @@
{ {
"@id": "urn:solid-server:default:InteractionRouteHandler", "@id": "urn:solid-server:default:InteractionRouteHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [{ "@id": "urn:solid-server:default:AccountPasswordRouter" }] "handlers": [{ "@id": "urn:solid-server:default:AccountPasswordRouter" }]
}, },

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Handles the forgot password interaction.", "comment": "Handles the forgot password interaction.",
@ -31,7 +34,7 @@
{ {
"@id": "urn:solid-server:default:InteractionRouteHandler", "@id": "urn:solid-server:default:InteractionRouteHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [{ "@id": "urn:solid-server:default:ForgotPasswordRouter" }] "handlers": [{ "@id": "urn:solid-server:default:ForgotPasswordRouter" }]
}, },

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Handles the password login interaction.", "comment": "Handles the password login interaction.",
@ -25,7 +28,7 @@
{ {
"@id": "urn:solid-server:default:InteractionRouteHandler", "@id": "urn:solid-server:default:InteractionRouteHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [{ "@id": "urn:solid-server:default:LoginPasswordRouter" }] "handlers": [{ "@id": "urn:solid-server:default:LoginPasswordRouter" }]
}, },

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Handles the reset password interaction.", "comment": "Handles the reset password interaction.",
@ -24,7 +27,7 @@
{ {
"@id": "urn:solid-server:default:InteractionRouteHandler", "@id": "urn:solid-server:default:InteractionRouteHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [{ "@id": "urn:solid-server:default:ResetPasswordRouter" }] "handlers": [{ "@id": "urn:solid-server:default:ResetPasswordRouter" }]
}, },

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Handles the password link details such as update and delete.", "comment": "Handles the password link details such as update and delete.",
@ -12,7 +15,7 @@
}, },
"source": { "source": {
"@id": "urn:solid-server:default:PasswordResourceHandler", "@id": "urn:solid-server:default:PasswordResourceHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ {
"@type": "ViewInteractionHandler", "@type": "ViewInteractionHandler",
@ -37,7 +40,7 @@
{ {
"@id": "urn:solid-server:default:InteractionRouteHandler", "@id": "urn:solid-server:default:InteractionRouteHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [{ "@id": "urn:solid-server:default:AccountPasswordIdRouter" }] "handlers": [{ "@id": "urn:solid-server:default:AccountPasswordIdRouter" }]
}, },

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Handles updating pod settings.", "comment": "Handles updating pod settings.",
@ -37,7 +40,7 @@
{ {
"@id": "urn:solid-server:default:InteractionRouteHandler", "@id": "urn:solid-server:default:InteractionRouteHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [{ "@id": "urn:solid-server:default:AccountPodIdRouter" }] "handlers": [{ "@id": "urn:solid-server:default:AccountPodIdRouter" }]
}, },

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Handles the WebID link details such as deletion.", "comment": "Handles the WebID link details such as deletion.",
@ -24,7 +27,7 @@
{ {
"@id": "urn:solid-server:default:InteractionRouteHandler", "@id": "urn:solid-server:default:InteractionRouteHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ "@id": "urn:solid-server:default:AccountWebIdLinkRouter" } { "@id": "urn:solid-server:default:AccountWebIdLinkRouter" }
] ]

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"@id": "urn:solid-server:default:AccountStorage", "@id": "urn:solid-server:default:AccountStorage",

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"@id": "urn:solid-server:default:PasswordStore", "@id": "urn:solid-server:default:PasswordStore",

View File

@ -1,10 +1,15 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Disabled the OIDC component.", "comment": "Disabled the OIDC component.",
"@id": "urn:solid-server:default:OidcHandler", "@id": "urn:solid-server:default:OidcHandler",
"@type": "UnsupportedAsyncHandler" "@type": "StaticThrowHandler",
"onlyHandle": false,
"factory": { "@id": "urn:solid-server:default:UnsupportedErrorFactory" }
} }
] ]
} }

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/identity/pod/pod-generators/templated.json", "css:config/identity/pod/pod-generators/templated.json",
"css:config/identity/pod/resource-generators/templated.json" "css:config/identity/pod/resource-generators/templated.json"

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Generates ResourceStores that correspond to new pods.", "comment": "Generates ResourceStores that correspond to new pods.",

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Caches the credentials based on the incoming request.", "comment": "Caches the credentials based on the incoming request.",
@ -10,7 +13,7 @@
"@type": "UnionCredentialsExtractor", "@type": "UnionCredentialsExtractor",
"extractors": [ "extractors": [
{ {
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ {
"@type": "DPoPWebIdExtractor", "@type": "DPoPWebIdExtractor",

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/ldp/authorization/readers/acp.json", "css:config/ldp/authorization/readers/acp.json",
"css:config/ldp/authorization/readers/default.json" "css:config/ldp/authorization/readers/default.json"

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": [ "comment": [
@ -13,7 +16,9 @@
{ {
"comment": "Everything is allowed, so there are no auth-specific resources.", "comment": "Everything is allowed, so there are no auth-specific resources.",
"@id": "urn:solid-server:default:AuthResourceHttpHandler", "@id": "urn:solid-server:default:AuthResourceHttpHandler",
"@type": "UnsupportedAsyncHandler" "@type": "StaticThrowHandler",
"onlyHandle": false,
"factory": { "@id": "urn:solid-server:default:UnsupportedErrorFactory" }
} }
] ]
} }

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/ldp/authorization/readers/access-checkers/agent.json", "css:config/ldp/authorization/readers/access-checkers/agent.json",
"css:config/ldp/authorization/readers/access-checkers/agent-class.json", "css:config/ldp/authorization/readers/access-checkers/agent-class.json",
@ -27,7 +30,7 @@
"aclStore": { "@id": "urn:solid-server:default:ResourceStore" }, "aclStore": { "@id": "urn:solid-server:default:ResourceStore" },
"identifierStrategy": { "@id": "urn:solid-server:default:IdentifierStrategy" }, "identifierStrategy": { "@id": "urn:solid-server:default:IdentifierStrategy" },
"accessChecker": { "accessChecker": {
"@type": "BooleanHandler", "@type": "StatusBooleanHandler",
"handlers": [ "handlers": [
{ "@id": "urn:solid-server:default:AgentAccessChecker" }, { "@id": "urn:solid-server:default:AgentAccessChecker" },
{ "@id": "urn:solid-server:default:AgentClassAccessChecker" }, { "@id": "urn:solid-server:default:AgentClassAccessChecker" },

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/ldp/authorization/readers/ownership.json" "css:config/ldp/authorization/readers/ownership.json"
], ],

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/ldp/authorization/acl/wac-allow.json", "css:config/ldp/authorization/acl/wac-allow.json",
"css:config/ldp/authorization/readers/acl.json", "css:config/ldp/authorization/readers/acl.json",

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Wraps around the main error handler as a fallback in case something goes wrong.", "comment": "Wraps around the main error handler as a fallback in case something goes wrong.",
@ -12,7 +15,7 @@
"targetExtractor": { "@id": "urn:solid-server:default:TargetExtractor" }, "targetExtractor": { "@id": "urn:solid-server:default:TargetExtractor" },
"errorHandler": { "errorHandler": {
"@id": "urn:solid-server:default:WaterfallErrorHandler", "@id": "urn:solid-server:default:WaterfallErrorHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ {
"comment": "Redirects are created internally by throwing a specific error; this handler converts them to the correct response.", "comment": "Redirects are created internally by throwing a specific error; this handler converts them to the correct response.",

View File

@ -1,9 +1,12 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"@id": "urn:solid-server:default:OperationHandler", "@id": "urn:solid-server:default:OperationHandler",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ {
"@type": "GetOperationHandler", "@type": "GetOperationHandler",
@ -34,7 +37,11 @@
}, },
{ {
"@type": "StaticThrowHandler", "@type": "StaticThrowHandler",
"error": { "@type": "MethodNotAllowedHttpError" } "onlyHandle": true,
"factory": {
"@type": "ClassErrorFactory",
"error": { "@type": "MethodNotAllowedHttpError" }
}
} }
] ]
} }

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Contains the necessary metadata collectors. Contents depend on authorization scheme.", "comment": "Contains the necessary metadata collectors. Contents depend on authorization scheme.",

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Handles everything related to parsing a Request.", "comment": "Handles everything related to parsing a Request.",
@ -21,7 +24,7 @@
} }
}, },
"bodyParser": { "bodyParser": {
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ "@id": "urn:solid-server:default:PatchBodyParser" }, { "@id": "urn:solid-server:default:PatchBodyParser" },
{ "@type": "RawBodyParser" } { "@type": "RawBodyParser" }
@ -34,7 +37,7 @@
"@type": "MethodFilterHandler", "@type": "MethodFilterHandler",
"methods": [ "PATCH" ], "methods": [ "PATCH" ],
"source": { "source": {
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ "@type": "N3PatchBodyParser" }, { "@type": "N3PatchBodyParser" },
{ "@type": "SparqlUpdateBodyParser" } { "@type": "SparqlUpdateBodyParser" }

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/ldp/handler/components/authorizer.json", "css:config/ldp/handler/components/authorizer.json",
"css:config/ldp/handler/components/error-handler.json", "css:config/ldp/handler/components/error-handler.json",
@ -13,7 +16,9 @@
{ {
"comment": "Disabled the LDP component.", "comment": "Disabled the LDP component.",
"@id": "urn:solid-server:default:LdpHandler", "@id": "urn:solid-server:default:LdpHandler",
"@type": "UnsupportedAsyncHandler" "@type": "StaticThrowHandler",
"onlyHandle": false,
"factory": { "@id": "urn:solid-server:default:UnsupportedErrorFactory" }
} }
] ]
} }

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/ldp/metadata-parser/parsers/authorization.json", "css:config/ldp/metadata-parser/parsers/authorization.json",
"css:config/ldp/metadata-parser/parsers/content-type.json", "css:config/ldp/metadata-parser/parsers/content-type.json",

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/ldp/metadata-writer/writers/allow-accept.json", "css:config/ldp/metadata-writer/writers/allow-accept.json",
"css:config/ldp/metadata-writer/writers/content-type.json", "css:config/ldp/metadata-writer/writers/content-type.json",

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Caches the requested modes based on the incoming operation.", "comment": "Caches the requested modes based on the incoming operation.",
@ -16,7 +19,7 @@
{ {
"comment": "Determines required modes based on HTTP methods.", "comment": "Determines required modes based on HTTP methods.",
"@id": "urn:solid-server:default:HttpModesExtractor", "@id": "urn:solid-server:default:HttpModesExtractor",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ {
"comment": "Extract access modes for PATCH requests based on the request body.", "comment": "Extract access modes for PATCH requests based on the request body.",
@ -35,7 +38,11 @@
}, },
{ {
"@type": "StaticThrowHandler", "@type": "StaticThrowHandler",
"error": { "@type": "MethodNotAllowedHttpError" } "onlyHandle": true,
"factory": {
"@type": "ClassErrorFactory",
"error": { "@type": "MethodNotAllowedHttpError" }
}
} }
] ]
}, },
@ -47,7 +54,7 @@
"@type": "MethodFilterHandler", "@type": "MethodFilterHandler",
"methods": [ "PATCH" ], "methods": [ "PATCH" ],
"source": { "source": {
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ {
"@type": "N3PatchModesExtractor", "@type": "N3PatchModesExtractor",
@ -59,7 +66,11 @@
}, },
{ {
"@type": "StaticThrowHandler", "@type": "StaticThrowHandler",
"error": { "@type": "UnsupportedMediaTypeHttpError" } "onlyHandle": true,
"factory": {
"@type": "ClassErrorFactory",
"error": { "@type": "UnsupportedMediaTypeHttpError" }
}
} }
] ]
} }

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/ldp/metadata-parser/parsers/content-length.json", "css:config/ldp/metadata-parser/parsers/content-length.json",
"css:config/storage/backend/quota/global-quota-file.json", "css:config/storage/backend/quota/global-quota-file.json",

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/ldp/metadata-parser/parsers/content-length.json", "css:config/ldp/metadata-parser/parsers/content-length.json",
"css:config/storage/backend/quota/pod-quota-file.json", "css:config/storage/backend/quota/pod-quota-file.json",

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Allows for PATCH operations on stores that don't have native support.", "comment": "Allows for PATCH operations on stores that don't have native support.",
@ -9,7 +12,7 @@
"@id": "urn:solid-server:default:PatchHandler", "@id": "urn:solid-server:default:PatchHandler",
"@type": "RepresentationPatchHandler", "@type": "RepresentationPatchHandler",
"patcher": { "patcher": {
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ {
"@type": "ConvertingPatcher", "@type": "ConvertingPatcher",
@ -20,7 +23,11 @@
}, },
{ {
"@type": "StaticThrowHandler", "@type": "StaticThrowHandler",
"error": { "@type": "UnsupportedMediaTypeHttpError" } "onlyHandle": true,
"factory": {
"@type": "ClassErrorFactory",
"error": { "@type": "UnsupportedMediaTypeHttpError" }
}
} }
] ]
} }
@ -34,7 +41,7 @@
}, },
{ {
"@id": "urn:solid-server:default:PatchHandler_RDFStore", "@id": "urn:solid-server:default:PatchHandler_RDFStore",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ "@id": "urn:solid-server:default:PatchHandler_ImmutableMetadata" }, { "@id": "urn:solid-server:default:PatchHandler_ImmutableMetadata" },
{ "@id": "urn:solid-server:default:PatchHandler_RDF" } { "@id": "urn:solid-server:default:PatchHandler_RDF" }
@ -83,7 +90,7 @@
{ {
"comment": "Dedicated handlers that apply specific types of patch documents", "comment": "Dedicated handlers that apply specific types of patch documents",
"@id": "urn:solid-server:default:PatchHandler_RDF", "@id": "urn:solid-server:default:PatchHandler_RDF",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ "@type": "N3Patcher" }, { "@type": "N3Patcher" },
{ "@type": "SparqlUpdatePatcher" } { "@type": "SparqlUpdatePatcher" }

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Contains all features of acl auxiliary resources (suffix, etc.).", "comment": "Contains all features of acl auxiliary resources (suffix, etc.).",

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Contains all features of acr auxiliary resources (suffix, etc.).", "comment": "Contains all features of acr auxiliary resources (suffix, etc.).",

View File

@ -1,10 +1,15 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "This value can be used to set a custom handler for index files. See the example file.", "comment": "This value can be used to set a custom handler for index files. See the example file.",
"@id": "urn:solid-server:default:DefaultUiConverter", "@id": "urn:solid-server:default:DefaultUiConverter",
"@type": "UnsupportedAsyncHandler" "@type": "StaticThrowHandler",
"onlyHandle": false,
"factory": { "@id": "urn:solid-server:default:UnsupportedErrorFactory" }
} }
] ]
} }

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"import": [ "import": [
"css:config/util/representation-conversion/converters/content-type-replacer.json", "css:config/util/representation-conversion/converters/content-type-replacer.json",
"css:config/util/representation-conversion/converters/dynamic-json-template.json", "css:config/util/representation-conversion/converters/dynamic-json-template.json",
@ -13,7 +16,7 @@
{ {
"comment": "Handles data conversion when required.", "comment": "Handles data conversion when required.",
"@id": "urn:solid-server:default:RepresentationConverter", "@id": "urn:solid-server:default:RepresentationConverter",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ "@id": "urn:solid-server:default:DynamicJsonToTemplateConverter" }, { "@id": "urn:solid-server:default:DynamicJsonToTemplateConverter" },
{ {
@ -38,7 +41,7 @@
{ {
"comment": "Converts either to a default UI or to a representation.", "comment": "Converts either to a default UI or to a representation.",
"@id": "urn:solid-server:default:UiEnabledConverter", "@id": "urn:solid-server:default:UiEnabledConverter",
"@type": "WaterfallHandler", "@type": "StatusWaterfallHandler",
"handlers": [ "handlers": [
{ "@id": "urn:solid-server:default:DefaultUiConverter" }, { "@id": "urn:solid-server:default:DefaultUiConverter" },
{ "@id": "urn:solid-server:default:RepresentationConverter" } { "@id": "urn:solid-server:default:RepresentationConverter" }

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Allows multiple simultaneous read operations. Locks are stored on filesystem. Locks expire after inactivity. This locker is threadsafe.", "comment": "Allows multiple simultaneous read operations. Locks are stored on filesystem. Locks expire after inactivity. This locker is threadsafe.",

View File

@ -1,5 +1,8 @@
{ {
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", "@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
],
"@graph": [ "@graph": [
{ {
"comment": "Allows multiple simultaneous read operations. All locks are threadsafe.", "comment": "Allows multiple simultaneous read operations. All locks are threadsafe.",

152
package-lock.json generated
View File

@ -38,6 +38,7 @@
"@types/yargs": "^17.0.28", "@types/yargs": "^17.0.28",
"arrayify-stream": "^2.0.1", "arrayify-stream": "^2.0.1",
"async-lock": "^1.4.0", "async-lock": "^1.4.0",
"asynchronous-handlers": "^1.0.2",
"bcryptjs": "^2.4.3", "bcryptjs": "^2.4.3",
"componentsjs": "^6.0.1", "componentsjs": "^6.0.1",
"cookie": "^0.5.0", "cookie": "^0.5.0",
@ -48,6 +49,7 @@
"escape-string-regexp": "^4.0.0", "escape-string-regexp": "^4.0.0",
"fetch-sparql-endpoint": "^5.0.0", "fetch-sparql-endpoint": "^5.0.0",
"fs-extra": "^11.1.1", "fs-extra": "^11.1.1",
"global-logger-factory": "^1.0.0",
"handlebars": "^4.7.8", "handlebars": "^4.7.8",
"ioredis": "^5.3.2", "ioredis": "^5.3.2",
"iso8601-duration": "^2.1.1", "iso8601-duration": "^2.1.1",
@ -1121,6 +1123,7 @@
}, },
"node_modules/@clack/prompts/node_modules/is-unicode-supported": { "node_modules/@clack/prompts/node_modules/is-unicode-supported": {
"version": "1.3.0", "version": "1.3.0",
"extraneous": true,
"inBundle": true, "inBundle": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
@ -1131,9 +1134,9 @@
} }
}, },
"node_modules/@colors/colors": { "node_modules/@colors/colors": {
"version": "1.5.0", "version": "1.6.0",
"resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz",
"integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", "integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==",
"engines": { "engines": {
"node": ">=0.1.90" "node": ">=0.1.90"
} }
@ -10664,6 +10667,11 @@
"@types/superagent": "^8.1.0" "@types/superagent": "^8.1.0"
} }
}, },
"node_modules/@types/triple-beam": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/@types/triple-beam/-/triple-beam-1.3.5.tgz",
"integrity": "sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw=="
},
"node_modules/@types/unist": { "node_modules/@types/unist": {
"version": "2.0.10", "version": "2.0.10",
"resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz",
@ -11643,6 +11651,14 @@
"resolved": "https://registry.npmjs.org/async-lock/-/async-lock-1.4.0.tgz", "resolved": "https://registry.npmjs.org/async-lock/-/async-lock-1.4.0.tgz",
"integrity": "sha512-coglx5yIWuetakm3/1dsX9hxCNox22h7+V80RQOu2XUUMidtArxKoZoOtHUPuR84SycKTXzgGzAUR5hJxujyJQ==" "integrity": "sha512-coglx5yIWuetakm3/1dsX9hxCNox22h7+V80RQOu2XUUMidtArxKoZoOtHUPuR84SycKTXzgGzAUR5hJxujyJQ=="
}, },
"node_modules/asynchronous-handlers": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/asynchronous-handlers/-/asynchronous-handlers-1.0.2.tgz",
"integrity": "sha512-Jl5zQuDrq5owcX6Y5SD0Q3ZE73lR6hOaUw9Uwz0jglrrNauKYyczOtak/kfJ+u0rfoqbZa6jG4dtYPq5c6w08w==",
"dependencies": {
"global-logger-factory": "^1.0.0"
}
},
"node_modules/asynciterator": { "node_modules/asynciterator": {
"version": "3.9.0", "version": "3.9.0",
"resolved": "https://registry.npmjs.org/asynciterator/-/asynciterator-3.9.0.tgz", "resolved": "https://registry.npmjs.org/asynciterator/-/asynciterator-3.9.0.tgz",
@ -15439,6 +15455,15 @@
"node": "^14.17.0 || ^16.13.0 || >=18.0.0" "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
} }
}, },
"node_modules/global-logger-factory": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/global-logger-factory/-/global-logger-factory-1.0.0.tgz",
"integrity": "sha512-hN39r7dWZfdjhEaiM4r+2Fw/M3hjhmSHVVZmecp/IyQWhrCvpawWDk8imeHcsewGfaaGZWXoXjhjF5786E2biQ==",
"dependencies": {
"winston": "^3.14.2",
"winston-transport": "^4.7.1"
}
},
"node_modules/globals": { "node_modules/globals": {
"version": "15.8.0", "version": "15.8.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-15.8.0.tgz", "resolved": "https://registry.npmjs.org/globals/-/globals-15.8.0.tgz",
@ -17729,15 +17754,19 @@
"dev": true "dev": true
}, },
"node_modules/logform": { "node_modules/logform": {
"version": "2.4.2", "version": "2.6.1",
"resolved": "https://registry.npmjs.org/logform/-/logform-2.4.2.tgz", "resolved": "https://registry.npmjs.org/logform/-/logform-2.6.1.tgz",
"integrity": "sha512-W4c9himeAwXEdZ05dQNerhFz2XG80P9Oj0loPUMV23VC2it0orMHQhJm4hdnnor3rd1HsGf6a2lPwBM1zeXHGw==", "integrity": "sha512-CdaO738xRapbKIMVn2m4F6KTj4j7ooJ8POVnebSgKo3KBz5axNXRAL7ZdRjIV6NOr2Uf4vjtRkxrFETOioCqSA==",
"dependencies": { "dependencies": {
"@colors/colors": "1.5.0", "@colors/colors": "1.6.0",
"@types/triple-beam": "^1.3.2",
"fecha": "^4.2.0", "fecha": "^4.2.0",
"ms": "^2.1.1", "ms": "^2.1.1",
"safe-stable-stringify": "^2.3.1", "safe-stable-stringify": "^2.3.1",
"triple-beam": "^1.3.0" "triple-beam": "^1.3.0"
},
"engines": {
"node": ">= 12.0.0"
} }
}, },
"node_modules/lowercase-keys": { "node_modules/lowercase-keys": {
@ -19821,9 +19850,9 @@
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
}, },
"node_modules/readable-stream": { "node_modules/readable-stream": {
"version": "3.6.0", "version": "3.6.2",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
"dependencies": { "dependencies": {
"inherits": "^2.0.3", "inherits": "^2.0.3",
"string_decoder": "^1.1.1", "string_decoder": "^1.1.1",
@ -21592,45 +21621,37 @@
"dev": true "dev": true
}, },
"node_modules/winston": { "node_modules/winston": {
"version": "3.11.0", "version": "3.14.2",
"resolved": "https://registry.npmjs.org/winston/-/winston-3.11.0.tgz", "resolved": "https://registry.npmjs.org/winston/-/winston-3.14.2.tgz",
"integrity": "sha512-L3yR6/MzZAOl0DsysUXHVjOwv8mKZ71TrA/41EIduGpOOV5LQVodqN+QdQ6BS6PJ/RdIshZhq84P/fStEZkk7g==", "integrity": "sha512-CO8cdpBB2yqzEf8v895L+GNKYJiEq8eKlHU38af3snQBQ+sdAIUepjMSguOIJC7ICbzm0ZI+Af2If4vIJrtmOg==",
"dependencies": { "dependencies": {
"@colors/colors": "^1.6.0", "@colors/colors": "^1.6.0",
"@dabh/diagnostics": "^2.0.2", "@dabh/diagnostics": "^2.0.2",
"async": "^3.2.3", "async": "^3.2.3",
"is-stream": "^2.0.0", "is-stream": "^2.0.0",
"logform": "^2.4.0", "logform": "^2.6.0",
"one-time": "^1.0.0", "one-time": "^1.0.0",
"readable-stream": "^3.4.0", "readable-stream": "^3.4.0",
"safe-stable-stringify": "^2.3.1", "safe-stable-stringify": "^2.3.1",
"stack-trace": "0.0.x", "stack-trace": "0.0.x",
"triple-beam": "^1.3.0", "triple-beam": "^1.3.0",
"winston-transport": "^4.5.0" "winston-transport": "^4.7.0"
}, },
"engines": { "engines": {
"node": ">= 12.0.0" "node": ">= 12.0.0"
} }
}, },
"node_modules/winston-transport": { "node_modules/winston-transport": {
"version": "4.5.0", "version": "4.7.1",
"resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz", "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.7.1.tgz",
"integrity": "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==", "integrity": "sha512-wQCXXVgfv/wUPOfb2x0ruxzwkcZfxcktz6JIMUaPLmcNhO4bZTwA/WtDWK74xV3F2dKu8YadrFv0qhwYjVEwhA==",
"dependencies": { "dependencies": {
"logform": "^2.3.2", "logform": "^2.6.1",
"readable-stream": "^3.6.0", "readable-stream": "^3.6.2",
"triple-beam": "^1.3.0" "triple-beam": "^1.3.0"
}, },
"engines": { "engines": {
"node": ">= 6.4.0" "node": ">= 12.0.0"
}
},
"node_modules/winston/node_modules/@colors/colors": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz",
"integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==",
"engines": {
"node": ">=0.1.90"
} }
}, },
"node_modules/wordwrap": { "node_modules/wordwrap": {
@ -22556,14 +22577,15 @@
"dependencies": { "dependencies": {
"is-unicode-supported": { "is-unicode-supported": {
"version": "1.3.0", "version": "1.3.0",
"bundled": true "bundled": true,
"extraneous": true
} }
} }
}, },
"@colors/colors": { "@colors/colors": {
"version": "1.5.0", "version": "1.6.0",
"resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz",
"integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==" "integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA=="
}, },
"@commitlint/cli": { "@commitlint/cli": {
"version": "19.3.0", "version": "19.3.0",
@ -31343,6 +31365,11 @@
"@types/superagent": "^8.1.0" "@types/superagent": "^8.1.0"
} }
}, },
"@types/triple-beam": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/@types/triple-beam/-/triple-beam-1.3.5.tgz",
"integrity": "sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw=="
},
"@types/unist": { "@types/unist": {
"version": "2.0.10", "version": "2.0.10",
"resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz",
@ -32018,6 +32045,14 @@
"resolved": "https://registry.npmjs.org/async-lock/-/async-lock-1.4.0.tgz", "resolved": "https://registry.npmjs.org/async-lock/-/async-lock-1.4.0.tgz",
"integrity": "sha512-coglx5yIWuetakm3/1dsX9hxCNox22h7+V80RQOu2XUUMidtArxKoZoOtHUPuR84SycKTXzgGzAUR5hJxujyJQ==" "integrity": "sha512-coglx5yIWuetakm3/1dsX9hxCNox22h7+V80RQOu2XUUMidtArxKoZoOtHUPuR84SycKTXzgGzAUR5hJxujyJQ=="
}, },
"asynchronous-handlers": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/asynchronous-handlers/-/asynchronous-handlers-1.0.2.tgz",
"integrity": "sha512-Jl5zQuDrq5owcX6Y5SD0Q3ZE73lR6hOaUw9Uwz0jglrrNauKYyczOtak/kfJ+u0rfoqbZa6jG4dtYPq5c6w08w==",
"requires": {
"global-logger-factory": "^1.0.0"
}
},
"asynciterator": { "asynciterator": {
"version": "3.9.0", "version": "3.9.0",
"resolved": "https://registry.npmjs.org/asynciterator/-/asynciterator-3.9.0.tgz", "resolved": "https://registry.npmjs.org/asynciterator/-/asynciterator-3.9.0.tgz",
@ -34778,6 +34813,15 @@
} }
} }
}, },
"global-logger-factory": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/global-logger-factory/-/global-logger-factory-1.0.0.tgz",
"integrity": "sha512-hN39r7dWZfdjhEaiM4r+2Fw/M3hjhmSHVVZmecp/IyQWhrCvpawWDk8imeHcsewGfaaGZWXoXjhjF5786E2biQ==",
"requires": {
"winston": "^3.14.2",
"winston-transport": "^4.7.1"
}
},
"globals": { "globals": {
"version": "15.8.0", "version": "15.8.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-15.8.0.tgz", "resolved": "https://registry.npmjs.org/globals/-/globals-15.8.0.tgz",
@ -36527,11 +36571,12 @@
"dev": true "dev": true
}, },
"logform": { "logform": {
"version": "2.4.2", "version": "2.6.1",
"resolved": "https://registry.npmjs.org/logform/-/logform-2.4.2.tgz", "resolved": "https://registry.npmjs.org/logform/-/logform-2.6.1.tgz",
"integrity": "sha512-W4c9himeAwXEdZ05dQNerhFz2XG80P9Oj0loPUMV23VC2it0orMHQhJm4hdnnor3rd1HsGf6a2lPwBM1zeXHGw==", "integrity": "sha512-CdaO738xRapbKIMVn2m4F6KTj4j7ooJ8POVnebSgKo3KBz5axNXRAL7ZdRjIV6NOr2Uf4vjtRkxrFETOioCqSA==",
"requires": { "requires": {
"@colors/colors": "1.5.0", "@colors/colors": "1.6.0",
"@types/triple-beam": "^1.3.2",
"fecha": "^4.2.0", "fecha": "^4.2.0",
"ms": "^2.1.1", "ms": "^2.1.1",
"safe-stable-stringify": "^2.3.1", "safe-stable-stringify": "^2.3.1",
@ -38166,9 +38211,9 @@
} }
}, },
"readable-stream": { "readable-stream": {
"version": "3.6.0", "version": "3.6.2",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
"requires": { "requires": {
"inherits": "^2.0.3", "inherits": "^2.0.3",
"string_decoder": "^1.1.1", "string_decoder": "^1.1.1",
@ -39486,37 +39531,30 @@
"dev": true "dev": true
}, },
"winston": { "winston": {
"version": "3.11.0", "version": "3.14.2",
"resolved": "https://registry.npmjs.org/winston/-/winston-3.11.0.tgz", "resolved": "https://registry.npmjs.org/winston/-/winston-3.14.2.tgz",
"integrity": "sha512-L3yR6/MzZAOl0DsysUXHVjOwv8mKZ71TrA/41EIduGpOOV5LQVodqN+QdQ6BS6PJ/RdIshZhq84P/fStEZkk7g==", "integrity": "sha512-CO8cdpBB2yqzEf8v895L+GNKYJiEq8eKlHU38af3snQBQ+sdAIUepjMSguOIJC7ICbzm0ZI+Af2If4vIJrtmOg==",
"requires": { "requires": {
"@colors/colors": "^1.6.0", "@colors/colors": "^1.6.0",
"@dabh/diagnostics": "^2.0.2", "@dabh/diagnostics": "^2.0.2",
"async": "^3.2.3", "async": "^3.2.3",
"is-stream": "^2.0.0", "is-stream": "^2.0.0",
"logform": "^2.4.0", "logform": "^2.6.0",
"one-time": "^1.0.0", "one-time": "^1.0.0",
"readable-stream": "^3.4.0", "readable-stream": "^3.4.0",
"safe-stable-stringify": "^2.3.1", "safe-stable-stringify": "^2.3.1",
"stack-trace": "0.0.x", "stack-trace": "0.0.x",
"triple-beam": "^1.3.0", "triple-beam": "^1.3.0",
"winston-transport": "^4.5.0" "winston-transport": "^4.7.0"
},
"dependencies": {
"@colors/colors": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz",
"integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA=="
}
} }
}, },
"winston-transport": { "winston-transport": {
"version": "4.5.0", "version": "4.7.1",
"resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz", "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.7.1.tgz",
"integrity": "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==", "integrity": "sha512-wQCXXVgfv/wUPOfb2x0ruxzwkcZfxcktz6JIMUaPLmcNhO4bZTwA/WtDWK74xV3F2dKu8YadrFv0qhwYjVEwhA==",
"requires": { "requires": {
"logform": "^2.3.2", "logform": "^2.6.1",
"readable-stream": "^3.6.0", "readable-stream": "^3.6.2",
"triple-beam": "^1.3.0" "triple-beam": "^1.3.0"
} }
}, },

View File

@ -101,6 +101,7 @@
"@types/yargs": "^17.0.28", "@types/yargs": "^17.0.28",
"arrayify-stream": "^2.0.1", "arrayify-stream": "^2.0.1",
"async-lock": "^1.4.0", "async-lock": "^1.4.0",
"asynchronous-handlers": "^1.0.2",
"bcryptjs": "^2.4.3", "bcryptjs": "^2.4.3",
"componentsjs": "^6.0.1", "componentsjs": "^6.0.1",
"cookie": "^0.5.0", "cookie": "^0.5.0",

View File

@ -1,5 +1,5 @@
import { AsyncHandler } from 'asynchronous-handlers';
import type { HttpRequest } from '../server/HttpRequest'; import type { HttpRequest } from '../server/HttpRequest';
import { AsyncHandler } from '../util/handlers/AsyncHandler';
import type { Credentials } from './Credentials'; import type { Credentials } from './Credentials';
/** /**

View File

@ -1,4 +1,4 @@
import { UnionHandler } from '../util/handlers/UnionHandler'; import { StatusUnionHandler } from '../util/handlers/StatusUnionHandler';
import type { Credentials } from './Credentials'; import type { Credentials } from './Credentials';
import type { CredentialsExtractor } from './CredentialsExtractor'; import type { CredentialsExtractor } from './CredentialsExtractor';
@ -7,7 +7,7 @@ import type { CredentialsExtractor } from './CredentialsExtractor';
* If multiple of these extractors return a value for the same key, * If multiple of these extractors return a value for the same key,
* the last result will be used. * the last result will be used.
*/ */
export class UnionCredentialsExtractor extends UnionHandler<CredentialsExtractor> { export class UnionCredentialsExtractor extends StatusUnionHandler<CredentialsExtractor> {
public constructor(extractors: CredentialsExtractor[]) { public constructor(extractors: CredentialsExtractor[]) {
super(extractors); super(extractors);
} }

View File

@ -1,5 +1,5 @@
import { AsyncHandler } from 'asynchronous-handlers';
import type { Credentials } from '../authentication/Credentials'; import type { Credentials } from '../authentication/Credentials';
import { AsyncHandler } from '../util/handlers/AsyncHandler';
import type { AccessMap, PermissionMap } from './permissions/Permissions'; import type { AccessMap, PermissionMap } from './permissions/Permissions';
export interface AuthorizerInput { export interface AuthorizerInput {

View File

@ -1,5 +1,5 @@
import { AsyncHandler } from 'asynchronous-handlers';
import type { Credentials } from '../authentication/Credentials'; import type { Credentials } from '../authentication/Credentials';
import { AsyncHandler } from '../util/handlers/AsyncHandler';
import type { AccessMap, PermissionMap } from './permissions/Permissions'; import type { AccessMap, PermissionMap } from './permissions/Permissions';
export interface PermissionReaderInput { export interface PermissionReaderInput {

View File

@ -1,4 +1,4 @@
import { UnionHandler } from '../util/handlers/UnionHandler'; import { StatusUnionHandler } from '../util/handlers/StatusUnionHandler';
import { IdentifierMap } from '../util/map/IdentifierMap'; import { IdentifierMap } from '../util/map/IdentifierMap';
import { getDefault } from '../util/map/MapUtil'; import { getDefault } from '../util/map/MapUtil';
import type { PermissionReader } from './PermissionReader'; import type { PermissionReader } from './PermissionReader';
@ -8,7 +8,7 @@ import type { PermissionMap, PermissionSet } from './permissions/Permissions';
* Combines the results of multiple PermissionReaders. * Combines the results of multiple PermissionReaders.
* Every permission in every credential type is handled according to the rule `false` \> `true` \> `undefined`. * Every permission in every credential type is handled according to the rule `false` \> `true` \> `undefined`.
*/ */
export class UnionPermissionReader extends UnionHandler<PermissionReader> { export class UnionPermissionReader extends StatusUnionHandler<PermissionReader> {
public constructor(readers: PermissionReader[]) { public constructor(readers: PermissionReader[]) {
super(readers); super(readers);
} }

View File

@ -1,6 +1,6 @@
import type { Store, Term } from 'n3'; import type { Store, Term } from 'n3';
import { AsyncHandler } from 'asynchronous-handlers';
import type { Credentials } from '../../authentication/Credentials'; import type { Credentials } from '../../authentication/Credentials';
import { AsyncHandler } from '../../util/handlers/AsyncHandler';
/** /**
* Performs an authorization check against the given acl resource. * Performs an authorization check against the given acl resource.

View File

@ -1,5 +1,5 @@
import { AsyncHandler } from 'asynchronous-handlers';
import type { Operation } from '../../http/Operation'; import type { Operation } from '../../http/Operation';
import { AsyncHandler } from '../../util/handlers/AsyncHandler';
import type { AccessMap } from './Permissions'; import type { AccessMap } from './Permissions';
/** /**

View File

@ -1,4 +1,4 @@
import { AsyncHandler } from '../../util/handlers/AsyncHandler'; import { AsyncHandler } from 'asynchronous-handlers';
import type { RepresentationMetadata } from '../representation/RepresentationMetadata'; import type { RepresentationMetadata } from '../representation/RepresentationMetadata';
/** /**

View File

@ -1,4 +1,4 @@
import { AsyncHandler } from '../../util/handlers/AsyncHandler'; import { AsyncHandler } from 'asynchronous-handlers';
import type { Representation } from '../representation/Representation'; import type { Representation } from '../representation/Representation';
import type { ResourceIdentifier } from '../representation/ResourceIdentifier'; import type { ResourceIdentifier } from '../representation/ResourceIdentifier';

View File

@ -1,5 +1,5 @@
import { AsyncHandler } from 'asynchronous-handlers';
import type { HttpRequest } from '../../server/HttpRequest'; import type { HttpRequest } from '../../server/HttpRequest';
import { AsyncHandler } from '../../util/handlers/AsyncHandler';
import type { Operation } from '../Operation'; import type { Operation } from '../Operation';
/** /**

View File

@ -1,5 +1,5 @@
import { AsyncHandler } from 'asynchronous-handlers';
import type { HttpRequest } from '../../../server/HttpRequest'; import type { HttpRequest } from '../../../server/HttpRequest';
import { AsyncHandler } from '../../../util/handlers/AsyncHandler';
import type { Representation } from '../../representation/Representation'; import type { Representation } from '../../representation/Representation';
import type { RepresentationMetadata } from '../../representation/RepresentationMetadata'; import type { RepresentationMetadata } from '../../representation/RepresentationMetadata';

View File

@ -1,6 +1,6 @@
import { AsyncHandler } from 'asynchronous-handlers';
import type { HttpRequest } from '../../../server/HttpRequest'; import type { HttpRequest } from '../../../server/HttpRequest';
import type { Conditions } from '../../../storage/conditions/Conditions'; import type { Conditions } from '../../../storage/conditions/Conditions';
import { AsyncHandler } from '../../../util/handlers/AsyncHandler';
/** /**
* Creates a Conditions object based on the input HttpRequest. * Creates a Conditions object based on the input HttpRequest.

View File

@ -1,5 +1,5 @@
import { AsyncHandler } from 'asynchronous-handlers';
import type { HttpRequest } from '../../../server/HttpRequest'; import type { HttpRequest } from '../../../server/HttpRequest';
import { AsyncHandler } from '../../../util/handlers/AsyncHandler';
import type { ResourceIdentifier } from '../../representation/ResourceIdentifier'; import type { ResourceIdentifier } from '../../representation/ResourceIdentifier';
/** /**

View File

@ -1,5 +1,5 @@
import { AsyncHandler } from 'asynchronous-handlers';
import type { HttpRequest } from '../../../server/HttpRequest'; import type { HttpRequest } from '../../../server/HttpRequest';
import { AsyncHandler } from '../../../util/handlers/AsyncHandler';
import type { RepresentationMetadata } from '../../representation/RepresentationMetadata'; import type { RepresentationMetadata } from '../../representation/RepresentationMetadata';
/** /**

View File

@ -1,5 +1,5 @@
import { AsyncHandler } from 'asynchronous-handlers';
import type { HttpRequest } from '../../../server/HttpRequest'; import type { HttpRequest } from '../../../server/HttpRequest';
import { AsyncHandler } from '../../../util/handlers/AsyncHandler';
import type { RepresentationPreferences } from '../../representation/RepresentationPreferences'; import type { RepresentationPreferences } from '../../representation/RepresentationPreferences';
/** /**

Some files were not shown because too many files have changed in this diff Show More