sourcegraph/cmd/frontend/internal
Ólafur Páll Geirsson 7bc210bd4e Cody: add support for neovim, cody-cli, eclipse, and visualstudio clients (#63851)
Fixes CODY-2884

Previously, the server could respond with a 406 error when encountering
clients with the following names: cody-cli, eclipse, and visualstudio.
This error seems to only happen for enterprise clients. This PR fixes
the problem by adding special cases for these clients like we already
have for jetbrains and cody web.

<!-- PR description tips:
https://www.notion.so/sourcegraph/Write-a-good-pull-request-description-610a7fd3e613496eb76f450db5a49b6e
-->

## Test plan

See updated test case.
<!-- REQUIRED; info at
https://docs-legacy.sourcegraph.com/dev/background-information/testing_principles
-->

## Changelog

- Fix HTTP 406 error when using the Neovim Cody plugin with Enterprise
instances
<!-- OPTIONAL; info at
https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c
-->
2024-07-16 15:31:58 +02:00
..
app chore/otel-collector: upgrade to v0.103.0, remove jaegerexporter (#63171) 2024-07-10 09:01:41 -07:00
auth Add Support for Counting Tokens for Azure Code and Update in Redis (#63100) 2024-06-28 12:37:53 +00:00
authz fix/frontend/graphql: log and add trace events for all non-not-found errors that occur when fetching permission syncs (#63302) 2024-06-17 13:49:21 -07:00
batches chore: drop isGitHubApp field from batch changes credentials (#63709) 2024-07-09 13:01:33 +02:00
bg Remove old cache cleanup method (#63645) 2024-07-10 02:04:53 +02:00
cli Remove old cache cleanup method (#63645) 2024-07-10 02:04:53 +02:00
clientconfig pass ModelConfigInfo down to client.Get() for self-hosted-models (#63739) 2024-07-09 15:30:37 -07:00
cloneurls dotcom: Remove on-demand cloning of repositories (#63321) 2024-06-26 14:53:14 -07:00
codeintel chore: Remove sentinel code (#61814) 2024-04-12 07:25:40 +02:00
codemonitors bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
cody Fix issue in SAMS account disambiguation (#62738) 2024-05-16 18:45:38 +00:00
codycontext [Backport 5.5.x] Context: return lines around symbol match (#63788) 2024-07-11 16:14:52 -04:00
completions pass ModelConfigInfo down to client.Get() for self-hosted-models (#63739) 2024-07-09 15:30:37 -07:00
compute bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
contentlibrary logger: update log lib and remove use of description (#57690) 2023-10-18 17:29:08 +02:00
context Rename intent API (add chat reference, make the name more idiomatic) (#63416) 2024-06-28 11:55:45 +00:00
dotcom adding deepseek-v2 and deepseek fine-tuned model trained on symbol graph context (#63702) 2024-07-09 17:57:16 +05:30
embeddings bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
enterpriseportal feat/dotcom: add Enterprise Portal auth proxy (#63652) 2024-07-09 13:46:59 -07:00
executorqueue rcache: Explicitly pass redis pool to use (#63644) 2024-07-10 01:23:19 +02:00
githubapp rcache: Explicitly pass redis pool to use (#63644) 2024-07-10 01:23:19 +02:00
guardrails bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
handlerutil chore: Change errors.HasType to respect multi-errors (#63024) 2024-06-06 13:02:14 +00:00
httpapi Cody: add support for neovim, cody-cli, eclipse, and visualstudio clients (#63851) 2024-07-16 15:31:58 +02:00
insights feat: incomplete datapoints can now resolve the affected repositories (#62756) 2024-05-27 10:32:58 +00:00
inventory chore: Centralize languages package as source-of-truth (#63292) 2024-06-18 13:10:24 +00:00
licensing bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
modelconfig pass ModelConfigInfo down to client.Get() for self-hosted-models (#63739) 2024-07-09 15:30:37 -07:00
notebooks notebooks: store default pattern type per notebook (#63472) 2024-07-01 10:45:46 +02:00
own bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
processrestart bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
rbac bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
registry bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
repos/webhooks webhooks: Add support for secrets for Bitbucket Cloud (#63198) 2024-06-18 11:54:01 +02:00
routevar bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
scim bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
search chore: Change errors.HasType to respect multi-errors (#63024) 2024-06-06 13:02:14 +00:00
searchcontexts bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
ssc SSC: Handle team=1 input on checkout form (#62906) 2024-05-28 13:02:02 +02:00
telemetry internal/telemetry: make adding EventsStore middleware easier (#63216) 2024-06-13 11:55:06 +01:00