-
Notifications
You must be signed in to change notification settings - Fork 183
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
WOPI App Name is admin configurable, but we hardcoded it #10306
Comments
cc @micbar |
#10335 should do for the most part. We still need to send the provider to reva in order to use the templates. Since the names can change, we'll need to take care of weird chars. Right now, it seems that there is a problem if the
There could also be problems with the service names (https://github.com/owncloud/ocis/blob/master/services/collaboration/pkg/helpers/registration.go#L69 among others) if the name contains "." or weird chars. We should decide what to do with those. Finally, this seems a breaking change for Microsoft and OnlyOffice installations (we're using Collabora as default, so they're lucky they won't be hit). If you're using |
Next step: Start PR on the CS3API to add the ProductName Property on the app. |
@micbar There are a lot of changes in a go-sc3 https://github.com/cs3org/go-cs3apis/compare/062c4e3046cb..d50e291 |
I prepared the cs3api bump for reva cs3org/reva#4906 |
@micbar @kobergj The cs3api PR |
The collaboration service uses the hardcoded strings
collabora
andonlyoffice
to identify the kind of CS3 app provider.For the app url:
ocis/services/collaboration/pkg/service/grpc/v0/service.go
Lines 163 to 166 in fde6b4c
For the language:
ocis/services/collaboration/pkg/service/grpc/v0/service.go
Lines 251 to 255 in fde6b4c
The type determines the properties returned in the GetFileInfo call:
ocis/services/collaboration/pkg/connector/fileconnector.go
Lines 1150 to 1157 in fde6b4c
We noticed this when reviewing cs3org/reva#4882 (review)
All of these checks will break when the app name has been changed to eg:
WebOffice
.The app Name really is a display name that is used by clients. We should introduce a
product
property on the cs3 api that we can use to handle product specific differences.The text was updated successfully, but these errors were encountered: