1219 Commits

Author SHA1 Message Date
Joachim Van Herwegen
fdd42bb7b3 feat: Add ContentTypeReplacer to conversion chain 2021-11-08 10:16:28 +01:00
Joachim Van Herwegen
fa94c7d4bb feat: Determine Typed Converter output based on input type 2021-11-08 10:16:28 +01:00
Joachim Van Herwegen
27306d6e3f refactor: Create BaseTypedRepresentationConverter 2021-11-08 10:16:28 +01:00
Joachim Van Herwegen
06663f3079 chore: Remove docker references from Windows integration tests 2021-11-05 16:19:54 +01:00
Joachim Van Herwegen
c2d811754b chore: Run integration tests on Windows
Also removed 17.0 from unit tests due to being a non-LTS version
2021-11-05 16:13:12 +01:00
Renovate Bot
2e99cc9934 fix(deps): update dependency sparqlalgebrajs to v4 2021-11-05 16:07:20 +01:00
Joachim Van Herwegen
9f0973b039 fix: Linter warnings 2021-11-05 15:59:28 +01:00
Renovate Bot
d317215e08 fix(deps): update dependency ws and @types/ws to v8.2 2021-11-05 14:48:35 +01:00
Joachim Van Herwegen
e9d2b17938 chore: Create issue templates 2021-11-05 09:48:55 +01:00
Joachim Van Herwegen
1810a97f20 chore: Target 3.0.0 branch in conformance CI 2021-11-05 08:50:17 +01:00
Ruben Verborgh
3861e64398 chore: Fix CHANGELOG for v2.0.1. 2021-11-02 16:37:01 +01:00
Ruben Verborgh
c24fe9fba8 Release version 2.0.1 of the npm package. v2.0.1 2021-11-02 15:34:33 +01:00
Ruben Verborgh
8c9887feea fix: Do not serve UI on special pages.
Fixes https://github.com/solid/community-server/issues/1034
2021-11-02 15:07:22 +01:00
Ruben Verborgh
e1a4ef29b9 chore: Run CI on version branches. 2021-11-02 13:36:18 +01:00
Ruben Verborgh
a17731ed1e chore: Run CI on Node 17. 2021-11-02 13:23:40 +01:00
Ruben Verborgh
557ba32577 chore: Gather coverage from all OSes. 2021-11-02 13:23:23 +01:00
Ruben Verborgh
b8db72dfd3 chore: Run integration tests separately. 2021-11-02 12:55:09 +01:00
Ruben Verborgh
81e7694845 chore: Fix dependency vulnerabilities. 2021-11-01 15:17:56 +01:00
Ruben Verborgh
b42150cf52 fix: Allow URLs with multiple leading slashes.
Fixes https://github.com/solid/community-server/issues/1025
2021-10-25 23:42:16 +02:00
Ruben Verborgh
2e4589938f
feat: Display symlinks in container listings.
Closes https://github.com/solid/community-server/issues/1015
2021-10-21 17:26:54 +01:00
Ruben Verborgh
9f241631f8 chore: Ignore test/tmp. 2021-10-21 13:57:28 +01:00
Ruben Verborgh
93b71eb726 docs: Add more warning to root ACLs. 2021-10-18 14:59:42 +01:00
Joachim Van Herwegen
d81b9ef2a4 chore: Add v2.1.0 branch to conformance test run 2021-10-18 10:22:30 +02:00
Wout Slabbinck
54ccbed48d fix: Added a content-type parser to HeaderUtil
* fixes #995

* fixed the remarks and added a test for parseContentType

* refactor: remove unnecessary comment

Co-authored-by: woutslabbinck <wout.slabbinck@ugent.com>
2021-10-15 13:13:37 +02:00
Joachim Van Herwegen
2a48b1f333 chore: Remove v2.0.0 branch from conformance test CI 2021-10-15 11:41:19 +02:00
Joachim Van Herwegen
6f858be350 chore: Update @solid/access-token-verifier to v1.0.1 2021-10-15 11:37:22 +02:00
Ruben Verborgh
216788e225 Release version 2.0.0 of the npm package. v2.0.0 2021-10-15 10:50:44 +02:00
Ruben Verborgh
6d985a65d0 chore: Update configs to v2.0.0. 2021-10-15 10:50:32 +02:00
Joachim Van Herwegen
4da1b1cc7d docs: Document new features and config changes for 2.0.0 2021-10-15 10:30:56 +02:00
Ruben Verborgh
d2fbcdd4d2 docs: Clarify solutions to wrong base URL. 2021-10-15 10:28:42 +02:00
Ruben Verborgh
a188bf1c6f docs: Explain how to log in.
Closes https://github.com/solid/community-server/pull/970
2021-10-15 10:28:32 +02:00
Joachim Van Herwegen
fb3a59c054 fix: Return 409 when there is a slash semantics issue 2021-10-15 09:15:49 +02:00
Joachim Van Herwegen
76c87bb56a fix: Return 201 when creating new resources 2021-10-12 15:44:31 +02:00
Joachim Van Herwegen
5613ff9e71 fix: Let Representations always have a body
This is relevant when the request has a content-type
but no data.
2021-10-12 13:30:06 +02:00
Joachim Van Herwegen
f1ef2ced03 docs: Add routing config for sparql endpoint and storage
Due to key/value stores using JSON objects,
the SPARQL resource store can not be used to store them,
meaning the only out of the box solution that works is memory storage.
This config makes it so file storage can be used for internal storage
while still having a SPARQL backend.
2021-10-12 13:13:09 +02:00
Joachim Van Herwegen
b3da9c9fcf refactor: Restructure source code folder
This way the location of certain classes should make more sense
2021-10-12 12:51:02 +02:00
Joachim Van Herwegen
012d9e0864 Merge branch 'main' into versions/2.0.0 2021-10-11 15:35:54 +02:00
Joachim Van Herwegen
d2f6141c29 chore: Run conformance tests on upcoming version 2021-10-11 15:33:18 +02:00
Joachim Van Herwegen
7c7fee5f5c refactor: Rename associated resource to subject resource 2021-10-08 15:49:49 +02:00
Joachim Van Herwegen
13c49045d4 feat: Support acl authorization for IDP components
Configuration has been updated so the IDP requests
also pass through an Authorization component.
A new config option was added to choose
which authorization scheme to use for the IDP.
2021-10-07 15:51:11 +02:00
Joachim Van Herwegen
9968f2ae5b feat: Generalize RootInitializer to ContainerInitializer
The initializer can now be used for any container.
The initializer also does not handle the repeat check anymore,
this is now configured with a ConditionalHandler.
2021-10-07 15:51:11 +02:00
Joachim Van Herwegen
bb7e88b137 refactor: Split HttpHandler behaviour over multiple classes
This allows easier reuse of certain reoccurring behaviours,
such as authorization.
The AuthenticatedLdpHandler is no longer required
since it is a combination of parsing and authorization.
This did require a small change to the OperationHandler interface.
2021-10-07 15:51:11 +02:00
Joachim Van Herwegen
8f5d61911d feat: Always grant control permissions to pod owners 2021-10-05 13:19:01 +02:00
Joachim Van Herwegen
6c4ccb334d feat: Store account settings separately
Account settings are stored using the WebID as key.
Reason for using the WebID is that this allows faster access to the settings
in authenticated requests.
A consequence of this is that passwords are now always required during registration,
and that there can only be 1 account per WebID.
2021-10-05 13:19:01 +02:00
Joachim Van Herwegen
7e8e442e52
docs: Remove outdated example 2021-10-05 11:45:07 +02:00
Joachim Van Herwegen
f40e2c768f fix: Add required triple to pod README acl 2021-10-01 11:32:01 +02:00
Joachim Van Herwegen
7f8b923399 feat: Replace acl specific permissions with generic permissions
This required AuxiliaryStrategy to have a new function
indicating if the auxiliary resource just used its associated resource authorization
or its own.
2021-09-28 13:06:38 +02:00
Joachim Van Herwegen
5104cd56e8 feat: Create OperationMetadataCollector to handle operation metadata 2021-09-28 13:06:38 +02:00
Joachim Van Herwegen
bf28c83ffa feat: Use PermissionReaders to determine available permissions
These readers will determine which permissions
are available for the incoming credentials.
Their results then get combined in a UnionReader
and authorized in a PermissionBasedAuthorizer
2021-09-28 13:06:38 +02:00
Joachim Van Herwegen
e8dedf5c23 feat: Extract set of required modes instead of PermissionSet 2021-09-28 13:06:38 +02:00