337 Commits

Author SHA1 Message Date
Ruben Verborgh
97e7e42fdc chore(deps): update ts-dpop to v0.3.0 2020-12-27 19:54:41 +01:00
Ruben Verborgh
a5c372c37c fix: Expose Location header via CORS.
Fixes https://github.com/solid/community-server/issues/441
2020-12-27 15:15:55 +01:00
Ruben Verborgh
af8524e0d6 test: Make helper terminology consistent. 2020-12-22 01:02:19 +01:00
Ruben Verborgh
9dcb4fb603 test: Make integration test names consistent. 2020-12-22 00:33:33 +01:00
Ruben Verborgh
8dcb498201 test: Add folder utilities. 2020-12-22 00:33:33 +01:00
Ruben Verborgh
9a89766858 test: Avoid unnecessary nesting. 2020-12-22 00:33:33 +01:00
Ruben Verborgh
e4c4d2a781 test: Move configuration into integration folder. 2020-12-22 00:33:33 +01:00
Ruben Verborgh
992267b4dc test: Use Components.js in SparqlStorage. 2020-12-22 00:33:33 +01:00
Ruben Verborgh
27910aaf73 test: Use Components.js in FullConfig.noAuth. 2020-12-22 00:33:33 +01:00
Ruben Verborgh
7c1f4e9d6f test: Use Components.js in FullConfig.acl. 2020-12-22 00:33:33 +01:00
Ruben Verborgh
1cf1167261 test: Use Components.js in Authorization. 2020-12-22 00:33:33 +01:00
Ruben Verborgh
d1d29a3f52 test: Use Components.js in AuthenticatedLdpHandler. 2020-12-22 00:33:33 +01:00
Ruben Verborgh
147f3cf0c7 feat: Add RecordObject. 2020-12-22 00:33:33 +01:00
Ruben Verborgh
eb6ba0374f fix: Remove faulty no-routing configuration. 2020-12-22 00:33:33 +01:00
Ruben Verborgh
6e2c4f0ccf chore: Remove initServerStore. 2020-12-21 17:27:57 +01:00
Ruben Verborgh
79ba500f5a test: Configure logging level via LOGLEVEL environment variable. 2020-12-20 15:20:29 +01:00
Matthieu Bosquet
6077cc1f4c
chore(deps): Update ts-dpop to v0.2.7. 2020-12-19 18:26:24 +01:00
Matthieu Bosquet
731b44d5b9
chore: Use tsconfig base. (#433) 2020-12-19 00:19:09 +00:00
Joachim Van Herwegen
39a79dbcb2 fix: Prevent deletion of root storage containers 2020-12-18 11:16:39 +01:00
Joachim Van Herwegen
2443f2c755 fix: Execute only one main handler. 2020-12-18 10:56:26 +01:00
Joachim Van Herwegen
a721684e6b fix: Only check relevant type triples
Due to the introduction of pim:Storage as a new type
the DataAccessorBasedStore started making wrong assumptions.
2020-12-18 10:55:35 +01:00
Joachim Van Herwegen
e722cc67af feat: Support .meta files for pod provisioning 2020-12-18 10:55:35 +01:00
Joachim Van Herwegen
a114d00827 fix: Remove metadata content-type assumption from QuadUtil 2020-12-18 10:40:07 +01:00
Joachim Van Herwegen
d7434df808 feat: ExtensionBasedMapper no longer throws if there is no file 2020-12-18 10:40:07 +01:00
Joachim Van Herwegen
36eed5d620 chore: Remove assumption that DataAccessors have a root container by default 2020-12-18 10:33:54 +01:00
Joachim Van Herwegen
231349b30d feat: Initialize root containers with RootContainerInitializer 2020-12-18 10:33:54 +01:00
Joachim Van Herwegen
a08b7e9112 fix: Allow DataAccessorBasedStore to create root 2020-12-18 10:33:54 +01:00
Ruben Verborgh
209b87a424 feat: Add constant WebID extractor.
Closes https://github.com/solid/community-server/issues/397
2020-12-18 10:25:46 +01:00
Joachim Van Herwegen
3e3dd7f5a9 fix: Allow deletion of root in InMemoryDataAccessor 2020-12-18 09:32:11 +01:00
Joachim Van Herwegen
90bdfb5583 chore: Add root container tests for FileDataAccessor 2020-12-18 09:01:59 +01:00
Joachim Van Herwegen
fc8540f553 fix: Allow overwriting and deleting root container in SparqlDataAccessor 2020-12-18 09:01:59 +01:00
Joachim Van Herwegen
1bb5de97ab refactor: Remove base URls with ContainerManager when possible 2020-12-11 12:42:17 +01:00
Joachim Van Herwegen
f0db9e501f refactor: Replace getParentContainer util function with ContainerManager 2020-12-11 12:42:17 +01:00
Joachim Van Herwegen
9c080c2101 feat: Create ContainerManager for containing container conventions 2020-12-11 12:42:17 +01:00
Ruben Verborgh
accfc2e58d change: Make RepresentationMetadata accept a ResourceIdentifier.
Closes https://github.com/solid/community-server/issues/388
2020-12-11 10:37:36 +01:00
Ruben Verborgh
dedf579a08 test: Type-check test files.
Closes https://github.com/solid/community-server/issues/415
2020-12-10 16:42:07 +00:00
Ruben Verborgh
f26178b1b5 change: Rename FirstCompositeHandler into WaterfallHandler. 2020-12-09 11:42:17 +01:00
Ruben Verborgh
ba47ce7951 change: Refactor AllVoidCompositeHandler into SequenceHandler. 2020-12-09 11:42:17 +01:00
Ruben Verborgh
7cae14acf7 test: Close server at end of tests. 2020-12-08 20:08:40 +00:00
Ruben Verborgh
907caa1e93 fix: Do not write error if response already started. 2020-12-08 19:52:52 +00:00
Ruben Verborgh
73ae0c69e9 test: Remove mock error from test results.
Fixes https://github.com/solid/community-server/issues/406
2020-12-08 11:05:03 +01:00
Ruben Verborgh
badbe0032b refactor: Remove Setup. 2020-12-08 10:19:35 +01:00
Ruben Verborgh
04a91858c2 refactor: Split off ServerInitializer. 2020-12-08 10:19:35 +01:00
Ruben Verborgh
b0ecf1c1d8 refactor: Split off LoggerInitializer. 2020-12-08 10:19:35 +01:00
Ruben Verborgh
8fbb4f592e refactor: Split off AclInitializer. 2020-12-08 10:19:35 +01:00
Ruben Verborgh
9c933fd2d4 chore: Build to dist folder.
Closes https://github.com/solid/community-server/issues/136
2020-12-08 09:30:18 +01:00
Ruben Verborgh
f3f0724f83 chore: Move index.ts to src. 2020-12-08 09:30:18 +01:00
Ruben Verborgh
038d5728e3 feat: Add read-only store.
Closes https://github.com/solid/community-server/issues/193
Closes https://github.com/solid/community-server/issues/323
2020-12-08 08:58:26 +01:00
Joachim Van Herwegen
d5bf4e1e67 fix: Allow quad data for containers
This prevents the container data check from throwing an error when converting to quads
if the incoming data already is quads.
2020-12-07 17:02:50 +01:00
Joachim Van Herwegen
7011b766b4 feat: Create new resources when patching 2020-12-07 16:56:12 +01:00