Skip to content

Conversation

@juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Oct 26, 2023

  • Figure out actually required headers

@juliusknorr juliusknorr marked this pull request as ready for review December 6, 2023 15:11
@juliusknorr juliusknorr added 3. to review Ready to be reviewed enhancement New feature or request labels Dec 6, 2023
@juliusknorr juliusknorr requested a review from eszkadev December 6, 2023 15:12
Copy link
Contributor

@eszkadev eszkadev left a comment

Choose a reason for hiding this comment

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

Tested regular case (not WASM): works as expected, downloading the files work
I don't have setup for WASM

Copy link
Collaborator

@Ashod Ashod left a comment

Choose a reason for hiding this comment

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

Thanks @juliushaertl.

Looks good to me. @caolanm, any concerns?

@caolanm
Copy link
Contributor

caolanm commented Dec 7, 2023

no concerns, this seems to give us what we want without disrupting existing setups

Copy link
Member

@mejo- mejo- left a comment

Choose a reason for hiding this comment

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

No idea about wasm, but code changes look sensible.

@juliusknorr
Copy link
Member Author

Amended a small change to only set the allowEvalWasm if wasm support is indicated by the capabilities.

@caolanm
Copy link
Contributor

caolanm commented Dec 7, 2023

yes, sensible

@juliusknorr juliusknorr merged commit 730c4cb into main Dec 7, 2023
@juliusknorr juliusknorr deleted the enh/wasm-headers branch December 7, 2023 12:39
@Yetangitu
Copy link

These headers are added to all Nextcloud apps by richdocuments which causes the News app to fail to show feed icons. I solved this by commenting out that part of richdocuments but that's a crude hack. These headers should only be inserted when the richdocuments app is active and in use in the current session, not when other apps are in the foreground. As to how to achieve this I have not found a good solution yet but maybe I'm overlooking something?

@juliusknorr
Copy link
Member Author

Can you please file a new issue about this? It could be that we apply those too widely.

Just a sidenote: Wouldn't it be better to fetch the icons on the backend and cache them on the Nextcloud side? That way the request would be also hiding the individual user ips and avoid loading remote content directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Ready to be reviewed enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants