default to collabora online

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2024-05-30 11:09:02 +02:00
parent 61d6dbb1c3
commit 933b1eb76c
3 changed files with 5 additions and 4 deletions

View File

@@ -21,8 +21,8 @@ func DefaultConfig() *config.Config {
Name: "collaboration",
},
App: config.App{
Name: "WOPI app",
Description: "Open office documents with a WOPI app",
Name: "Collabora Online",
Description: "Open office documents with Collabora Online",
Icon: "image-edit",
LockName: "com.github.owncloud.collaboration",
},

View File

@@ -109,7 +109,7 @@ type Auth struct {
type AppHandler struct {
Prefix string `yaml:"-"`
Insecure bool `yaml:"insecure" env:"OCIS_INSECURE;FRONTEND_APP_HANDLER_INSECURE" desc:"Allow insecure connections to the frontend." introductionVersion:"pre5.0"`
SecureViewApp string `yaml:"secure_view_app" env:"FRONTEND_APP_HANDLER_SECURE_VIEW_APP" desc:"Name of the app to use for secure view. Should match the name configured for the CS3 app provider." introductionVersion:"pre5.1"`
SecureViewApp string `yaml:"secure_view_app" env:"FRONTEND_APP_HANDLER_SECURE_VIEW_APP" desc:"Name of the app to use for secure view. Should match COLLABORATION_APP_NAME, the name configured for the CS3 app provider." introductionVersion:"5.1"`
}
type Archiver struct {

View File

@@ -93,7 +93,8 @@ func DefaultConfig() *config.Config {
PreferredUploadType: "sha1",
},
AppHandler: config.AppHandler{
Prefix: "app",
Prefix: "app",
SecureViewApp: "Collabora Online",
},
Archiver: config.Archiver{
Insecure: false,