23 Commits

Author SHA1 Message Date
Joachim Van Herwegen
139342470e feat: Add WAC-Allow header when required 2021-02-18 14:13:47 +01:00
Ruben Verborgh
eb1440851a refactor: Move handlers into subfolder. 2021-01-27 11:29:35 +01:00
Joachim Van Herwegen
b642393a15 fix: Have PATCH/POST/PUT operations handlers check content-type 2021-01-15 08:42:36 +01:00
Ruben Verborgh
af8f1976cd fix: Rename UnsupportedHttpError into BadRequestError. 2020-11-27 14:52:16 +01:00
Joachim Van Herwegen
1260c5c14e feat: Store status, body and metadata in ResponseDescription 2020-11-06 09:08:00 +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
smessie
0644f8d245
feat: Implement HEAD request support
* feat: Implement HEAD request support

* feat: Integrate HEAD handler with other code

* fix: Improve test by using arrayifyStream

* fix: Use Promise chaining

* refactor: Unwrap destroy stream promise
2020-10-06 14:13:37 +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
Ruben Verborgh
385e1a4cdf change: Support all PUT operations, error later 2020-09-03 09:02:20 +02:00
Joachim Van Herwegen
199d657097 refactor: Remove overused "Simple" prefix 2020-09-02 15:42:13 +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
011822e859 fix: Make SimpleResourceStore behaviour closer to expected 2020-08-18 10:32:07 +02:00
Joachim Van Herwegen
dcff424f58 fix: Enable strict TypeScript settings 2020-07-24 13:30:34 +02:00
Joachim Van Herwegen
482991cb9a feat: Add OperationHandler for PATCH 2020-07-23 10:55:53 +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
fe8749390c feat: add simple operation handlers 2020-06-24 14:08:56 +02:00
Joachim Van Herwegen
e0343fca54 feat: add response description interface 2020-06-24 14:08:56 +02:00
Joachim Van Herwegen
4229932a3a feat: add CompositeAsyncHandler to support multiple handlers 2020-06-05 09:51:48 +02:00
Joachim Van Herwegen
cc8f965495 fix: clean up structure using more AsyncHandlers and more folders 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
Joachim Van Herwegen
f8e136cadb refactor: support inrupt coding standards 2020-05-25 10:07:38 +02:00