264 Commits

Author SHA1 Message Date
Ruben Verborgh
4638ba4bce feat: Use baseIRI in QuadToRdfConverter.
Closes https://github.com/solid/community-server/issues/512
2021-01-15 12:43:34 +01:00
Matthieu Bosquet
cabdf7960f fix: Token verification lenient on client_id 2021-01-15 12:42:00 +01:00
Ruben Taelman
748476afbb refactor: Update to Components.js 4 2021-01-14 13:38:42 +01:00
Ruben Verborgh
409782c205 Release version 0.4.1 of the npm package. 2021-01-13 10:39:44 +01:00
Matthieu Bosquet
faa98cd6f4 chore: Update ts-dpop to solid library 2021-01-08 08:52:15 +01:00
Ruben Verborgh
867af28330 Release version 0.4.0 of the npm package. 2021-01-06 12:26:09 +01:00
Ruben Verborgh
87752ddf20 feat: Support writer prefixes.
Closes https://github.com/solid/community-server/issues/470
2021-01-06 11:36:21 +01:00
Ruben Verborgh
de939ac7ba chore(deps): update ini to 1.3.8 2021-01-03 01:17:25 +01:00
Matthieu Bosquet
dc62c84563 chore(deps): update dependency ts-dpop to ^0.4.2 2021-01-01 20:31:10 +01:00
Renovate Bot
a3ae2bd7cd chore(deps): update dependency typedoc to ^0.20.0 2021-01-01 13:25:58 +01:00
Matthieu Bosquet
bdfd7cf902 feat: Bearer token support 2020-12-28 23:49:52 +01:00
Ruben Verborgh
97e7e42fdc chore(deps): update ts-dpop to v0.3.0 2020-12-27 19:54:41 +01:00
Ruben Verborgh
370b830cbe chore: Add typedoc. 2020-12-19 22:27:12 +01:00
Matthieu Bosquet
6077cc1f4c
chore(deps): Update ts-dpop to v0.2.7. 2020-12-19 18:26:24 +01:00
Matthieu Bosquet
731b44d5b9
chore: Use tsconfig base. (#433) 2020-12-19 00:19:09 +00:00
Ruben Verborgh
35aec9cce7 Release version 0.3.0 of the npm package. 2020-12-03 13:20:03 +01:00
Joachim Van Herwegen
f387b36dc2 feat: add template based data generator 2020-12-02 13:01:38 +01:00
Ruben Verborgh
0407a36490 feat: Add DPoPWebIdExtractor. 2020-11-27 16:54:14 +01:00
Ruben Verborgh
16d447f221 test: Add WebSockets integration test. 2020-11-25 14:55:54 +01:00
Ruben Verborgh
29b659b55f chore(deps): Update componentsjs-generator to v1.6.0. 2020-11-25 10:12:00 +01:00
Ruben Taelman
ff33efa73d chore(deps): Update componentsjs-generator to v1.5.0. 2020-11-23 23:21:17 +01:00
Ruben Verborgh
59487410b1 feat: Add WebSocket functionality to server. 2020-11-20 15:39:37 +01:00
Ruben Verborgh
4f69602751 chore(deps): update dependency n3 to v1.6.4
Closes https://github.com/solid/community-server/issues/308
2020-11-06 15:01:30 +01:00
Ruben Verborgh
f4161d406c Release version 0.2.0 of the npm package. 2020-11-05 12:50:21 +01:00
Ruben Taelman
b6c8e2cb8f Bump componentsjs-generator to 1.2.0 2020-11-02 15:41:32 +01:00
Joachim Van Herwegen
9f7c246104 feat: Support SPARQL store backends 2020-11-02 15:04:05 +01:00
iesmessa
6cc7053310 feat: Implement SPARQL-based ResourceStore 2020-11-02 15:04:05 +01:00
Ruben Verborgh
4b4f737013 chore: Use Jest recommended linting. 2020-11-02 10:03:18 +01:00
Ruben Verborgh
0476ba8069
chore(deps): update all dependencies (#293) 2020-11-02 09:08:14 +01:00
Ruben Verborgh
73a56d8682
chore: Organize tests (#292)
* chore: Organize tests.

* chore: Install Coveralls only on Travis.
2020-10-31 17:52:10 +01:00
Renovate Bot
ac8423d28d chore(deps): update dependency supertest to v6 2020-10-30 15:55:16 +01:00
Renovate Bot
1ef75126ee chore(deps): update dependency eslint-plugin-unused-imports to v1 2020-10-26 08:43:54 +01:00
Renovate Bot
f6f45c0ece chore(deps): update dependency supertest to v5 2020-09-28 08:59:52 +02:00
Ruben Taelman
5b825bc2d4 feat: add winston-based logger 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
Renovate Bot
fc4df9dbae fix(deps): update dependency yargs to v16 2020-09-16 14:16:10 +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
Joachim Van Herwegen
b1991cb08a
feat: More integration tests and test configs (#154)
* add todo

* Added configurations folder

* Added config to index

* changed /bin/server to use configfiles

* initiate acl with Setup component

* add last changes

* reset serverconfig

* move authenticatedLdpHandler configs to config files

* failed to read testss

* failed to read testss

* removed import part

* Fix merge conflicts

* add first FileResTests

* fix: fix fileresourcestore metadata error

* fix unit tests

* remove test files

* Added test and changed callFile

* Fix: metadata file error in FileResourceStore

* fix: ensure full test coverage

* added tests

* Fix get tests

* added testfiles

* changed config to use PasstrueStore

* to continue work on

* refactor fileresourcestore config

* refactor tests

* fix content-types, update tests

* replace sync methods with async methods

* move acl function to util

* added testfiles for Fileserver with acl

* update tests

* add first acl filestore test

* refactor

* add resource mapper

* refactor config files

* add more fileresourcestore acl tests

* add locking resource store test files

* move file mapping logic to resourcemapper

* added beforeAll for a permanent file in Auht tests

* make filestore dependent of resource mapper

* moved configs to test/configs

* set default contenttype

* refactor fileresourcemapper

* fix map function

* refactor

* fixed foldercreationtest

* changed some tests so the files are cleaned up when done testing

* add normalized parser

* Auhtenticationtests clean up acl file

* refactor unit test

* lost changes added again

* fix metadata problem

* refactor names

* reverse change

* add getters

* configs and start util

* add comments

* add comments, move code

* added acl helper and changed tests

* linter 7.7.0 -> 7.0.0

* moved test/tesfiles -> test/assets

* removed configs/**/*.ts from tsconfig.json

* Temporary changed threshold so cli test is ignored and commiting goes easier, will revert later

* added FileResourceStore to index

* Changed imports

* Changed imports for all configs

* Removed comment

* Changed names of configs

* added 'Config' to name and removed comment

* removed unused testfile and added testfile 0

* changed beforeAll to just copy permanent file

* change text/turtle to constant

* fix converter issue

* getHandler -> getHttpHandler, and updates to config

* removed ','

* removed trailing /

* changed imports for index.d.js problem

* removed duplicate file and added line that got removed in mergeconflicts

* add jest global teardown

* add ignore for CliRunner

* add changes

* fix copyfile error

* remove unused testfiles

* adding test with image

* add first util functions

* relative paths to absolute paths

* added 3 FileStoreTests

* more refactoring

* more absolute paths

* fix mkdir path

* added test

* add util for easy configs

* add comments

* added some testhelpers and refactor first test

* fix converter test error

* refactor FileResTests

* solved failing test because new converters

* removed afterAll()

* removed setAcl from util

* removed config from Authorization.test.ts

* changed strange linting

* refactored AuthenticatedFileResourceStore tests

* fixed unclear root variable

* fix: Use absolute test paths

* Mock fs correctly and remove teardown

* Clean up after tests

Co-authored-by: freyavs <freyavanspeybroeck@outlook.com>
Co-authored-by: thdossch <dossche.thor@gmail.com>
Co-authored-by: Freya <56410697+freyavs@users.noreply.github.com>
Co-authored-by: thdossch <49074469+thdossch@users.noreply.github.com>
Co-authored-by: Ruben Verborgh <ruben@verborgh.org>
2020-09-14 16:06:27 +02:00
Ruben Taelman
e9983d5837 chore: update to componentsjs-generator with generics support 2020-09-07 10:42:31 +02:00
Ruben Verborgh
e492f2e4a6 Release version 0.1.1 of the npm package. 2020-09-03 15:41:04 +02:00
Ruben Verborgh
80aad8ab07 fix: Move dependencies to production 2020-09-03 15:34:24 +02:00
Ruben Taelman
d259461c14
docs: initialize CHANGELOG.md 2020-09-03 10:35:52 +02:00
Ruben Taelman
6b8d57667b fix: reset lockfile to update to fixed JSON-LD serializer, Closes #105 2020-09-02 09:53:07 +02:00
Ruben Taelman
2c3ae4eded Add generic QuadToRdfConverter 2020-09-01 11:49:49 +02:00
Ruben Taelman
db04c55196 feat: Enable dependency injection with auto-generated components 2020-09-01 09:00:15 +02:00
Ruben Taelman
e88e680ed7 feat: add support for parsing more RDF formats using rdf-parse 2020-08-31 12:01:47 +02:00
Renovate Bot
7bd77bbf96 chore(deps): update dependency @types/jest to v26 2020-08-31 11:39:11 +02:00
Ruben Taelman
48740e5cba style: improve linting of imports
A new plugin is used that offers autofixing capabilities.
2020-08-26 13:20:19 +02:00
smessie
381dae42f6
feat: Add file based ResourceStore (#52)
* feat: Add file resource store

* test: Write some tests for FileResourceStore

* fix: Reformat code and fix various small things from reviews

* fix: Change constants to just be the corresponding URL

* fix: Remove extra unnecessary wrap in a Promise

* fix: Write some more tests and fix related bugs

* fix: Use old way to import fs promises to support older Node versions

* refactor: Refactor code and tests

* refactor: Refactor and better document code

* fix: Change comparison with undefined by typeof check

* fix: Invert typeof check
2020-08-18 14:19:25 +02:00