mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
chore: Update links for new repository
This commit is contained in:
2
.github/ISSUE_TEMPLATE/feature-request.md
vendored
2
.github/ISSUE_TEMPLATE/feature-request.md
vendored
@@ -9,5 +9,5 @@ assignees: ''
|
||||
|
||||
#### Feature description:
|
||||
|
||||
<!--In case you want to start a discussion about an idea, discussions are better suited for this https://github.com/solid/community-server/discussions -->
|
||||
<!--In case you want to start a discussion about an idea, discussions are better suited for this https://github.com/CommunitySolidServer/CommunitySolidServer/discussions -->
|
||||
<!--A clear and concise description of what you want to happen.-->
|
||||
|
||||
2
.github/ISSUE_TEMPLATE/question.md
vendored
2
.github/ISSUE_TEMPLATE/question.md
vendored
@@ -9,5 +9,5 @@ assignees: ''
|
||||
|
||||
#### Question
|
||||
|
||||
<!-- Questions are usually better suited for discussions, which can be found at https://github.com/solid/community-server/discussions -->
|
||||
<!-- Questions are usually better suited for discussions, which can be found at https://github.com/CommunitySolidServer/CommunitySolidServer/discussions -->
|
||||
<!-- In case you think this would better as an issue, please provide a clear and concisely formulated question.-->
|
||||
|
||||
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -1,7 +1,7 @@
|
||||
#### 📁 Related issues
|
||||
|
||||
<!--
|
||||
Reference any relevant issues here. Closing keywords only have an effect when targeting the main branch. If there are no related issues, you must first create an issue through https://github.com/solid/community-server/issues/new/choose
|
||||
Reference any relevant issues here. Closing keywords only have an effect when targeting the main branch. If there are no related issues, you must first create an issue through https://github.com/CommunitySolidServer/CommunitySolidServer/issues/new/choose
|
||||
-->
|
||||
|
||||
#### ✍️ Description
|
||||
|
||||
32
README.md
32
README.md
@@ -1,14 +1,14 @@
|
||||
# Community Solid Server
|
||||
|
||||
<img src="https://raw.githubusercontent.com/solid/community-server/main/templates/images/solid.svg" alt="[Solid logo]" height="150" align="right"/>
|
||||
<img src="https://raw.githubusercontent.com/CommunitySolidServer/CommunitySolidServer/main/templates/images/solid.svg" alt="[Solid logo]" height="150" align="right"/>
|
||||
|
||||
[](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/).
|
||||
|
||||
@@ -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.
|
||||
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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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<Account> => ({
|
||||
accountId: sub,
|
||||
async claims(): Promise<{ sub: string; [key: string]: any }> {
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -34,7 +34,7 @@ export class ValidatingDataAccessor extends PassthroughDataAccessor {
|
||||
public async writeContainer(identifier: ResourceIdentifier, metadata: RepresentationMetadata): Promise<void> {
|
||||
// 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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -32,7 +32,7 @@ export function isGuarded<T extends NodeJS.EventEmitter>(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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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).
|
||||
|
||||
@@ -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).
|
||||
|
||||
@@ -52,8 +52,8 @@
|
||||
</p>
|
||||
<p>
|
||||
You are warmly invited
|
||||
to <a href="https://github.com/solid/community-server/discussions">share your experiences</a>
|
||||
and to <a href="https://github.com/solid/community-server/issues">report any bugs</a> you encounter.
|
||||
to <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/discussions">share your experiences</a>
|
||||
and to <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/issues">report any bugs</a> you encounter.
|
||||
</p>
|
||||
</main>
|
||||
<footer>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
</label>
|
||||
<p>
|
||||
You can disable account registration
|
||||
by <a href="https://github.com/solid/community-server/blob/main/config/identity/README.md">changing the configuration</a>.
|
||||
by <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/main/config/identity/README.md">changing the configuration</a>.
|
||||
</p>
|
||||
</li>
|
||||
<li class="checkbox">
|
||||
|
||||
@@ -283,7 +283,7 @@ describe.each(stores)('An LDP handler allowing all requests %s', (name, { storeC
|
||||
expect(await deleteResource(containerUrl)).toBeUndefined();
|
||||
});
|
||||
|
||||
// https://github.com/solid/community-server/issues/498
|
||||
// https://github.com/CommunitySolidServer/CommunitySolidServer/issues/498
|
||||
it('accepts a GET with Content-Length: 0.', async(): Promise<void> => {
|
||||
// PUT
|
||||
const documentUrl = `${baseUrl}foo/bar`;
|
||||
|
||||
@@ -25,7 +25,7 @@ describe('A RawBodyparser', (): void => {
|
||||
await expect(arrayifyStream(result.data)).resolves.toEqual([]);
|
||||
});
|
||||
|
||||
// https://github.com/solid/community-server/issues/498
|
||||
// https://github.com/CommunitySolidServer/CommunitySolidServer/issues/498
|
||||
it('returns empty output if the content length is 0 and there is no content type.', async(): Promise<void> => {
|
||||
input.request = guardedStreamFrom([ 'data' ]) as HttpRequest;
|
||||
input.request.headers = { 'content-length': '0' };
|
||||
|
||||
Reference in New Issue
Block a user