Joachim Van Herwegen
c29928c32c
fix: Test error classes correctly
2021-01-29 09:40:10 +01:00
Ruben Verborgh
a57105be8e
change: Query string does not influence identifier.
2021-01-29 09:12:49 +01:00
Joachim Van Herwegen
2c3300028e
feat: Add acl link header writer
...
This writer will add a link to the corresponding acl file
for all LDP requests.
2021-01-26 11:38:46 +01:00
Ruben Verborgh
fe3957f0ae
feat: Add ConstantMetadataWriter.
2021-01-26 10:52:38 +01:00
Ruben Verborgh
3a4ec48720
refactor: Rename BasicTargetExtractor to OriginalUrlExtractor.
2021-01-18 09:48:32 +01:00
Ruben Verborgh
16ef86acef
fix: Allow Content-Type: 0 on GET.
...
Fixes https://github.com/solid/community-server/issues/498
2021-01-12 15:50:48 +01:00
Ruben Verborgh
be1af89b56
feat: Add Content-Type constructor to metadata.
2021-01-11 14:03:38 +01:00
Noel De Martin
775aaa79cd
fix: Use base IRI when parsing SPARQL update queries
...
Accept relative references in SPARQL updates
2021-01-11 13:05:56 +01:00
Joachim Van Herwegen
76def28a68
feat: Store target identifier when parsing metadata
2021-01-11 13:05:56 +01:00
Joachim Van Herwegen
f17054c647
refactor: Make request related handle calls consistent
2021-01-11 13:05:56 +01:00
Ruben Verborgh
4828912593
refactor: Use record for representation preference.
2021-01-04 23:06:52 +01:00
Ruben Verborgh
ae06e99067
refactor: Also create named nodes for vocabularies.
2021-01-02 23:15:51 +01:00
Ruben Verborgh
8e138c36d1
refactor: Use types to create vocabularies.
2021-01-02 22:56:25 +01:00
Ruben Verborgh
a572825909
refactor: Indicate caching on method name.
2021-01-02 17:50:17 +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
ecfe3cfc46
feat: Support the Forwarded header.
2020-12-02 10:23:38 +01:00
Ruben Verborgh
fc3942b372
change: Move WebSocketAdvertiser to middleware.
2020-11-30 00:54:21 +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
Joachim Van Herwegen
e4183333fd
fix: Integrate wrapStreamError to prevent uncaught errors
2020-11-24 11:49:10 +01:00
Ruben Verborgh
30ee0f8dc6
chore: Clean up code related to headers.
2020-11-23 11:19:05 +01:00
Ruben Verborgh
f08617b1c9
feat: Advertise WebSocket via Updates-Via header.
2020-11-23 11:19:05 +01:00
Joachim Van Herwegen
1073c2ff4c
refactor: Clean up utility functions
2020-11-18 17:19:53 +01:00
Joachim Van Herwegen
95ab0b4e76
refactor: Make piping consistent
2020-11-13 16:00:37 +01:00
Joachim Van Herwegen
4e4d7a7a39
feat: Integrate MetadataSerializer
2020-11-06 09:08:00 +01:00
Joachim Van Herwegen
aebccd45c0
feat: Create 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
Joachim Van Herwegen
e8fdcb0ad0
refactor: Split off ErrorResponseWriter
2020-11-06 09:08:00 +01:00
Ruben Verborgh
4b4f737013
chore: Use Jest recommended linting.
2020-11-02 10:03:18 +01:00
Ruben Verborgh
1a45b65df7
refactor: Implement empty canHandle on base class. ( #289 )
2020-10-30 17:56:39 +01:00
smessie
a7fa61ab2f
fix: Resolve duplicate error message and no trailing newline
...
* fix: Resolves duplicate error message
* test: Add trailing newline on error test
2020-10-27 15:17:59 +01:00
smessie
99464d9a95
feat: Add logging
...
* feat: Add logging
* refactor: Configure the logger for the tests once globally
* feat: Add logging
* fix: Fix ESLint errors due to merge conflicts
* Review log and error messages.
* refactor: Cleanup a bit
* refactor: Change to logger info calls
Co-authored-by: Ruben Verborgh <ruben@verborgh.org>
2020-10-26 10:31:01 +01:00
Joachim Van Herwegen
e85ca622da
fix: Make sure all URI characters are correctly encoded
2020-10-14 11:32:27 +02:00
Joachim Van Herwegen
31844a4f40
feat: Integrate MetadataHandler
2020-10-09 12:12:34 +02:00
Joachim Van Herwegen
7dcb3eaa84
feat: Create MetadataHandler
2020-10-09 12:12:34 +02:00
Joachim Van Herwegen
bb28af937b
feat: Decode URI in target extractor
2020-10-07 09:31:08 +02:00
Joachim Van Herwegen
4d34cdd12f
fix: Have AsyncHandlers only check what is necessary
2020-10-05 15:32:08 +02:00
Joachim Van Herwegen
9657fbafb1
refactor: Update eslint related dependencies
2020-09-17 11:55:49 +02:00
Joachim Van Herwegen
85df2e5d7f
refactor: Make URI constants consistent
2020-09-16 13:18:58 +02:00
Joachim Van Herwegen
8d3979372b
refactor: Streamline RepresentationMetadata interface
2020-09-16 12:10:42 +02:00
Joachim Van Herwegen
76319ba360
feat: Update RepresentationMetadata to store triples
2020-09-16 12:10:42 +02:00
Ruben Taelman
0ed1ae539d
lint: enable no-extraneous-dependencies rule
...
This also uses the new `import type` syntax for importing rdf-js types,
as it is required for making this new linter rule pass.
Closes #132
2020-09-07 08:46:08 +02:00
Ruben Verborgh
a06a7ff685
fix: Determine body presence according to RFC7230
...
Fixes https://github.com/solid/community-server/issues/121
2020-09-03 10:12:16 +02:00
Ruben Verborgh
c5c5d13570
refactor: Replace dataType by binary flag
2020-09-03 09:52:48 +02:00
Joachim Van Herwegen
199d657097
refactor: Remove overused "Simple" prefix
2020-09-02 15:42:13 +02:00
Joachim Van Herwegen
86d5f367d5
feat: Support link and slug headers in SimpleBodyParser
2020-08-27 15:51:07 +02:00
Ruben Taelman
48740e5cba
style: improve linting of imports
...
A new plugin is used that offers autofixing capabilities.
2020-08-26 13:20:19 +02:00
Joachim Van Herwegen
4bc1dcdd1b
fix: Remove duplicate checks
...
These were added when setting TypeScript settings to strict,
but should not be needed due to how AsyncHandlers should be used.
2020-08-25 15:12:01 +02:00
Joachim Van Herwegen
4403421c49
feat: Integrate data conversion with rest of server
2020-08-17 15:38:26 +02:00