Ruben Verborgh
ecfe3cfc46
feat: Support the Forwarded header.
2020-12-02 10:23:38 +01:00
Ruben Verborgh
357546e90f
change: Clarify parent error message.
2020-12-01 20:10:53 +01:00
Ruben Verborgh
1d08f463f6
change: Increase logging level of lock expiry.
2020-11-29 10:54:57 +01:00
Ruben Verborgh
af8f1976cd
fix: Rename UnsupportedHttpError into BadRequestError.
2020-11-27 14:52:16 +01:00
smessie
dacfb74a6a
refactor: Move lock stuff in its own folder
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
Joachim Van Herwegen
1a30b51461
feat: Create function to wrap streams to not lose errors
2020-11-24 11:49:10 +01:00
Joachim Van Herwegen
75e4f73c3f
refactor: Add isContainerPath function
2020-11-18 17:19:53 +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
715ba126f9
feat: Make internal/quads unacceptable output
2020-11-13 15:32:48 +01:00
Joachim Van Herwegen
aebccd45c0
feat: Create MetadataSerializer
2020-11-06 09:08:00 +01:00
Joachim Van Herwegen
840965cdef
refactor: Create multiple composite handlers
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
9f7c246104
feat: Support SPARQL store backends
2020-11-02 15:04:05 +01:00
iesmessa
dff4ba8efe
fix: Write tests and fix related bugs, refactor code
2020-11-02 15:04:05 +01:00
iesmessa
6cc7053310
feat: Implement SPARQL-based ResourceStore
2020-11-02 15:04:05 +01:00
Ruben Verborgh
0476ba8069
chore(deps): update all dependencies ( #293 )
2020-11-02 09:08:14 +01:00
Ruben Verborgh
1a45b65df7
refactor: Implement empty canHandle on base class. ( #289 )
2020-10-30 17:56:39 +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
03c64e5617
refactor: Remove file and in memory stores
2020-10-16 09:35:48 +02:00
Joachim Van Herwegen
6ad40763f9
feat: Create DataAccessorBasedStore to have a standard store implementation
2020-10-14 11:32:27 +02:00
Joachim Van Herwegen
e00cb05dc3
feat: Add support for mocking fs
2020-10-14 11:32:27 +02:00
Joachim Van Herwegen
006f7ea7aa
refactor: Let caller decide which error pipeStreamAndErrors should throw
2020-10-14 11:32:27 +02:00
Joachim Van Herwegen
fa935cc4c7
refactor: Move file related metadata to FileResourceStore
2020-10-14 11:32:27 +02: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
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
10723bb6b8
fix: Retain status codes when combining errors
2020-10-02 09:37:10 +02:00
Joachim Van Herwegen
e1533a0869
refactor: Rename UriUtil functions
...
Forgot to do this when rebasing
2020-09-17 11:58:38 +02:00
Joachim Van Herwegen
e349e04119
refactor: Apply naming-convention rules
2020-09-17 11:55:49 +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
Freya
383da24601
feat: Implement resource mapper for the file resource store ( #142 )
...
* move file mapping logic to resourcemapper
* make filestore dependent of resource mapper
* set default contenttype
* refactor fileresourcemapper
* fix map function
* refactor
* add normalized parser
* refactor unit test
* fix metadata problem
* refactor names
* reverse change
* add getters
* add comments
* add comments, move code
* change text/turtle to constant
* add changes
* add requested changes
* add more requested changes
* add more requested changes
* more changes
2020-09-11 17:08:53 +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
Joachim Van Herwegen
c808dfeff0
fix: metadata file error in FileResourceStore
...
* Fix: metadata file error in FileResourceStore
* fix: ensure full test coverage
* add stream piping function in util
* Fix typing in util function
* Add requested changes
* add suggested changes
* add suggested change
Co-authored-by: freyavs <freyavanspeybroeck@outlook.com >
2020-09-04 09:12:35 +02:00
Ruben Verborgh
ee3b847033
refactor: Introduce TEXT_TURTLE constant
2020-09-03 09:52:48 +02:00
Ruben Verborgh
85e3117efe
refactor: Drop CONTENT_TYPE prefix
2020-09-03 09:52:48 +02:00
Ruben Verborgh
c5c5d13570
refactor: Replace dataType by binary flag
2020-09-03 09:52:48 +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
bca4d06c9a
fix: Remove unused interfaces
2020-08-25 15:12:01 +02:00
smessie
381dae42f6
feat: Add file based ResourceStore ( #52 )
...
* feat: Add file resource store
* test: Write some tests for FileResourceStore
* fix: Reformat code and fix various small things from reviews
* fix: Change constants to just be the corresponding URL
* fix: Remove extra unnecessary wrap in a Promise
* fix: Write some more tests and fix related bugs
* fix: Use old way to import fs promises to support older Node versions
* refactor: Refactor code and tests
* refactor: Refactor and better document code
* fix: Change comparison with undefined by typeof check
* fix: Invert typeof check
2020-08-18 14:19:25 +02:00
Joachim Van Herwegen
0545ca121e
feat: Add acl support
2020-08-18 10:32:07 +02:00
Joachim Van Herwegen
4403421c49
feat: Integrate data conversion with rest of server
2020-08-17 15:38:26 +02:00
Joachim Van Herwegen
5e1bb10f81
feat: Convert data from ResourceStore based on preferences
2020-08-17 15:38:26 +02:00
Joachim Van Herwegen
14db5fed91
feat: Specifiy constants in separate file
2020-07-28 12:00:17 +02:00
Joachim Van Herwegen
aaba113563
fix: Set max-len to 120
2020-07-24 15:10:34 +02:00