1472 Commits

Author SHA1 Message Date
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
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
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]
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
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
Joachim Van Herwegen
762d703df7 docs: Update v6 references 2023-10-20 10:33:35 +02:00
Joachim Van Herwegen
f1fdbb05b2 fix: Remove duplicate identifier reference when disabling accounts 2023-10-19 15:17:39 +02:00
dependabot[bot]
3e4b8f7dd7 chore(deps): bump actions/checkout from 4.1.0 to 4.1.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.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/v4.1.0...v4.1.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-10-19 11:20:08 +02:00
Joachim Van Herwegen
28dbfead78 chore(release): Release version 7.0.0 of the npm package v7.0.0 2023-10-19 09:22:10 +02:00
Joachim Van Herwegen
6eaaa42015 chore(release): Update configs to v7.0.0 2023-10-19 09:13:48 +02:00
Joachim Van Herwegen
c276904c90 chore(deps-dev): bump @babel/traverse from 7.23.0 to 7.23.2 2023-10-19 08:56:53 +02:00
Joachim Van Herwegen
92a0856da6 refactor: Use one identifier to reference main template engine 2023-10-12 13:58:53 +02:00
Joachim Van Herwegen
70556d2a8e docs: Mention migration is based on default configs 2023-10-12 09:45:02 +02:00
Joachim Van Herwegen
9321addafa feat: Add config option to enable account and pod creation 2023-10-11 18:11:48 +02:00
Joachim Van Herwegen
851eafd1d1 refactor: Sort default config imports 2023-10-11 16:52:52 +02:00
Joachim Van Herwegen
8f2ccb7b41 chore: Update devDependencies 2023-10-11 16:25:49 +02:00
Joachim Van Herwegen
f932cf4b22 chore: Update dependencies 2023-10-11 16:25:49 +02:00
Joachim Van Herwegen
cf411e13fb docs: Mention account entrypoint in release notes 2023-10-11 13:09:17 +02:00
Joachim Van Herwegen
862ac4867b refactor: Move single IDP configurations into one folder 2023-10-11 13:04:28 +02:00
Joachim Van Herwegen
607c04ff28 refactor: Rename WebIdAdapterFactory to ClientIdAdapterFactory 2023-10-11 13:01:36 +02:00
Joachim Van Herwegen
7a44581406 fix: Ensure setup values are migrated correctly 2023-10-11 12:47:02 +02:00
Joachim Van Herwegen
b65b72a25e docs: Update migration documentation 2023-10-11 12:47:02 +02:00
Joachim Van Herwegen
9daeaf89ac feat: Update migration to clear all old non-account data
This is necessary to support the new internal format
2023-10-11 12:47:02 +02:00
Joachim Van Herwegen
f954fc9450 fix: Be consistent in slash usage in storages 2023-10-11 12:47:02 +02:00
Joachim Van Herwegen
b5a61cbb08 feat: Use new MaxKeyLengthStorage to prevent keys that are too long 2023-10-11 12:47:02 +02:00
Joachim Van Herwegen
e1c5189cb8 feat: Remove base64 encoding from storages 2023-10-11 12:47:02 +02:00
Joachim Van Herwegen
16378ec470 fix: Encode notification keys before accessing the storage
This to prevent issues when a storage is used that does not encode
2023-10-11 12:47:02 +02:00