Joachim Van Herwegen
90bdfb5583
chore: Add root container tests for FileDataAccessor
2020-12-18 09:01:59 +01:00
Joachim Van Herwegen
fc8540f553
fix: Allow overwriting and deleting root container in SparqlDataAccessor
2020-12-18 09:01:59 +01:00
Joachim Van Herwegen
1bb5de97ab
refactor: Remove base URls with ContainerManager when possible
2020-12-11 12:42:17 +01:00
Joachim Van Herwegen
f0db9e501f
refactor: Replace getParentContainer util function with ContainerManager
2020-12-11 12:42:17 +01:00
Ruben Verborgh
accfc2e58d
change: Make RepresentationMetadata accept a ResourceIdentifier.
...
Closes https://github.com/solid/community-server/issues/388
2020-12-11 10:37:36 +01:00
Ruben Verborgh
9c933fd2d4
chore: Build to dist folder.
...
Closes https://github.com/solid/community-server/issues/136
2020-12-08 09:30:18 +01:00
Ruben Verborgh
038d5728e3
feat: Add read-only store.
...
Closes https://github.com/solid/community-server/issues/193
Closes https://github.com/solid/community-server/issues/323
2020-12-08 08:58:26 +01:00
Joachim Van Herwegen
d5bf4e1e67
fix: Allow quad data for containers
...
This prevents the container data check from throwing an error when converting to quads
if the incoming data already is quads.
2020-12-07 17:02:50 +01:00
Joachim Van Herwegen
7011b766b4
feat: Create new resources when patching
2020-12-07 16:56:12 +01:00
Joachim Van Herwegen
d7e189cdd8
fix: Only set content-type for documents in sparql store
2020-12-04 12:36:18 +01:00
Ruben Verborgh
0ecbffa885
fix: Do not generate empty INSERT graph.
...
Fixes https://github.com/solid/community-server/issues/383
2020-12-02 21:40:54 +01:00
Joachim Van Herwegen
c2b189184b
fix: Create container data before adding content-type
2020-12-02 14:16:45 +01:00
Joachim Van Herwegen
f387b36dc2
feat: add template based data generator
2020-12-02 13:01:38 +01:00
Joachim Van Herwegen
3362eee2c2
fix: Always release lock when patching
2020-12-02 09:50:30 +01:00
Ruben Verborgh
af8f1976cd
fix: Rename UnsupportedHttpError into BadRequestError.
2020-11-27 14:52:16 +01:00
smessie
f4afc3ce16
test: Divide current tests into integration and unit tests for LockingResourceStore
2020-11-25 09:05:38 +01:00
smessie
dacfb74a6a
refactor: Move lock stuff in its own folder
2020-11-25 09:05:38 +01:00
Joachim Van Herwegen
e4183333fd
fix: Integrate wrapStreamError to prevent uncaught errors
2020-11-24 11:49:10 +01:00
Ruben Taelman
f686b4853f
feature: add FixedContentTypeMapper
2020-11-23 13:28:28 +01:00
Ruben Taelman
2c46d70780
refactor: move ExtensionBasedMapper into mapping directory
2020-11-23 13:28:28 +01:00
Ruben Verborgh
d8799368fd
feat: Include parent containers in POST and DELETE changes.
2020-11-20 22:28:26 +01:00
Ruben Verborgh
4ef4d44a3a
feat: Add a monitoring store.
2020-11-20 11:12:45 +01:00
Joachim Van Herwegen
1073c2ff4c
refactor: Clean up utility functions
2020-11-18 17:19:53 +01:00
Ruben Verborgh
6f4c4a15b4
chore: Review expiring locks.
2020-11-16 10:32:10 +01:00
smessie
9fd8440525
feat: Implement ExpiringLock and -ResourceLocker
2020-11-16 10:32:10 +01:00
Joachim Van Herwegen
715ba126f9
feat: Make internal/quads unacceptable output
2020-11-13 15:32:48 +01:00
Joachim Van Herwegen
69ed2e069f
feat: Reject unacceptable content types
2020-11-13 15:32:48 +01:00
Ruben Verborgh
17d774fc18
chore: Add SPARQL endpoint logging.
2020-11-04 10:31:54 +01:00
Joachim Van Herwegen
ef6f01a82c
refactor: Change PreferenceSupport constructor to work with Components.js
2020-11-03 10:38:22 +01:00
Joachim Van Herwegen
50dfea1a27
refactor: Change routing constructors to work with Components.js
2020-11-02 15:41:32 +01:00
Joachim Van Herwegen
5287cd1e41
feat: Create a RoutingResourceStore that takes routing rules
2020-11-02 15:41:32 +01:00
Joachim Van Herwegen
dee4eef131
refactor: Change constructor so it is supported by Components.js
2020-11-02 15:04:05 +01:00
Joachim Van Herwegen
712a690904
feat: Update RepresentationConvertingStore to convert incoming data
2020-11-02 15:04:05 +01:00
Joachim Van Herwegen
9f7c246104
feat: Support SPARQL store backends
2020-11-02 15:04:05 +01:00
iesmessa
dff4ba8efe
fix: Write tests and fix related bugs, refactor code
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
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
Joachim Van Herwegen
4df26454d4
refactor: Make ExtensionBasedMapper only expose what is needed
2020-10-16 09:35:48 +02:00
Joachim Van Herwegen
03c64e5617
refactor: Remove file and in memory stores
2020-10-16 09:35:48 +02:00
Joachim Van Herwegen
63f891c0f1
fix: Remove metadata file if no new metadata is stored
2020-10-14 15:35:22 +02:00
Joachim Van Herwegen
e861b080c2
feat: Fully support storing content-type in file extensions
2020-10-14 15:20:26 +02:00
Joachim Van Herwegen
626b3114f4
refactor: Rename instances of data resource to document
2020-10-14 15:20:26 +02:00
Joachim Van Herwegen
b896004bac
feat: Create InMemoryDataAccessor
2020-10-14 11:32:27 +02:00
Joachim Van Herwegen
9a857b7581
feat: Create file-based DataAccessor
2020-10-14 11:32:27 +02:00
Joachim Van Herwegen
6ad40763f9
feat: Create DataAccessorBasedStore to have a standard store implementation
2020-10-14 11:32:27 +02:00
Joachim Van Herwegen
b47dc3f7f6
feat: Have ExtensionBasedMapper handle extensions correctly
2020-10-07 09:31:08 +02:00
smessie
d8e6c08859
refactor: Remove Turtle to Quad and Quad to Turtle converters
2020-09-30 09:12:42 +02:00
Joachim Van Herwegen
9657fbafb1
refactor: Update eslint related dependencies
2020-09-17 11:55:49 +02:00
Joachim Van Herwegen
85df2e5d7f
refactor: Make URI constants consistent
2020-09-16 13:18:58 +02:00