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
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
b381a9c926
refactor: Enable ts/no-explicit-any 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
e09b53b20d
chore: Replace rdf-js import with @rdfjs/types
2024-01-16 08:49:28 +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
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
Joachim Van Herwegen
3bb3004abb
refactor: Bring lint config back to original strictness
2023-11-02 09:49:17 +01:00
Joachim Van Herwegen
6248ed0938
refactor: Replace linting configurations
...
The previous package was outdated, preventing us from updating TS.
This one also lints YAML and JSON,
and applies many more rules to the test files,
explaining all the changes in this PR.
2023-11-02 09:49:17 +01:00
Wouter Termont
58daeb684f
feat: pass requestedModes metadata on 401
...
* feat: pass requestedModes metadata on 401
* fix: bundle modes per target bnode
* fix: use custom instance check for HttpError
2023-10-27 09:23:36 +02:00
Joachim Van Herwegen
f932cf4b22
chore: Update dependencies
2023-10-11 16:25:49 +02:00
Joachim Van Herwegen
16378ec470
fix: Encode notification keys before accessing the storage
...
This to prevent issues when a storage is used that does not encode
2023-10-11 12:47:02 +02:00
Joachim Van Herwegen
ea83ea59a1
feat: Update StaticAssetHandler to allow for easier overrides
2023-10-06 10:11:58 +02:00
Joachim Van Herwegen
531c299c7b
refactor: Rename WebHook to Webhook
2023-10-06 08:39:42 +02:00
Joachim Van Herwegen
43e8ef99b0
fix: Return WAC-Allow header in 304 responses
2023-08-28 09:06:39 +02:00
Joachim Van Herwegen
afcbfdaacf
feat: Use ETagHandler for ETag generation and comparison
2023-08-28 09:06:39 +02:00
Joachim Van Herwegen
5ec6eddbfa
refactor: Move condition classes to separate folder
2023-08-28 09:06:39 +02:00
Joachim Van Herwegen
7505f07f2f
fix: Add missing error causes
2023-08-28 09:06:39 +02:00
Joachim Van Herwegen
f373dff1d7
feat: Add metadata to errors
2023-08-28 09:06:39 +02:00
Joachim Van Herwegen
4f17f2baac
Merge branch 'main' into versions/next-major
2023-07-25 09:43:15 +02:00
Joachim Van Herwegen
c0a881b980
fix: Use correct type for Webhook notifications
2023-06-13 08:14:11 +02:00
Joachim Van Herwegen
9584ab7549
fix: Make root storage subject of storage description
2023-06-13 08:14:11 +02:00
Joachim Van Herwegen
36ff95e6b2
feat: StaticAssetHandler can link a container to a document
2023-06-06 09:18:29 +02:00
Joachim Van Herwegen
5347025720
fix: Make sure locker allows reentrant lock acquisition
2023-05-02 09:27:31 +02:00
Joachim Van Herwegen
4b7621f9e0
feat: Support both the old and new WebSocket specifications together
2023-04-27 11:27:34 +02:00
Joachim Van Herwegen
69af7c4e16
feat: Use WebSocket2023Channel identifier for WebSocket URL
2023-04-27 11:27:34 +02:00
Joachim Van Herwegen
262f6b4558
chore: Update dependencies
2023-04-27 10:47:30 +02:00
Joachim Van Herwegen
b250beaec9
fix: Support new ETag format in notification states
2023-04-26 13:25:06 +02:00
Joachim Van Herwegen
d59a1595d5
feat: Replace WebHookSubscription2021 with WebHookChannel2023
2023-04-24 11:00:54 +02:00
Joachim Van Herwegen
e9463483f4
feat: Allow unsubscribing from all notification channels
2023-04-24 10:18:17 +02:00
Joachim Van Herwegen
f7e05ca31e
feat: Restrict channels to 2 weeks by default
2023-04-24 10:18:17 +02:00
Joachim Van Herwegen
134237a80f
feat: Support Add/Remove notifications on containers
2023-04-20 15:42:04 +02:00
Joachim Van Herwegen
702e8f5f59
feat: Replace WebSocketSubscription2021 with WebSocketChannel2023
2023-04-20 14:32:13 +02:00
Joachim Van Herwegen
cbbb10afa1
feat: Use URLs for channel identifiers
...
In the future these can potentially be used to dereference them
2023-04-20 14:32:13 +02:00
Joachim Van Herwegen
67d1ff4ac0
feat: Ignore unsupported notifications features in subscriptions
2023-04-20 14:32:13 +02:00
Joachim Van Herwegen
65860f77da
feat: Support GET requests on subscription services
...
Doing a GET request on a subscription resource
will return the expected representation.
Content negotiation is supported.
2023-04-20 14:32:13 +02:00
Joachim Van Herwegen
b2f4d7fb2d
fix: Update the lastEmit value after sending a notification
2023-04-20 14:32:13 +02:00
Joachim Van Herwegen
3a0c8159df
test: Check the correct WebID in the WebHookEmitter tests
2023-04-20 14:32:13 +02:00
Joachim Van Herwegen
c36f15e2da
feat: Generalize and extend notification channel type behaviour
2023-04-20 14:32:13 +02:00
Joachim Van Herwegen
7d029a9465
feat: Remove NotificationChannelInfo generics
2023-04-20 14:32:13 +02:00
Joachim Van Herwegen
8d31233075
refactor: Rename NotificationChannelInfo to NotificationChannel
2023-04-20 14:32:13 +02:00
Joachim Van Herwegen
61f04487a1
refactor: Rename subscription to notification channel
2023-04-20 14:32:13 +02:00