Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2025-01-16 17:10:34 +01:00
parent 61b48a2580
commit d478ed424e
4 changed files with 7 additions and 7 deletions

View File

@@ -1,3 +1,3 @@
# ocDAV # ocDAV
The ocdav service provides the WebDAV API which is required by ownCloud clients. Previews (thumbnails) are provided by the [WebDAV service](../webdav). The ocdav service provides the WebDAV API which is required by OpenCloud clients. Previews (thumbnails) are provided by the [WebDAV service](../webdav).

View File

@@ -22,11 +22,11 @@ func GetCommands(cfg *config.Config) cli.Commands {
} }
} }
// Execute is the entry point for the ocis-ocdav command. // Execute is the entry point for the OpenCloud ocdav command.
func Execute(cfg *config.Config) error { func Execute(cfg *config.Config) error {
app := clihelper.DefaultApp(&cli.App{ app := clihelper.DefaultApp(&cli.App{
Name: "ocdav", Name: "ocdav",
Usage: "Provide a WebDav API for oCIS", Usage: "Provide a WebDav API for OpenCloud",
Commands: GetCommands(cfg), Commands: GetCommands(cfg),
}) })

View File

@@ -25,7 +25,7 @@ type Config struct {
SharesNamespace string `yaml:"shares_namespace" env:"OCDAV_SHARES_NAMESPACE" desc:"The human readable path for the share jail. Relative to a users personal space root. Upcased intentionally." introductionVersion:"pre5.0"` SharesNamespace string `yaml:"shares_namespace" env:"OCDAV_SHARES_NAMESPACE" desc:"The human readable path for the share jail. Relative to a users personal space root. Upcased intentionally." introductionVersion:"pre5.0"`
OCMNamespace string `yaml:"ocm_namespace" env:"OCDAV_OCM_NAMESPACE" desc:"The human readable path prefix for the ocm shares." introductionVersion:"5.0"` OCMNamespace string `yaml:"ocm_namespace" env:"OCDAV_OCM_NAMESPACE" desc:"The human readable path prefix for the ocm shares." introductionVersion:"5.0"`
// PublicURL used to redirect /s/{token} URLs to // PublicURL used to redirect /s/{token} URLs to
PublicURL string `yaml:"public_url" env:"OC_URL;OCDAV_PUBLIC_URL" desc:"URL where oCIS is reachable for users." introductionVersion:"pre5.0"` PublicURL string `yaml:"public_url" env:"OC_URL;OCDAV_PUBLIC_URL" desc:"URL where OpenCloud is reachable for users." introductionVersion:"pre5.0"`
// Insecure certificates allowed when making requests to the gateway // Insecure certificates allowed when making requests to the gateway
Insecure bool `yaml:"insecure" env:"OC_INSECURE;OCDAV_INSECURE" desc:"Allow insecure connections to the GATEWAY service." introductionVersion:"pre5.0"` Insecure bool `yaml:"insecure" env:"OC_INSECURE;OCDAV_INSECURE" desc:"Allow insecure connections to the GATEWAY service." introductionVersion:"pre5.0"`
@@ -81,5 +81,5 @@ type Status struct {
Product string Product string
ProductName string ProductName string
ProductVersion string ProductVersion string
Edition string `yaml:"edition" env:"OC_EDITION;OCDAV_EDITION" desc:"Edition of oCIS. Used for branding purposes." introductionVersion:"pre5.0"` Edition string `yaml:"edition" env:"OC_EDITION;OCDAV_EDITION" desc:"Edition of OpenCloud. Used for branding purposes." introductionVersion:"pre5.0"`
} }

View File

@@ -90,8 +90,8 @@ func DefaultConfig() *config.Config {
Version: version.Legacy, Version: version.Legacy,
VersionString: version.LegacyString, VersionString: version.LegacyString,
ProductVersion: version.GetString(), ProductVersion: version.GetString(),
Product: "Infinite Scale", Product: "OpenCloud",
ProductName: "Infinite Scale", ProductName: "OpenCloud",
Edition: "Community", Edition: "Community",
}, },
} }