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

365 Commits

Author SHA1 Message Date
Falk Werner
ab6a6198b1 chore: removed webfuse dependency in unit tests 2020-03-01 17:44:12 +01:00
Falk Werner
107e66b65a chore: replaced msleep by std::this_thread::sleep_for 2020-03-01 17:23:59 +01:00
Falk Werner
1a29b44ad6 chore: prefixed jsonrpc by wf_ 2020-03-01 16:55:58 +01:00
Falk Werner
8a40919296 fix: do not ignore return value of symlink 2020-03-01 14:39:58 +01:00
Falk Werner
1b4034e081 fix: do not ignore return value of mkdtemp 2020-03-01 14:00:49 +01:00
Falk Werner
7856b5a99d feature: enabled authentication 2020-03-01 13:42:46 +01:00
Falk Werner
f79b9c998a added error handling on authentication failure 2020-03-01 11:06:09 +01:00
Falk Werner
af2343c67a use jsonrpc_proxy to send requests within client_protocol (provider) 2020-03-01 01:13:24 +01:00
Falk Werner
97eb420ef2 chore: removed dependency to lib 2020-02-29 23:53:48 +01:00
Falk Werner
79318c47b8 refactor: extracted timer function of adapter into separate library 2020-02-29 21:06:40 +01:00
Falk Werner
b2d6ed8754 reorganized library code 2020-02-29 02:44:26 +01:00
Falk Werner
69a1faaa3f chore: cleanup jsonrpc library 2020-02-29 02:32:03 +01:00
Falk Werner
e3a3427ca8 refactor: made jsonrpc an independent library 2020-02-28 23:17:41 +01:00
Falk Werner
c6ca2e14bd changed credentials API 2020-02-25 22:05:48 +01:00
Falk Werner
767bafcd01 added first idea of API 2020-02-25 15:36:28 +01:00
Falk Werner
3e563f00d6
Merge pull request #50 from falk-werner/organize_tests
Organize Tests
2020-02-24 19:38:02 +01:00
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