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
Joachim Van Herwegen
ba1886ab85
feat: Combine the results of multiple CredentialsExtractors
2021-09-28 13:06:38 +02:00
Joachim Van Herwegen
62f026f2bc
feat: Create UnionHandler to combine AsyncHandler results
2021-09-28 13:06:38 +02:00
Joachim Van Herwegen
c3fa74de78
feat: Let CredentialsExtractors specify what type of Credentials they generate
2021-09-28 13:06:38 +02:00
Ruben Verborgh
34a44d1636
feat: Adjust copy for setup.
2021-09-27 10:32:34 +02:00
Joachim Van Herwegen
b592d449eb
feat: Integrate setup behaviour
...
This adds options for enabling setup to the config folder.
All default configs with permanent storage (file/sparql)
are configured to require setup at server start.
Memory-based configs merely have it as an option.
2021-09-27 10:32:34 +02:00
Joachim Van Herwegen
4e1a2f5981
feat: Create SetupHttpHandler
...
This handler allows users to set up servers with a pod
and without having to enable public access first
2021-09-27 10:32:34 +02:00
Joachim Van Herwegen
02df2905de
feat: Create RedirectAllHttpHandler
...
This handler will redirect all requests to a specific URL
2021-09-27 10:32:34 +02:00
Joachim Van Herwegen
facf691e86
feat: Create ConditionalHandler
...
This handler rejects all inputs once a certain condition is met
2021-09-27 10:32:34 +02:00
Joachim Van Herwegen
fb0b50c997
fix: Make the RouterHandler more robust
...
It now extracts paths based on the base URL
and allows catching all methods.
2021-09-27 10:32:34 +02:00
Joachim Van Herwegen
42d3ab0a4c
fix: Add filename parameter for EJS templates
...
This is required if we want to include partial templates
2021-09-27 10:32:34 +02:00
Joachim Van Herwegen
cfa70011f6
chore: Remove merge file
2021-09-21 15:28:20 +02:00
Joachim Van Herwegen
ef9703e284
feat: Patch containers by recreating Representation from metadata
...
Also included is a change to the Patching architecture.
Patching is now done by RepresentationPatchers that take a Representation as input.
2021-09-16 13:39:11 +02:00
Joachim Van Herwegen
a1c3633a25
fix: Only check DataAccessor canHandle call for Documents
2021-09-16 13:39:11 +02:00
Joachim Van Herwegen
80713de223
chore: Fix dependency vulnerabilities
2021-09-16 13:06:29 +02:00
Matthieu Bosquet
a2527d88c4
chore(deps): Update access-token-verifier
2021-09-15 08:18:38 +02:00
Joachim Van Herwegen
0271133d33
fix: Hide internal data by making it auxiliary
2021-09-14 10:51:37 +02:00
Renovate Bot
9cbf71dcb0
chore(deps): update dependency typedoc to ^0.22.0
2021-09-14 09:17:43 +02:00
Ruben Verborgh
c9d09abebc
docs: Update AsyncHandler documentation.
2021-09-09 08:11:47 +01:00
Joachim Van Herwegen
e31cd38bc5
feat: Provide details field when throwing Token ownership error
2021-09-08 13:55:52 +02:00
Joachim Van Herwegen
cc1c3d9223
feat: Support JSON errors
...
The IDP behaviour has been changed to move all error related knowledge
to the IdentityProviderHttpHandler instead of managing it
in the Interactionhandlers.
2021-09-08 13:55:52 +02:00
Joachim Van Herwegen
bbfbfbbce4
refactor: Move InteractionRoute behaviour to separate class
2021-09-08 13:55:52 +02:00
Joachim Van Herwegen
3542fe29da
feat: Remove useless fields from IDP JSON response
2021-09-08 13:55:52 +02:00
Joachim Van Herwegen
32a182dde8
feat: Add controls to IDP response JSON
...
Controls are now used in templates to prevent IDP URL hardcoding
2021-09-08 13:55:52 +02:00
Joachim Van Herwegen
d68854a474
feat: Simplify IDP routing
2021-09-08 13:55:52 +02:00
Joachim Van Herwegen
20197ea1de
feat: Generalize HTTP handler behaviour in BaseHttpHandler
2021-09-08 13:55:52 +02:00
Joachim Van Herwegen
4f1a86dfa0
feat: Convert IDP input data to JSON
2021-09-08 13:55:52 +02:00
దామోదర
a75d5aa63c
fix: Make json-ld prefix generation deterministic
2021-09-08 12:08:31 +02:00
Joachim Van Herwegen
7f3eab0b20
fix: Prevent parent containers from storing generated metadata
2021-09-08 10:19:28 +02:00
Joachim Van Herwegen
1e1edd5c67
refactor: Clean up internal storage
...
Each IDP class using storage now has a different storage.
This way those classes don't have to worry about clashing keys anymore.
All internal storage is now in the /.internal/ container,
thereby making it easier to take the location of the internal data into account:
only 1 path needs to be blocked and a regex router handling internal data
differently only has to match 1 path as well.
2021-09-08 10:01:51 +02:00
Ruben Verborgh
60fc273ea5
change: Rename resourceStore to aclStore.
2021-09-07 12:43:05 +02:00
Joachim Van Herwegen
139edc6cee
fix: Update conformance script to target full URI
...
Was required due to update to the conformance test suite
2021-09-07 11:39:25 +02:00
Joachim Van Herwegen
0b4e688359
Merge branch 'main' into versions/2.0.0
2021-09-03 10:09:03 +02:00
Ruben Verborgh
45345c131c
Release version 1.1.0 of the npm package.
v1.1.0
2021-09-03 09:45:59 +02:00
Ruben Verborgh
0ae5ba693c
docs: Add release notes for v1.1.0.
2021-09-03 09:43:02 +02:00
Renovate Bot
7928f43f44
fix(deps): update dependency @solid/access-token-verifier to ^0.12.0
2021-09-03 08:38:57 +02:00
Joachim Van Herwegen
ab06dd30f3
feat: Allow filtering in ConstantConverter based on type
2021-09-02 07:56:24 +02:00
joeitu
fd52765651
Docker install easier to copy-past and clearer
2021-09-01 08:39:08 +02:00
Joachim Van Herwegen
f34e124e1b
fix: Convert data to SparqlDataAccessor in regex config
2021-08-30 09:17:50 +02:00
Renovate Bot
042507a677
fix(deps): update dependency marked to v3
2021-08-27 17:30:11 +02:00
Arthur Joppart
759112bc04
feat: Support LDN inbox headers
...
* chore: add inbox mapping to metadatawriter config
* fix: correct inbox link rel
* feat: make LinkTypeParser reuseable to fit all link headers
* feat: minor code optimization
* feat: cleaned up metadata parser config
* feat: further cleanup of metadata parser config
* feat: adapted LinkMetadataParser to take a list to be in line with LinkRelMetadataWriter implementation
* feat: minor changes to be in line with other classes and code improvements
Co-authored-by: Wouter Termont <woutermont@gmail.com>
2021-08-25 12:48:13 +02:00
Joachim Van Herwegen
ff200e22a9
feat: Add a cache to the AgentGroupAccessChecker
2021-08-23 16:39:25 +02:00
Simone Persiani
401923b792
feat: Add support for agentGroup ACL rules
...
Co-Authored-By: Ludovico Granata <Ludogranata@gmail.com>
2021-08-23 16:39:25 +02:00
Simone Persiani
16ebfb329f
refactor: Refactor WebAclAuthorizer
...
Co-Authored-By: Ludovico Granata <Ludogranata@gmail.com>
2021-08-23 16:39:25 +02:00