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
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
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
7c7fee5f5c
refactor: Rename associated resource to subject resource
2021-10-08 15:49:49 +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
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
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
4f1a86dfa0
feat: Convert IDP input data to JSON
2021-09-08 13:55:52 +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
0b4e688359
Merge branch 'main' into versions/2.0.0
2021-09-03 10:09:03 +02:00
Joachim Van Herwegen
ab06dd30f3
feat: Allow filtering in ConstantConverter based on type
2021-09-02 07:56:24 +02:00
Joachim Van Herwegen
ff200e22a9
feat: Add a cache to the AgentGroupAccessChecker
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
0d42987bbd
feat: Verify conditions in DataAccessorBasedStore
2021-08-18 13:16:08 +02:00
Joachim Van Herwegen
20f783a581
feat: Create conditions based on input headers
2021-08-18 13:16:08 +02:00
Joachim Van Herwegen
97c534b2bf
feat: Keep track of last modified date of resources
2021-08-18 13:16:08 +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
2ae95bd167
refactor: Remove streamify array dependency
2021-08-02 14:28:43 +02:00
Joachim Van Herwegen
a926839216
feat: Set default templates for ErrorToTemplateConverter
2021-07-28 14:01:01 +02:00
Ruben Taelman
3f8f822d81
feat: Update ExtensionBasedMapper custom types
2021-07-28 13:56:39 +02:00
Ruben Verborgh
c7399654b5
change: Do not serve index on */*
...
Closes https://github.com/solid/community-server/issues/844
2021-07-23 23:43:20 +02:00
Joachim Van Herwegen
fe8d579c72
fix: Remove the cache from the ChainedConverter
2021-07-23 14:48:27 +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
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
19624dc729
refactor: Allow default template in template engines.
2021-07-22 11:12:21 +02:00
Joachim Van Herwegen
57da67f9ee
feat: Move all metadata file knowledge to file mapper
2021-07-22 08:56:01 +02:00
Ruben Verborgh
6495d650c2
chore: Use consistent strategy naming.
2021-07-21 23:37:23 +02:00
Joachim Van Herwegen
aec92dd1c3
fix: Keep container metadata when returning index.html representation
2021-07-20 11:27:52 +01:00
Ruben Verborgh
b9295f00c2
feat: Default error code to HTTP status code.
2021-07-15 10:22:28 +01:00
Joachim Van Herwegen
cc1e332394
feat: Add IndexRepresentationStore to support index resources
2021-07-15 11:21:07 +02:00
Joachim Van Herwegen
f2f967ff8a
feat: Convert errorCodes using markdown
2021-07-06 16:42:06 +02:00
Joachim Van Herwegen
12e501844f
fix: Prevent generated metadata from being stored
2021-07-05 14:33:20 +02:00
Joachim Van Herwegen
e7ff134b25
fix: Always find the best path with ChainedConverter
2021-07-05 13:58:03 +02:00
Joachim Van Herwegen
5edbbc1958
chore: Update dependencies
2021-06-30 10:24:13 +02:00
Joachim Van Herwegen
f299b36e24
fix: Support BGPs with variables in SPARQL UPDATE queries
2021-06-28 11:12:44 +02:00
Joachim Van Herwegen
25f33ee4cd
feat: Create base ConvertingPatchHandler abstract class
2021-06-28 10:03:10 +02:00
Joachim Van Herwegen
29ddf57341
feat: Add Finalizable interface
2021-06-14 16:11:56 +02:00
Joachim Van Herwegen
93374f011a
fix: Prevent uncaught error in JsonResourceStorage
2021-06-14 15:46:17 +02:00
Joachim Van Herwegen
7cfb87e516
feat: Add better support for non-native errors
2021-06-14 15:29:47 +02:00
Joachim Van Herwegen
9c0fa77527
feat: Add ErrorToHtmlConverter using templates
2021-06-14 12:59:56 +02:00
Joachim Van Herwegen
ded263a81d
fix: Support empty PATCH requests
2021-06-10 16:19:33 +02:00
Joachim Van Herwegen
e1f95877da
feat: Create ErrorHandler to convert errors to Representations
2021-06-07 13:54:38 +02:00
renovate[bot]
afc662ca9a
chore: Update (ts-)jest and use modern fake timers where possible
...
* chore(deps): update dependency jest to v27
* chore: Update (ts-)jest and use modern fake timers where possible
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Joachim Van Herwegen <joachimvh@gmail.com>
2021-05-31 15:29:14 +02:00
Joachim Van Herwegen
dc7592ebc4
fix: Add conditional parameters to ConstantConverter
2021-05-20 11:09:25 +02:00
Joachim Van Herwegen
8491300f42
feat: Pass ResourceStore as param to PatchHandler
...
This way the chain of ResourceStores is a bit easier to configure.
This commit also updates the SparqlUpdatePatchHandler to keep the metadata
and content-type of the resource that is being modified.
2021-05-19 09:40:40 +02:00
Joachim Van Herwegen
cae9d54fac
feat: Add getChildren function to DataAccessor interface
...
DataAccessors are now no longer responsible for generating ldp:contains triples.
2021-05-12 15:27:51 +02:00