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

93 Commits

Author SHA1 Message Date
Falk Werner
48e3575d6d added integrative test of low level api 2020-04-02 22:00:01 +02:00
Falk Werner
06c01995fe removed unnecessary NULL check 2020-04-02 19:34:52 +02:00
Falk Werner
f8a402c3a1 use TLS in integration test 2020-04-01 21:42:50 +02:00
Falk Werner
c62b6edde2 chore: simplified check 2020-03-30 22:40:15 +02:00
Falk Werner
db536142de fixed empty result 2020-03-30 22:21:41 +02:00
Falk Werner
6ccc738d17 simplified check 2020-03-30 21:50:49 +02:00
Falk Werner
39855a9995 fix: make provider const 2020-03-29 18:38:58 +02:00
Falk Werner
bbdd5a24f5 integrated libwf_timer and libwf_jsonrpc into libwebfuse-core 2020-03-29 17:40:33 +02:00
Falk Werner
1d4db34ecb increased test coverage 2020-03-22 20:09:40 +01:00
Falk Werner
7e1d9bbb50 increased test coverage 2020-03-22 17:41:34 +01:00
Falk Werner
643d1d5237 increased test coverage 2020-03-22 13:36:03 +01:00
Falk Werner
843368f483 increased test coverage 2020-03-22 12:51:54 +01:00
Falk Werner
d5adfc6f81 increased test coverage 2020-03-22 11:36:45 +01:00
Falk Werner
214d6b738d removed NULL-checks after malloc: they are not necessary, they were not consequently used and objects constructed by 3rd party libs are also unchecked 2020-03-21 21:22:22 +01:00
Falk Werner
425e017bc4 renamed function: wf_impl_server_protocol_create2 to ..create: remove of uuid mountpoint was already API breaking 2020-03-21 09:18:04 +01:00
Falk Werner
43c989e7af removed uuid mountpoint and factory 2020-03-21 09:11:18 +01:00
Falk Werner
d2f078298e added function to interrupt _service calls 2020-03-07 15:35:02 +01:00
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
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
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
85b283c1e3 removed dead code 2020-02-24 18: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
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
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
cae0e0613c be compatible to libfuse 3.1+ 2019-12-02 20:44:56 +01:00
Falk Werner
494035e5a6 updated libfuse to 3.8.0 2019-12-01 20:27:10 +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
ce6affd4a2 fixes type in define 2019-05-27 22:01:00 +02:00
Falk Werner
83c7feee82 fixes missing inode using stat and ls -i 2019-05-26 17:37:34 +02:00
Falk Werner
a0ae32caa6 fixes adding multiple files to same directory 2019-05-25 09:19:35 +02:00
Falk Werner
07e32757f8
chore(webfuse) Increase test coverage (#34)
* removes unnecessary code

* adds test of wf_status

* adds tests of wf_message

* adds tests of wf_message_queue

* changed branch of coverage badge to display correct results

* moves core tests into separate subdirectory

* increases coverage of timer test

* moves adapter specific tests into separate directory

* moves provider specific tests into separate directory

* adds tests of jsonrpc utilities

* adds tests of jsonrpc request

* adds test of jsonrpc response

* adds tests of jsonrpc server

* adds tests of jsonrpc proxy

* adds integration test (found some issues)

* disables problematic tests

* fixes resource leak: pending timer after cleanup proxy

* fixes order of cleanup to prevent processing pending requests after filesystem shut down

* fixes some memcheck and helgrind errors: initialization of lws_log; setup of client and server

* disabled a test

* fixes error in msleep utility

* fixes deadlock at IntegrationTest using valgrind

* removes unit test code from coverage report

* adds some integration tests

* makes badge show coverage of master

* fixes some coding style issues

* fixes eary trigger of is_connected (provider)

* fixes read error in 32 bit environments\n\ninode is always 64 bit, but variadic wf_impl_jsonrpc_proxy_invoke expects int
2019-05-19 14:33:42 +02:00
Falk Werner
09df34debc
removes shutdown method (#27) 2019-04-26 20:51:24 +02:00