Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config: simplify oc-phoenix configuration #555

Merged
merged 5 commits into from
Mar 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- Hugo Gonzalez Labrador <[email protected]>
- Ilja Neumann <[email protected]>
- Jörn Friedrich Dreyer <[email protected]>
- LovisaLugnegard <[email protected]>
- Michael D'Silva <[email protected]>
- Michael D'Silva <[email protected]>
- Mohitty <[email protected]>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ chunk_folder = "/var/tmp/reva/chunks"
# for eos we need to rewrite the path
# TODO strip the username from the path so the CS3 namespace can be mounted
# at the files/<username> endpoint? what about migration? separate reva instance
files_namespace = "/oc"
files_namespace = "/"

# similar to the dav/files endpoint we can configure a prefix for the old webdav endpoint
# we use the old webdav endpoint to present the cs3 namespace
Expand All @@ -80,89 +80,4 @@ files_namespace = "/oc"
# - TODO android? no sync ... but will see different tree
webdav_namespace = "/home"

# options for the /ocs/v1.php/config endpoint
[http.services.ocs.config]
version = "1.8"
website = "reva"
host = "http://localhost:20080"
contact = "admin@localhost"
ssl = "false"

# options for the /ocs/v1.php/cloud/capabilities endpoint
[http.services.ocs.capabilities.capabilities.core]
poll_interval = 60
webdav_root = "remote.php/webdav"

[http.services.ocs.capabilities.capabilities.core.status]
installed = true
maintenance = false
needsDbUpgrade = false
version = "10.1.0.5"
versionstring = "10.1.0"
edition = "community"
productname = "reva"
hostname = ""

[http.services.ocs.capabilities.capabilities.checksums]
supported_types = ["SHA256"]
preferred_upload_type = "SHA256"

[http.services.ocs.capabilities.capabilities.files]
private_links = false
bigfilechunking = false
blacklisted_files = []
undelete = true
versioning = true

[http.services.ocs.capabilities.capabilities.dav]
chunking = "1.0"

[http.services.ocs.capabilities.capabilities.files_sharing]
api_enabled = true
resharing = true
group_sharing = true
auto_accept_share = true
share_with_group_members_only = true
share_with_membership_groups_only = true
default_permissions = 22
search_min_length = 3

[http.services.ocs.capabilities.capabilities.files_sharing.public]
enabled = true
send_mail = true
social_share = true
upload = true
multiple = true
supports_upload_only = true

[http.services.ocs.capabilities.capabilities.files_sharing.public.password]
enforced = true

[http.services.ocs.capabilities.capabilities.files_sharing.public.password.enforced_for]
read_only = true
read_write = true
upload_only = true

[http.services.ocs.capabilities.capabilities.files_sharing.public.expire_date]
enabled = true

[http.services.ocs.capabilities.capabilities.files_sharing.user]
send_mail = true

[http.services.ocs.capabilities.capabilities.files_sharing.user_enumeration]
enabled = true
group_members_only = true

[http.services.ocs.capabilities.capabilities.files_sharing.federation]
outgoing = true
incoming = true

[http.services.ocs.capabilities.capabilities.notifications]
endpoints = ["list", "get", "delete"]

[http.services.ocs.capabilities.version]
edition = "reva"
major = 10
minor = 1
micro = 0
string = "10.1.0"
[http.services.ocs]
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"theme": "owncloud",
"version": "0.1.0",
"openIdConnect": {
"metadataUrl": "http://localhost:20080/.well-known/openid-configuration",
"authority": "http://localhost:20080",
"client_id": "phoenix",
"response_type": "code",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ address = "0.0.0.0:12001"

[http.services.dataprovider]
driver = "owncloud"
temp_folder = "/var/tmp/"
temp_folder = "/var/tmp/reva/tmp"

[http.services.dataprovider.drivers.owncloud]
datadirectory = "/var/tmp/reva/data"
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ address = "0.0.0.0:11001"

[http.services.dataprovider]
driver = "owncloud"
temp_folder = "/var/tmp/"
temp_folder = "/var/tmp/reva/tmp"

[http.services.dataprovider.drivers.owncloud]
datadirectory = "/var/tmp/reva/data"
File renamed without changes.