287 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Ruben Verborgh
357546e90f change: Clarify parent error message. 2020-12-01 20:10:53 +01:00
Ruben Verborgh
535cbcd93a feat: Add LDP request logging. 2020-12-01 20:00:21 +01:00
Ruben Verborgh
eabe6bc4ed feat: Implement --baseUrl flag.
Closes https://github.com/solid/community-server/issues/372
2020-12-01 19:09:52 +01:00
Ruben Verborgh
528688bc4c refactor: Refactor runCli to take optional arguments. 2020-12-01 14:55:39 +01:00
Ruben Verborgh
c3b5387efb test: Test all CLI flags. 2020-12-01 14:41:19 +01:00
Ruben Verborgh
961662b692 refactor: Components.js supports Record now. 2020-11-30 09:45:39 +01:00
Ruben Verborgh
6b4088723d fix: Add trailing slashes to advertised WebSocket URL. 2020-11-30 00:54:21 +01:00
Ruben Verborgh
fc3942b372 change: Move WebSocketAdvertiser to middleware. 2020-11-30 00:54:21 +01:00
Ruben Verborgh
8dec921c10 feat: Make CorsHandler customizable. 2020-11-30 00:44:19 +01:00
Ruben Verborgh
d6c0f89cf5 feat: Make HeaderHandler customizable. 2020-11-30 00:44:19 +01:00
Ruben Verborgh
023ff80f48 refactor: Separate middleware from Express. 2020-11-30 00:44:18 +01:00
Ruben Verborgh
b0c50b8a7b change: Make credential extractors specialized. 2020-11-27 16:54:14 +01:00
Ruben Verborgh
0407a36490 feat: Add DPoPWebIdExtractor. 2020-11-27 16:54:14 +01:00
Ruben Verborgh
af8f1976cd fix: Rename UnsupportedHttpError into BadRequestError. 2020-11-27 14:52:16 +01:00
Ruben Verborgh
03ffaaed43 change: Drop Node 10 support. 2020-11-27 08:55:18 +01:00
Ruben Verborgh
4a7ea4ad46 feat: Export WebSocket classes. 2020-11-25 10:12:00 +01:00
smessie
f4afc3ce16 test: Divide current tests into integration and unit tests for LockingResourceStore 2020-11-25 09:05:38 +01:00
smessie
dacfb74a6a refactor: Move lock stuff in its own folder 2020-11-25 09:05:38 +01:00
Joachim Van Herwegen
ee312910d7 fix: Correctly handle acl behaviour for acl identifiers 2020-11-25 09:04:55 +01:00