@@ -130,8 +130,8 @@ that contains the feature you want to change.
130
130
Chances are that configuration will contain the definition of the component you want to change.
131
131
In case there is no clear answer in there because there are many components, and you are not sure which one to edit,
132
132
or it is not clear what the parameters of a component do,
133
- the [ architecture] ( https://communitysolidserver.github.io/CommunitySolidServer/6 .x/architecture/overview/ )
134
- or [ API] ( https://communitysolidserver.github.io/CommunitySolidServer/6 .x/docs/ )
133
+ the [ architecture] ( https://communitysolidserver.github.io/CommunitySolidServer/7 .x/architecture/overview/ )
134
+ or [ API] ( https://communitysolidserver.github.io/CommunitySolidServer/7 .x/docs/ )
135
135
documentation might provide further information.
136
136
137
137
Below are some examples showing how you could discover where you need to make changes.
@@ -145,7 +145,7 @@ Let's look at the use case of changing the timeout of the locking system.
145
145
One of the clusters in the example above is ` "css:config/util/resource-locker/file.json" ` ,
146
146
which determines that the server will use a file-based locking system.
147
147
If we have a look at this
148
- [ file] ( https://github.com/CommunitySolidServer/CommunitySolidServer/blob/v6 .0.0/config/util/resource-locker/file.json )
148
+ [ file] ( https://github.com/CommunitySolidServer/CommunitySolidServer/blob/v7 .0.0/config/util/resource-locker/file.json )
149
149
we see the following (some parts cut for brevity):
150
150
151
151
``` json
@@ -179,7 +179,7 @@ to have a full understanding of what is going on in this file,
179
179
but we'll provide a short summary here which should help you along.
180
180
Every ` @type ` field corresponds to a TypeScript class in the CSS project.
181
181
` WrappedExpiringReadWriteLocker ` is a class for which you can find the
182
- [ source code] ( https://github.com/CommunitySolidServer/CommunitySolidServer/blob/v6 .0.0/src/util/locking/WrappedExpiringReadWriteLocker.ts )
182
+ [ source code] ( https://github.com/CommunitySolidServer/CommunitySolidServer/blob/v7 .0.0/src/util/locking/WrappedExpiringReadWriteLocker.ts )
183
183
in the CSS repository.
184
184
A block with this field in it will tell Components.js that it should create an instance of this class if it finds it.
185
185
The ` @id ` field is a unique identifier that we create, so we can reference this instance in different locations.
@@ -192,7 +192,7 @@ All the other values are parameters for the constructor of the class (except for
192
192
Now to get back to how we find the component we want to edit.
193
193
There are several components here, but one of them is of a locker type, has a description saying it is used for locks,
194
194
and, most importantly, has an ` expiration ` parameter.
195
- The [ API documentation] ( https://communitysolidserver.github.io/CommunitySolidServer/6 .x/docs/classes/WrappedExpiringReadWriteLocker.html )
195
+ The [ API documentation] ( https://communitysolidserver.github.io/CommunitySolidServer/7 .x/docs/classes/WrappedExpiringReadWriteLocker.html )
196
196
of this class also states
197
197
198
198
> Wraps around an existing ReadWriteLocker and adds expiration logic to prevent locks from getting stuck.
@@ -205,7 +205,7 @@ How to exactly do this we will show in the override section further below.
205
205
To change the templates that are used during pod creation we use a similar tactic as in the locking example above.
206
206
The default config has an import ` "css:config/identity/pod/static.json" ` ,
207
207
which determines how pods creation works.
208
- That [ file] ( https://github.com/CommunitySolidServer/CommunitySolidServer/blob/v6 .0.0/config/identity/pod/static.json )
208
+ That [ file] ( https://github.com/CommunitySolidServer/CommunitySolidServer/blob/v7 .0.0/config/identity/pod/static.json )
209
209
has the following contents:
210
210
211
211
``` json
@@ -229,7 +229,7 @@ has the following contents:
229
229
This does not seem to have anything related to the templates used, unfortunately.
230
230
It does have an import though: ` "css:config/identity/pod/resource-generators/templated.json" ` .
231
231
This means that
232
- [ file] ( ( https://github.com/CommunitySolidServer/CommunitySolidServer/blob/v6 .0.0/config/identity/pod/resource-generators/templated.json) )
232
+ [ file] ( https://github.com/CommunitySolidServer/CommunitySolidServer/blob/v7 .0.0/config/identity/pod/resource-generators/templated.json )
233
233
is also related to the pod management cluster.
234
234
It contains the following data:
235
235
0 commit comments