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

53 Commits

Author SHA1 Message Date
Falk Werner
081304dee6 added implementation of wf_client_add_filesystem 2020-06-13 10:17:20 +02:00
Falk Werner
0c702ff25f refactor: make filesystem independent of session 2020-06-12 22:53:42 +02:00
Falk Werner
adaec875d9 added implementation of wf_client_authenticate 2020-06-12 20:38:20 +02:00
Falk Werner
8a03f16aa5 allow system to choose port of webfuse server 2020-06-12 13:32:31 +02:00
Falk Werner
eb48dbecc5 added implementation of wf_client_connect and wf_client_disconnect 2020-06-11 22:57:56 +02:00
Falk Werner
f2bbebd670 moved wf_url to core 2020-06-11 19:12:07 +02:00
Falk Werner
06a24e09da added wf_client_tlsconfig 2020-06-11 18:07:42 +02:00
Falk Werner
dcbe4f075a added stub of client implementation 2020-06-11 09:10:14 +02:00
Falk Werner
81fd41f46a feature: added wf_credentials_set_type and wf_credentials_add 2020-06-10 22:42:26 +02:00
Falk Werner
38ef0ddd9a fix: crash if libfuse is not available at runtime 2020-06-06 00:00:08 +02:00
Falk Werner
8539ce9338 clone mountpoint factory 2020-04-07 19:34:19 +02:00
Falk Werner
431e3c027b removed dead code 2020-04-06 21:44:24 +02:00
Falk Werner
49469c73e3 renamed operation_context 2020-04-04 23:27:34 +02:00
Falk Werner
745d47bb30 added unit tests for lookup operation (adapter) 2020-04-04 23:16:25 +02:00
Falk Werner
654015c95c added unit tests for getattr operation (adapter) 2020-04-04 22:26:15 +02:00
Falk Werner
c769c02c55 added unit tests for readdir operation (adapter) 2020-04-04 20:23:50 +02:00
Falk Werner
e000500735 added unit tests for read operation (adapter); did some hardening 2020-04-04 15:41:33 +02:00
Falk Werner
289264e269 added unit tests for close operation (adapter) 2020-04-04 08:55:59 +02:00
Falk Werner
77a870b9b7 added unit tests for open (adapter) 2020-04-04 08:32:26 +02:00
Falk Werner
d56bbcbd39 added test for open (adapter) 2020-04-03 22:46:47 +02:00
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
bbdd5a24f5 integrated libwf_timer and libwf_jsonrpc into libwebfuse-core 2020-03-29 17:40:33 +02: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
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
79318c47b8 refactor: extracted timer function of adapter into separate library 2020-02-29 21:06:40 +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
555058dbb5 made client protocol test single threaded 2020-02-23 21:02:01 +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
83c7feee82 fixes missing inode using stat and ls -i 2019-05-26 17:37:34 +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
Falk Werner
9130f00289
improves slist implementation (#29) 2019-04-26 20:50:57 +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
a717248e80
chore(WF_CONTAINER_OF): makes WF_CONTAINER_OF use typeof, if available (#26)
* makes WF_CONTAINER_OF use typeof, if available

* convertss WF_CONTAINER_OF to lower case

* fixes include guard
2019-04-25 20:08:34 +02:00
Falk Werner
f4180224b2
fixes invalid read if www is not specified (#28) 2019-04-25 20:06:54 +02:00