mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00

* add todo * Added configurations folder * Added config to index * changed /bin/server to use configfiles * initiate acl with Setup component * add last changes * reset serverconfig * move authenticatedLdpHandler configs to config files * failed to read testss * failed to read testss * removed import part * Fix merge conflicts * add first FileResTests * fix: fix fileresourcestore metadata error * fix unit tests * remove test files * Added test and changed callFile * Fix: metadata file error in FileResourceStore * fix: ensure full test coverage * added tests * Fix get tests * added testfiles * changed config to use PasstrueStore * to continue work on * refactor fileresourcestore config * refactor tests * fix content-types, update tests * replace sync methods with async methods * move acl function to util * added testfiles for Fileserver with acl * update tests * add first acl filestore test * refactor * add resource mapper * refactor config files * add more fileresourcestore acl tests * add locking resource store test files * move file mapping logic to resourcemapper * added beforeAll for a permanent file in Auht tests * make filestore dependent of resource mapper * moved configs to test/configs * set default contenttype * refactor fileresourcemapper * fix map function * refactor * fixed foldercreationtest * changed some tests so the files are cleaned up when done testing * add normalized parser * Auhtenticationtests clean up acl file * refactor unit test * lost changes added again * fix metadata problem * refactor names * reverse change * add getters * configs and start util * add comments * add comments, move code * added acl helper and changed tests * linter 7.7.0 -> 7.0.0 * moved test/tesfiles -> test/assets * removed configs/**/*.ts from tsconfig.json * Temporary changed threshold so cli test is ignored and commiting goes easier, will revert later * added FileResourceStore to index * Changed imports * Changed imports for all configs * Removed comment * Changed names of configs * added 'Config' to name and removed comment * removed unused testfile and added testfile 0 * changed beforeAll to just copy permanent file * change text/turtle to constant * fix converter issue * getHandler -> getHttpHandler, and updates to config * removed ',' * removed trailing / * changed imports for index.d.js problem * removed duplicate file and added line that got removed in mergeconflicts * add jest global teardown * add ignore for CliRunner * add changes * fix copyfile error * remove unused testfiles * adding test with image * add first util functions * relative paths to absolute paths * added 3 FileStoreTests * more refactoring * more absolute paths * fix mkdir path * added test * add util for easy configs * add comments * added some testhelpers and refactor first test * fix converter test error * refactor FileResTests * solved failing test because new converters * removed afterAll() * removed setAcl from util * removed config from Authorization.test.ts * changed strange linting * refactored AuthenticatedFileResourceStore tests * fixed unclear root variable * fix: Use absolute test paths * Mock fs correctly and remove teardown * Clean up after tests Co-authored-by: freyavs <freyavanspeybroeck@outlook.com> Co-authored-by: thdossch <dossche.thor@gmail.com> Co-authored-by: Freya <56410697+freyavs@users.noreply.github.com> Co-authored-by: thdossch <49074469+thdossch@users.noreply.github.com> Co-authored-by: Ruben Verborgh <ruben@verborgh.org>
110 lines
4.4 KiB
TypeScript
110 lines
4.4 KiB
TypeScript
// Authentication
|
|
export * from './src/authentication/Credentials';
|
|
export * from './src/authentication/CredentialsExtractor';
|
|
export * from './src/authentication/UnsecureWebIdExtractor';
|
|
|
|
// Authorization
|
|
export * from './src/authorization/AllowEverythingAuthorizer';
|
|
export * from './src/authorization/AclManager';
|
|
export * from './src/authorization/Authorizer';
|
|
export * from './src/authorization/UrlBasedAclManager';
|
|
export * from './src/authorization/WebAclAuthorizer';
|
|
|
|
// Init
|
|
export * from './src/init/CliRunner';
|
|
export * from './src/init/RuntimeConfig';
|
|
export * from './src/init/Setup';
|
|
|
|
// LDP/HTTP
|
|
export * from './src/ldp/http/AcceptPreferenceParser';
|
|
export * from './src/ldp/http/BasicRequestParser';
|
|
export * from './src/ldp/http/BasicResponseWriter';
|
|
export * from './src/ldp/http/BasicTargetExtractor';
|
|
export * from './src/ldp/http/BodyParser';
|
|
export * from './src/ldp/http/Patch';
|
|
export * from './src/ldp/http/PreferenceParser';
|
|
export * from './src/ldp/http/RawBodyParser';
|
|
export * from './src/ldp/http/RequestParser';
|
|
export * from './src/ldp/http/ResponseWriter';
|
|
export * from './src/ldp/http/SparqlUpdateBodyParser';
|
|
export * from './src/ldp/http/SparqlUpdatePatch';
|
|
export * from './src/ldp/http/TargetExtractor';
|
|
|
|
// LDP/Operations
|
|
export * from './src/ldp/operations/DeleteOperationHandler';
|
|
export * from './src/ldp/operations/GetOperationHandler';
|
|
export * from './src/ldp/operations/Operation';
|
|
export * from './src/ldp/operations/OperationHandler';
|
|
export * from './src/ldp/operations/PatchOperationHandler';
|
|
export * from './src/ldp/operations/PostOperationHandler';
|
|
export * from './src/ldp/operations/PutOperationHandler';
|
|
export * from './src/ldp/operations/ResponseDescription';
|
|
|
|
// LDP/Permissions
|
|
export * from './src/ldp/permissions/PermissionSet';
|
|
export * from './src/ldp/permissions/PermissionsExtractor';
|
|
export * from './src/ldp/permissions/MethodPermissionsExtractor';
|
|
export * from './src/ldp/permissions/SparqlPatchPermissionsExtractor';
|
|
|
|
// LDP/Representation
|
|
export * from './src/ldp/representation/Representation';
|
|
export * from './src/ldp/representation/RepresentationMetadata';
|
|
export * from './src/ldp/representation/RepresentationPreference';
|
|
export * from './src/ldp/representation/RepresentationPreferences';
|
|
export * from './src/ldp/representation/ResourceIdentifier';
|
|
|
|
// LDP
|
|
export * from './src/ldp/AuthenticatedLdpHandler';
|
|
|
|
// Server
|
|
export * from './src/server/ExpressHttpServer';
|
|
export * from './src/server/HttpHandler';
|
|
export * from './src/server/HttpRequest';
|
|
export * from './src/server/HttpResponse';
|
|
|
|
// Storage/Conversion
|
|
export * from './src/storage/conversion/ChainedConverter';
|
|
export * from './src/storage/conversion/QuadToRdfConverter';
|
|
export * from './src/storage/conversion/QuadToTurtleConverter';
|
|
export * from './src/storage/conversion/RdfToQuadConverter';
|
|
export * from './src/storage/conversion/RepresentationConverter';
|
|
export * from './src/storage/conversion/TurtleToQuadConverter';
|
|
export * from './src/storage/conversion/TypedRepresentationConverter';
|
|
|
|
// Storage/Patch
|
|
export * from './src/storage/patch/PatchHandler';
|
|
export * from './src/storage/patch/SparqlUpdatePatchHandler';
|
|
|
|
// Storage
|
|
export * from './src/storage/AtomicResourceStore';
|
|
export * from './src/storage/Conditions';
|
|
export * from './src/storage/ContainerManager';
|
|
export * from './src/storage/FileResourceStore';
|
|
export * from './src/storage/InMemoryResourceStore';
|
|
export * from './src/storage/Lock';
|
|
export * from './src/storage/LockingResourceStore';
|
|
export * from './src/storage/PassthroughStore';
|
|
export * from './src/storage/PatchingStore';
|
|
export * from './src/storage/RepresentationConvertingStore';
|
|
export * from './src/storage/ResourceLocker';
|
|
export * from './src/storage/FileIdentifierMapper';
|
|
export * from './src/storage/ResourceStore';
|
|
export * from './src/storage/SingleThreadedResourceLocker';
|
|
export * from './src/storage/UrlContainerManager';
|
|
|
|
// Util/Errors
|
|
export * from './src/util/errors/ForbiddenHttpError';
|
|
export * from './src/util/errors/HttpError';
|
|
export * from './src/util/errors/NotFoundHttpError';
|
|
export * from './src/util/errors/UnauthorizedHttpError';
|
|
export * from './src/util/errors/UnsupportedHttpError';
|
|
export * from './src/util/errors/UnsupportedMediaTypeHttpError';
|
|
|
|
// Util
|
|
export * from './src/util/AcceptParser';
|
|
export * from './src/util/AsyncHandler';
|
|
export * from './src/util/CompositeAsyncHandler';
|
|
export * from './src/util/InteractionController';
|
|
export * from './src/util/MetadataController';
|
|
export * from './src/util/Util';
|