Skip to content
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

add secureview flag when listing apps via http #9277

Merged
merged 4 commits into from
May 30, 2024

Conversation

butonic
Copy link
Member

@butonic butonic commented May 29, 2024

To allow clients to see which application supports secure view we add a flag to the http response when the app name matches a configured secure view app. The app can be configured by setting FRONTEND_APP_HANDLER_SECURE_VIEW_APP to the name of the app registered as a CS3 app provider.

Part of #9272

Only effective when cs3org/reva#4703 got merged and reva bumped

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
@butonic butonic self-assigned this May 29, 2024
@butonic butonic added the Category:Enhancement Add new functionality label May 29, 2024
Copy link
Contributor

@AlexAndBear AlexAndBear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, don't we need a default value here for Collabora, I don't want force people to configure it manually. Things should work out of the box.

services/frontend/pkg/config/config.go Outdated Show resolved Hide resolved
Co-authored-by: Alex <jackermann@owncloud.com>
@butonic
Copy link
Member Author

butonic commented May 30, 2024

True. AFAIR @tbsbdr @micbar and @dragotin wanted to default to collabora as the online office solution. We could change the default here and in the collaboration service in a subsequent PR though.

@tbsbdr
Copy link
Contributor

tbsbdr commented May 30, 2024

Yep, collabora is the favorite and default

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
@butonic butonic requested a review from AlexAndBear May 30, 2024 09:11
@butonic butonic dismissed AlexAndBear’s stale review May 30, 2024 09:12

fixed typo and set default to collabora online

@AlexAndBear
Copy link
Contributor

Can you wait for cs3 and bump in this pr?

@butonic
Copy link
Member Author

butonic commented May 30, 2024

sure

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Copy link

sonarcloud bot commented May 30, 2024

@micbar
Copy link
Contributor

micbar commented May 30, 2024

307 changed files?

@butonic
Copy link
Member Author

butonic commented May 30, 2024

go back to your holiday! ;-) the reva bump pulled in the deps for the posix driver as well.

@butonic butonic merged commit 982f036 into master May 30, 2024
4 checks passed
@delete-merged-branch delete-merged-branch bot deleted the add-providerinfo-secure-view-flag branch May 30, 2024 10:04
ownclouders pushed a commit that referenced this pull request May 30, 2024
add secureview flag when listing apps via http
@AlexAndBear
Copy link
Contributor

unfortunately secure_view flag is false in apps/list API
image

@micbar
Copy link
Contributor

micbar commented May 30, 2024

Default value is wrong, should be Collabora not Collabora Online.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category:Enhancement Add new functionality
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants