277 Commits

Author SHA1 Message Date
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
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
f9a20799eb refactor: Use declarations style for functions. 2021-01-06 11:24:43 +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
8e138c36d1 refactor: Use types to create vocabularies. 2021-01-02 22:56:25 +01:00
Matthieu Bosquet
a73936f522 refactor: Add HttpHandlerInput interface 2021-01-02 13:39:45 +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
6e2c4f0ccf chore: Remove initServerStore. 2020-12-21 17:27:57 +01:00
Joachim Van Herwegen
2443f2c755 fix: Execute only one main handler. 2020-12-18 10:56:26 +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
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
Ruben Verborgh
7cae14acf7 test: Close server at end of tests. 2020-12-08 20:08:40 +00: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
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
Ruben Verborgh
ecfe3cfc46 feat: Support the Forwarded header. 2020-12-02 10:23:38 +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
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
49d37dcd6c feat: Expose Updates-Via header via CORS. 2020-11-30 00:54:20 +01:00
Ruben Verborgh
023ff80f48 refactor: Separate middleware from Express. 2020-11-30 00:44:18 +01:00
Ruben Verborgh
16d447f221 test: Add WebSockets integration test. 2020-11-25 14:55:54 +01:00
smessie
cdf7e77e6b fix: Resolve merge conflicts caused by move to guardedStream 2020-11-25 09:05:38 +01:00
smessie
f4afc3ce16 test: Divide current tests into integration and unit tests for LockingResourceStore 2020-11-25 09:05:38 +01:00
Joachim Van Herwegen
e4183333fd fix: Integrate wrapStreamError to prevent uncaught errors 2020-11-24 11:49:10 +01:00
Ruben Taelman
2c46d70780 refactor: move ExtensionBasedMapper into mapping directory 2020-11-23 13:28:28 +01:00
Joachim Van Herwegen
1073c2ff4c refactor: Clean up utility functions 2020-11-18 17:19:53 +01:00
Joachim Van Herwegen
4e4d7a7a39 feat: Integrate MetadataSerializer 2020-11-06 09:08:00 +01:00
Joachim Van Herwegen
1260c5c14e feat: Store status, body and metadata in ResponseDescription 2020-11-06 09:08:00 +01:00
Ruben Verborgh
fe870f073a chore: Enable/disable Docker testing with a flag. 2020-11-04 10:31:54 +01:00
Ruben Verborgh
1055beea92 test: Add SPARQL endpoint integration test. 2020-11-04 10:31:54 +01:00
Joachim Van Herwegen
03c64e5617 refactor: Remove file and in memory stores 2020-10-16 09:35:48 +02:00
Joachim Van Herwegen
b896004bac feat: Create InMemoryDataAccessor 2020-10-14 11:32:27 +02:00
Joachim Van Herwegen
9b26bbef2d feat: Add DataAccessorBasedStore integration 2020-10-14 11:32:27 +02:00
Joachim Van Herwegen
22962192ff fix: Fix test issues
The root container wasn't being created for file based tests.
Containers should be POSTed as RDF bodies.
Containment triples of child containers had no trailing slash.
2020-10-14 11:32:27 +02:00
Joachim Van Herwegen
31844a4f40 feat: Integrate MetadataHandler 2020-10-09 12:12:34 +02:00