From e4f1e2aa0c068b3496f54593f2d060700142bed0 Mon Sep 17 00:00:00 2001
From: Joachim Van Herwegen
Date: Thu, 10 Mar 2022 09:01:53 +0100
Subject: [PATCH 1/5] chore(deps): update arrayify-stream to v2
---
package-lock.json | 55 +++++++++++--------
package.json | 3 +-
src/storage/accessors/SparqlDataAccessor.ts | 2 +-
src/util/FetchUtil.ts | 2 +-
src/util/StreamUtil.ts | 2 +-
.../storage/DataAccessorBasedStore.test.ts | 2 +-
6 files changed, 36 insertions(+), 30 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index c58a0d663..f927b77e3 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -11,7 +11,6 @@
"dependencies": {
"@comunica/actor-init-sparql": "^1.22.3",
"@solid/access-token-verifier": "^1.1.3",
- "@types/arrayify-stream": "^1.0.0",
"@types/async-lock": "^1.1.3",
"@types/bcrypt": "^5.0.0",
"@types/cors": "^2.8.12",
@@ -33,7 +32,7 @@
"@types/uuid": "^8.3.4",
"@types/ws": "^8.2.2",
"@types/yargs": "^17.0.8",
- "arrayify-stream": "^1.0.0",
+ "arrayify-stream": "^2.0.0",
"async-lock": "^1.3.0",
"bcrypt": "^5.0.1",
"componentsjs": "^4.5.0",
@@ -2070,6 +2069,11 @@
"@comunica/core": "^1.2.0"
}
},
+ "node_modules/@comunica/actor-query-operation-sparql-endpoint/node_modules/arrayify-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/arrayify-stream/-/arrayify-stream-1.0.0.tgz",
+ "integrity": "sha512-RP80ep76Lbew2wWN5ogrl2NluTnBVYYh2K3NNCcWfcmmUB7nBcNBctiJeEZAixp3I1vQ9H88iHZ9MbHSdkuupQ=="
+ },
"node_modules/@comunica/actor-query-operation-sparql-endpoint/node_modules/sparqlalgebrajs": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/sparqlalgebrajs/-/sparqlalgebrajs-3.0.3.tgz",
@@ -4260,14 +4264,6 @@
"@types/node": "*"
}
},
- "node_modules/@types/arrayify-stream": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@types/arrayify-stream/-/arrayify-stream-1.0.0.tgz",
- "integrity": "sha512-rTx+OXoOJxoscixxecOqaEABaN6Qh/BNImDBnytLVrDI+glba4LJ7RS9JGRcc7auLtdFcM4s8+fdN6pb/K24OA==",
- "dependencies": {
- "@types/node": "*"
- }
- },
"node_modules/@types/async-lock": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/@types/async-lock/-/async-lock-1.1.3.tgz",
@@ -5593,9 +5589,9 @@
}
},
"node_modules/arrayify-stream": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/arrayify-stream/-/arrayify-stream-1.0.0.tgz",
- "integrity": "sha512-RP80ep76Lbew2wWN5ogrl2NluTnBVYYh2K3NNCcWfcmmUB7nBcNBctiJeEZAixp3I1vQ9H88iHZ9MbHSdkuupQ=="
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/arrayify-stream/-/arrayify-stream-2.0.0.tgz",
+ "integrity": "sha512-Z2NRtxpWQIz3NRA2bEZOziIungBH+fpsFFEolc5u8uVRheYitvsDNvejlfyh/hjZ9VyS9Ba62oY0zc5oa6Wu7g=="
},
"node_modules/arrify": {
"version": "1.0.1",
@@ -11314,6 +11310,12 @@
"manual-git-changelog": "bin/cli.js"
}
},
+ "node_modules/manual-git-changelog/node_modules/arrayify-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/arrayify-stream/-/arrayify-stream-1.0.0.tgz",
+ "integrity": "sha512-RP80ep76Lbew2wWN5ogrl2NluTnBVYYh2K3NNCcWfcmmUB7nBcNBctiJeEZAixp3I1vQ9H88iHZ9MbHSdkuupQ==",
+ "dev": true
+ },
"node_modules/map-obj": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.1.0.tgz",
@@ -16678,6 +16680,11 @@
"sparqlalgebrajs": "^3.0.0"
},
"dependencies": {
+ "arrayify-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/arrayify-stream/-/arrayify-stream-1.0.0.tgz",
+ "integrity": "sha512-RP80ep76Lbew2wWN5ogrl2NluTnBVYYh2K3NNCcWfcmmUB7nBcNBctiJeEZAixp3I1vQ9H88iHZ9MbHSdkuupQ=="
+ },
"sparqlalgebrajs": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/sparqlalgebrajs/-/sparqlalgebrajs-3.0.3.tgz",
@@ -18383,14 +18390,6 @@
"@types/node": "*"
}
},
- "@types/arrayify-stream": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@types/arrayify-stream/-/arrayify-stream-1.0.0.tgz",
- "integrity": "sha512-rTx+OXoOJxoscixxecOqaEABaN6Qh/BNImDBnytLVrDI+glba4LJ7RS9JGRcc7auLtdFcM4s8+fdN6pb/K24OA==",
- "requires": {
- "@types/node": "*"
- }
- },
"@types/async-lock": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/@types/async-lock/-/async-lock-1.1.3.tgz",
@@ -19448,9 +19447,9 @@
}
},
"arrayify-stream": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/arrayify-stream/-/arrayify-stream-1.0.0.tgz",
- "integrity": "sha512-RP80ep76Lbew2wWN5ogrl2NluTnBVYYh2K3NNCcWfcmmUB7nBcNBctiJeEZAixp3I1vQ9H88iHZ9MbHSdkuupQ=="
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/arrayify-stream/-/arrayify-stream-2.0.0.tgz",
+ "integrity": "sha512-Z2NRtxpWQIz3NRA2bEZOziIungBH+fpsFFEolc5u8uVRheYitvsDNvejlfyh/hjZ9VyS9Ba62oY0zc5oa6Wu7g=="
},
"arrify": {
"version": "1.0.1",
@@ -23825,6 +23824,14 @@
"git-raw-commits": "^2.0.0",
"git-semver-tags": "^2.0.0",
"minimist": "^1.2.0"
+ },
+ "dependencies": {
+ "arrayify-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/arrayify-stream/-/arrayify-stream-1.0.0.tgz",
+ "integrity": "sha512-RP80ep76Lbew2wWN5ogrl2NluTnBVYYh2K3NNCcWfcmmUB7nBcNBctiJeEZAixp3I1vQ9H88iHZ9MbHSdkuupQ==",
+ "dev": true
+ }
}
},
"map-obj": {
diff --git a/package.json b/package.json
index 8936e891e..e9a724868 100644
--- a/package.json
+++ b/package.json
@@ -77,7 +77,6 @@
"dependencies": {
"@comunica/actor-init-sparql": "^1.22.3",
"@solid/access-token-verifier": "^1.1.3",
- "@types/arrayify-stream": "^1.0.0",
"@types/async-lock": "^1.1.3",
"@types/bcrypt": "^5.0.0",
"@types/cors": "^2.8.12",
@@ -99,7 +98,7 @@
"@types/uuid": "^8.3.4",
"@types/ws": "^8.2.2",
"@types/yargs": "^17.0.8",
- "arrayify-stream": "^1.0.0",
+ "arrayify-stream": "^2.0.0",
"async-lock": "^1.3.0",
"bcrypt": "^5.0.1",
"componentsjs": "^4.5.0",
diff --git a/src/storage/accessors/SparqlDataAccessor.ts b/src/storage/accessors/SparqlDataAccessor.ts
index c9de337fa..578de3dc3 100644
--- a/src/storage/accessors/SparqlDataAccessor.ts
+++ b/src/storage/accessors/SparqlDataAccessor.ts
@@ -125,7 +125,7 @@ export class SparqlDataAccessor implements DataAccessor {
}
const { name, parent } = this.getRelatedNames(identifier);
- const triples = await arrayifyStream(data) as Quad[];
+ const triples = await arrayifyStream(data);
const def = defaultGraph();
if (triples.some((triple): boolean => !def.equals(triple.graph))) {
throw new NotImplementedHttpError('Only triples in the default graph are supported.');
diff --git a/src/util/FetchUtil.ts b/src/util/FetchUtil.ts
index 5398dede5..9f6637678 100644
--- a/src/util/FetchUtil.ts
+++ b/src/util/FetchUtil.ts
@@ -23,7 +23,7 @@ export async function fetchDataset(url: string): Promise {
return (async(): Promise => {
try {
const quadStream = (await rdfDereferencer.dereference(url)).quads as Readable;
- const quadArray = await arrayifyStream(quadStream) as Quad[];
+ const quadArray = await arrayifyStream(quadStream);
return new BasicRepresentation(quadArray, { path: url }, INTERNAL_QUADS, false);
} catch {
throw new BadRequestHttpError(`Could not parse resource at URL (${url})!`);
diff --git a/src/util/StreamUtil.ts b/src/util/StreamUtil.ts
index f76c8e498..306ec4eff 100644
--- a/src/util/StreamUtil.ts
+++ b/src/util/StreamUtil.ts
@@ -22,7 +22,7 @@ const logger = getLoggerFor('StreamUtil');
* @returns The joined string.
*/
export async function readableToString(stream: Readable): Promise {
- return (await arrayifyStream(stream)).join('');
+ return (await arrayifyStream(stream)).join('');
}
/**
diff --git a/test/unit/storage/DataAccessorBasedStore.test.ts b/test/unit/storage/DataAccessorBasedStore.test.ts
index 4c9bbf59b..081916886 100644
--- a/test/unit/storage/DataAccessorBasedStore.test.ts
+++ b/test/unit/storage/DataAccessorBasedStore.test.ts
@@ -283,7 +283,7 @@ describe('A DataAccessorBasedStore', (): void => {
expect(accessor.data[result.path].metadata.contentType).toBeUndefined();
const { data, metadata } = await store.getRepresentation(result);
- const quads: Quad[] = await arrayifyStream(data);
+ const quads = await arrayifyStream(data);
expect(metadata.get(DC.terms.modified)?.value).toBe(now.toISOString());
expect(quads.some((entry): boolean => entry.subject.value === result.path &&
entry.object.value === 'http://test.com/coolContainer')).toBeTruthy();
From 3c32466d8873e73328f678acce1260fea02cabc9 Mon Sep 17 00:00:00 2001
From: Jasper Vaneessen
Date: Wed, 23 Mar 2022 15:19:06 +0100
Subject: [PATCH 2/5] docs: Update and extend helm instructions
* docs: helm instruction links updated + more instruction.
* Update README.md
Co-authored-by: Joachim Van Herwegen
Co-authored-by: Joachim Van Herwegen
---
README.md | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 901b9c9cd..63bca8c73 100644
--- a/README.md
+++ b/README.md
@@ -84,7 +84,13 @@ docker run --rm -v ~/solid-config:/config -p 3000:3000 -it solidproject/communit
```
### 🗃️ Helm Chart
-The official [Helm](https://helm.sh/) Chart for Kubernetes deployment is maintained and published on [ArtifactHUB](https://artifacthub.io/packages/helm/idlab-gent/css).
+The official [Helm](https://helm.sh/) Chart for Kubernetes deployment is maintained at [CommunitySolidServer/css-helm-chart](https://github.com/CommunitySolidServer/css-helm-chart) and published on [ArtifactHUB](https://artifacthub.io/packages/helm/community-solid-server/community-solid-server). There you will find complete installation instructions.
+
+```
+# Summary
+helm repo add community-solid-server https://communitysolidserver.github.io/css-helm-chart/charts/
+helm install my-css community-solid-server/community-solid-server
+```
## 🔧 Configuring the server
The Community Solid Server is designed to be flexible
From 7d3320dea64f6552744787af7ead9965882c83da Mon Sep 17 00:00:00 2001
From: Joachim Van Herwegen
Date: Fri, 18 Mar 2022 10:34:34 +0100
Subject: [PATCH 3/5] chore: Update links for new repository
---
.github/ISSUE_TEMPLATE/feature-request.md | 2 +-
.github/ISSUE_TEMPLATE/question.md | 2 +-
.github/PULL_REQUEST_TEMPLATE.md | 2 +-
README.md | 32 +++++++++----------
guides/custom-configurations.md | 6 ++--
guides/developer-notes.md | 4 +--
package.json | 6 ++--
src/http/ldp/PatchOperationHandler.ts | 2 +-
src/http/ldp/PutOperationHandler.ts | 2 +-
.../configuration/IdentityProviderFactory.ts | 2 +-
src/storage/LockingResourceStore.ts | 2 +-
.../accessors/ValidatingDataAccessor.ts | 2 +-
src/storage/conversion/ChainedConverter.ts | 2 +-
src/util/GuardedStream.ts | 2 +-
templates/error/descriptions/H401.md.hbs | 2 +-
templates/error/descriptions/H500.md.hbs | 2 +-
templates/error/descriptions/H501.md.hbs | 2 +-
templates/root/prefilled/index.html | 4 +--
templates/setup/input-partial.html.ejs | 2 +-
.../integration/LdpHandlerWithoutAuth.test.ts | 2 +-
.../http/input/body/RawBodyParser.test.ts | 2 +-
21 files changed, 42 insertions(+), 42 deletions(-)
diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md
index fca4c3fec..ad470ed57 100644
--- a/.github/ISSUE_TEMPLATE/feature-request.md
+++ b/.github/ISSUE_TEMPLATE/feature-request.md
@@ -9,5 +9,5 @@ assignees: ''
#### Feature description:
-
+
diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md
index 7add40a8a..642c2b892 100644
--- a/.github/ISSUE_TEMPLATE/question.md
+++ b/.github/ISSUE_TEMPLATE/question.md
@@ -9,5 +9,5 @@ assignees: ''
#### Question
-
+
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 666bccc70..90d45b008 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -1,7 +1,7 @@
#### 📁 Related issues
#### ✍️ Description
diff --git a/README.md b/README.md
index 63bca8c73..275677ee6 100644
--- a/README.md
+++ b/README.md
@@ -1,14 +1,14 @@
# Community Solid Server
-
+
-[](https://github.com/solid/community-server/blob/main/LICENSE.md)
+[](https://github.com/CommunitySolidServer/CommunitySolidServer/blob/main/LICENSE.md)
[](https://www.npmjs.com/package/@solid/community-server)
[](https://www.npmjs.com/package/@solid/community-server)
-[](https://github.com/solid/community-server/actions)
-[](https://coveralls.io/github/solid/community-server)
-[](https://github.com/solid/community-server/discussions)
-[](https://gitter.im/solid/community-server)
+[](https://github.com/CommunitySolidServer/CommunitySolidServer/actions)
+[](https://coveralls.io/github/CommunitySolidServer/CommunitySolidServer)
+[](https://github.com/CommunitySolidServer/CommunitySolidServer/discussions)
+[](https://gitter.im/CommunitySolidServer/community)
**The Community Solid Server is open software
that provides you with a [Solid](https://solidproject.org/) Pod and identity.
@@ -62,7 +62,7 @@ If you rather prefer to run the latest source code version,
or if you want to try a specific [branch](https://www.npmjs.com/) of the code,
you can use:
```shell
-git clone https://github.com/solid/community-server.git
+git clone https://github.com/CommunitySolidServer/CommunitySolidServer.git
cd community-server
npm ci
npm start -- # add parameters if needed
@@ -73,7 +73,7 @@ Docker allows you to run the server without having Node.js installed. Images are
```shell
# Clone the repo to get access to the configs
-git clone https://github.com/solid/community-server.git
+git clone https://github.com/CommunitySolidServer/CommunitySolidServer.git
cd community-server
# Run the image, serving your `~/Solid` directory on `http://localhost:3000`
docker run --rm -v ~/Solid:/data -p 3000:3000 -it solidproject/community-server:latest
@@ -125,29 +125,29 @@ The Community Solid Server uses [Components.js](https://componentsjs.readthedocs
to specify how modules and components need to be wired together at runtime.
Examples and guidance on configurations
-are available in the [`config` folder](https://github.com/solid/community-server/tree/main/config).
+are available in the [`config` folder](https://github.com/CommunitySolidServer/CommunitySolidServer/tree/main/config).
-Recipes for configuring the server can be found at [solid/community-server-recipes](https://github.com/solid/community-server-recipes).
+Recipes for configuring the server can be found at [CommunitySolidServer/recipes](https://github.com/CommunitySolidServer/recipes).
## 👩🏽💻 Developing server code
The server allows writing and plugging in custom modules
without altering its base source code.
-The [📗 API documentation](https://solid.github.io/community-server/docs/) and
+The [📗 API documentation](https://communitysolidserver.github.io/CommunitySolidServer/docs/) and
the [📐 architectural diagram](https://rubenverborgh.github.io/solid-server-architecture/solid-architecture-v1-3-0.pdf)
can help you find your way.
If you want to help out with server development,
-have a look at the [📓 developer notes](https://github.com/solid/community-server/blob/main/guides/developer-notes.md) and
-[🛠️ good first issues](https://github.com/solid/community-server/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22).
+have a look at the [📓 developer notes](https://github.com/CommunitySolidServer/CommunitySolidServer/blob/main/guides/developer-notes.md) and
+[🛠️ good first issues](https://github.com/CommunitySolidServer/CommunitySolidServer/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22).
## 📜 License
The Solid Community Server code
is copyrighted by [Inrupt Inc.](https://inrupt.com/)
and [imec](https://www.imec-int.com/)
-and available under the [MIT License](https://github.com/solid/community-server/blob/main/LICENSE.md).
+and available under the [MIT License](https://github.com/CommunitySolidServer/CommunitySolidServer/blob/main/LICENSE.md).
Core contributors are
[Joachim Van Herwegen](https://github.com/joachimvh),
@@ -158,7 +158,7 @@ and
## 🎤 Feedback and questions
-Don't hesitate to [start a discussion](https://github.com/solid/community-server/discussions)
-or [report a bug](https://github.com/solid/community-server/issues).
+Don't hesitate to [start a discussion](https://github.com/CommunitySolidServer/CommunitySolidServer/discussions)
+or [report a bug](https://github.com/CommunitySolidServer/CommunitySolidServer/issues).
Learn more about Solid at [solidproject.org](https://solidproject.org/).
diff --git a/guides/custom-configurations.md b/guides/custom-configurations.md
index 9c9298ede..dc5f9966b 100644
--- a/guides/custom-configurations.md
+++ b/guides/custom-configurations.md
@@ -1,6 +1,6 @@
By default, the server will start with a set of preconfigured components.
-These components are configured in [`config/default.json`](https://github.com/solid/community-server/tree/master/config/default.json).
-Learn more about the structure of this config file in the [notes for developers](https://github.com/solid/community-server/wiki/Notes-for-developers#add-components-to-configuration).
+These components are configured in [`config/default.json`](https://github.com/CommunitySolidServer/CommunitySolidServer/tree/master/config/default.json).
+Learn more about the structure of this config file in the [notes for developers](https://github.com/CommunitySolidServer/CommunitySolidServer/wiki/Notes-for-developers#add-components-to-configuration).
## Local development environment
@@ -25,4 +25,4 @@ TODO: after making a first release, write a guide on how to create a custom conf
## Including the server as dependency in another package.
-TODO: after making a first release, write a guide on how to create a custom config for it when it is included as a dependency in another package.
\ No newline at end of file
+TODO: after making a first release, write a guide on how to create a custom config for it when it is included as a dependency in another package.
diff --git a/guides/developer-notes.md b/guides/developer-notes.md
index 763e39d41..494086aec 100644
--- a/guides/developer-notes.md
+++ b/guides/developer-notes.md
@@ -27,8 +27,8 @@ The advantage of this is that changing the configuration of components does not
### Config file structure
In order to add a component to the default configuration,
-you will have to update [`config/default.json`](https://github.com/solid/community-server/tree/master/config/default.json),
-or any of its _imported_ files, which exist in the [`config subfolders`](https://github.com/solid/community-server/tree/master/config/).
+you will have to update [`config/default.json`](https://github.com/CommunitySolidServer/CommunitySolidServer/tree/master/config/default.json),
+or any of its _imported_ files, which exist in the [`config subfolders`](https://github.com/CommunitySolidServer/CommunitySolidServer/tree/master/config/).
A component in a configuration file has the following structure:
```json
diff --git a/package.json b/package.json
index e9a724868..862cb1a17 100644
--- a/package.json
+++ b/package.json
@@ -33,11 +33,11 @@
"bin": {
"community-solid-server": "bin/server.js"
},
- "repository": "git@github.com:solid/community-server.git",
+ "repository": "git@github.com:CommunitySolidServer/CommunitySolidServer.git",
"bugs": {
- "url": "https://github.com/solid/community-server/issues"
+ "url": "https://github.com/CommunitySolidServer/CommunitySolidServer/issues"
},
- "homepage": "https://github.com/solid/community-server#readme",
+ "homepage": "https://github.com/CommunitySolidServer/CommunitySolidServer#readme",
"scripts": {
"build": "npm run build:ts && npm run build:components",
"build:components": "componentsjs-generator -s src -c dist/components -r scs -i .componentsignore --typeScopedContexts",
diff --git a/src/http/ldp/PatchOperationHandler.ts b/src/http/ldp/PatchOperationHandler.ts
index e17a3da6d..31950d3c3 100644
--- a/src/http/ldp/PatchOperationHandler.ts
+++ b/src/http/ldp/PatchOperationHandler.ts
@@ -38,7 +38,7 @@ export class PatchOperationHandler extends OperationHandler {
throw new BadRequestHttpError('PATCH requests require the Content-Type header to be set');
}
// A more efficient approach would be to have the server return metadata indicating if a resource was new
- // See https://github.com/solid/community-server/issues/632
+ // See https://github.com/CommunitySolidServer/CommunitySolidServer/issues/632
// RFC7231, §4.3.4: If the target resource does not have a current representation and the
// PUT successfully creates one, then the origin server MUST inform the
// user agent by sending a 201 (Created) response.
diff --git a/src/http/ldp/PutOperationHandler.ts b/src/http/ldp/PutOperationHandler.ts
index deb25c221..6327d24bf 100644
--- a/src/http/ldp/PutOperationHandler.ts
+++ b/src/http/ldp/PutOperationHandler.ts
@@ -37,7 +37,7 @@ export class PutOperationHandler extends OperationHandler {
throw new BadRequestHttpError('PUT requests require the Content-Type header to be set');
}
// A more efficient approach would be to have the server return metadata indicating if a resource was new
- // See https://github.com/solid/community-server/issues/632
+ // See https://github.com/CommunitySolidServer/CommunitySolidServer/issues/632
const exists = await this.store.resourceExists(operation.target, operation.conditions);
await this.store.setRepresentation(operation.target, operation.body, operation.conditions);
if (exists) {
diff --git a/src/identity/configuration/IdentityProviderFactory.ts b/src/identity/configuration/IdentityProviderFactory.ts
index 93b5545ac..1c206812c 100644
--- a/src/identity/configuration/IdentityProviderFactory.ts
+++ b/src/identity/configuration/IdentityProviderFactory.ts
@@ -209,7 +209,7 @@ export class IdentityProviderFactory implements ProviderFactory {
private configureClaims(config: Configuration): void {
// Returns the id_token
// See https://solid.github.io/authentication-panel/solid-oidc/#tokens-id
- // Some fields are still missing, see https://github.com/solid/community-server/issues/1154#issuecomment-1040233385
+ // Some fields are still missing, see https://github.com/CommunitySolidServer/CommunitySolidServer/issues/1154#issuecomment-1040233385
config.findAccount = async(ctx: KoaContextWithOIDC, sub: string): Promise => ({
accountId: sub,
async claims(): Promise<{ sub: string; [key: string]: any }> {
diff --git a/src/storage/LockingResourceStore.ts b/src/storage/LockingResourceStore.ts
index a8740534c..f3fe0e535 100644
--- a/src/storage/LockingResourceStore.ts
+++ b/src/storage/LockingResourceStore.ts
@@ -96,7 +96,7 @@ export class LockingResourceStore implements AtomicResourceStore {
// Note that we can't just return the result of `withReadLock` since that promise only
// resolves when the stream is finished, while we want `lockedRepresentationRun` to resolve
// once we have the Representation.
- // See https://github.com/solid/community-server/pull/536#discussion_r562467957
+ // See https://github.com/CommunitySolidServer/CommunitySolidServer/pull/536#discussion_r562467957
return new Promise((resolve, reject): void => {
let representation: Representation;
// Make the resource time out to ensure that the lock is always released eventually.
diff --git a/src/storage/accessors/ValidatingDataAccessor.ts b/src/storage/accessors/ValidatingDataAccessor.ts
index 394b4c7cb..3e808e0eb 100644
--- a/src/storage/accessors/ValidatingDataAccessor.ts
+++ b/src/storage/accessors/ValidatingDataAccessor.ts
@@ -34,7 +34,7 @@ export class ValidatingDataAccessor extends PassthroughDataAccessor {
public async writeContainer(identifier: ResourceIdentifier, metadata: RepresentationMetadata): Promise {
// A container's data mainly resides in its metadata,
// of which we can't calculate the disk size of at this point in the code.
- // Extra info can be found here: https://github.com/solid/community-server/pull/973#discussion_r723376888
+ // Extra info can be found here: https://github.com/CommunitySolidServer/CommunitySolidServer/pull/973#discussion_r723376888
return this.accessor.writeContainer(identifier, metadata);
}
}
diff --git a/src/storage/conversion/ChainedConverter.ts b/src/storage/conversion/ChainedConverter.ts
index 4704385d1..9415b9d96 100644
--- a/src/storage/conversion/ChainedConverter.ts
+++ b/src/storage/conversion/ChainedConverter.ts
@@ -64,7 +64,7 @@ type ConversionPath = {
* Most of these decrease computation time at the cost of more memory.
* - The algorithm could start on both ends of a possible path and work towards the middle.
* - When creating a path, store the list of unused converters instead of checking every step.
- * - Caching: https://github.com/solid/community-server/issues/832
+ * - Caching: https://github.com/CommunitySolidServer/CommunitySolidServer/issues/832
* - Making sure each intermediate type is only used once.
* - The TypedRepresentationConverter interface could potentially be updated
* so paths only differing in intermediate types can be combined.
diff --git a/src/util/GuardedStream.ts b/src/util/GuardedStream.ts
index 8efbc2479..b124008e7 100644
--- a/src/util/GuardedStream.ts
+++ b/src/util/GuardedStream.ts
@@ -32,7 +32,7 @@ export function isGuarded(stream: T): stream is G
*
* It is important that this listener always remains attached for edge cases where an error listener gets removed
* and the number of error listeners is checked immediately afterwards.
- * See https://github.com/solid/community-server/pull/462#issuecomment-758013492 .
+ * See https://github.com/CommunitySolidServer/CommunitySolidServer/pull/462#issuecomment-758013492 .
*/
function guardingErrorListener(this: Guarded, error: Error): void {
// Only fall back to this if no new listeners are attached since guarding started.
diff --git a/templates/error/descriptions/H401.md.hbs b/templates/error/descriptions/H401.md.hbs
index bc3a3889b..8b35940d2 100644
--- a/templates/error/descriptions/H401.md.hbs
+++ b/templates/error/descriptions/H401.md.hbs
@@ -12,5 +12,5 @@ Choose one of the [Solid apps](https://solidproject.org/apps)
to log in and browse Pods.
Alternatively,
-[configure](https://github.com/solid/community-server-recipes)
+[configure](https://github.com/CommunitySolidServer/recipes)
this server with a default application.
diff --git a/templates/error/descriptions/H500.md.hbs b/templates/error/descriptions/H500.md.hbs
index b7e2a5d68..19bd868b8 100644
--- a/templates/error/descriptions/H500.md.hbs
+++ b/templates/error/descriptions/H500.md.hbs
@@ -5,4 +5,4 @@ This could be due to a misconfiguration on the server side,
or due to a bug in the server code.
If you think this is a bug,
-please [file a bug report](https://github.com/solid/community-server/issues/new).
+please [file a bug report](https://github.com/CommunitySolidServer/CommunitySolidServer/issues/new).
diff --git a/templates/error/descriptions/H501.md.hbs b/templates/error/descriptions/H501.md.hbs
index 9116877e4..de12f09d8 100644
--- a/templates/error/descriptions/H501.md.hbs
+++ b/templates/error/descriptions/H501.md.hbs
@@ -6,4 +6,4 @@ Possible causes include:
- the behavior you are trying to access is not described by the Solid specifications
If you think this behavior should be supported,
-you can [submit a bug report](https://github.com/solid/community-server/issues/new).
+you can [submit a bug report](https://github.com/CommunitySolidServer/CommunitySolidServer/issues/new).
diff --git a/templates/root/prefilled/index.html b/templates/root/prefilled/index.html
index 1ac5f7cb7..fd8776909 100644
--- a/templates/root/prefilled/index.html
+++ b/templates/root/prefilled/index.html
@@ -52,8 +52,8 @@
You are warmly invited
- to share your experiences
- and to report any bugs you encounter.
+ to share your experiences
+ and to report any bugs you encounter.