deck
deck copied to clipboard
Disable URL preview
Is your feature request related to a problem? Please describe. Nextcloud Deck tries to preview URLs in the Description of the card which is not always desired. For example previewing URLs can disclose IP information unintentionally and some links might be intentionally unreachable.
Describe the solution you'd like It would be great if there was a per deck, card or global option to disable URL previews.
Describe alternatives you've considered None
Additional context Looks like there is a request in Notes for this same feature https://github.com/nextcloud/notes/issues/1033
A possible alternative might be proxying the requests through the Nextcloud instance for privacy reasons?
Perhaps, that might help limit disclosing IP information unintentionally (the Nextcloud server IP would still be disclosed to the link target) but links that are intentionally unreachable would still try to render and eventually time out. When I say links that are intentionally unreachable think about the scenario where the user is using Nextcloud Deck to track some work they are doing for their employer but the Nextcloud instance and their end device are not connected to the employer VPN so any link they add that requires the VPN will currently always time out.
This "feature" is so unbelievably annoying and a huge privacy and security risk. There must be an option to disable it completely for any given whole instance ASAP.
I agree - I would love to see an option where this can be disabled.
I agree with @kartoffelheinz ; moreover, it should be absolutely opt-in.
+1 this is bizarrely annoying and I don't understand how people have not fought harder to be able to make this optional in the Settings (both at user and instance level)!
One workaround I have found is to paste URLs within a code block
URL here
It makes the URL easy to copy (there's a copy button on code blocks) and it stops the preview behaviour.
One workaround I have found is to paste URLs within a code block
URL here
It makes the URL easy to copy (there's a copy button on code blocks) and it stops the preview behaviour.
Thanks for this!!
One workaround I have found is to paste URLs within a code block
URL here
It makes the URL easy to copy (there's a copy button on code blocks) and it stops the preview behaviour.
Workaround 2: put any character directly before or after the URL. This will also stop the preview behaviour.
Starting with Nextcloud 29 you can toggle the link preview on after inserting a link:
To avoid doing the remote request you can disable the opengraph provider in config php 'reference_opengraph' => false,
Thank you @juliushaertl I will upgrade and test!