1356 Commits

Author SHA1 Message Date
Joachim Van Herwegen
1a1a6ee714 docs: Describe how notifications work on the server 2023-04-20 16:14:45 +02:00
Joachim Van Herwegen
134237a80f feat: Support Add/Remove notifications on containers 2023-04-20 15:42:04 +02:00
Joachim Van Herwegen
9e1e65cdb9 refactor: Rename internal activity vocabulary
The original URL does not exist so should use an internal value for now.
Renamed to `activity` as predicates tend to be lower case.
2023-04-20 15:42:04 +02:00
Joachim Van Herwegen
40ad4a6170 docs: Update RELEASE_NOTES with correct notification information 2023-04-20 14:32:13 +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
5f32137d63 refactor: Export ContextDocumentLoader from utility file 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
0a30be55ef fix: Use EqualReadWriteLocker with file locker to prevent deadlocks 2023-04-19 09:35:11 +02:00
Joachim Van Herwegen
c3f48ddb97 fix: Ensure the ETag is representation specific 2023-04-18 10:41:48 +02:00
Joachim Van Herwegen
7fd0b50383 fix: Store internal JWK as JWKS to be backwards compatible 2023-04-17 15:19:50 +02:00
dependabot[bot]
46ceb6d7eb chore(deps): bump actions/checkout from 3.5.1 to 3.5.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.1 to 3.5.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.5.1...v3.5.2)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 08:42:33 +02:00
dependabot[bot]
9c55c2d05d chore(deps): bump actions/checkout from 3.5.0 to 3.5.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.5.0...v3.5.1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-13 09:15:20 +02:00
Joachim Van Herwegen
4b3301738e docs: Add references to the configuration generator 2023-04-05 10:07:23 +02:00
Joachim Van Herwegen
f149e3d884 chore: Update date in templates 2023-04-04 11:46:02 +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
dependabot[bot]
2780e88acf chore(deps): bump actions/checkout from 3.4.0 to 3.5.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.4.0...v3.5.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 09:00:03 +02:00
Pieter Heyvaert
50bb8cf923
docs: add responses when client credentials are incorrect
* docs: add responses when client credentials are incorrect

* fix: comment Joachim

* Revert "fix: comment Joachim"

This reverts commit aac6c738318e874101be044523a7679d53b74617.

* fix: my own damn mess
2023-03-24 13:45:49 +01:00
dependabot[bot]
b5106ceaee chore(deps): bump actions/stale from 7 to 8
Bumps [actions/stale](https://github.com/actions/stale) from 7 to 8.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-24 08:28:55 +01:00
dependabot[bot]
d5c8d9e2ff chore(deps): bump actions/checkout from 3.3.0 to 3.4.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.3.0...v3.4.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-16 09:19:56 +01:00
zg009
b6faed0db3
fix: Updated WrappedExpiringStorage to use timer.unref
* 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
2023-03-13 08:30:42 +01:00
Joachim Van Herwegen
63fd062f16 fix: Output required OAuth error fields 2023-03-07 08:36:58 +01:00
Joachim Van Herwegen
7eb938044d chore: Update caniuse-lite dependency 2023-02-27 11:13:30 +01:00
Joachim Van Herwegen
bb7427842c fix: Do not add port 80 to default base URL 2023-02-13 10:11:42 +01:00
Joachim Van Herwegen
c332412074
feat: Provide clear error message for unknown clients
* feat: Provide clear error message for unknown clients

* docs: Rephrase error message.

* docs: Update error message to reference local storage

---------

Co-authored-by: Ruben Verborgh <ruben@verborgh.org>
2023-02-10 10:13:53 +01:00
dependabot[bot]
948dad7bcd chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-03 12:01:05 +01:00
Joachim Van Herwegen
3bb8001c72 docs: Reference correct configuration entry 2023-02-03 11:32:07 +01:00
Pasini Luca
2efc141baa feat: SeededPodInitializer log exceptions as warning instead of crashing 2023-02-03 10:27:58 +01:00
Joachim Van Herwegen
5acddcb5b2
docs: Add Zenodo badge in README 2023-02-01 15:34:53 +01:00
Joachim Van Herwegen
9a64095205 chore(release): Release version 6.0.0-alpha.0 of the npm package v6.0.0-alpha.0 2023-02-01 11:14:14 +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
0d6b895df3 feat: Hash lock-related identifiers 2023-02-01 09:47:13 +01:00
Joachim Van Herwegen
163f5e8f17 chore: Remove changelog script that converts titles
The new version of commit-and-tag-version does this automatically now
2023-02-01 09:34:31 +01:00
dependabot[bot]
7dc5eede43 chore(deps-dev): bump commit-and-tag-version from 10.1.0 to 11.0.0
Bumps [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) from 10.1.0 to 11.0.0.
- [Release notes](https://github.com/absolute-version/commit-and-tag-version/releases)
- [Changelog](https://github.com/absolute-version/commit-and-tag-version/blob/master/CHANGELOG.md)
- [Commits](https://github.com/absolute-version/commit-and-tag-version/compare/v10.1.0...v11.0.0)

---
updated-dependencies:
- dependency-name: commit-and-tag-version
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 09:27:09 +01:00
dependabot[bot]
700668ee3e chore(deps): bump docker/build-push-action from 3 to 4
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-31 10:18:18 +01:00
dependabot[bot]
aa5aaa3262 chore(deps-dev): bump simple-git from 3.15.0 to 3.16.0
Bumps [simple-git](https://github.com/steveukx/git-js/tree/HEAD/simple-git) from 3.15.0 to 3.16.0.
- [Release notes](https://github.com/steveukx/git-js/releases)
- [Changelog](https://github.com/steveukx/git-js/blob/main/simple-git/CHANGELOG.md)
- [Commits](https://github.com/steveukx/git-js/commits/simple-git@3.16.0/simple-git)

---
updated-dependencies:
- dependency-name: simple-git
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-27 08:37:51 +01:00
dependabot[bot]
93464ba122 chore(deps): bump cookiejar from 2.1.3 to 2.1.4
Bumps [cookiejar](https://github.com/bmeck/node-cookiejar) from 2.1.3 to 2.1.4.
- [Release notes](https://github.com/bmeck/node-cookiejar/releases)
- [Commits](https://github.com/bmeck/node-cookiejar/commits)

---
updated-dependencies:
- dependency-name: cookiejar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-24 11:35:27 +01:00
Joachim Van Herwegen
915140b73f chore: Fix linting issue in SECURITY.md 2023-01-23 10:38:58 +01:00