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
Extend our auto-linkification algorithm to linkify custom protocols #10797
Comments
Hello @zulip/server-markdown members, this issue was labeled with the "area: markdown" label, so you may want to check it out! |
I can imagine starting out with 2 phases: First, writing a set of test cases for what we want to behave differently, and then working on the markdown processor implementation. |
@zulipbot claim |
Hello @aero31aero, you have been unassigned from this issue because you have not updated this issue or any referenced pull requests for over 14 days. You can reclaim this issue or claim any other issue by commenting Thanks for your contributions, and hope to see you again soon! |
This allows us to create links like `<irc://example.com>`. We update our link regex to match the valid url scheme format and then check in AutoLink processor if our link is bracketed. This information is used by sanitize_url to determine if we're going to render the link. Fixes zulip#10797, fixes zulip#10450.
This allows us to create links like `<irc://example.com>`. We update our link regex to match the valid url scheme format and then check in AutoLink processor if our link is bracketed. This information is used by sanitize_url to determine if we're going to render the link. Fixes zulip#10797, fixes zulip#10450.
This allows us to create links like `<irc://example.com>`. We update our link regex to match the valid url scheme format and then check in AutoLink processor if our link is bracketed. This information is used by sanitize_url to determine if we're going to render the link. Fixes zulip#10797, fixes zulip#10450.
This allows us to create links like `<irc://example.com>`. We update our link regex to match the valid url scheme format and then check in AutoLink processor if our link is bracketed. This information is used by sanitize_url to determine if we're going to render the link. Fixes zulip#10797, fixes zulip#10450.
This allows us to create links like `<irc://example.com>`. We update our link regex to match the valid url scheme format and then check in AutoLink processor if our link is bracketed. This information is used by sanitize_url to determine if we're going to render the link. Fixes zulip#10797, fixes zulip#10450.
This allows us to create links like `<irc://example.com>`. We update our link regex to match the valid url scheme format and then check in AutoLink processor if our link is bracketed. This information is used by sanitize_url to determine if we're going to render the link. Fixes zulip#10797, fixes zulip#10450.
This allows us to create links like `<irc://example.com>`. We update our link regex to match the valid url scheme format and then check in AutoLink processor if our link is bracketed. This information is used by sanitize_url to determine if we're going to render the link. Fixes zulip#10797, fixes zulip#10450.
This allows us to create links like `<irc://example.com>`. We update our link regex to match the valid url scheme format and then check in AutoLink processor if our link is bracketed. This information is used by sanitize_url to determine if we're going to render the link. Fixes zulip#10797, fixes zulip#10450.
This allows us to create links like `<irc://example.com>`. We update our link regex to match the valid url scheme format and then check in AutoLink processor if our link is bracketed. This information is used by sanitize_url to determine if we're going to render the link. Fixes zulip#10797, fixes zulip#10450.
This allows us to create links like `<irc://example.com>`. We update our link regex to match the valid url scheme format and then check in AutoLink processor if our link is bracketed. This information is used by sanitize_url to determine if we're going to render the link. Fixes zulip#10797, fixes zulip#10450.
This allows us to create links like `<irc://example.com>`. We update our link regex to match the valid url scheme format and then check in AutoLink processor if our link is bracketed. This information is used by sanitize_url to determine if we're going to render the link. Fixes zulip#10797, fixes zulip#10450.
This allows us to create links like `<irc://example.com>`. We update our link regex to match the valid url scheme format and then check in AutoLink processor if our link is bracketed. This information is used by sanitize_url to determine if we're going to render the link. Fixes zulip#10797, fixes zulip#10450.
Just adding a note that we removed We currently allow the URL schemes documented here: https://html.spec.whatwg.org/multipage/system-state.html#safelisted-scheme. |
Is it normal for the "ENABLE_FILE_LINKS = False" statement to still be found in various configuration files even if its functionality has been removed? Finding 'ENABLE_FILE_LINKS' in "/etc/zulip/settings.py" I tried to set it to 'True' but then I read in your previous post that 'ENABLE_FILE_LINKS' is no longer handled. |
We'd like to extend Zulip to allow linkifying a wider range of links, including those on custom protocols (This will probably involve removing the
ENABLE_FILE_LINKS
setting).https://chat.zulip.org/#narrow/stream/49-development-help/subject/bugdown/near/466939 has relevant context and some test cases.
@aero31aero this might be a good project for you.
The text was updated successfully, but these errors were encountered: