Joachim Van Herwegen
7a007dc466
refactor: Enable stricter test linting
2023-11-02 09:49:17 +01:00
Joachim Van Herwegen
6248ed0938
refactor: Replace linting configurations
...
The previous package was outdated, preventing us from updating TS.
This one also lints YAML and JSON,
and applies many more rules to the test files,
explaining all the changes in this PR.
2023-11-02 09:49:17 +01:00
Joachim Van Herwegen
47c54abe22
test: Add integration test for intermediate containers
2022-07-11 14:07:43 +02:00
Joachim Van Herwegen
76c87bb56a
fix: Return 201 when creating new resources
2021-10-12 15:44:31 +02:00
Joachim Van Herwegen
7f8b923399
feat: Replace acl specific permissions with generic permissions
...
This required AuxiliaryStrategy to have a new function
indicating if the auxiliary resource just used its associated resource authorization
or its own.
2021-09-28 13:06:38 +02:00
Joachim Van Herwegen
bf28c83ffa
feat: Use PermissionReaders to determine available permissions
...
These readers will determine which permissions
are available for the incoming credentials.
Their results then get combined in a UnionReader
and authorized in a PermissionBasedAuthorizer
2021-09-28 13:06:38 +02:00
Joachim Van Herwegen
2a82c4f06e
fix: Replace rimraf with fs-extra.remove
2021-08-02 10:39: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
dfb8ac938d
test: Add acl test for file paths with spaces
2021-07-05 15:50:45 +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
e3c5b39752
feat: Create WWW-Authenticate metadata writer
2021-06-07 14:40:05 +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
6cd2806c2f
test: Remove node-mocks-http references from integration tests
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
Arne Vandoorslaer
b3f292d718
feat: Added resourceExists method to ResourceStore
...
* feat: added resourceExists method to ResourceStore
* Merge remote-tracking branch 'origin/main' into feat/add-resourceExists-method-to-ResourceStore
* fix: adapted to review
* fix: adapted to review
2021-02-25 13:43:58 +01: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
4efe9cee3c
feat: Integrate WAC-Allow header support
2021-02-18 14:13:47 +01:00
Joachim Van Herwegen
8339413ab4
feat: Add permissions extractor for acl resources
2021-02-18 13:26:08 +01:00
Joachim Van Herwegen
766e6318ba
feat: Add control permission to PermissionSet
...
This is in preparation of generalizing permissions
of auxiliary resources.
2021-02-18 13:26:08 +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
Joachim Van Herwegen
93e53b3d24
fix: Only require append permissions on POST requests
2021-01-27 11:54:15 +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
66e636878f
feat: Add BasicRepresentation.
2021-01-11 14:23:52 +01:00
Ruben Verborgh
be1af89b56
feat: Add Content-Type constructor to metadata.
2021-01-11 14:03:38 +01:00
Ruben Verborgh
f454b781ff
fix: Join and normalize paths consistently.
2021-01-04 16:52:17 +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