856 Commits

Author SHA1 Message Date
Joachim Van Herwegen
6d5f56cfe4 feat: Use rdf-vocabulary library 2024-09-16 08:39:29 +02:00
Joachim Van Herwegen
58574eec07 feat: Use asynchandler library for handlers 2024-09-16 08:39:29 +02:00
Joachim Van Herwegen
dce39f67e8 feat: Replace logging with external library 2024-09-16 08:39:29 +02:00
elf Pavlik
3e8365bb26
fix: Use full encoded topic iri in streaming http receiveFrom url template
* fix: use full encoded topic iri in streaming http receiveFrom url template

* clean up urls and routing
2024-08-19 08:58:53 +02:00
elf Pavlik
3dd8602acc fix: Ensure streaming HTTP streams the whole notification in a single chunk 2024-08-05 07:51:33 +02:00
Joachim Van Herwegen
ecd031e69f chore: Update lint dependencies 2024-07-19 15:04:09 +02:00
elf Pavlik
cb38613b4c
feat: Add support for StreamingHTTPChannel2023 notifications
* feat: initial StremingHTTPChannel2023 notifications

Co-authored-by: Maciej Samoraj <maciej.samoraj@gmail.com>

* test: unit for StremingHTTPChannel2023 notifications

Co-authored-by: Maciej Samoraj <maciej.samoraj@gmail.com>

* test: integration for StremingHTTPChannel2023 notifications

Co-authored-by: Maciej Samoraj <maciej.samoraj@gmail.com>

* emit initial notification on streaming http channel

* fix linting erros

* ensure canceling fetch body in integration tests

* extract defaultChannel for topic into util

* add documentation

* Apply suggestions from code review

Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>

* only generate notifications when needed

Co-authored-by: Maciej Samoraj <maciej.samoraj@gmail.com>

* test: set body timeout to pass on node >21

Co-authored-by: Maciej Samoraj <maciej.samoraj@gmail.com>

* address review feedback

* remove node 21 workaround

* add architecture documentation

* Apply suggestions from code review

Co-authored-by: Joachim Van Herwegen <joachimvh@gmail.com>

---------

Co-authored-by: Maciej Samoraj <maciej.samoraj@gmail.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Joachim Van Herwegen <joachimvh@gmail.com>
2024-05-22 08:58:26 +02:00
Joachim Van Herwegen
e20efac3ea fix: Combine metadata with data when generating resources 2024-04-22 09:48:24 +02:00
Joachim Van Herwegen
099897013c fix: Make getParentContainer work with query parameters 2024-04-22 09:13:22 +02:00
Joachim Van Herwegen
f73dfb31c0 fix: Do not reuse the same error in StaticThrowHandler 2024-04-09 08:29:56 +02:00
Joachim Van Herwegen
2846c711ab docs: Fix language
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
2024-04-09 08:29:56 +02:00
Joachim Van Herwegen
5e60000681 fix: Make allow headers more accurate 2024-04-09 08:29:56 +02:00
Joachim Van Herwegen
d7078ad692 fix: Expose auxiliary links on errors 2024-04-09 08:29:56 +02:00
Joachim Van Herwegen
419312ee5f feat: Store original target in error metadata 2024-04-09 08:29:56 +02:00
Joachim Van Herwegen
486241f3d4 docs: Fix language
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
2024-04-02 09:16:51 +02:00
Joachim Van Herwegen
7abca33b67 chore: Update @antfu/eslint-config dependency to 2.11.4 2024-04-02 09:16:51 +02:00
Joachim Van Herwegen
fa060b86f3 refactor: Remove eslint-disable when possible 2024-04-02 09:16:51 +02:00
Joachim Van Herwegen
65bf2bd34e refactor: Enable jsdoc/tag-lines and jsdoc/sort-tags rules 2024-04-02 09:16:51 +02:00
Joachim Van Herwegen
3e59aa4b55 refactor: Enable jsdoc/valid-types rule 2024-04-02 09:16:51 +02:00
Joachim Van Herwegen
5fc4ce8f73 refactor: Enable jsdoc/no-types rule 2024-04-02 09:16:51 +02:00
Joachim Van Herwegen
b381a9c926 refactor: Enable ts/no-explicit-any rule 2024-04-02 09:16:51 +02:00
Joachim Van Herwegen
331f83d659 refactor: Enable style/indent-binary-ops rule 2024-04-02 09:16:51 +02:00
Joachim Van Herwegen
c96b60d4d3 refactor: Enable callback-return rule 2024-04-02 09:16:51 +02:00
Joachim Van Herwegen
c65096020e refactor: Enable prefer-global rules 2024-04-02 09:16:51 +02:00
Joachim Van Herwegen
c24e6d5a18 refactor: Enable consistent-this rule 2024-04-02 09:16:51 +02:00
Joachim Van Herwegen
5c1553bdda refactor: Enable no-unnecessary-type-arguments rule 2024-04-02 09:16:51 +02:00
Joachim Van Herwegen
28af181eee refactor: Make no-extra-parens rule stricter 2024-04-02 09:16:51 +02:00
Joachim Van Herwegen
6fe6b6ec89 fix: Allow path segments to start with 2 or more dots 2024-03-25 13:51:55 +01:00
Joachim Van Herwegen
33e9ae4191 fix: Add priorities to RDF types when converting 2024-03-14 07:20:08 +01:00
Joachim Van Herwegen
8fff08a9b6 fix: Extract root as possible pod when using subdomains 2024-02-28 11:06:30 +01:00
Joachim Van Herwegen
2d44d61942 docs: Fix language
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
2024-02-15 07:20:43 +01:00
Joachim Van Herwegen
68975e6627 fix: Prevent error when switching accounts 2024-02-15 07:20:43 +01:00
Joachim Van Herwegen
137027e421 fix: Keep content-type when using metadata templates 2024-02-15 06:48:30 +01:00
Joachim Van Herwegen
e09b53b20d chore: Replace rdf-js import with @rdfjs/types 2024-01-16 08:49:28 +01:00
Joachim Van Herwegen
277a0d0ab7 fix: Encode WebID ownership tokens 2024-01-05 11:12:42 +01:00
Joachim Van Herwegen
a0b7ee42f3 fix: Only require append when creating with PUT 2024-01-05 11:12:07 +01:00
Joachim Van Herwegen
c6ec45c7c0 feat: Support default mainModulePath when creating App 2024-01-04 14:17:00 +01:00
Joachim Van Herwegen
3a9b0d69f0 chore: Update linting dependency 2023-12-08 14:24:35 +01:00
Joachim Van Herwegen
6c30a2512b fix: Update resource size in ConstantConverter 2023-11-20 09:16:34 +01:00
Joachim Van Herwegen
4318479154 fix: Prevent errors in JSON storage when data is invalid 2023-11-20 09:16:02 +01:00
Joachim Van Herwegen
2f928bd2d4 fix: Prevent errors during migration for invalid JSON 2023-11-20 09:16:02 +01:00
Joachim Van Herwegen
01623e0b5c
docs: Explain storage/location import options
* docs: Explain storage/location import options

* docs: Fix language

Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>

---------

Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
2023-11-17 11:26:54 +01:00
Wouter Termont
86f45923ba
feat: Add index signature to Credentials
* feat: abstract Credentials type for Authorizer

* feat: abstract Credentials type in CredentialsExtractor & PermissionReader

* chore: typegraphical corrections in documentation

Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>

* fix: remove accidental .js extension

* feat: also check for undefined credentials when deciding 401/404

* docs: corrections to code documentation

Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>

* fix: revert abstraction & index signature to Credentials

* chhore: fix linter issues

---------

Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
2023-11-10 08:10:10 +01:00
Joachim Van Herwegen
edbf895505 chore: Update to TypeScript 5.2.2
tsconfig has to be different for tests due to cjs/esm issues with jest.
Deploy scripts need to use the original tsconfig though,
which is why we have the current nested tsconfigs.
2023-11-02 10:51:29 +01:00
Joachim Van Herwegen
c2a84b6592 refactor: Prevent default parameters for objects 2023-11-02 09:49:17 +01:00
Joachim Van Herwegen
98f5d8fb73 refactor: Prevent negated conditions 2023-11-02 09:49:17 +01:00
Joachim Van Herwegen
c9e4c7041c refactor: Prevent for-each calls 2023-11-02 09:49:17 +01:00
Joachim Van Herwegen
20d4a0c3af refactor: Prevent reduce calls 2023-11-02 09:49:17 +01:00
Joachim Van Herwegen
990184dbb5 refactor: Use node protocol when importing builtins 2023-11-02 09:49:17 +01:00
Joachim Van Herwegen
def0b5c732 refactor: Enable consistent newlines in lists 2023-11-02 09:49:17 +01:00