Joachim Van Herwegen
641d39d4bc
Merge branch 'main' into versions/4.0.0
2022-03-29 14:54:59 +02:00
Joachim Van Herwegen
7d3320dea6
chore: Update links for new repository
2022-03-28 10:20:22 +02:00
Thomas Dupont
5965268ebf
fix: Prevent slugs with trailing slashes for non-container resources
...
* fix: slugs ending on slash with link header cannot create containers
* refactor(DataAccessorBasedStore): removing duplicate code and errors
* test(ServerFetch): fix integration tests that create a container
* fix: Reinstate original checks in setResource to let tests succeed
* test: change to container paths to end in / on POST only
* refactor: incorporate review changes
* fix: Error check was too strict
Co-authored-by: Joachim Van Herwegen <joachimvh@gmail.com>
* test: make testcase to test allowed slash behaviour
* test: removed unnecessary code from tests
* test: remove metadata line and duplicate tests
Co-authored-by: Joachim Van Herwegen <joachimvh@gmail.com>
2022-02-23 14:35:02 +01:00
Joachim Van Herwegen
1afed65368
feat: Return correct status codes for invalid requests
2022-01-21 17:10:38 +01:00
Joachim Van Herwegen
76c87bb56a
fix: Return 201 when creating new resources
2021-10-12 15:44:31 +02:00
Joachim Van Herwegen
b592d449eb
feat: Integrate setup behaviour
...
This adds options for enabling setup to the config folder.
All default configs with permanent storage (file/sparql)
are configured to require setup at server start.
Memory-based configs merely have it as an option.
2021-09-27 10:32:34 +02:00
Joachim Van Herwegen
ef9703e284
feat: Patch containers by recreating Representation from metadata
...
Also included is a change to the Patching architecture.
Patching is now done by RepresentationPatchers that take a Representation as input.
2021-09-16 13:39:11 +02:00
Joachim Van Herwegen
0271133d33
fix: Hide internal data by making it auxiliary
2021-09-14 10:51:37 +02:00
Joachim Van Herwegen
2a82c4f06e
fix: Replace rimraf with fs-extra.remove
2021-08-02 10:39:28 +02:00
Ruben Verborgh
b0f38a1f55
docs: Add starting guidance to welcome document.
2021-07-28 21:46:05 +02:00
Ruben Verborgh
c7399654b5
change: Do not serve index on */*
...
Closes https://github.com/solid/community-server/issues/844
2021-07-23 23:43:20 +02:00
Joachim Van Herwegen
c2ad892020
feat: Create RootInitializer to set up root resources
2021-07-22 15:08:28 +02:00
Joachim Van Herwegen
ad7f4ed134
feat: Split ResourceStore config into 2 parts
2021-07-16 16:10:04 +02:00
Joachim Van Herwegen
e8a0f63e02
feat: Add App class to start and stop the server
2021-06-14 16:11:56 +02:00
Joachim Van Herwegen
b604dd8331
feat: Add showStackTrace CLI variable
2021-06-07 13:54:38 +02:00
Joachim Van Herwegen
68f2446e27
fix: Various minor fixes
2021-06-01 15:38:55 +02:00
Joachim Van Herwegen
452032e312
feat: Split preset configurations by feature
2021-05-19 09:40:40 +02:00
Joachim Van Herwegen
d04ab2951b
test: Merge LdpHandlerOperation with LdpHandlerWithoutAuth
2021-05-04 11:27:13 +02:00
Joachim Van Herwegen
4083d24e4a
test: Update LdpHandlerWitAuth to use fetch for tests
...
The AclHelper class has been extended to be more flexible for future tests.
2021-05-04 11:27:13 +02:00
Joachim Van Herwegen
dd3fb63d18
test: Update LdpHandlerWithoutAuth to use fetch for tests
2021-05-04 11:27:13 +02:00
Arthur Joppart
28c0eb7e88
Correctly handle slugs in POST requests
...
* bug: correctly handle slug in POST request
* bug: disallow slashes in slug + modified tests
* fix: fixed tests to work with PUT instead of POST+slug
* fix: fixed tests failing in ci
* fix: adapted to reviews
* fix: adapted to review
2021-02-24 12:03:41 +01:00
Joachim Van Herwegen
49a04c4d0a
test: Remove root folder creation from integration tests
...
This should be handled by the initializer
2021-02-11 14:35:56 +01:00
Ruben Verborgh
a57105be8e
change: Query string does not influence identifier.
2021-01-29 09:12:49 +01:00
Joachim Van Herwegen
2c3300028e
feat: Add acl link header writer
...
This writer will add a link to the corresponding acl file
for all LDP requests.
2021-01-26 11:38:46 +01:00
Ruben Verborgh
153d2d9fe4
feat: Set Accept-Patch header.
2021-01-26 10:52:38 +01:00
Ruben Verborgh
8c2f737fe0
feat: Set MS-Author-Via header.
...
Closes https://github.com/solid/community-server/issues/539
2021-01-26 10:52:38 +01:00
Ruben Taelman
c5ea83c405
Fix failing LdpHandlerWithoutAuth integration test
2021-01-15 14:56:31 +01:00
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
Ruben Verborgh
ba42861699
feat: Use ldp: prefix in container representations.
2021-01-12 09:12:54 +01:00
Joachim Van Herwegen
d3c8069aa3
test: Move diamond identifier test to ldp handler tests
2021-01-07 14:38:19 +01:00
Ruben Verborgh
8e138c36d1
refactor: Use types to create vocabularies.
2021-01-02 22:56:25 +01:00
Ruben Verborgh
af8524e0d6
test: Make helper terminology consistent.
2020-12-22 01:02:19 +01:00
Ruben Verborgh
9dcb4fb603
test: Make integration test names consistent.
2020-12-22 00:33:33 +01:00