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:
commit
9869bdaa0d
@ -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
22
files_admin/README.md
Normal 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
|
@ -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()
|
||||
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
[setting]
|
||||
|
||||
name = Owncloud share
|
||||
type = Owncloud
|
||||
workgroup =
|
Loading…
Reference in New Issue
Block a user