1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-10-27 20:44:10 +00:00
Commit Graph

28 Commits

Author SHA1 Message Date
Falk Werner
17fa84bc38 made static_filesystem private (used for test purposes only) 2020-02-20 18:54:29 +01:00
Falk Werner
abd6efe477
fixed client protocol low level API (#49)
* fixed client protocol low level API: enables usage of providing clients along with other websocket protocols

* fix: made some c'tors explicit
2020-02-19 22:44:56 +01:00
Falk Werner
7b8616fcb3 added API documentation 2020-02-17 21:53:42 +01:00
Falk Werner
77627b7c8b integrated uuid_mountpoint_factory 2020-02-16 21:03:17 +01:00
Falk Werner
cfadf85f49 added uuid mountpoint and factory 2020-02-16 04:02:23 +01:00
Falk Werner
6a94cea6f9 added ondispose to mountpoint to allow custom cleanup 2020-02-15 15:50:32 +01:00
Falk Werner
e727a9a54d added implementation of mountpoint 2020-02-15 15:11:35 +01:00
Falk Werner
16705acf81 added mountpoint factory interface 2020-02-13 21:48:42 +01:00
Falk Werner
09df34debc
removes shutdown method (#27) 2019-04-26 20:51:24 +02:00
Falk Werner
fa78e23533
feat(webfuse): static file provider (#30)
* added API stub of static_filesystem

* added callback functions

* added basic directory listing

* resize filesystem if necessary

* added path stub

* adds imlementation and tests of path

* adds mock of wpf_request

* adds test implementation and some matchers

* added matcher of readdir results

* fixes default directory test

* adds implementation of static_filesystem_add and add_text

* added implementation of read

* adds implementation of filesystem_read

* corrects naming of some functions

* removes Flawfinder comments, since Flawfinder is disabled
2019-04-26 20:49:09 +02:00
Falk Werner
87f34fa768 feat(authentication): provide an authentication mechanism (#19)
* moves server into session

* renames jsonrpc server to jsonrpc proxy

* moves server into session

* renames jsonrpc server to jsonrpc proxy

* adds json rpc server

* removes obsolete proxy from protocol

* changes interface of jsonrpc_proxy_onresult to accept previously parsed messages

* adds infrastructure to process incoming requests; fixes invalid read of ill formatted responses

* adds description of authentication request

* adds authentication request

* adds userdb for authentication purposes

* removes debug code: console.log()

* fixes cmake build error (missing openssl symbols)

* fixes typo

* replaces ASCII art by UML diagram

* renames BAD_NOACCESS to BAD_ACCESS_DENIED

* fixes style

* adds docu of authentication

* ignored false positives of flawfinder

* fixes style issues

* fixes javascript style issues
2019-04-01 22:15:12 +02:00
Falk Werner
7447fb5dff renamed to webfuse 2019-03-26 23:04:53 +01:00
Falk Werner
1c9d1c8420
feat(API wrapper): separates implementation from public API
* moves implementation to impl subdirectory
* adds prefix _impl to implementation symbols
* removes double compilation for shared and static libraries
* fixes include guards
* fixes usage of extern "C"
2019-03-26 15:35:33 +01:00
Falk Werner
48185776b6
Feature/authentication (#14)
* makes wsfs_server_config opaque

* feature: try to create mount point, if not present

* fixes server start failure due to existing mountpoint

* added basic authentication infrastructure

* makes wsfs_server_config opaque

* feature: try to create mount point, if not present

* fixes server start failure due to existing mountpoint

* added basic authentication infrastructure

* added unit tests for credentials

* added unit tests for authenticators

* propagates authenticators to server protocol

* enabled username authentication in daemon example

* adds example to compute password hash

* adds infrastructure to execute commands

* added userdb to encapsulate authentication stuff

* adds session and session_manager

* fixes warning about unused param

* moves some logic from server_protocol to session

* makes wsfs_server_config opaque

* feature: try to create mount point, if not present

* fixes server start failure due to existing mountpoint

* added basic authentication infrastructure

* makes wsfs_server_config opaque

* added unit tests for credentials

* added unit tests for authenticators

* propagates authenticators to server protocol

* enabled username authentication in daemon example

* adds example to compute password hash

* adds infrastructure to execute commands

* added userdb to encapsulate authentication stuff

* adds session and session_manager

* fixes warning about unused param

* moves some logic from server_protocol to session

* updates libcrypto to version 1.1.0
2019-03-23 22:53:14 +01:00
Falk Werner
76713554ee fixes missing files 2019-03-04 21:18:16 +01:00
Falk Werner
d205d2f127 refactors provider client api (introduces client_config) 2019-03-04 21:17:37 +01:00
Falk Werner
2781aadf55 makes wsfs_status public (usable in provider example) 2019-03-04 19:19:04 +01:00
Falk Werner
5f9096914e added implementation of readdir 2019-03-03 13:34:43 +01:00
Falk Werner
1b4a3277b6 renamed export symbols 2019-02-25 21:39:41 +01:00
Falk Werner
cc38995b5f adjusted include guards 2019-02-25 21:35:38 +01:00
Falk Werner
1976841334 reorganized project: prepared to extract common functionality 2019-02-25 20:17:13 +01:00
Falk Werner
bc0dc2889d separated client opertation stubs 2019-02-24 18:03:22 +01:00
Falk Werner
2c8c6d588a removed leading underscore of include guards 2019-02-22 16:59:08 +01:00
Falk Werner
b1c72dab3c added more client stub (not functional yet) 2019-02-18 23:30:39 +01:00
Falk Werner
cc6a08ade5 added skeleton of provider example app 2019-02-17 14:31:04 +01:00
Falk Werner
4396dddd2b added example for provider 2019-02-16 16:28:14 +01:00
Falk Werner
39874f733a added provider api 2019-02-16 16:08:17 +01:00
Falk Werner
cf1b57e86e project structure changed 2019-02-10 14:19:15 +01:00