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
Joachim Van Herwegen
dcff424f58
fix: Enable strict TypeScript settings
2020-07-24 13:30:34 +02:00
Joachim Van Herwegen
95c65c86a7
feat: Add BodyParser for SPARQL updates
2020-07-23 10:55:53 +02:00
Joachim Van Herwegen
c53ab5ed9b
fix: Prevent data from being drained when read
...
Comments were also added and URI generation takes slash into account
2020-07-15 10:59:45 +02:00
Joachim Van Herwegen
64a3f90831
feat: Validate Accept* headers while parsing
2020-07-08 11:20:28 +02:00
Joachim Van Herwegen
9d9f7df5d1
feat: Fully support Accept* headers
2020-07-08 11:20:28 +02:00
Joachim Van Herwegen
fe11f4b1ce
fix: add documentation for many classes where it was missing
2020-07-02 10:15:01 +02:00
Joachim Van Herwegen
12fd00e3b8
feat: add simple resource store
2020-06-24 14:08:56 +02:00
Joachim Van Herwegen
d4f70d9c59
feat: add simple body parser
2020-06-17 10:10:32 +02:00
Joachim Van Herwegen
e0d74fd68a
feat: add typed readable
2020-06-17 10:10:32 +02:00
Joachim Van Herwegen
a07f440ab6
fix: update eslint settings
2020-06-05 11:28:28 +02:00
Joachim Van Herwegen
4229932a3a
feat: add CompositeAsyncHandler to support multiple handlers
2020-06-05 09:51:48 +02:00
Joachim Van Herwegen
57405f3e26
feat: add custom errors
2020-06-05 09:51:48 +02:00
Joachim Van Herwegen
a4f2b3995c
feat: add additional supported interfaces
...
This includes the relevant auth headers and a simplification of several others.
2020-05-25 11:27:23 +02:00