429 Commits

Author SHA1 Message Date
Joachim Van Herwegen
88a633a427
Merge pull request #426 from solid/feat/delete-storage
fix: Prevent deletion of root storage containers
2020-12-18 11:18:26 +01: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
70cc3596db feat: Add pod template to indicate storage 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
1464288b0f fix: Remove metadata content-type assumption from FileDataAccessor 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
Ruben Verborgh
13061e35b9 test: Fix test script. 2020-12-17 21:16:10 +01:00
Ruben Verborgh
d9f18f813e chore: Extend linting to .js files. 2020-12-14 10:08:31 +00:00
Ruben Verborgh
14023e4c0c chore: Add eslint:recommended linter rules. 2020-12-14 10:08:31 +00:00
Ruben Verborgh
99165e8bc2 chore: Make script names consistent. 2020-12-13 15:49:00 +00: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
6ee56a6d67 chore: Separate dependency installation and build steps. 2020-12-10 16:49:29 +00: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
Matthieu Bosquet
0451781b7f nvm 14+new line 2020-12-09 11:49:13 +01:00
Matthieu Bosquet
7501379d03 Set default node version 2020-12-09 11:49:13 +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
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
Joachim Van Herwegen
1d77a28cd1 chore: Remove empty file 2020-12-08 13:57:57 +01: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
0f56b715ae chore: Do not build bin script. 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
Ruben Verborgh
c182d252b1 test: Use separate linter job. 2020-12-07 23:17:54 +01:00
Ruben Verborgh
4381222ae2 chore: Add engines field.
Closes https://github.com/solid/community-server/issues/396
2020-12-07 22:58:55 +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
07cd63bffa chore: Export expiring lock and locker 2020-12-07 14:41:20 +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
35aec9cce7 Release version 0.3.0 of the npm package. v0.3.0 2020-12-03 13:20:03 +01:00