1594 Commits

Author SHA1 Message Date
Joachim Van Herwegen
716c3c3089 docs: Explain how to use AppRunner to start a server instance 2024-01-04 14:17:00 +01:00
Joachim Van Herwegen
c6ec45c7c0 feat: Support default mainModulePath when creating App 2024-01-04 14:17:00 +01:00
Joachim Van Herwegen
4664c64e6c Merge branch 'main' into versions/next-major
# Conflicts:
#	package-lock.json
#	package.json
2024-01-04 10:53:01 +01:00
Joachim Van Herwegen
648ce1fba8 chore: Remove Docker arm builds
These are failing to build due to other issues.
This way at least we still have the default build.
2024-01-04 10:33:09 +01:00
dependabot[bot]
11ce94c199 chore(deps): bump @koa/cors and oidc-provider
Bumps [@koa/cors](https://github.com/koajs/cors) to 5.0.0 and updates ancestor dependency [oidc-provider](https://github.com/panva/node-oidc-provider). These dependencies need to be updated together.


Updates `@koa/cors` from 4.0.0 to 5.0.0
- [Changelog](https://github.com/koajs/cors/blob/master/History.md)
- [Commits](https://github.com/koajs/cors/compare/4.0.0...5.0.0)

Updates `oidc-provider` from 8.4.0 to 8.4.3
- [Release notes](https://github.com/panva/node-oidc-provider/releases)
- [Changelog](https://github.com/panva/node-oidc-provider/blob/main/CHANGELOG.md)
- [Commits](https://github.com/panva/node-oidc-provider/compare/v8.4.0...v8.4.3)

---
updated-dependencies:
- dependency-name: "@koa/cors"
  dependency-type: indirect
- dependency-name: oidc-provider
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-03 10:50:27 +01:00
dependabot[bot]
d4cb6db98d chore(deps): bump actions/upload-artifact from 3 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-03 10:49:42 +01:00
dependabot[bot]
601d0d6f04 chore(deps-dev): bump @types/supertest from 2.0.14 to 6.0.2
Bumps [@types/supertest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/supertest) from 2.0.14 to 6.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/supertest)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-03 10:47:58 +01:00
Joachim Van Herwegen
8f74fc82ad test: Run tests on Node 21 2023-12-12 10:03:51 +01:00
Joachim Van Herwegen
3a9b0d69f0 chore: Update linting dependency 2023-12-08 14:24:35 +01:00
dependabot[bot]
6c1c935260 chore(deps): bump actions/stale from 8 to 9
Bumps [actions/stale](https://github.com/actions/stale) from 8 to 9.
- [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/v8...v9)

---
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-12-08 08:45:05 +01:00
dependabot[bot]
df84a22c22 chore(deps-dev): bump vite from 4.5.0 to 5.0.5
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.0 to 5.0.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.0.5/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-07 09:28:59 +01:00
dependabot[bot]
1215157cdd chore(deps): bump actions/setup-python from 4 to 5
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-07 09:20:25 +01:00
dependabot[bot]
bf2d30e82d chore(deps): bump marked from 9.1.0 to 11.0.0
Bumps [marked](https://github.com/markedjs/marked) from 9.1.0 to 11.0.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v9.1.0...v11.0.0)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 10:59:09 +01:00
dependabot[bot]
9aa13c7012 chore(deps): bump jose from 4.15.2 to 5.1.3
Bumps [jose](https://github.com/panva/jose) from 4.15.2 to 5.1.3.
- [Release notes](https://github.com/panva/jose/releases)
- [Changelog](https://github.com/panva/jose/blob/main/CHANGELOG.md)
- [Commits](https://github.com/panva/jose/compare/v4.15.2...v5.1.3)

---
updated-dependencies:
- dependency-name: jose
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 10:58:21 +01:00
Joachim Van Herwegen
dca71bc5b8 docs: Explain that users need to log in for client credentials 2023-11-28 09:44:38 +01:00
Joachim Van Herwegen
1f888645d6 docs: Fix links 2023-11-28 09:43:35 +01:00
Joachim Van Herwegen
c64a1a241d
docs: Describe server feature set
* docs: Describe server feature set

* docs: Fix language

Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Ruben Verborgh <ruben@verborgh.org>

* docs: Emphasize parts of feature documentation

---------

Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Ruben Verborgh <ruben@verborgh.org>
2023-11-27 08:58:10 +01:00
Jan
355f7dd1c7
docs: Fix Typo is -> if 2023-11-27 08:29:00 +01:00
Joachim Van Herwegen
1234acc0e1 chore(release): Release version 7.0.2 of the npm package v7.0.2 2023-11-20 09:40:16 +01:00
Joachim Van Herwegen
5f85441b6e fix: Add query parameter to static resources
This ensures these resources are fetched again after the v7 changes.
2023-11-20 09:20:21 +01:00
Joachim Van Herwegen
6c30a2512b fix: Update resource size in ConstantConverter 2023-11-20 09:16:34 +01:00
Joachim Van Herwegen
4318479154 fix: Prevent errors in JSON storage when data is invalid 2023-11-20 09:16:02 +01:00
Joachim Van Herwegen
2f928bd2d4 fix: Prevent errors during migration for invalid JSON 2023-11-20 09:16:02 +01:00
Joachim Van Herwegen
01623e0b5c
docs: Explain storage/location import options
* docs: Explain storage/location import options

* docs: Fix language

Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>

---------

Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
2023-11-17 11:26:54 +01:00
Joachim Van Herwegen
15a929a87e
docs: Fix outdated information in IDP documentation (#1773)
* docs: Fix outdated information in IDP documentation

* docs: Fix language

Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>

---------

Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
2023-11-13 09:14:40 +01:00
Joachim Van Herwegen
86d9005b07 Merge branch 'main' into versions/next-major
# Conflicts:
#	package-lock.json
#	package.json
2023-11-10 08:53:08 +01:00
Wouter Termont
86f45923ba
feat: Add index signature to Credentials
* feat: abstract Credentials type for Authorizer

* feat: abstract Credentials type in CredentialsExtractor & PermissionReader

* chore: typegraphical corrections in documentation

Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>

* fix: remove accidental .js extension

* feat: also check for undefined credentials when deciding 401/404

* docs: corrections to code documentation

Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>

* fix: revert abstraction & index signature to Credentials

* chhore: fix linter issues

---------

Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
2023-11-10 08:10:10 +01:00
Joachim Van Herwegen
e7d8081aff chore: Remove test files
These were accidentally added
2023-11-09 14:15:16 +01:00
dependabot[bot]
97e183dfc8 chore(deps-dev): bump commit-and-tag-version from 11.3.0 to 12.0.0
Bumps [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) from 11.3.0 to 12.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/v11.3.0...v12.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-11-09 09:51:04 +01:00
Joachim Van Herwegen
1597a5a578 fix: Disable submit buttons until form data is loaded 2023-11-09 08:22:12 +01:00
Joachim Van Herwegen
4d05fe4315
docs: Explain the patching store in-depth
* docs: Explain the patching store in-depth

* docs: Fix language in patching documentation

Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>

---------

Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
2023-11-07 09:07:44 +01:00
Joachim Van Herwegen
261c3d05a6 fix: Undo util.js errors introduced when changing lint settings 2023-11-07 08:59:17 +01:00
Joachim Van Herwegen
edbf895505 chore: Update to TypeScript 5.2.2
tsconfig has to be different for tests due to cjs/esm issues with jest.
Deploy scripts need to use the original tsconfig though,
which is why we have the current nested tsconfigs.
2023-11-02 10:51:29 +01:00
Joachim Van Herwegen
9cc4a9ce4d chore: Fix Dockerfile to Node v18 to prevent build issues
See https://github.com/CommunitySolidServer/CommunitySolidServer/issues/1761
2023-11-02 10:14:07 +01:00
Joachim Van Herwegen
cd1daaecc1 refactor: Split up eslint configurations 2023-11-02 09:49:17 +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
c9e4c7041c refactor: Prevent for-each calls 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
7a007dc466 refactor: Enable stricter test linting 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
dependabot[bot]
edaa2d350c chore(deps-dev): bump @commitlint/cli from 17.7.2 to 18.2.0
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.7.2 to 18.2.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v18.2.0/@commitlint/cli)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-27 08:36:08 +02:00
dependabot[bot]
04711b112b chore(deps): bump actions/setup-node from 3 to 4
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-24 09:09:57 +02:00
dependabot[bot]
bbe394dbe8 chore(deps-dev): bump @commitlint/config-conventional
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 17.7.0 to 18.0.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v18.0.0/@commitlint/config-conventional)

---
updated-dependencies:
- dependency-name: "@commitlint/config-conventional"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-24 09:01:10 +02:00
Joachim Van Herwegen
6f341a839f chore(release): Release version 7.0.1 of the npm package v7.0.1 2023-10-20 16:00:49 +02:00
Joachim Van Herwegen
61b8d4a7e8 docs: Fix incorrect variable in documentation 2023-10-20 15:14:38 +02:00