95 Commits

Author SHA1 Message Date
Thomas Dupont
9527b730b0 add next and edge tags 2022-02-07 08:48:33 +01:00
Joachim Van Herwegen
d44f7117f3 chore: Store server logs and set max threads to 1 for CTH 2022-02-03 10:37:23 +01:00
Joachim Van Herwegen
ab1bca5a76 chore: Store CTH output report 2022-02-03 09:46:46 +01:00
Joachim Van Herwegen
a2c90c1595 chore: Pull correct CTH docker image 2022-02-02 13:14:00 +01:00
Thomas
65d1eeb0a2
chore: Build and push official docker image in CI
* docker job added to ci.yml

* removed temporary manual build stuff

* updated readme for new docker image

* updated changelog

* Revert "updated changelog"

This reverts commit 20d99a2e27e19ffb7a31cbddddb7daab8206b3c8.

Co-authored-by: Thomas Dupont <thomas.dupont@intec.ugent.be>
2022-01-21 11:00:48 +01:00
Joachim Van Herwegen
221c8e65c7 chore: Update CTH docker path 2022-01-14 17:04:02 +01:00
Pieter Colpaert
48b29c5cc2
docs: Make pull request template more strict
* Made pull request template more strict

* Update PULL_REQUEST_TEMPLATE.md
2021-12-09 17:10:25 +01:00
Joachim Van Herwegen
a1579f625a chore: Create pull request template 2021-11-08 13:59:29 +01:00
Joachim Van Herwegen
06663f3079 chore: Remove docker references from Windows integration tests 2021-11-05 16:19:54 +01:00
Joachim Van Herwegen
c2d811754b chore: Run integration tests on Windows
Also removed 17.0 from unit tests due to being a non-LTS version
2021-11-05 16:13:12 +01:00
Joachim Van Herwegen
e9d2b17938 chore: Create issue templates 2021-11-05 09:48:55 +01:00
Joachim Van Herwegen
1810a97f20 chore: Target 3.0.0 branch in conformance CI 2021-11-05 08:50:17 +01:00
Ruben Verborgh
e1a4ef29b9 chore: Run CI on version branches. 2021-11-02 13:36:18 +01:00
Ruben Verborgh
a17731ed1e chore: Run CI on Node 17. 2021-11-02 13:23:40 +01:00
Ruben Verborgh
557ba32577 chore: Gather coverage from all OSes. 2021-11-02 13:23:23 +01:00
Ruben Verborgh
b8db72dfd3 chore: Run integration tests separately. 2021-11-02 12:55:09 +01:00
Joachim Van Herwegen
d81b9ef2a4 chore: Add v2.1.0 branch to conformance test run 2021-10-18 10:22:30 +02:00
Joachim Van Herwegen
2a48b1f333 chore: Remove v2.0.0 branch from conformance test CI 2021-10-15 11:41:19 +02:00
Joachim Van Herwegen
d2f6141c29 chore: Run conformance tests on upcoming version 2021-10-11 15:33:18 +02:00
Joachim Van Herwegen
139edc6cee fix: Update conformance script to target full URI
Was required due to update to the conformance test suite
2021-09-07 11:39:25 +02:00
Ruben Verborgh
449a5a6e42 chore: Also build branches with slashed names. 2021-07-21 22:54:59 +02:00
Ruben Verborgh
232a47d294 chore: Run CI on all branches. 2021-07-20 12:07:20 +02:00
Joachim Van Herwegen
13c8317d31 test: Add github actions for conformance test harness 2021-07-16 16:17:03 +02:00
Matthieu Bosquet
fdd6f853b6 chore: Default to node 16 runtime 2021-07-16 14:32:42 +01:00
Joachim Van Herwegen
77f8e79bc2
test: Remove Node 15.x from CI 2021-07-14 11:55:17 +02:00
Joachim Van Herwegen
d85e716724 chore: Move components validation to separate task 2021-06-30 10:24:13 +02:00
jaxoncreed
1d65143e89
feat: Add identity provider (#455)
* Add identity provider handler as a dependency

* Temp Identity

* Figured out how to get koa to work

* Hooked up idp to networking

* Feat/idp architecture refactor (#430)

* Logs in with solid oidc

* Refactored Provider

* Attempt to hook up dependencies

* Partial wiring of oidc provider components

* IdP networking now works with architecture

* Interaction Handlers Set Up

* fix: Rename & adapt to CSS

* Included Login Interaction

* Refactored architecture to bind Interaction Policy to HttpHandlers

Co-authored-by: Matthieu Bosquet <matthieubosquet@gmail.com>

* fix: Rebase on master

* fix: DI after rebase

* Reimplemented Routing

* Renamed modules and removed ProviderFactory (#450)

* refactor: Solid IdP DI

* refactor: IdP interaction handler DI

* refactor: IdP interaction waterfall

* refactor: Remove unnecessary legacy URL parse

* fix: Add legacy parse back in

* feat: adapter & fix: handlers

* Removed adapter factory

* fix: refactor IdP

* fix: refactor IdP

* fix: refactor IdP

* feat: Add IdP to file storage config

* fix: Unintended commit

* fix: Components ignore

* feat: Basic resource store adapter

* Partially complete idp routing

* Set up initial routing injection graph

* Clean up ResourceStorageAdapter

* Refactored configuration architecture

* Hooked up Login UIs (#518)

* feat: Use template path & run fileserver

* feat: Use util function to read resource

* Fixed DI JSON-LD context

* fixed rendering

* WebId validator

* Set up persistent storage for loing and register

* Fixed ejs template routing

* Refactored StorageAdapters

* NSS login successful

* Forgot password infrastructure

* Can send email (#557)

* Can send email

* fix: IdP crashes if interaction ID doesn't exist (#587)

* feat: Require an issuer registration token

* fix: Issuer registration token typo in error

* fix: Remove dummy IdP storage adapter

* fix: Remove unused library lodash

* fix: Remove unused library lru-cache

* Production ready keystore

* Ruben comments before clownface removal

* Removed clownface

* Change key value store

* Completed Ruben's comments

* Added comments to each class

* Fixed errors on login

* Ruben feedback

* Refactored out getPostRenderHandler

* Identity provider tests (#622)

* corrected tests lacking <void> on promises

* Added files for all idp tests

* Added unfinished tests for all added files

* ErrorHandlingWaterfallHandler

* RenderEjsHandler and RouterHandler tests

* GetPostRouterHandler and BasicOnErrorHandler tests

* Corrected tests for updates to Idp

* fix: missing export

* fix: audience claim

* Client Id Support (#630)

* Added client_id for the auth challenge

* Update src/identity/storage/ClientWebIdFetchingStorageAdapterFactory.ts

Co-authored-by: Matthieu Bosquet <matthieubosquet@gmail.com>

Co-authored-by: Matthieu Bosquet <matthieubosquet@gmail.com>

* fix: Rebase fixes

* Several minor Idp changes/refactors (#656)

* fix: Minor changes

* refactor: Split EmailPasswordInteractionPolicy

* refactor: Remove ErrorHandlingWaterfallHandler

* refactor: Clean up dependencies

* fix: Add dummy IdentityProviderHandler to fix integration tests

* Replace KeyValueStore with KeyValueStorage (#663)

* feat: Create WrappedExpiringStorage

* refactor: Update ResourceStoreEmailPasswordStore to use KeyValueStorage

* refactor: Update KeyGeneratingIdpConfigurationGenerator to use KeyValueStorage

* refactor: Update ResourceStoreStorageAdapterFactory to use ExpiringStorage

* refactor: Removed KeyValueStore

* refactor: Simplify EmailPassword handlers (#664)

* refactor: Order index.ts

* test: Add EmailPasswordForgotPasswordHandler unit tests

* test: Add EmailPasswordGetResetPasswordHandler unit tests

* test: Add EmailPasswordLoginHandler unit tests

* test: Add EmailPasswordRegistrationHandler unit tests

* test: Add EmailPasswordResetPasswordHandler unit tests

* test: Remove unnecessary test file

* feat: Basic instructions for using the IdP

* fix: IdP instructions and add example WebID

* fix: IdP registration copy

* fix: IdP instruction editorial

* Update README.md

Co-authored-by: Joachim Van Herwegen <joachimvh@gmail.com>

* Update README.md

Co-authored-by: Joachim Van Herwegen <joachimvh@gmail.com>

* test: Add KeyGeneratingIdpConfigurationGenerator unit tests

* test: Add KeyValueEmailPasswordStore unit tests

* test: Create IdP integration test

* test: Add EmailPasswordInteractionPolicy unit tests

* test: Add BasicIssuerReferenceWebIdOwnershipValidator unit tests

* test: Add ChooseInitialInteractionHandler unit tests

Also fixes the config warning.

* test: Add EjsTemplateRenderer unit tests

* test: Add EmailSender unit tests

* test: Add FormDataUtil unit tests

* test: Add IdpRouteController unit tests

* test: Add OidcInteractionCompleter unit tests

* refactor: Simplify ClientWebIdFetchingStorageAdapterFactory

* test: Add ClientWebIdFetchingStorageAdapterFactory unit tests

* refactor: Fix ejs html warnings

* test: Add step to test logging in again

Included are updates to handle cookies more correctly.

* feat: Add IdpConfirmHttpHandler

This way there's a handler for the confirm page.

* test: Add ExpiringStorageAdapterFactory unit tests

* test: Add IdentityProviderFactory unit tests

* test: Add IdentityProviderHttpHandler unit tests

* refactor: Minor refactors

* refactor: Use jose instead of node-jose

* refactor: Use jose instead of node-jose

Reduces the number of dependencies since other libraries
also depend on jose.

* Update src/identity/configuration/KeyGeneratingIdpConfigurationGenerator.ts

Co-authored-by: Matthieu Bosquet <matthieubosquet@gmail.com>

* refactor: Use interfaces instead of abstract classes

* refactor: Make WebIdOwnershipValidator an AsyncHandler

* refactor: Make TemplateRenderer an AsyncHandler

* fix: Fix typing issue

* fix: Convert JWK to plain object for node 15

* feat: Update CI configuration

--ignore-scripts was removed because it also stopped dependency scripts,
which was a requirement for bcrypt.
15.0 was removed since that version doesn't run the required scripts after install.
14.0 was removed since the somehow it caused the solid-authn client to do the wrong calls.

* test: Run integration tests on Node 14.2

This is the lowest 14.x version where the IdP integration tests succeed.

* feat: Use ErrorResponseWriter for handling oidc errors

* test: Mock Date in OidcInteractionCompleter tests

* fix: Correctly generate new identifiers

Previously there could be double slashes if the base URL ended in slash.

* fix: Correctly handle storagePathName in ExpiringStorageAdapterFactory

* fix: Fix issue with new CliRunner test in rebase

* fix: Handle unknown errors more consistently

* feat: Make idp parameter dynamic

* feat: Add more logging

* refactor: Link css instead of injecting

* fix: Fix redis integration tests with idp

* refactor: Shorten idp class names

* refactor: Remove e-mail configuration from default config

* feat: Store JsonResourceStorage data in a single container

* feat: Make sure expired data gets removed at some point

* feat: Only accept strings as keys in KeyValueStorage

* fix: Various minor fixes based on review

Co-authored-by: Matthieu Bosquet <matthieubosquet@gmail.com>
Co-authored-by: Joachim Van Herwegen <joachimvh@gmail.com>
2021-05-04 13:17:43 +02:00
Joachim Van Herwegen
f4a09a414d test: Time out CI jobs after 10 minutes 2021-04-27 16:13:53 +02:00
Ruben Verborgh
d5cc2aa69d chore: Test on Node 16. 2021-04-27 14:26:14 +02:00
Arthur Joppart
99d0173213
feat: Add redis based locking mechanism
* feat: redis based locking mechanism

* fix: adapted to review and wrote unit tests

* fix: adapted to review(Woutermont)

* fix: adapted to review and expanded tests

* test: redlock integration tests

* test: corrected file name

* test: tests should run on CI now

* test: improved tests and minor changes according to review

* fix: forgot describeIf docker

* test: adapted to review

* test: Mock all redis dependencies

Co-authored-by: Joachim Van Herwegen <joachimvh@gmail.com>
2021-04-19 09:45:25 +02:00
Ruben Verborgh
df19aa26ef chore: Use main as default branch.
Closes https://github.com/solid/community-server/issues/365
2021-02-03 09:11:42 +01:00
Ruben Verborgh
d7256fb20a test: Test on Node 15. 2021-01-27 09:37:20 +01:00
Ruben Verborgh
f1304d8d04 test: Run CI on first and last of each stable version. 2021-01-26 23:32:44 +01:00
Ruben Verborgh
93c666ca25 docs: Only release docs for specific versions. 2021-01-06 12:13:09 +01:00
Ruben Verborgh
15d1ae179f test: Also run CI on Windows. 2021-01-04 16:52:17 +01:00
Renovate Bot
53479eb557
chore(deps): update actions/setup-node action to v2 2020-12-20 23:15:51 +00:00
Ruben Verborgh
b25948a084 chore: Publish docs on gh-pages. 2020-12-19 22:27:13 +01:00
Ruben Verborgh
370b830cbe chore: Add typedoc. 2020-12-19 22:27:12 +01:00
Ruben Verborgh
99165e8bc2 chore: Make script names consistent. 2020-12-13 15:49:00 +00:00
Ruben Verborgh
6ee56a6d67 chore: Separate dependency installation and build steps. 2020-12-10 16:49:29 +00:00
Ruben Verborgh
dedf579a08 test: Type-check test files.
Closes https://github.com/solid/community-server/issues/415
2020-12-10 16:42:07 +00:00
Ruben Verborgh
c182d252b1 test: Use separate linter job. 2020-12-07 23:17:54 +01:00
Ruben Verborgh
03ffaaed43 change: Drop Node 10 support. 2020-11-27 08:55:18 +01:00
Aaron Coburn
bb9df99af4
fix: Better CI support for GH Actions from remote forks (#353)
* no-op commit

* Support CI on pull request events

* Use pull_request_target event

* Remove pull_request_target event

* fix default branch name
2020-11-25 09:29:53 +01:00
Ruben Verborgh
ec0052e3ec chore: Switch from Travis CI to GitHub Actions. 2020-11-24 16:05:20 +01:00