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
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
0271133d33
fix: Hide internal data by making it auxiliary
2021-09-14 10:51:37 +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
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
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
0b4e688359
Merge branch 'main' into versions/2.0.0
2021-09-03 10:09:03 +02:00
Joachim Van Herwegen
f34e124e1b
fix: Convert data to SparqlDataAccessor in regex config
2021-08-30 09:17:50 +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
Joachim Van Herwegen
80ebd02cc4
feat: Support content negotiation for IDP requests
2021-08-18 15:39:02 +02:00
Joachim Van Herwegen
7b7040a196
feat: Use RequestParser and ResponseWriter for IDP
2021-08-18 15:39:02 +02:00
Joachim Van Herwegen
20f783a581
feat: Create conditions based on input headers
2021-08-18 13:16:08 +02:00
Joachim Van Herwegen
77d695c8b6
feat: Expose Last-Modified and ETag headers
2021-08-18 13:16:08 +02:00
Joachim Van Herwegen
e1ed9c823e
chore: Clean up unnecessary imports
2021-08-10 11:22:26 +02:00
Joachim Van Herwegen
d3de5f3114
feat: Pass optional Interaction to InteractionHandlers
2021-08-04 16:21:13 +02:00
Ruben Verborgh
1719857e4b
change: Use @css: instead of $PACKAGE_ROOT/
...
This makes usage from the command line easier,
since $ is typically used to mark variables.
2021-08-03 13:19:38 +01:00
Joachim Van Herwegen
18a71032c0
feat: Create ChainedTemplateEngine for combining engines
2021-08-03 12:52:30 +02:00
Joachim Van Herwegen
63e88578c3
feat: Rewrite TokenOwnershipValidator behaviour to remove @rdfjs/fetch dependency
2021-08-02 12:02:10 +02:00
Joachim Van Herwegen
9d337ba80c
feat: Moved IDP response and template behaviour to single class
2021-08-02 11:29:33 +02:00
Ruben Verborgh
0a18424f9d
refactor: Move app/app to app/main.
...
Closes https://github.com/solid/community-server/issues/848
2021-07-30 15:24:29 +01:00
Ruben Verborgh
643ceced36
fix: Expose Link via CORS.
2021-07-28 15:37:35 +02:00
Ruben Verborgh
0271536313
fix: Expose WAC-Allow via CORS.
...
Closes https://github.com/solid/community-server/issues/873
2021-07-28 15:35:12 +02:00
Joachim Van Herwegen
a926839216
feat: Set default templates for ErrorToTemplateConverter
2021-07-28 14:01:01 +02:00
Joachim Van Herwegen
523390e444
fix: Remove passthrough example for index store
2021-07-28 14:01:01 +02:00
Ruben Taelman
3f8f822d81
feat: Update ExtensionBasedMapper custom types
2021-07-28 13:56:39 +02:00
Joachim Van Herwegen
c01e33ecd9
fix: Use memory key/value storage for sparql backends
2021-07-28 13:30:26 +02:00
Ruben Verborgh
745eef798a
feat: Cache static assets.
...
Closes https://github.com/solid/community-server/issues/861
2021-07-28 11:45:14 +02:00
Joachim Van Herwegen
7b94b71e7e
feat: Prevent access to internal storage containers
2021-07-27 14:31:02 +02:00
Joachim Van Herwegen
dee382849d
refactor: Rename AllowEverythingAuthorizer to AllowAllAuthorizer
2021-07-27 14:31:02 +02:00
Joachim Van Herwegen
971018cdec
fix: Add missing registration config import to sparql config
2021-07-27 13:25:16 +02:00
Joachim Van Herwegen
45f9a51d7c
fix: Prevent cyclical dependency with locker and storage
2021-07-27 13:24:15 +02:00
Joachim Van Herwegen
916dce5bd5
feat: Allow registration to be disabled
2021-07-26 17:05:33 +02:00
Ruben Verborgh
1ae3c099e0
fix: Remove obsolete IDP CSS config entry.
2021-07-25 22:24:33 +02:00
Joachim Van Herwegen
3bb7a32c0c
feat: Add support for client_id WebIDs
2021-07-23 16:44:50 +02:00
Joachim Van Herwegen
60ebf5454a
feat: Let InitialInteractionHandler redirect requests
2021-07-23 16:08:28 +02:00
Joachim Van Herwegen
0e67004ef4
feat: Store reset password ID in the submit URL
2021-07-23 16:08:28 +02:00
Joachim Van Herwegen
bd10256e59
fix: Make sure there is always a fallback for error handling
2021-07-23 14:48:27 +02:00
Joachim Van Herwegen
c2ad892020
feat: Create RootInitializer to set up root resources
2021-07-22 15:08:28 +02:00
Ruben Verborgh
40a3dcbdb2
feat: Add container breadcrumbs.
2021-07-22 14:35:14 +02:00
Ruben Verborgh
1394b9cb56
feat: Add HTML container listing.
2021-07-22 14:35:14 +02:00
Ruben Verborgh
c0dac12111
feat: Render Markdown documents as HTML.
2021-07-22 14:35:14 +02:00
Ruben Verborgh
1ad03871b2
chore: Align template path names.
2021-07-22 11:12:21 +02:00