github.com/cs3org/reva/v2@v2.27.7/tests/oc-integration-tests/local-mesh/frontend-global.toml (about)

     1  # This config file will start a reva service that:
     2  # - serves as the entrypoint for owncloud APIs but with a globally accessible namespace.
     3  # - serves http endpoints on port 20180
     4  #   - / --------------- ocdav
     5  #   - /ocs ------------ ocs
     6  #   - TODO(diocas): ocm
     7  
     8  [shared]
     9  jwt_secret = "Pive-Fumkiu4"
    10  gatewaysvc = "localhost:39000"
    11  
    12  [http]
    13  address = "0.0.0.0:40180"
    14  
    15  [http.middlewares.cors]
    16  allow_credentials = true
    17  
    18  [http.services.ocdav]
    19  # serve ocdav on the root path
    20  prefix = ""
    21  # for user lookups
    22  # prefix the path of requests to /dav/files with this namespace
    23  # While owncloud has only listed usernames at this endpoint CERN has
    24  # been exposing more than just usernames. For owncloud deployments we
    25  # can prefix the path to jail the requests to the correct CS3 namespace.
    26  # In this deployment we mounted the owncloud storage provider at /users. It
    27  # expects a username as the first path segment.
    28  # currently, only the desktop client will use this endpoint, but only if
    29  # the dav.chunking capability is available
    30  # TODO implement a path wrapper that rewrites `<username>` into the path
    31  # layout for the users home?
    32  # no, use GetHome?
    33  # for eos we need to rewrite the path
    34  # TODO strip the username from the path so the CS3 namespace can be mounted
    35  # at the files/<username> endpoint? what about migration? separate reva instance
    36  files_namespace = "/"
    37  
    38  # similar to the dav/files endpoint we can configure a prefix for the old webdav endpoint
    39  # we use the old webdav endpoint to present the cs3 namespace
    40  # note: this changes the tree that is rendered at remote.php/webdav from the users home to the cs3 namespace
    41  # use webdav_namespace = "/home" to use the old namespace that only exposes the users files
    42  # this endpoint should not affect the desktop client sync but will present different folders for the other clients:
    43  # - the desktop clients use a hardcoded remote.php/dav/files/<username> if the dav.chunkung capability is present
    44  # - the ios ios uses the core.webdav-root capability which points to remote.php/webdav in oc10
    45  # - the oc js sdk is hardcoded to the remote.php/webdav so it will see the new tree
    46  # - TODO android? no sync ... but will see different tree
    47  webdav_namespace = "/"
    48  machine_auth_apikey = "change-me-please"
    49  
    50  [http.services.ocs]
    51  
    52  [http.services.ocs.capabilities.capabilities.core.status]
    53  version = "10.0.11.5"
    54  versionstring = "10.0.11"
    55  
    56  [http.services.ocs.capabilities.capabilities.files_sharing]
    57  api_enabled = true
    58  group_sharing = true
    59  auto_accept_share = true
    60  share_with_group_members_only = true
    61  share_with_membership_groups_only = true
    62  default_permissions = 22
    63  search_min_length = 3
    64  
    65  [http.services.ocs.capabilities.capabilities.files_sharing.public]
    66  enabled = true
    67  send_mail = true
    68  social_share = true
    69  upload = true
    70  multiple = true
    71  supports_upload_only = true
    72  
    73  [http.services.ocs.capabilities.capabilities.files_sharing.public.password]
    74  enforced = false
    75  
    76  [http.services.ocs.capabilities.capabilities.files_sharing.public.password.enforced_for]
    77  read_only = false
    78  read_write = false
    79  read_write_delete = false
    80  upload_only = false
    81  
    82  [http.services.ocs.capabilities.capabilities.files_sharing.public.expire_date]
    83  enabled = true
    84  
    85  [http.services.ocs.capabilities.capabilities.files_sharing.user]
    86  send_mail = true
    87  
    88  [http.services.ocs.capabilities.capabilities.files_sharing.user_enumeration]
    89  enabled = true
    90  group_members_only = true
    91  
    92  [http.services.ocs.capabilities.capabilities.files_sharing.federation]
    93  outgoing = true
    94  incoming = true
    95  
    96  [http.services.ocs.capabilities.capabilities.notifications]
    97  endpoints = []
    98  
    99  [http.services.ocs.capabilities.capabilities.files.tus_support]
   100  version = "1.0.0"
   101  resumable = "1.0.0"
   102  extension = "creation,creation-with-upload"
   103  http_method_override = ""
   104  max_chunk_size = 0