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

169 Commits

Author SHA1 Message Date
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
nosamad
1d413456a2 fix(webfuse): fix macros (#18)
* fixes return code on error

* fixes macro usage

* adds clean target

* fixes file mode

* fixes image name

* adds registry prefix to allow usage of custom registry (on-premise)

* changes syntax in travis file for package installation

* fixes duplicate settings discovery
2019-03-29 13:23:17 +01:00
nosamad
0ac03b6150 feat(webfuse): eclipse cdt project (#17)
adds convenience run and discovery targets (for first build target)
allows usage of host container (volume mount/ dind)
fixes portable workspace configuration
adds makefile targets to CDT configuration
fixes localization

* adds eclipse-cdt project and necessary discovery for toolchain settings

* extends targets and fixes discovery

* renames CDT Eclipse project

* enables portable workspace docker-build on build server
2019-03-28 07:43:21 +01:00
nosamad
66a585ecf1
Merge pull request #16 from falk-werner/rename-project
renamed to webfuse
2019-03-28 00:44:52 +01:00
Falk Werner
70c9697712 renamed html example 2019-03-27 00:05:44 +01: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
nosamad
de9095a978
Merge pull request #13 from falk-werner/docker-build
Docker build
2019-03-23 21:08:58 +01:00
nosamad
2f8d2a8724 adds valgrind support for amd64 architectures 2019-03-23 18:16:31 +01:00
nosamad
7d1632df25 adds run target to simplify entering container 2019-03-23 17:18:33 +01:00
nosamad
25590695f3 fixes parallel build when building multiple architectures 2019-03-23 16:45:28 +01:00
nosamad
e30e73b506 fixes missing flag for arm32v7 and libfuse 2019-03-23 15:13:07 +01:00
nosamad
48fc766d28 reorganizes Makefile 2019-03-23 04:07:47 +01:00
nosamad
3acf2ceecf renames folder and adds support for reproducible builds 2019-03-23 03:48:15 +01:00
nosamad
d4487d2e28 adds build targets for auto completion 2019-03-23 02:38:52 +01:00
nosamad
5031ed6726 formating 2019-03-23 02:31:32 +01:00
nosamad
6d7f38baa0 refactors docker build
fixes issue when upgrading dependency versions
makes container workspace configurable
2019-03-23 02:17:44 +01:00
nosamad
740b247250 moves download of artifacts to bootstrapping makefile 2019-03-21 00:43:53 +01:00
nosamad
38a2240b65 moves build to before_script travis life-cycle 2019-03-20 19:57:53 +01:00
nosamad
365fbb36ac Merge branch 'docker-build' of https://github.com/falk-werner/fuse-wsfs.git into docker-build 2019-03-20 19:55:49 +01:00
nosamad
ebb3371b85 changes user id mapping 2019-03-20 19:55:34 +01:00
nosamad
af0e355351 changes to use docker multiarch build 2019-03-20 19:55:34 +01:00
nosamad
df10ae14f5 removes binary dependency to qemu from project 2019-03-20 19:55:34 +01:00
nosamad
bf6077a942 adds dynamic test discover support 2019-03-20 19:55:34 +01:00
nosamad
4fc51d3382 fixes docker output directory 2019-03-20 19:55:34 +01:00
nosamad
6218de5ae9 removes multilib support 2019-03-20 19:55:34 +01:00
nosamad
660df474eb adds initial multi-platform docker build support 2019-03-20 19:55:34 +01:00
nosamad
12e7af6df7 changes user id mapping 2019-03-20 01:32:55 +01:00
nosamad
1d82e0a71f changes to use docker multiarch build 2019-03-20 00:59:03 +01:00
nosamad
fc2648c915 removes binary dependency to qemu from project 2019-03-20 00:58:06 +01:00
Falk Werner
40eafc19d7
Document the main use case (#10)
* fixes typo

* adds motivation

* fixes link in contents

* fixes some style issues

* fixes heading

* fixes typo and inconsistent use of fuse-wsfs
2019-03-12 15:49:28 +01:00
Falk Werner
7934319d73
Merge pull request #9 from falk-werner/feature-provider
integrates provider
2019-03-05 15:35:04 +01:00
Falk Werner
c4ef4f126b fixes flawfinder findings (ignores them) 2019-03-04 21:42:45 +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
fff6d54046 removes unused includes of stdio.h 2019-03-03 18:20:33 +01:00
Falk Werner
2e858475c2 removed debug code 2019-03-03 18:17:50 +01:00
Falk Werner
4565e40fde removes unused structs 2019-03-03 18:17:00 +01:00
Falk Werner
e4d95f5dc9 implements operation read 2019-03-03 18:02:30 +01:00
Falk Werner
de454516cb fixes invalid memory acceess 2019-03-03 18:02:02 +01:00
Falk Werner
519ec3a178 added implemetation of open 2019-03-03 16:29:02 +01:00
Falk Werner
3627ede1b1 added implementation for lookup (provider) 2019-03-03 15:44:34 +01:00
Falk Werner
119d08c42e reorganized filesystem abstraction: files and directories are almost everywhere handled the same way, so there is no need for separate structs 2019-03-03 15:29:39 +01:00
Falk Werner
58e65c4a31 fix: memory leak 2019-03-03 15:15:55 +01:00
nosamad
506860b31a adds dynamic test discover support 2019-03-03 15:14:32 +01:00
nosamad
60fe3fc171 fixes docker output directory 2019-03-03 14:15:26 +01:00
nosamad
64ecec9079 removes multilib support 2019-03-03 14:14:00 +01:00
nosamad
2a14c2a6cf adds initial multi-platform docker build support 2019-03-03 13:42:46 +01:00