-
Notifications
You must be signed in to change notification settings - Fork 186
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
feat: include a provider option to allow custom app names #10335
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
Too many things are called provider, already. Can we use |
Changed
You could have OnlyOffice 7 running and you could try / test the integration with OnlyOffice 8. Having both running at the same time would allow you to switch to the old version if the new one is having problems. In theory, having 2 wopi containers with app names "OnlyOffice7" and "OnlyOffice8" pointing to their corresponding OnlyOffice servers should work. Unless we want to officially support this setup, it isn't probably worthy to test it, but I'd rather not to block this option if possible. |
Yes, I see that use case as well. But it would still be tha same app product: Hm 🤔 the collaboration service is its own wopi service and is always tied to a product. We could make this a service config option. Then we would not need to change the CS3 api. Right? What am I missing? |
In theory, the PR should work in that scenario once it's finished. In any case, I think we need reva to be aware of the product due to how the office templates are implemented there. Using the name won't be enough because it could be any name for any known product. |
@jvillafanez the cs3api already updated |
caa95ca
to
ace5396
Compare
ace5396
to
1e8b5fa
Compare
Quality Gate passedIssues Measures |
feat: include a provider option to allow custom app names
uups, @jvillafanez we didn't notice the missing CHANGELOG. Can you please add one in a separate PR? |
Changelog entry added in #10484 |
Description
Introduce the
Provider
option to handle some differences between web office products. This will be used instead of theName
. Note that theName
will still be used in other places such as service names, and it will be shown in the web interface.The intention is to provide a bit of extra branding: you could have a specific Collabora installation fully customized and branded to your liking, so you could use
BBox
asName
and keepCollabora
asProvider
.Note: There are some issues with the naming used as
Name
, so it's highly recommended to use only alphanumeric chars. Spaces are known to cause issues.Related Issue
#10306
Motivation and Context
We need to distinguish between the name and the provider.
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Notes
Need to consider a migration, otherwise it could be a breaking change.
For installations with Collabora, this change shouldn't cause any issue because the default provider will also be Collabora. However, for other installations, the provider will also be Collabora despite connecting to an OnlyOffice installation (for example). This might cause some features to break.
We also need changes in reva for the new templates. It's currently using the app name (which might be different) instead of the provider name. Right now, the collaboration service can't sent the provider name to reva.