Merge pull request #7 in KSC/webapp-tools from create-files-admin to master

* commit 'd761329e4069845450dda7fc5765f0d23665aafc':
  Rename inject files to files_admin
This commit is contained in:
Robin van Genderen 2019-02-14 08:44:32 +01:00
commit 9869bdaa0d
6 changed files with 23 additions and 30 deletions

View File

@ -1,26 +0,0 @@
Inject-files.py
===============
Script to inject the files setting into the users profile.
Files backend supported
=======================
* SMB
* Owncloud
* Webddav
Examples
========
python inject-files -user test --file owncloud.cfg,smb.cfg
Use the username and password provided in the configfile
python inject-files -user test --file owncloud.cfg,smb.cfg --default

22
files_admin/README.md Normal file
View File

@ -0,0 +1,22 @@
# Files Admin
Files admin is a command-line interface to modify, inject and export kopano-files settings.
# Files backend supported
* SMB
* Owncloud
* Webddav
# Example Usage
Inject settings from owncloud and smb config file
> python files_admin -user John --file owncloud.cfg,smb.cfg
Use the username and password provided in the config file
> python files_admin -user John --file owncloud.cfg,smb.cfg --default
# Dependencies
- python-kopano
- python-mapi

View File

@ -2,7 +2,6 @@
import subprocess
from configobj import ConfigObj
import uuid
from MAPI.Util import *
import kopano
# Try simplejson if json is not available
@ -129,5 +128,4 @@ def main():
if __name__ == '__main__':
main()

View File

@ -1,5 +1,4 @@
[setting]
name = Owncloud share
type = Owncloud
workgroup =