34 Commits

Author SHA1 Message Date
Joachim Van Herwegen
cf6270d161 fix: Accept absolute paths in CliRunner 2021-01-19 10:54:37 +01:00
Joachim Van Herwegen
af88e130ff test: Always collect coverage
But only set the threshold when running unit tests specifically.
This way coverage for single classes can easily be tested.
2021-01-18 13:38:28 +01:00
Ruben Verborgh
e544e6dc11 feat: Allow custom root ACL. 2021-01-15 12:43:34 +01:00
Ruben Verborgh
a5413a64d3 refactor: Move pod templates to pod subfolder. 2021-01-15 12:43:34 +01:00
Joachim Van Herwegen
9160b52d5b refactor: Remove toSystemFilePath 2021-01-14 16:14:30 +01:00
Ruben Taelman
748476afbb refactor: Update to Components.js 4 2021-01-14 13:38:42 +01:00
Ruben Verborgh
f454b781ff fix: Join and normalize paths consistently. 2021-01-04 16:52:17 +01:00
Ruben Verborgh
c41c41d0e9 fix: Ensure root file path is absolute. 2021-01-01 18:57:21 +01:00
Ruben Verborgh
ba4f7ff26c feat: Add mainModulePath and globalModules CLI flags. 2021-01-01 18:25:35 +01:00
Ruben Verborgh
49551eb9eb fix: Distinguish instantiation and initialization errors. 2021-01-01 16:37:16 +01:00
Joachim Van Herwegen
231349b30d feat: Initialize root containers with RootContainerInitializer 2020-12-18 10:33:54 +01:00
Ruben Verborgh
73ae0c69e9 test: Remove mock error from test results.
Fixes https://github.com/solid/community-server/issues/406
2020-12-08 11:05:03 +01:00
Ruben Verborgh
badbe0032b refactor: Remove Setup. 2020-12-08 10:19:35 +01:00
Ruben Verborgh
04a91858c2 refactor: Split off ServerInitializer. 2020-12-08 10:19:35 +01:00
Ruben Verborgh
b0ecf1c1d8 refactor: Split off LoggerInitializer. 2020-12-08 10:19:35 +01:00
Ruben Verborgh
8fbb4f592e refactor: Split off AclInitializer. 2020-12-08 10:19:35 +01:00
Ruben Verborgh
77db5c0060 fix: Do not overwrite existing root ACL.
Fixes https://github.com/solid/community-server/issues/382
2020-12-03 12:35:26 +01:00
Joachim Van Herwegen
1a043aca3f feat: integrate pod creation 2020-12-02 13:01:38 +01:00
Ruben Verborgh
eabe6bc4ed feat: Implement --baseUrl flag.
Closes https://github.com/solid/community-server/issues/372
2020-12-01 19:09:52 +01:00
Ruben Verborgh
528688bc4c refactor: Refactor runCli to take optional arguments. 2020-12-01 14:55:39 +01:00
Ruben Verborgh
c3b5387efb test: Test all CLI flags. 2020-12-01 14:41:19 +01:00
Joachim Van Herwegen
ee312910d7 fix: Correctly handle acl behaviour for acl identifiers 2020-11-25 09:04:55 +01:00
Ruben Verborgh
e39e7963eb refactor: Add ExpressHttpServerFactory. 2020-11-20 15:12:04 +01:00
Joachim Van Herwegen
892b5f5921 feat: Create multiple configs supporting different store backends 2020-11-04 12:24:37 +01:00
Ruben Verborgh
4b4f737013 chore: Use Jest recommended linting. 2020-11-02 10:03:18 +01:00
smessie
99464d9a95
feat: Add logging
* feat: Add logging

* refactor: Configure the logger for the tests once globally

* feat: Add logging

* fix: Fix ESLint errors due to merge conflicts

* Review log and error messages.

* refactor: Cleanup a bit

* refactor: Change to logger info calls

Co-authored-by: Ruben Verborgh <ruben@verborgh.org>
2020-10-26 10:31:01 +01:00
smessie
e8e96b903d
test: Write unit tests for CliRunner
* test: Write unit tests for CliRunner

* test: fix Loader mock and add new mock and test

* test: Put function definition in beforeEach

* test: Add comments to code

* refactor: Move outsideResolve to setup call
2020-10-13 14:20:27 +02:00
Ruben Taelman
aaa49219dc feat: configure logger during setup 2020-09-23 10:04:31 +02:00
Joachim Van Herwegen
9657fbafb1 refactor: Update eslint related dependencies 2020-09-17 11:55:49 +02:00
Joachim Van Herwegen
76319ba360 feat: Update RepresentationMetadata to store triples 2020-09-16 12:10:42 +02:00
Ruben Taelman
1dd140ab61 refactor: Remove RuntimeConfig in favor of config variables, Closes #106 2020-09-15 08:52:23 +02:00
Ruben Taelman
3387092fc3 Move base normalization to RuntimeConfig 2020-08-31 09:24:40 +02:00
Ruben Taelman
5126356c94
feat: Move runtime config into dedicated component, Closes #67
* Move runtime config into dedicated component, Closes #67

* Migrate FileResourceStore to RuntimeConfig
2020-08-26 10:25:47 +02:00
Ruben Taelman
5649903226
fix: Move ACL init into dedicated Setup component 2020-08-25 11:11:29 +02:00