104 Commits

Author SHA1 Message Date
Ruben Verborgh
3020b17283 Release version 0.1.0 of the npm package. v0.1.0 2020-09-03 14:39:51 +02:00
Ruben Verborgh
986461f6fe fix: Ensure stream is fully buffered.
Needs a more permanent fix for Very Large Streams.
2020-09-03 14:32:42 +02:00
Ruben Taelman
9fb54b8958 docs: Mention developer notes 2020-09-03 12:10:41 +02:00
Ruben Verborgh
6296dbc89f docs: Add badges 2020-09-03 12:10:41 +02:00
Ruben Verborgh
cb0476683c docs: Explain context
Closes https://github.com/solid/community-server/issues/29
2020-09-03 12:10:41 +02:00
Ruben Taelman
8fe7ed9fa3 docs: Fix dead links in changelog 2020-09-03 11:46:51 +02:00
Joachim Van Herwegen
785ec1ee07 fix: Don't buffer data before sending response with InMemoryResourceStore 2020-09-03 11:13:08 +02:00
Ruben Verborgh
52e1e065df
docs: Add package metadata 2020-09-03 10:40:03 +02:00
Ruben Taelman
d259461c14
docs: initialize CHANGELOG.md 2020-09-03 10:35:52 +02:00
Ruben Verborgh
a06a7ff685 fix: Determine body presence according to RFC7230
Fixes https://github.com/solid/community-server/issues/121
2020-09-03 10:12:16 +02:00
Ruben Verborgh
ee3b847033 refactor: Introduce TEXT_TURTLE constant 2020-09-03 09:52:48 +02:00
Ruben Verborgh
85e3117efe refactor: Drop CONTENT_TYPE prefix 2020-09-03 09:52:48 +02:00
Ruben Verborgh
c5c5d13570 refactor: Replace dataType by binary flag 2020-09-03 09:52:48 +02:00
Ruben Verborgh
385e1a4cdf change: Support all PUT operations, error later 2020-09-03 09:02:20 +02:00
Ruben Verborgh
4965b476c9 feat: Send server identification 2020-09-02 16:33:20 +02:00
Ruben Verborgh
273626a799 fix: Ensure main handler ends 2020-09-02 16:33:20 +02:00
Joachim Van Herwegen
199d657097 refactor: Remove overused "Simple" prefix 2020-09-02 15:42:13 +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
Joachim Van Herwegen
3931d5f664 feat: Integrate ChainedConverter into the server 2020-09-01 15:39:10 +02:00
Joachim Van Herwegen
af4a82f4c1 feat: Dynamically determine matching types in ChainedConverter 2020-09-01 15:39:10 +02:00
Joachim Van Herwegen
734f7e7f0f feat: Create RepresentationConverter that chains other converters 2020-09-01 15:39:10 +02:00
Ruben Taelman
a1e9410365 change: validate config in precommit and in CI 2020-09-01 14:32:14 +02:00
Ruben Taelman
2c3ae4eded Add generic QuadToRdfConverter 2020-09-01 11:49:49 +02:00
Ruben Taelman
4273c8bc04 change: set bin name to community-solid-server 2020-09-01 11:20:04 +02:00
Ruben Taelman
b952a5790c fix: incorrect root server name in configs 2020-09-01 11:17:31 +02:00
Ruben Taelman
0a0f44cf22 docs: explain supported HTTP methods in README 2020-09-01 09:02:13 +02:00
Ruben Taelman
3f20f79a3c change: improve urn names of components in server config 2020-09-01 09:00:15 +02:00
Ruben Taelman
a6df6e211b change: split core and wrapper storage configs 2020-09-01 09:00:15 +02:00
Ruben Taelman
774e5d80f6 change: decompose LDP configs into separate files 2020-09-01 09:00:15 +02:00
Ruben Taelman
ce924d4ed1 fix: update componentjs-generator to fix failure on Windows 2020-09-01 09:00:15 +02:00
Ruben Taelman
09707a9e6d feat: allow custom config to be passed 2020-09-01 09:00:15 +02:00
Ruben Taelman
f08e97b80c fix: failing conversion test due to N3 update 2020-09-01 09:00:15 +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
3387092fc3 Move base normalization to RuntimeConfig 2020-08-31 09:24:40 +02:00
Ruben Taelman
038cf9397b
Unmark package as private
#80
2020-08-31 09:15:51 +02:00
Ruben Taelman
075295b828
Enable dependency updating via Renovate 2020-08-28 10:27:44 +02:00
Joachim Van Herwegen
86d5f367d5 feat: Support link and slug headers in SimpleBodyParser 2020-08-27 15:51:07 +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
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
Joachim Van Herwegen
4f8ebff7f7 fix: Give SimpleResourceStore root a content-type 2020-08-26 09:01:31 +02:00
Joachim Van Herwegen
4bc1dcdd1b fix: Remove duplicate checks
These were added when setting TypeScript settings to strict,
but should not be needed due to how AsyncHandlers should be used.
2020-08-25 15:12:01 +02:00
Joachim Van Herwegen
bca4d06c9a fix: Remove unused interfaces 2020-08-25 15:12:01 +02:00
Ruben Taelman
5649903226
fix: Move ACL init into dedicated Setup component 2020-08-25 11:11:29 +02:00
smessie
aa510bc6b8
fix: Release lock only when stream ends or is abandoned (#60)
* fix: Release lock only when stream has ended reading or an error occurs

* refactor: Refactor code and tests

* refactor: Move function mock to onBefore and remove unnecessary data drain

* fix: Make functions protected, add extra listener and add extra tests

* fix: Add extra TSDoc comment

* fix: Adjust tests to expect both end and close event

* refactor: Move test to other file

* refactor: make lockedRun method-independent

* fix: ensure lock release happens only once

* fix: make locked resources time out

* fix: destroy readable on error

Co-authored-by: Ruben Verborgh <ruben@verborgh.org>
2020-08-20 10:51:19 +02:00
Joachim Van Herwegen
b489d69bad fix: Use posix path library to be OS independent 2020-08-18 14:34:32 +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
Joachim Van Herwegen
e06d0bc8c5 feat: Add more extensive permission parsing support 2020-08-18 11:21:48 +02:00
Joachim Van Herwegen
769b49293c feat: Integrate acl with rest of server 2020-08-18 10:32:07 +02:00