1269 Commits

Author SHA1 Message Date
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
7fd0b50383 fix: Store internal JWK as JWKS to be backwards compatible 2023-04-17 15:19:50 +02: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
Joachim Van Herwegen
d21a10f0bc
chore: Create SECURITY.md 2023-01-23 10:06:31 +01:00
Joachim Van Herwegen
ba19a42a19 chore: Update Components.js dependency to v5.3.2 2023-01-19 11:06:06 +01:00
Joachim Van Herwegen
7422fbffe7 feat: Take preferences as input in RepresentationConvertingStore 2023-01-11 16:03:30 +01:00
Gertjan De Mulder
473902b85d
chore: Add linux/arm/v8 to docker build 2023-01-11 14:19:34 +01:00
dependabot[bot]
1e7efcaeb9 chore(deps): bump @types/uuid from 8.3.4 to 9.0.0
Bumps [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid) from 8.3.4 to 9.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid)

---
updated-dependencies:
- dependency-name: "@types/uuid"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 11:11:28 +01:00
dependabot[bot]
53fcf0117e chore(deps): bump actions/stale from 6 to 7
Bumps [actions/stale](https://github.com/actions/stale) from 6 to 7.
- [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/v6...v7)

---
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-01-09 11:07:33 +01:00
dependabot[bot]
b59245d111 chore(deps): bump actions/checkout from 3.2.0 to 3.3.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.2.0 to 3.3.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.2.0...v3.3.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-01-09 10:55:26 +01:00
dependabot[bot]
a8b3ba0cf8 chore(deps): bump json5 from 1.0.1 to 1.0.2
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 10:54:50 +01:00
Joachim Van Herwegen
2664771133 docs: Fix API doc URL 2022-12-15 13:04:11 +01:00
dependabot[bot]
2ca3c56940 chore(deps): bump actions/checkout from 3.1.0 to 3.2.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.1.0 to 3.2.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.1.0...v3.2.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>
2022-12-13 08:23:23 +01:00
Joachim Van Herwegen
f0c7c60619 docs: Add links to tutorial repo
Plus some cleanup in the main README
2022-12-13 08:12:27 +01:00
Joachim Van Herwegen
6536d90d9c chore: Build API docs after mkdocs
Building mkdocs overwrites the entire folder, thereby replacing the typedocs.
Hence the typedocs need to be written afterwards
2022-12-13 08:03:19 +01:00
Joachim Van Herwegen
84c532ba96 chore: Fix mkdocs major version issue
Includes an update to set-output as that will be deprecated in the future
2022-12-12 11:45:49 +01:00
Ruben Verborgh
1441ef9d25 docs: Fix syntax highlighting. 2022-12-09 09:52:18 +01:00
dependabot[bot]
2d5563e292 chore(deps): bump qs and formidable
Bumps [qs](https://github.com/ljharb/qs) and [formidable](https://github.com/node-formidable/formidable). These dependencies needed to be updated together.

Updates `qs` from 6.9.3 to 6.11.0
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.9.3...v6.11.0)

Updates `formidable` from 2.0.1 to 2.1.1
- [Release notes](https://github.com/node-formidable/formidable/releases)
- [Changelog](https://github.com/node-formidable/formidable/blob/master/CHANGELOG.md)
- [Commits](https://github.com/node-formidable/formidable/commits)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
- dependency-name: formidable
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 09:18:59 +01:00
dependabot[bot]
ba7b4df5fc chore(deps-dev): bump simple-git from 3.12.0 to 3.15.0
Bumps [simple-git](https://github.com/steveukx/git-js/tree/HEAD/simple-git) from 3.12.0 to 3.15.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.15.0/simple-git)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 08:57:41 +01:00
Arthur Joppart
5c79e60238
feat: return clear error when multiple values for a cli flag are given
* feat: return clear error when multiple values for a cli flag are given

* chore: change function signature

* test: add testcase for array type yargs parameter
2022-12-05 13:36:54 +01:00
Jesse Wright
d61bf9bf19 feat: allow css configuration from package.json or config file 2022-11-24 14:25:33 +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
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
59e64a22ea chore: Add caching to all authorization steps 2022-11-18 16:08:06 +01:00
Joachim Van Herwegen
2d54493485 chore: Generalize authorization configurations 2022-11-18 16:08:06 +01:00
Joachim Van Herwegen
9b15b1d7e1 feat: Allow CachedHandler to cache on multiple object fields 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
Jasper Vaneessen
0eb50891ec style: capitalize all changelog entries 2022-11-17 09:56:40 +01:00
Jasper Vaneessen
644682292a chore: add entry capitalization 2022-11-17 09:56:40 +01:00
Jasper Vaneessen
bd4234c2f5 chore: markdownlint fix after generator changelog 2022-11-17 09:56:40 +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
bc119dbd3e chore: Move JWK generation to separate class 2022-11-15 15:50:05 +01:00
Joachim Van Herwegen
76248b9e16 chore: Log uncaught exceptions 2022-11-14 16:52:27 +01:00
Joachim Van Herwegen
b95315c9af chore: Add clock tolerance of 2 minutes to IDP
This brings it in line with similar changes done to the access-token-verifier library.

See https://github.com/CommunitySolidServer/CommunitySolidServer/issues/1012#issuecomment-1168486710
2022-11-14 15:31:06 +01:00
Joachim Van Herwegen
37ba404058 chore: Increase integration test timeout to 20 minutes 2022-11-10 10:55:02 +01:00
Joachim Van Herwegen
80fa81a556 test: Reduce integration test memory usage 2022-11-09 09:10:00 +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
7b6ddfa272 docs: Add notification architecture documentation 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