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
Joachim Van Herwegen
75048172df
fix: Make sure stored tokens expire
2023-10-11 12:47:02 +02:00
Joachim Van Herwegen
2914fd7d60
fix: Update generated keys in ExpiringAdapterFactory to prevent overlap
...
If the keys were not encoded there could be an issue
where there were 2 similar keys `grant/123` and `Grant/123`.
2023-10-11 12:47:02 +02:00
Joachim Van Herwegen
7684198b53
fix: Fix issue in warning on pod settings HTML page
2023-10-11 12:47:02 +02:00
Joachim Van Herwegen
b54c6b97b7
feat: Support all notification methods in all default configs
2023-10-10 16:08:53 +02:00
Joachim Van Herwegen
864dd7c2e0
feat: Add support for initializing a server with a root pod
2023-10-09 09:57:25 +02:00
Joachim Van Herwegen
764b392b2b
feat: Link to the account page in the pod README
2023-10-09 09:57:25 +02:00
Joachim Van Herwegen
010017a141
feat: Update configurations so ldp/accounts/oidc can be disabled
2023-10-09 09:10:34 +02:00
Joachim Van Herwegen
0ac7d407bf
feat: Add migration for v6 account data
2023-10-06 12:54:26 +02:00
Joachim Van Herwegen
fedd9e04d8
feat: Allow ConditionalHandler to set the expected value
2023-10-06 12:54:26 +02:00
Joachim Van Herwegen
42a1ca7b64
feat: Create PodCreator class to contain most pod creation logic
2023-10-06 11:05:01 +02:00
Joachim Van Herwegen
3bfd9e3298
fix: Add links on account page
2023-10-06 11:05:00 +02:00
Joachim Van Herwegen
307dba3219
fix: Rename cookie field to authorization
2023-10-06 11:05:00 +02:00
Joachim Van Herwegen
cd07338ce7
feat: Add support for pod owners
2023-10-06 11:04:59 +02:00
Joachim Van Herwegen
4230db5038
feat: Use IndexedStorage to store account data
2023-10-06 11:04:58 +02:00
Joachim Van Herwegen
a47f5236ef
feat: Full rework of account management
...
Complete rewrite of the account management and related systems.
Makes the architecture more modular,
allowing for easier extensions and configurations.
2023-10-06 11:04:40 +02:00
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
ea83ea59a1
feat: Update StaticAssetHandler to allow for easier overrides
2023-10-06 10:11:58 +02:00
dependabot[bot]
a8b5d5eb45
chore(deps-dev): bump @tsconfig/node18 from 2.0.1 to 18.2.2
...
Bumps [@tsconfig/node18](https://github.com/tsconfig/bases/tree/HEAD/bases ) from 2.0.1 to 18.2.2.
- [Commits](https://github.com/tsconfig/bases/commits/HEAD/bases )
---
updated-dependencies:
- dependency-name: "@tsconfig/node18"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-06 09:00:11 +02:00
Joachim Van Herwegen
531c299c7b
refactor: Rename WebHook to Webhook
2023-10-06 08:39:42 +02:00
Joachim Van Herwegen
1e3684bcf3
fix: Update supported DPoP algorithms to run CTH
2023-10-06 08:39:07 +02:00
Joachim Van Herwegen
180d5f131e
fix: Add workaround for authn library issue
2023-10-06 08:39:07 +02:00
Joachim Van Herwegen
cccca96d28
test: Workaround for Jest dynamic import issues
...
Dynamic imports cause segmentation faults with Jest:
https://github.com/nodejs/node/issues/35889 .
We work around this by handling imports in IdentityProviderFactory
differently when Jest is running.
For unit tests we use a different tsconfig
that transpiles dynamic imports differently,
as those are also used in AppRunner.
2023-10-06 08:39:07 +02:00
Joachim Van Herwegen
bfa70a40aa
test: Workaround for Jest ESM issues
...
To prevent issues with Jest and ESM
we transform all ESM dependencies to CJS while testing.
2023-10-06 08:39:07 +02:00
Joachim Van Herwegen
b3ef4ed017
fix: Use local file for oidc-provider typings
...
Due to v8 of oidc-provider being ESM,
we can't use the typings directly because of a TS bug:
https://github.com/microsoft/TypeScript/issues/49721 .
This works around that.
2023-10-06 08:39:07 +02:00
Joachim Van Herwegen
7024ee9a58
feat: Update oidc-provider to v8
...
The new version is an ESM package,
so we need to do a dynamic import as our package is CJS.
To correctly transpile the dynamic import,
moduleResolution needs to be set to node16.
See https://github.com/microsoft/TypeScript/issues/43329
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
9bf734817d
test: Remove test tmp folder after all tests are finished
2023-10-06 08:10:28 +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
b9208caad2
chore: Remove contributors field
...
It keeps changing and being out of date all the time anyway
2023-10-05 15:29:43 +02:00
Joachim Van Herwegen
e0c1baeb43
chore: Make Node v18 the minimum supported version
2023-10-05 15:26:56 +02:00
Joachim Van Herwegen
43be71e4a2
chore: Test Node v20
2023-10-05 15:26:56 +02:00
Joachim Van Herwegen
c95198285c
Merge branch 'main' into versions/next-major
2023-10-05 14:28:06 +02:00
Joachim Van Herwegen
5c0c54c31c
chore(release): Release version 6.1.0 of the npm package
v6.1.0
2023-10-05 13:15:48 +02:00
Joachim Van Herwegen
fdb39f6df4
docs: Add v6.1.0 features to RELEASE_NOTES.md
2023-10-05 13:15:44 +02:00
Joachim Van Herwegen
da46becf7a
fix: Prevent error when creating a root pod
2023-10-05 13:04:33 +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
Ruben Verborgh
d618f9781a
docs: Simplify README by pointing to our docs.
2023-10-05 09:20:39 +02:00
Ruben Verborgh
e424b84882
docs: Add starting guide.
2023-10-05 09:20:39 +02:00
Ruben Verborgh
1fa6d248a2
docs: Add quick start to README.
2023-10-05 09:20:39 +02:00
Joachim Van Herwegen
d31393f475
fix: Remove URL encoding from base64 strings before decoding
2023-10-05 09:12:10 +02:00
Joachim Van Herwegen
3ade2ad795
feat: Introduce IndexedStorage for a more extensive storage solution
2023-09-26 09:42:39 +02:00
Joachim Van Herwegen
661357c985
chore: Remove eslint rule about deleting dynamic keys
2023-09-26 09:42:39 +02:00
dependabot[bot]
4f095243df
chore(deps): bump actions/checkout from 4.0.0 to 4.1.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.0.0 to 4.1.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/v4.0.0...v4.1.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-09-25 08:47:50 +02:00
Joachim Van Herwegen
154d981684
feat: Split up EncodingPathStorage functionality into different classes
2023-09-20 11:13:56 +02:00