893 Commits

Author SHA1 Message Date
Ruben Verborgh
7dcde1e0e3 refactor: Improve logging for access control. 2021-01-15 18:25:37 +01:00
Ruben Taelman
c5ea83c405 Fix failing LdpHandlerWithoutAuth integration test 2021-01-15 14:56:31 +01:00
Ruben Verborgh
e544e6dc11 feat: Allow custom root ACL. 2021-01-15 12:43:34 +01:00
Ruben Verborgh
a5413a64d3 refactor: Move pod templates to pod subfolder. 2021-01-15 12:43:34 +01:00
Ruben Verborgh
4638ba4bce feat: Use baseIRI in QuadToRdfConverter.
Closes https://github.com/solid/community-server/issues/512
2021-01-15 12:43:34 +01:00
Joachim Van Herwegen
ee50f40062 docs: Add comments referencing the Solid spec where relevant
Also some minor changes to completely match the spec there.
2021-01-15 08:42:36 +01:00
Joachim Van Herwegen
50e3cf5036 fix: Throw correct errors and streamline in DataAccessorBasedStore 2021-01-15 08:42:36 +01:00
Joachim Van Herwegen
b642393a15 fix: Have PATCH/POST/PUT operations handlers check content-type 2021-01-15 08:42:36 +01:00
Joachim Van Herwegen
9160b52d5b refactor: Remove toSystemFilePath 2021-01-14 16:14:30 +01:00
Ruben Verborgh
5bb7822dc7 change: Use solid-0.1 as protocol string.
See https://github.com/solid/solid-spec/pull/230
2021-01-14 15:21:29 +01:00
Ruben Taelman
748476afbb refactor: Update to Components.js 4 2021-01-14 13:38:42 +01:00
Joachim Van Herwegen
27cc1ec15e fix: Always keep guarded error listener attached 2021-01-12 17:15:05 +01:00
Joachim Van Herwegen
0f3680db8d test: Add crash test for guard stream edge case
See https://github.com/solid/community-server/pull/462#issuecomment-758013492
for details on why this crashes the server.
2021-01-12 17:15:05 +01:00
Ruben Verborgh
16ef86acef fix: Allow Content-Type: 0 on GET.
Fixes https://github.com/solid/community-server/issues/498
2021-01-12 15:50:48 +01:00
Ruben Verborgh
ba42861699 feat: Use ldp: prefix in container representations. 2021-01-12 09:12:54 +01:00
Ruben Verborgh
66e636878f feat: Add BasicRepresentation. 2021-01-11 14:23:52 +01:00
Ruben Verborgh
be1af89b56 feat: Add Content-Type constructor to metadata. 2021-01-11 14:03:38 +01:00
Noel De Martin
775aaa79cd fix: Use base IRI when parsing SPARQL update queries
Accept relative references in SPARQL updates
2021-01-11 13:05:56 +01:00
Joachim Van Herwegen
76def28a68 feat: Store target identifier when parsing metadata 2021-01-11 13:05:56 +01:00
Joachim Van Herwegen
f17054c647 refactor: Make request related handle calls consistent 2021-01-11 13:05:56 +01:00
Ruben Verborgh
995a2dc74d feat: Add transformSafely. 2021-01-11 09:59:13 +01:00
Joachim Van Herwegen
61aa2e12bd fix: Update acl authorizer to make write rights imply append rights 2021-01-11 09:05:41 +01:00
Ruben Verborgh
998296a4bb feat: Add BaseResourceStore. 2021-01-09 00:52:31 +01:00
Ruben Verborgh
27a5711ec2 refactor: Simplify TypedRepresentationConverter contruction. 2021-01-09 00:26:40 +01:00
Matthieu Bosquet
faa98cd6f4 chore: Update ts-dpop to solid library 2021-01-08 08:52:15 +01:00
Joachim Van Herwegen
d3c8069aa3 test: Move diamond identifier test to ldp handler tests 2021-01-07 14:38:19 +01:00
Noel De Martin
b762125ee5 test: Add integration test for diamond identifiers (#436) 2021-01-07 14:38:19 +01:00
Joachim Van Herwegen
fea726ae7d fix: Take baseIRI into account when calling parseQuads 2021-01-07 14:38:19 +01:00
Joachim Van Herwegen
5995057240 fix: Don't get normalized metadata for root containers 2021-01-07 13:34:05 +01:00
Ruben Verborgh
2efebf91fc feat: Only convert when needed. 2021-01-07 11:45:46 +01:00
Joachim Van Herwegen
a5bc8d22a9 fix: Prevent POST requests from creating intermediate containers 2021-01-07 08:45:01 +01:00
Ruben Verborgh
8343dad7f1 refactor: Make createNamespace return regular objects. 2021-01-06 11:54:12 +01:00
Ruben Verborgh
87752ddf20 feat: Support writer prefixes.
Closes https://github.com/solid/community-server/issues/470
2021-01-06 11:36:21 +01:00
Ruben Verborgh
3b63786ae0 feat: Allow querying metadata. 2021-01-06 11:25:47 +01:00
Ruben Verborgh
f9a20799eb refactor: Use declarations style for functions. 2021-01-06 11:24:43 +01:00
Ruben Verborgh
e70e060225 fix: Prefer Turtle as default content type.
Fixes https://github.com/solid/community-server/issues/463
2021-01-05 22:28:11 +01:00
Ruben Verborgh
ba5c62059a feat: Validate Accept-DateTime. 2021-01-05 11:03:15 +01:00
Ruben Verborgh
0bd73115cc refactor: Simplify supportsMediaTypeConversion arguments. 2021-01-05 11:03:15 +01:00
Ruben Verborgh
8cd3f7d2e5 feat: Incorporate server-side representation quality.
Closes https://github.com/solid/community-server/issues/467
2021-01-05 11:03:15 +01:00
Ruben Verborgh
09ae959333 refactor: Rename RepresentationPreference into ValuePreferences. 2021-01-05 11:03:14 +01:00
Ruben Verborgh
4828912593 refactor: Use record for representation preference. 2021-01-04 23:06:52 +01:00
Ruben Verborgh
f454b781ff fix: Join and normalize paths consistently. 2021-01-04 16:52:17 +01:00
Ruben Verborgh
ee072b038a fix: Allow credentials over CORS. 2021-01-04 14:06:02 +01:00
Ruben Verborgh
98bf8c199d fix: Sort preferences by descending weight. 2021-01-04 00:46:22 +01:00
Ruben Verborgh
2e188551f7 refactor: Rename UriUtil into TermUtil. 2021-01-02 23:19:01 +01:00
Ruben Verborgh
ae06e99067 refactor: Also create named nodes for vocabularies. 2021-01-02 23:15:51 +01:00
Ruben Verborgh
8e138c36d1 refactor: Use types to create vocabularies. 2021-01-02 22:56:25 +01:00
Ruben Verborgh
feaac1cf56 feat: Support strings in addQuad. 2021-01-02 18:13:28 +01:00
Ruben Verborgh
a572825909 refactor: Indicate caching on method name. 2021-01-02 17:50:17 +01:00
Ruben Verborgh
4faf916ece fix: Emit all guarded errors to all listeners. 2021-01-02 16:11:51 +01:00