Commit Graph

92 Commits

Author SHA1 Message Date
Ruben Verborgh
995a2dc74d feat: Add transformSafely. 2021-01-11 09:59:13 +01:00
Ruben Verborgh
27a115022b fix: Generalize typing on pushQuad. 2021-01-08 23:19:29 +01:00
Joachim Van Herwegen
fea726ae7d fix: Take baseIRI into account when calling parseQuads 2021-01-07 14:38:19 +01:00
Ruben Verborgh
8343dad7f1 refactor: Make createNamespace return regular objects. 2021-01-06 11:54:12 +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
f9a20799eb refactor: Use declarations style for functions. 2021-01-06 11:24:43 +01:00
Ruben Verborgh
ba5c62059a feat: Validate Accept-DateTime. 2021-01-05 11:03:15 +01:00
Ruben Verborgh
4aed8c8b4c refactor: Simplify AcceptPreferenceParser. 2021-01-05 11:03:15 +01:00
Ruben Verborgh
f454b781ff fix: Join and normalize paths consistently. 2021-01-04 16:52:17 +01:00
Ruben Verborgh
2e188551f7 refactor: Rename UriUtil into TermUtil. 2021-01-02 23:19:01 +01:00
Ruben Verborgh
ae06e99067 refactor: Also create named nodes for vocabularies. 2021-01-02 23:15:51 +01:00
Ruben Verborgh
8e138c36d1 refactor: Use types to create vocabularies. 2021-01-02 22:56:25 +01:00
Ruben Verborgh
882c0fdba5 feat: Expose UriUtil. 2021-01-02 20:01:38 +01:00
Ruben Verborgh
feaac1cf56 feat: Support strings in addQuad. 2021-01-02 18:13:28 +01:00
Ruben Verborgh
a572825909 refactor: Indicate caching on method name. 2021-01-02 17:50:17 +01:00
Ruben Verborgh
4faf916ece fix: Emit all guarded errors to all listeners. 2021-01-02 16:11:51 +01:00
Ruben Verborgh
166c4de493 feat: Expose GuardedStream. 2021-01-02 14:18:44 +01:00
Ruben Verborgh
4df11c1932 feat: Expose ContentTypes. 2021-01-02 14:11:04 +01:00
Ruben Verborgh
1cf1167261 test: Use Components.js in Authorization. 2020-12-22 00:33:33 +01:00
Ruben Verborgh
147f3cf0c7 feat: Add RecordObject. 2020-12-22 00:33:33 +01:00
Joachim Van Herwegen
a114d00827 fix: Remove metadata content-type assumption from QuadUtil 2020-12-18 10:40:07 +01:00
Joachim Van Herwegen
231349b30d feat: Initialize root containers with RootContainerInitializer 2020-12-18 10:33:54 +01:00
Ruben Verborgh
14023e4c0c chore: Add eslint:recommended linter rules. 2020-12-14 10:08:31 +00:00
Joachim Van Herwegen
f0db9e501f refactor: Replace getParentContainer util function with ContainerManager 2020-12-11 12:42:17 +01:00
Joachim Van Herwegen
9c080c2101 feat: Create ContainerManager for containing container conventions 2020-12-11 12:42:17 +01:00
Ruben Verborgh
f26178b1b5 change: Rename FirstCompositeHandler into WaterfallHandler. 2020-12-09 11:42:17 +01:00
Ruben Verborgh
ba47ce7951 change: Refactor AllVoidCompositeHandler into SequenceHandler. 2020-12-09 11:42:17 +01:00
Joachim Van Herwegen
1d77a28cd1 chore: Remove empty file 2020-12-08 13:57:57 +01:00
Ruben Verborgh
8fbb4f592e refactor: Split off AclInitializer. 2020-12-08 10:19:35 +01:00
Ruben Verborgh
ecfe3cfc46 feat: Support the Forwarded header. 2020-12-02 10:23:38 +01:00
Ruben Verborgh
357546e90f change: Clarify parent error message. 2020-12-01 20:10:53 +01:00
Ruben Verborgh
1d08f463f6 change: Increase logging level of lock expiry. 2020-11-29 10:54:57 +01:00
Ruben Verborgh
af8f1976cd fix: Rename UnsupportedHttpError into BadRequestError. 2020-11-27 14:52:16 +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
Joachim Van Herwegen
1a30b51461 feat: Create function to wrap streams to not lose errors 2020-11-24 11:49:10 +01:00
Joachim Van Herwegen
75e4f73c3f refactor: Add isContainerPath function 2020-11-18 17:19:53 +01:00
Joachim Van Herwegen
1073c2ff4c refactor: Clean up utility functions 2020-11-18 17:19:53 +01:00
Joachim Van Herwegen
95ab0b4e76 refactor: Make piping consistent 2020-11-13 16:00:37 +01:00
Joachim Van Herwegen
715ba126f9 feat: Make internal/quads unacceptable output 2020-11-13 15:32:48 +01:00
Joachim Van Herwegen
aebccd45c0 feat: Create MetadataSerializer 2020-11-06 09:08:00 +01:00
Joachim Van Herwegen
840965cdef refactor: Create multiple composite handlers 2020-11-06 09:08:00 +01:00
Joachim Van Herwegen
1260c5c14e feat: Store status, body and metadata in ResponseDescription 2020-11-06 09:08:00 +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
iesmessa
6cc7053310 feat: Implement SPARQL-based ResourceStore 2020-11-02 15:04:05 +01:00
Ruben Verborgh
0476ba8069 chore(deps): update all dependencies (#293) 2020-11-02 09:08:14 +01:00
Ruben Verborgh
1a45b65df7 refactor: Implement empty canHandle on base class. (#289) 2020-10-30 17:56:39 +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
03c64e5617 refactor: Remove file and in memory stores 2020-10-16 09:35:48 +02:00