zed/crates
Marshall Bowers 322aa41ad6
Add support for self-hosted GitLab instances for Git permalinks (#19909)
This PR adds support for self-hosted GitLab instances when generating
Git permalinks.

If the `origin` Git remote contains `gitlab` in the URL hostname we will
then attempt to register it as a self-hosted GitLab instance.

A note on this: I don't think relying on specific keywords is going to
be a suitable long-term solution to detection. In reality the
self-hosted instance could be hosted anywhere (e.g.,
`vcs.my-company.com`), so we will ultimately need a way to have the user
indicate which Git provider they are using (perhaps via a setting).

Closes https://github.com/zed-industries/zed/issues/18012.

Release Notes:

- Added support for self-hosted GitLab instances when generating Git
permalinks.
- The instance URL must have `gitlab` somewhere in the host in order to
be recognized.
2024-10-29 12:31:51 -04:00
..
activity_indicator lsp: Show error message in read only buffer (#19063) 2024-10-11 12:33:08 +02:00
anthropic Switch to Anthropic -latest tags (#19615) 2024-10-23 15:13:52 -04:00
assets add ui::Vector and separate images from icons (#17815) 2024-09-13 17:44:16 -04:00
assistant Fix mouse clicks on remote-open-folder UI (#19851) 2024-10-28 12:55:55 -07:00
assistant_slash_command assistant: Update SlashCommand trait with streaming return type (#19652) 2024-10-23 21:26:50 -04:00
assistant_tool assistant: Add basic tool invocation (#17368) 2024-09-04 14:32:20 -04:00
audio Update Rust crate rodio to 0.19.0 (#17389) 2024-09-16 21:55:32 -06:00
auto_update ssh remoting: Check nightly version correctly by comparing commit SHA (#19884) 2024-10-29 11:32:55 +01:00
breadcrumbs Add missing shortcuts in tooltips (#18282) 2024-09-27 11:06:48 +02:00
call Remove dev servers (#19638) 2024-10-24 12:14:03 -06:00
channel Remove hosted projects (#19754) 2024-10-27 19:44:21 -07:00
cli Remove dev servers (#19638) 2024-10-24 12:14:03 -06:00
client ssh remoting: Show the host's GitHub name in the titlebar when sharing an SSH project (#19844) 2024-10-29 09:52:54 +01:00
clock Fix bugs with applying hunks from branch buffers (#18721) 2024-10-07 16:28:33 -07:00
collab Ensure shared ssh project propagates buffer changes to all participants (#19907) 2024-10-29 17:24:10 +02:00
collab_ui Fix mouse clicks on remote-open-folder UI (#19851) 2024-10-28 12:55:55 -07:00
collections
command_palette chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
command_palette_hooks chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
context_servers context_servers: Support tools (#19548) 2024-10-28 10:37:58 -04:00
copilot Fix mouse clicks on remote-open-folder UI (#19851) 2024-10-28 12:55:55 -07:00
db chore: Fix some violations of 'needless_pass_by_ref_mut' lint (#18795) 2024-10-07 01:29:58 +02:00
dev_server_projects/src Remove dev servers (#19638) 2024-10-24 12:14:03 -06:00
diagnostics Fix mouse clicks on remote-open-folder UI (#19851) 2024-10-28 12:55:55 -07:00
docs_preprocessor Don't rely on relative path for docs preprocessor (#16883) 2024-08-26 11:43:13 -04:00
editor Fix horizontal scroll caused by diagnostic block width error (#19856) 2024-10-29 09:16:38 -07:00
evals Restore HTTP client transition, but use reqwest everywhere (#19055) 2024-10-11 14:58:58 -07:00
extension Add language toolchains (#19576) 2024-10-28 15:34:03 +01:00
extension_api zed_extension_api: Use v0.2.0 WIT types (#17802) 2024-09-13 14:49:50 -04:00
extension_cli Restore HTTP client transition, but use reqwest everywhere (#19055) 2024-10-11 14:58:58 -07:00
extensions_ui Add settings to remote servers, use XDG paths on remote, and enable node LSPs (#19176) 2024-10-15 23:32:44 -07:00
feature_flags /auto (#16696) 2024-09-13 13:17:49 -04:00
feedback Stop leaking isahc assumption (#18408) 2024-09-26 14:01:05 -06:00
file_finder Add more context to the save new file path picker (#19863) 2024-10-28 17:21:41 -07:00
file_icons
fs Add support for git branches on remote projects (#19755) 2024-10-27 15:50:54 -07:00
fsevent
fuzzy Improve slash commands (#16195) 2024-08-13 23:06:07 -07:00
git Add support for self-hosted GitLab instances for Git permalinks (#19909) 2024-10-29 12:31:51 -04:00
git_hosting_providers Add support for self-hosted GitLab instances for Git permalinks (#19909) 2024-10-29 12:31:51 -04:00
go_to_line More git hunk highlighting fixes (#18459) 2024-09-27 13:48:37 -07:00
google_ai Stop leaking isahc assumption (#18408) 2024-09-26 14:01:05 -06:00
gpui Reland invisibles (#19846) 2024-10-28 20:27:09 -06:00
gpui_macros add ui::Vector and separate images from icons (#17815) 2024-09-13 17:44:16 -04:00
html_to_markdown chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
http_client Add settings to remote servers, use XDG paths on remote, and enable node LSPs (#19176) 2024-10-15 23:32:44 -07:00
image_viewer Fix mouse clicks on remote-open-folder UI (#19851) 2024-10-28 12:55:55 -07:00
indexed_docs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
inline_completion_button Support .editorconfig (#19455) 2024-10-21 13:05:30 +03:00
install_cli
journal chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
language Add language toolchains (#19576) 2024-10-28 15:34:03 +01:00
language_model ollama: Ensure only single task fetches models (#19830) 2024-10-28 15:40:50 +01:00
language_selector use ssh lsp store (#17655) 2024-09-10 15:51:01 -04:00
language_tools language_selector: Fix debug_assert firing off on context menu creation for LSP view (#19854) 2024-10-28 21:55:38 +01:00
languages languages: Enable grammar loading when compiling with test feature (#19881) 2024-10-29 11:00:44 +01:00
live_kit_client chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
live_kit_server Restore HTTP client transition, but use reqwest everywhere (#19055) 2024-10-11 14:58:58 -07:00
lsp Fix a few Windows tests (#19773) 2024-10-26 03:32:22 +03:00
markdown SSH Remoting: Fix yes/no/fingerprint prompt (#19526) 2024-10-21 15:28:22 -06:00
markdown_preview Fix mouse clicks on remote-open-folder UI (#19851) 2024-10-28 12:55:55 -07:00
media Update Rust crate bindgen to 0.70.0 (#17024) 2024-08-28 22:12:49 -07:00
menu
multi_buffer vim: Copy comment to new lines with o/O (#19766) 2024-10-25 16:47:44 -06:00
node_runtime Make python run local worktree LSPs (#18353) 2024-09-25 12:45:41 -07:00
notifications Pass Summary::Context to Item::summarize (#18510) 2024-09-29 10:30:48 -06:00
ollama Fix read timeout for ollama (#18417) 2024-09-27 00:36:17 -06:00
open_ai Stop leaking isahc assumption (#18408) 2024-09-26 14:01:05 -06:00
outline More git hunk highlighting fixes (#18459) 2024-09-27 13:48:37 -07:00
outline_panel Future-proof indent guides settings for panels (#19878) 2024-10-29 09:52:36 +01:00
paths Support .editorconfig (#19455) 2024-10-21 13:05:30 +03:00
picker Add more context to the save new file path picker (#19863) 2024-10-28 17:21:41 -07:00
prettier Ensure shared ssh project propagates buffer changes to all participants (#19907) 2024-10-29 17:24:10 +02:00
project Ensure shared ssh project propagates buffer changes to all participants (#19907) 2024-10-29 17:24:10 +02:00
project_panel Future-proof indent guides settings for panels (#19878) 2024-10-29 09:52:36 +01:00
project_symbols Fix renames over language server for SSH remoting (#17897) 2024-09-16 16:20:17 -06:00
proto ssh remoting: Show the host's GitHub name in the titlebar when sharing an SSH project (#19844) 2024-10-29 09:52:54 +01:00
quick_action_bar Add missing shortcuts in tooltips (#18282) 2024-09-27 11:06:48 +02:00
recent_projects remote servers: Fix title from alpha to beta (#19889) 2024-10-29 13:38:30 +01:00
refineable
release_channel chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
remote ssh remoting: Check nightly version correctly by comparing commit SHA (#19884) 2024-10-29 11:32:55 +01:00
remote_server ssh remoting: Check nightly version correctly by comparing commit SHA (#19884) 2024-10-29 11:32:55 +01:00
repl Allow editor blocks to replace ranges of text (#19531) 2024-10-25 12:29:25 +02:00
reqwest_client reqwest_client: Fix socks proxy settings (#19123) 2024-10-18 09:57:00 -07:00
rich_text Disable definition lists in Markdown (#17648) 2024-09-10 11:16:27 -04:00
rope Pass Summary::Context to Item::summarize (#18510) 2024-09-29 10:30:48 -06:00
rpc Add support for git branches on remote projects (#19755) 2024-10-27 15:50:54 -07:00
search Fix mouse clicks on remote-open-folder UI (#19851) 2024-10-28 12:55:55 -07:00
semantic_index semantic_index: Disable embeddings index for non-staff (#19618) 2024-10-23 12:34:51 -04:00
semantic_version
session chore: Fix some violations of 'needless_pass_by_ref_mut' lint (#18795) 2024-10-07 01:29:58 +02:00
settings Add support for git branches on remote projects (#19755) 2024-10-27 15:50:54 -07:00
settings_ui chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
snippet
snippet_provider chore: Fix some violations of 'needless_pass_by_ref_mut' lint (#18795) 2024-10-07 01:29:58 +02:00
snippets_ui Add snippet commands (#18453) 2024-10-02 13:27:16 +02:00
sqlez Restore HTTP client transition, but use reqwest everywhere (#19055) 2024-10-11 14:58:58 -07:00
sqlez_macros Compare migrations formatted uniformly (#18760) 2024-10-05 12:58:45 +03:00
story chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
storybook project panel: Add indent guides (#18260) 2024-10-24 13:07:20 +02:00
sum_tree Pass Summary::Context to Item::summarize (#18510) 2024-09-29 10:30:48 -06:00
supermaven Cap the size of the Supermaven states buffer (#19246) 2024-10-23 10:36:14 +03:00
supermaven_api chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
tab_switcher tab_switcher: Use git-aware colors for file icons (#18733) 2024-10-04 10:37:41 -04:00
task Fix remoting things (#19587) 2024-10-23 00:14:43 -07:00
tasks_ui Add more context to the save new file path picker (#19863) 2024-10-28 17:21:41 -07:00
telemetry_events collab: Remove dependency on X11 (#19079) 2024-10-11 13:28:34 -04:00
terminal ssh remoting: Fix wrong working directory for SSH terminals (#19672) 2024-10-24 13:52:26 +02:00
terminal_view Fix mouse clicks on remote-open-folder UI (#19851) 2024-10-28 12:55:55 -07:00
text Restructure assistant edits to show all changes in a proposed-change editor (#18240) 2024-10-17 13:18:13 -04:00
theme Update outline panel representation when a theme is changed (#19747) 2024-10-25 22:04:02 +03:00
theme_importer chore: Another round of style lints fixes (#17519) 2024-09-07 02:36:55 +02:00
theme_selector
time_format chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
title_bar ssh remoting: Hide share button while connecting to project (#19885) 2024-10-29 12:13:21 +01:00
toolchain_selector Add language toolchains (#19576) 2024-10-28 15:34:03 +01:00
ui Fix mouse clicks on remote-open-folder UI (#19851) 2024-10-28 12:55:55 -07:00
ui_input
ui_macros Add ui_macros crate & DerivePathStr derive macro (#17811) 2024-09-13 16:45:16 -04:00
util Add support for git branches on remote projects (#19755) 2024-10-27 15:50:54 -07:00
vcs_menu vsc menu: Fix issue when switching branch while non-visible worktree is open (#19888) 2024-10-29 12:27:30 +01:00
vim vim: Copy comment to new lines with o/O (#19766) 2024-10-25 16:47:44 -06:00
welcome Fix mouse clicks on remote-open-folder UI (#19851) 2024-10-28 12:55:55 -07:00
workspace ssh remoting: Hide share button while connecting to project (#19885) 2024-10-29 12:13:21 +01:00
worktree Add support for self-hosted GitLab instances for Git permalinks (#19909) 2024-10-29 12:31:51 -04:00
zed Use same logic for skipping single instance check on Linux as on Mac/Win (#19446) 2024-10-29 09:12:34 -07:00
zed_actions Add settings to remote servers, use XDG paths on remote, and enable node LSPs (#19176) 2024-10-15 23:32:44 -07:00