224 Commits

Author SHA1 Message Date
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
Ruben Verborgh
3bd82271b4 test: Remove solid-crud-tests.
They are currently not running properly.
2020-12-06 01:42:53 +01:00
Joachim Van Herwegen
d7e189cdd8 fix: Only set content-type for documents in sparql store 2020-12-04 12:36:18 +01:00
Ruben Verborgh
77db5c0060 fix: Do not overwrite existing root ACL.
Fixes https://github.com/solid/community-server/issues/382
2020-12-03 12:35:26 +01:00
Ruben Verborgh
0ecbffa885 fix: Do not generate empty INSERT graph.
Fixes https://github.com/solid/community-server/issues/383
2020-12-02 21:40:54 +01:00
Joachim Van Herwegen
c2b189184b fix: Create container data before adding content-type 2020-12-02 14:16:45 +01:00
Joachim Van Herwegen
82393ed33b chore: add pod creation integration test 2020-12-02 13:01:38 +01:00
Joachim Van Herwegen
1a043aca3f feat: integrate pod creation 2020-12-02 13:01:38 +01:00
Joachim Van Herwegen
f387b36dc2 feat: add template based data generator 2020-12-02 13:01:38 +01:00
Joachim Van Herwegen
9653deec7f feat: add implementations of pod-related interfaces 2020-12-02 13:01:38 +01:00
Joachim Van Herwegen
39745ccf22 feat: create PodHttpHandler with default interfaces 2020-12-02 13:01:38 +01:00
Ruben Verborgh
ecfe3cfc46 feat: Support the Forwarded header. 2020-12-02 10:23:38 +01:00
Joachim Van Herwegen
3362eee2c2 fix: Always release lock when patching 2020-12-02 09:50:30 +01:00
Ruben Verborgh
74415cf49b fix: Align webId capitalization. 2020-12-01 23:35:11 +01:00