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
Joachim Van Herwegen
7c343a5fcc
feat: Update notification object to match the updated examples
2023-04-20 14:32:13 +02:00
Joachim Van Herwegen
caee563dd6
feat: Replace expiration feature with startAt and endAt
2023-04-20 14:32:13 +02:00
Joachim Van Herwegen
10980e90a3
feat: Use notification v0.2 features in discovery
2023-04-20 14:32:13 +02:00
Joachim Van Herwegen
23db528472
fix: Replace inefficient storage detection
...
This replaces the recursive backend calls to find the storage
by a new class that is aware what the storage URLs look like.
2023-04-19 09:47:47 +02:00
Joachim Van Herwegen
c46d01d3d7
feat: Remove agent/user permission differentiation
...
This was only used for the WAC-Allow header and greatly simplifies how we use permissions.
2022-11-18 16:08:06 +01:00
Joachim Van Herwegen
6ad5c0c797
feat: Move WAC-Allow metadata collecting to HTTP handler
...
This depends on all auth related handlers to cache their results.
This allows us to remove the permission field from Operation.
2022-11-18 16:08:06 +01:00
Joachim Van Herwegen
f54c34d1e0
feat: Add support for WebHookSubscription2021
2022-11-15 15:50:05 +01:00
Joachim Van Herwegen
cb619415fa
refactor: Move WebSocket URL handling to utility functions
2022-11-15 15:50:05 +01:00
Joachim Van Herwegen
b1f7a6a8b1
feat: Add support for WebSocketSubscription2021
2022-11-09 09:10:00 +01:00
Joachim Van Herwegen
cbc07c6ef3
feat: Add support for the Notification specification
2022-11-09 09:10:00 +01:00
Joachim Van Herwegen
df2f69f532
feat: Expose a storage description resource for storage containers
2022-11-09 09:10:00 +01:00
Joachim Van Herwegen
3db1921633
feat: Create an OperationRouterHandler
...
This allows us to route after an Operation has been parsed
2022-11-09 09:10:00 +01:00
Joachim Van Herwegen
4223dcf8a4
feat: Split up server creation and request handling
...
This allows us to decouple the WebSocket listening from the HTTP configs,
making these features completely orthogonal.
2022-11-09 09:10:00 +01:00
Joachim Van Herwegen
9f04e28dc6
chore: Clean up ACP imports
2022-11-02 09:17:35 +01:00
Joachim Van Herwegen
fa1dee573e
feat: Add required ACP headers
2022-10-06 09:36:04 +02:00
Joachim Van Herwegen
f3e7a20800
feat: Update Credentials typings to support client/issuer
2022-10-06 09:36:04 +02:00
Joachim Van Herwegen
740ba3398b
Merge branch 'main' into versions/5.0.0
...
# Conflicts:
# RELEASE_NOTES.md
# config/app/variables/cli/cli.json
# config/app/variables/default.json
# package-lock.json
# package.json
2022-08-04 17:18:34 +02:00
Joachim Van Herwegen
93a141dd61
fix: Improve HTTP stream error messages
2022-07-14 11:41:18 +02:00
Joachim Van Herwegen
23f0b37c28
feat: Change permission interface to store identifiers
2022-07-11 14:07:43 +02:00
Joachim Van Herwegen
df0825936a
feat: Parse Accept headers as early as possible
2022-06-01 10:05:36 +02:00
Jasper Vaneessen
2814e72b34
feat: Respect root path for static assets and HTML links
...
* feat: rootpath for static assets and links1
* fix: static asset handler respects root path
* fix: use rootPath for links
* tests: fix the tests after adding consuctor params
* feat: change matchregex instead of stored URLs
* feat: baseUrl for handlebar engine and templates
* feat: full baseUrl passed to templates
* test: fix integration tests + templates
* chore: implement requested changes
* docs: Describe TemplateEngine interface changes
Co-authored-by: Joachim Van Herwegen <joachimvh@gmail.com>
2022-05-24 10:20:41 +02:00
Joachim Van Herwegen
d2bc995272
refactor: Replace RedirectAllHttpHandler usage with RedirectingHttpHandler
2022-04-25 09:09:39 +02:00
Joachim Van Herwegen
1b7cc1ea3a
Merge branch 'main' into versions/4.0.0
...
# Conflicts:
# test/unit/util/errors/RedirectHttpError.test.ts
2022-04-11 10:21:49 +02:00
Wouter Termont
468e11d906
feat: Add RedirectingHttpHandler
...
* feat: redirect handler
Signed-off-by: Wouter Termont <woutermont@gmail.com>
* chore: rewrite reduction as loop
Signed-off-by: Wouter Termont <woutermont@gmail.com>
* chore: remove example import
Signed-off-by: Wouter Termont <woutermont@gmail.com>
* feat: add more redirect flavours
Signed-off-by: Wouter Termont <woutermont@gmail.com>
* chore: RedirectingHttpHandler with RedirectAllHttpHandler
Signed-off-by: Wouter Termont <woutermont@gmail.com>
* chore: replace RedirectAllHttpHandler with RedirectingHttpHandler
* chore: revert 5956385 (chore: replace RedirectAllHttpHandler with RedirectingHttpHandler)
This reverts commit 5956385c4180e8e8914b9199c4ed6ca8ae7d39fb.
* docs: complete constructor params
Signed-off-by: Wouter Termont <woutermont@gmail.com>
2022-04-11 09:49:36 +02:00
Joachim Van Herwegen
6e98c6aae4
feat: Dynamically generate Allow and Accept-* headers
2022-03-29 14:52:36 +02:00
Joachim Van Herwegen
2ae5924dde
feat: Pass access modes to PermissionReaders
...
This allows PermissionReaders to potentially only check the necessary access modes
for potential performance optimization.
2022-03-18 14:15:12 +01:00
Joachim Van Herwegen
9f0973b039
fix: Linter warnings
2021-11-05 15:59:28 +01:00
Joachim Van Herwegen
5613ff9e71
fix: Let Representations always have a body
...
This is relevant when the request has a content-type
but no data.
2021-10-12 13:30:06 +02:00
Joachim Van Herwegen
b3da9c9fcf
refactor: Restructure source code folder
...
This way the location of certain classes should make more sense
2021-10-12 12:51:02 +02:00
Joachim Van Herwegen
bb7e88b137
refactor: Split HttpHandler behaviour over multiple classes
...
This allows easier reuse of certain reoccurring behaviours,
such as authorization.
The AuthenticatedLdpHandler is no longer required
since it is a combination of parsing and authorization.
This did require a small change to the OperationHandler interface.
2021-10-07 15:51:11 +02:00
Joachim Van Herwegen
02df2905de
feat: Create RedirectAllHttpHandler
...
This handler will redirect all requests to a specific URL
2021-09-27 10:32:34 +02:00
Joachim Van Herwegen
fb0b50c997
fix: Make the RouterHandler more robust
...
It now extracts paths based on the base URL
and allows catching all methods.
2021-09-27 10:32:34 +02:00
Joachim Van Herwegen
20197ea1de
feat: Generalize HTTP handler behaviour in BaseHttpHandler
2021-09-08 13:55:52 +02:00
Joachim Van Herwegen
80ebd02cc4
feat: Support content negotiation for IDP requests
2021-08-18 15:39:02 +02:00
Joachim Van Herwegen
7b7040a196
feat: Use RequestParser and ResponseWriter for IDP
2021-08-18 15:39:02 +02:00
Ruben Verborgh
1719857e4b
change: Use @css: instead of $PACKAGE_ROOT/
...
This makes usage from the command line easier,
since $ is typically used to mark variables.
2021-08-03 13:19:38 +01:00
Renovate Bot
8c266f09c5
fix(deps): update dependency ws to v8
2021-08-02 13:32:01 +01:00
Joachim Van Herwegen
2ae95bd167
refactor: Remove streamify array dependency
2021-08-02 14:28:43 +02:00
Joachim Van Herwegen
9d337ba80c
feat: Moved IDP response and template behaviour to single class
2021-08-02 11:29:33 +02:00
Ruben Verborgh
745eef798a
feat: Cache static assets.
...
Closes https://github.com/solid/community-server/issues/861
2021-07-28 11:45:14 +02:00