Provides an integration of Nextcloud folders into HumHub Spaces with sync of sub-folders, files and permissions between them.
Used to grant HumHub access to Nextcloud account without OAuth2: https://docs.nextcloud.com/server/stable/developer_manual/client_apis/LoginFlow/index.html
Service usages:
DavService): is used to manipulate files and folders (Create, Move, Delete, etc.)ShareApiService & UserShare): Folder Shares (Users having the Space Nextcloud Folder shared for them) and permissions (Read, Edit, Create, Delete, Share)The User loginName and appPassword are managed by NextcloudUserService, and used by both DavService and ShareApiService.
The User accountName is used for sharing folders.
For the ShareApiService, we use the SpaceConfiguration::userIdSharingNextcloudFolder User to share the Folder to the Space Members.
npm install
grunt build
composer install