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

399 Commits

Author SHA1 Message Date
Falk Werner
afb9c528e7 made c'tor explicit; disallow copy and assign 2020-02-24 18:25:25 +01:00
Falk Werner
85b283c1e3 removed dead code 2020-02-24 18:20:26 +01:00
Falk Werner
5a80e0233c refactored test fixture 2020-02-24 18:16:30 +01:00
Falk Werner
7ed99088db fix: make c'tor explicit 2020-02-23 23:26:30 +01:00
Falk Werner
7c02b12449 fix: don't copy exceptions 2020-02-23 23:25:17 +01:00
Falk Werner
391b5926b6 added mock for provider client 2020-02-23 23:20:26 +01:00
Falk Werner
555058dbb5 made client protocol test single threaded 2020-02-23 21:02:01 +01:00
Falk Werner
8841ac40f8 add toString function for lws reasons (for debugging and logging purposes) 2020-02-23 21:01:05 +01:00
Falk Werner
77810168e0 fix: initialize context 2020-02-22 16:58:11 +01:00
Falk Werner
c6265aeaf7 chore: added default ctor for ClientProtocolTest (to initialize members properly) 2020-02-22 16:49:56 +01:00
Falk Werner
e21c716d34 refactored fake adapter server into ws server; added test for client protocol getattr 2020-02-22 16:46:21 +01:00
Falk Werner
1a1367eae7 fixed typo 2020-02-22 15:55:32 +01:00
Falk Werner
4b418a45d4 chore: refactored test 2020-02-20 20:13:39 +01:00
Falk Werner
384de32bf5 removed some dead code 2020-02-20 19:06:38 +01:00
Falk Werner
17fa84bc38 made static_filesystem private (used for test purposes only) 2020-02-20 18:54:29 +01:00
Falk Werner
a27e68f5a6 organized unit tests 2020-02-20 17:15:13 +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
9d83f1687e
Merge pull request #48 from falk-werner/enhance_documentation
Enhance documentation
2020-02-19 16:51:02 +01:00
Falk Werner
4ae7160919 refactored README 2020-02-18 21:48:52 +01:00
Falk Werner
7b8616fcb3 added API documentation 2020-02-17 21:53:42 +01:00
Falk Werner
cd144a3143
Merge pull request #45 from falk-werner/mountpoint_provider
In order to give the (library) user some control of where the remote filesystem is mounted, a mounpoint factory is introduced to preplace the global root mount point and the uuid logic.

To keep compatiblity, uuid stuff is not removed now (, but should be removed in near future...).
2020-02-17 16:23:34 +01:00
Falk Werner
8f40f73072 fixed test expectation 2020-02-16 22:58:28 +01:00
Falk Werner
bc1b5343df added unit tests for server_config 2020-02-16 22:36:31 +01:00
Falk Werner
ae9fb63900 fix: made c'tor explicit 2020-02-16 21:38:37 +01:00
Falk Werner
77627b7c8b integrated uuid_mountpoint_factory 2020-02-16 21:03:17 +01:00
Falk Werner
2b91f159cf added unit tests of uuid_mountpoint_factory 2020-02-16 17:33:11 +01:00
Falk Werner
096c244445 added unit tests for uuid_mountpoint 2020-02-16 14:47:21 +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
8ef90fb504
feature: create debian and source packages (#44)
Added cpack to create debian and source packages. There are 3 packages:

webfuse-VERSION-Source.tar.gz: packaged sources
webfuse_VERSION_ARCH.deb: install webfuse libraries
webfuse-dev_VERSION_ARCH.deb: install headers, depends on libraries
2020-02-11 22:23:51 +01:00
Falk Werner
8abeedff16
Merge pull request #43 from falk-werner/standalone_provider
feature: enable user to build webfuse libraries separately

webfuse consists of two more or less independent libraries: libwebfuse-adapter and libwebfuse-provider

A user should be able to build them separately. This goes especially libwebfuse-provider, which has lot less dependencies (e.g. libfuse).
2020-02-10 18:19:17 +01:00
Falk Werner
47eec1c9e1 chore: split monolithic CMakeLists.txt into separate parts 2020-02-10 17:35:27 +01:00
Falk Werner
39129bc4ba feature: adapter and provider libraries can be build separately 2020-02-10 16:58:04 +01:00
Falk Werner
7023fcd14a
Merge pull request #42 from falk-werner/remove-example
feature: removed example

To focus on webfuse library, daemon, provider and web based example are moved into separate repositories:

daemon: https://github.com/falk-werner/webfused
provider: https://github.com/falk-werner/webfuse-provider
example: https://github.com/falk-werner/webfuse-example
2020-02-10 16:21:45 +01:00
Falk Werner
0d0a070267 chore: removed WITHOUT_TEST option 2020-02-10 15:40:04 +01:00
Falk Werner
bd82b06c8a feature: removed example 2020-02-09 20:42:57 +01:00
Falk Werner
f504a01cb2
chore: update libfuse to 3.9.0
* updated libfuse to 3.9.0
2019-12-17 23:52:47 +01:00
Falk Werner
4cdf11ce33
chore(webfuse): update dependencies
* update libfuse to 3.8.0 (remain API compatibility 3.1+)
* update libwebsockes to 3.1.0
* update qemu-user-static to 4.1.0-1
* update qtest to 1.10.0
* update C++ standard to 14
* use own base64 implementatin instead of libwebsockets
* introduce new build type "Coverage"
* ignore test code for code coverage
2019-12-02 21:33:45 +01:00
Falk Werner
cae0e0613c be compatible to libfuse 3.1+ 2019-12-02 20:44:56 +01:00
Falk Werner
1e57523ef7 remove build dependencies during build (alpine) 2019-12-02 20:21:19 +01:00
Falk Werner
cc22bb6756 remove build dependencies during build (ubuntu) 2019-12-02 19:25:07 +01:00
Falk Werner
f63d6f6b6e fixed typo 2019-12-01 20:36:08 +01:00
Falk Werner
4e75868835 added codecov config: ignore tests 2019-12-01 20:35:51 +01:00
Falk Werner
494035e5a6 updated libfuse to 3.8.0 2019-12-01 20:27:10 +01:00
Falk Werner
7a79c5e8a9 updated qemu-user-static to 4.1.0-1 2019-12-01 19:01:40 +01:00
Falk Werner
9cd058a747 switched to own base64 implementation 2019-12-01 17:17:21 +01:00
Falk Werner
7f29a7987e workaround: lws decode base64 size requirements changed 2019-12-01 13:10:26 +01:00
Falk Werner
c98a214668 updated dependency versions 2019-12-01 12:16:20 +01:00