Skip to content

Exposing Whitelisted Protocols to User Settings #1401

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jonassorgenfrei
Copy link

What's this PR do?

It exposes the whitelisted protocols list so users can add additional protocols that should not use the link wrapper.
Adresses Issue: #1284

You have tested this PR on:

  • Windows
  • Linux/Ubuntu

@jonassorgenfrei jonassorgenfrei changed the title implementing whitelisted protocols to allow configuring linkifiers in… Exposing Whitelisted Protocols to User Settings Dec 27, 2024
@alya
Copy link
Collaborator

alya commented Dec 27, 2024

Thanks! Could you please update your commit message to match the commit style guidelines?

@andersk
Copy link
Member

andersk commented Dec 27, 2024

Do not close and reopen multiple pull requests for the same thing, even to fix the commit structure; you can always fix the commit structure by rebasing and force-pushing your existing branch.

@jonassorgenfrei
Copy link
Author

I adjusted the commit message to match the style guide.
Yeah i messed i my repo on the first PR by directly implementing it on the main branch and by messing up my rebasing. Next time i know better :)

@jonassorgenfrei
Copy link
Author

Is there anything left to do on this PR?

@jonassorgenfrei jonassorgenfrei force-pushed the WhitelistedProtocols branch 2 times, most recently from 87f4cff to f56c2d0 Compare July 16, 2025 22:04
@jonassorgenfrei
Copy link
Author

@andersk @timabbott can you take a look if there's anything missing here that avoid a merge?

@timabbott
Copy link
Member

I think we'd need documentation for how users can decide which protocols they can safely add there.

@jonassorgenfrei
Copy link
Author

jonassorgenfrei commented Jul 19, 2025

@timabbott

I think we'd need documentation for how users can decide which protocols they can safely add there.

Totally makes sense, i'm just unsure where to document the setting.json 's new key.
I could put it in the docs but would probably have to add a new .md file like desktop-app-settings.md?
On Zulip Help i didn't find a section about the setting.json.

Could you point me to where i shall add the information then i'm happy to add it there too

@timabbott
Copy link
Member

A new file seems fine. I'd call it customize-link-protocols.md

@jonassorgenfrei
Copy link
Author

Allright i added a customize-link-protocols.md to docs/howto :)
Hope that's fine.

Adding config option to set protocols in the config that are whitelisted
to be opened directly. The behaviour is documented in docs\howto\customize-link-protocols.md.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants