Joachim Van Herwegen
ade977bb4f
feat: Move storage location decision to separate import
2023-10-06 10:11:59 +02:00
Joachim Van Herwegen
5eff035cb3
feat: Remove setup
2023-10-06 10:11:59 +02:00
Joachim Van Herwegen
531c299c7b
refactor: Rename WebHook to Webhook
2023-10-06 08:39:42 +02:00
Joachim Van Herwegen
180d5f131e
fix: Add workaround for authn library issue
2023-10-06 08:39:07 +02:00
Joachim Van Herwegen
b0d7342b39
Merge branch 'main' into versions/next-major
2023-10-06 08:11:21 +02:00
Joachim Van Herwegen
3a57e88229
test: Stop cleaning up folders after quota test to prevent CI issues
2023-10-06 08:10:28 +02:00
Joachim Van Herwegen
c95198285c
Merge branch 'main' into versions/next-major
2023-10-05 14:28:06 +02:00
Joachim Van Herwegen
44f731d7e7
test: Initialize empty pods when testing quota
...
Another attempt to help fix random CI integration test failures
2023-10-05 11:04:01 +02:00
Joachim Van Herwegen
71e55690f3
feat: Track binary size of resources when possible
2023-10-05 10:07:49 +02:00
Joachim Van Herwegen
3e9adef4cf
feat: Add support for range headers
2023-10-05 10:07:49 +02:00
Joachim Van Herwegen
db66e3df75
test: Consistently clean up folder before stopping server
...
There seems to be some integration tests that sometimes fail
on tests where the order is reversed.
Hopefully this resolves the problem.
2023-10-05 10:04:29 +02:00
Joachim Van Herwegen
baa64987c6
fix: Return ETag 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
4f17f2baac
Merge branch 'main' into versions/next-major
2023-07-25 09:43:15 +02:00
Joachim Van Herwegen
f419f2f28d
test: Enable file locker in notification tests
2023-07-20 17:10:14 +02:00
Joachim Van Herwegen
e921d62630
fix: Make all ways to start the server more consistent
2023-07-20 09:48:54 +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
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
d6b438cd7b
chore: Update jest and TypeScript dependencies
2023-04-27 10:47:30 +02:00
Joachim Van Herwegen
d6be724a12
Merge branch 'main' into versions/6.0.0
...
# Conflicts:
# config/ldp/authorization/readers/access-checkers/agent-group.json
2023-04-24 11:21:59 +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
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
c36f15e2da
feat: Generalize and extend notification channel type behaviour
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
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
c3f48ddb97
fix: Ensure the ETag is representation specific
2023-04-18 10:41:48 +02:00
zg009
f0596c2eb8
feat: Support conditions for GET/HEAD requests
...
* fix: updated WrappedExpiringStorage tests and timer.unref calls
* fix: removed finalizable configs and inheritors that only used timer
* fix: updated test function to test setSafeInterval and timer.unref
* fix: added NotModifiedHttpError class
* fix: added 304 error test to HttpError test file
* fix: 304 errors when making read request with matching ETag
* Update src/util/errors/NotModifiedHttpError.ts
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
* fix: updated tests
* fix: try notMatchesEtag in test
* fix: DataAccessorBasedStore test passes
* fix: removed conditions check and added extra test
---------
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
2023-03-28 09:24:15 +02:00
Joachim Van Herwegen
63fd062f16
fix: Output required OAuth error fields
2023-03-07 08:36:58 +01:00
Joachim Van Herwegen
d9c0e9b043
chore(release): Update configs to v6.0.0
2023-02-01 10:54:37 +01:00
Joachim Van Herwegen
7cc0e3fbcc
Merge branch 'main' into versions/6.0.0
...
# Conflicts:
# src/init/ServerInitializer.ts
# src/server/BaseHttpServerFactory.ts
# src/server/HttpServerFactory.ts
# src/server/WebSocketServerFactory.ts
# test/unit/server/BaseHttpServerFactory.test.ts
2023-02-01 10:13:04 +01: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
Koen Luyten
bf0e35be37
feat: allow server to bind to Unix Domain Sockets
2022-11-18 15:41:20 +01:00
Joachim Van Herwegen
f54c34d1e0
feat: Add support for WebHookSubscription2021
2022-11-15 15:50:05 +01:00
Joachim Van Herwegen
334364918f
test: Disable notifications when testing the file locker
...
There is a conflict between notifications being sent out right before a test stops,
and the file locker trying to clean up the locks folder.
This only has an impact when shutting down the server so has no real impact,
but should still be fixed eventually so we can easily write tests.
2022-11-09 09:10:00 +01:00
Joachim Van Herwegen
b1f7a6a8b1
feat: Add support for WebSocketSubscription2021
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
3328f8dea6
Merge branch 'main' into versions/6.0.0
2022-11-07 09:45:22 +01:00
Samu Lang
60718a123d
fix: Expose Www-Authenticate via CORS
...
To support reactive authentication where clients inspect the challenge to choose an authentication mechanism.
2022-11-07 08:45:52 +01:00
Joachim Van Herwegen
7fafd646fc
test: Make sure quota test succeeds if tmp folder does not exist
2022-11-04 09:55:04 +01:00
Joachim Van Herwegen
68ee9648e1
fix: Require create permission for empty PATCH bodies
2022-11-02 16:48:15 +01:00
Joachim Van Herwegen
ef48660b48
fix: Return correct status code when deleting non-existent resource
2022-11-02 09:31:42 +01:00
Joachim Van Herwegen
56b7e63843
test: Update PermissionTable to also test all ACP cases
2022-10-06 09:36:04 +02:00