Commit graph

281 commits

Author SHA1 Message Date
Brendan Kellam
4899c9fbc7
feat(ee): GitLab permission syncing (#585)
Some checks are pending
Publish to ghcr / build (linux/amd64, blacksmith-4vcpu-ubuntu-2404) (push) Waiting to run
Publish to ghcr / build (linux/arm64, blacksmith-8vcpu-ubuntu-2204-arm) (push) Waiting to run
Publish to ghcr / merge (push) Blocked by required conditions
2025-10-30 11:08:10 -07:00
Brendan Kellam
384aa9ebe6
fix(web): Fix "The account is already associated with another user" errors when signing in with GitLab (#584)
Some checks are pending
Publish to ghcr / build (linux/amd64, blacksmith-4vcpu-ubuntu-2404) (push) Waiting to run
Publish to ghcr / build (linux/arm64, blacksmith-8vcpu-ubuntu-2204-arm) (push) Waiting to run
Publish to ghcr / merge (push) Blocked by required conditions
2025-10-29 21:25:48 -07:00
Michael Sukkarieh
bbb197a9bf
fix(github app): Generate installation tokens each time (#583)
* generate installation tokens each time

* changelog
2025-10-29 18:05:18 -07:00
Brendan Kellam
d09d65dce7
fix(ask): Extract reasoning tokens for openai compatible models (#582) 2025-10-29 17:13:31 -07:00
bkellam
86be06928b sourcebot v4.8.1 2025-10-29 14:09:26 -07:00
Brendan Kellam
63cf48264d
chore(web): Bug fixes related to v4.8.0 release (#581) 2025-10-29 14:05:48 -07:00
bkellam
6a56296a76 sourcebot v4.8.0 2025-10-28 22:38:54 -07:00
Brendan Kellam
a167accd7e
feat(worker,web): Improved connection management (#579) 2025-10-28 21:31:28 -07:00
Michael Sukkarieh
3ff88da33b
feat(ee): Add REST API to get users and delete a user (#578)
* add get users and delete user endpoints

* changelog

* changelog typo

* update license

* add tags to changelog
2025-10-28 17:05:47 -07:00
Michael Sukkarieh
5b1caae854
feat(security): Add env var to restrict api key creation (#577)
Some checks are pending
Publish to ghcr / build (linux/amd64, blacksmith-4vcpu-ubuntu-2404) (push) Waiting to run
Publish to ghcr / build (linux/arm64, blacksmith-8vcpu-ubuntu-2204-arm) (push) Waiting to run
Publish to ghcr / merge (push) Blocked by required conditions
* add env var to restrict api key creation

* changelog
2025-10-28 15:36:29 -07:00
Brendan Kellam
2d3b03bf12
feat(web): Improved repository table (#572)
Some checks are pending
Publish to ghcr / build (linux/amd64, blacksmith-4vcpu-ubuntu-2404) (push) Waiting to run
Publish to ghcr / build (linux/arm64, blacksmith-8vcpu-ubuntu-2204-arm) (push) Waiting to run
Publish to ghcr / merge (push) Blocked by required conditions
2025-10-25 14:51:41 -04:00
Brendan Kellam
a470ab8463
chore(worker): Prometheus metrics for repo index manager (#571)
Some checks failed
Publish to ghcr / build (linux/amd64, blacksmith-4vcpu-ubuntu-2404) (push) Has been cancelled
Publish to ghcr / build (linux/arm64, blacksmith-8vcpu-ubuntu-2204-arm) (push) Has been cancelled
Publish to ghcr / merge (push) Has been cancelled
2025-10-21 20:43:33 -07:00
Michael Sukkarieh
c2299aa86b
feat(auth): github app (#570)
* properly handle emails for github app auth case

* add docs info for auth through github app

* more info in docs for user auth perms

* modify review agent env var names

* github app service auth

* coderabbit suggestions

* fixes

* fix build
2025-10-21 20:17:28 -07:00
Brendan Kellam
03999f0de0
fix(worker): Use indexTimeoutMs setting for job timeout (#567)
Some checks are pending
Publish to ghcr / build (linux/amd64, blacksmith-4vcpu-ubuntu-2404) (push) Waiting to run
Publish to ghcr / build (linux/arm64, blacksmith-8vcpu-ubuntu-2204-arm) (push) Waiting to run
Publish to ghcr / merge (push) Blocked by required conditions
2025-10-20 12:41:09 -07:00
Brendan Kellam
4ebe4e0475
chore(worker,web): Repo indexing stability improvements + perf improvements to web (#563)
Some checks failed
Publish to ghcr / build (linux/amd64, blacksmith-4vcpu-ubuntu-2404) (push) Has been cancelled
Publish to ghcr / build (linux/arm64, blacksmith-8vcpu-ubuntu-2204-arm) (push) Has been cancelled
Publish to ghcr / merge (push) Has been cancelled
2025-10-18 16:31:22 -07:00
prateek singh
5b09757e92
feat(browse): Implement dynamic tab titles for files and folders (#560)
Some checks failed
Publish to ghcr / build (linux/amd64, blacksmith-4vcpu-ubuntu-2404) (push) Has been cancelled
Publish to ghcr / build (linux/arm64, blacksmith-8vcpu-ubuntu-2204-arm) (push) Has been cancelled
Publish to ghcr / merge (push) Has been cancelled
* feat(metadata): Enhance metadata generation for repository browsing
feat(utils): Add parseRepoPath function to extract repository name and revision from URL path

* feat(metadata): update tab title with appropriate file name, path or repository name.

* fix: remove left-over console logs and Async Params resolution.

* feat: refactor parsePathForTitle to utilize getBrowseParamsFromPathParam for cleaner code.

* minor refactoring and adding changelog.

* Remove unused import

* refactor: change parsePathForTitle to a non-exported function

---------

Co-authored-by: Brendan Kellam <bshizzle1234@gmail.com>
2025-10-15 11:44:30 -07:00
Brendan Kellam
c3fae1aaab
feat(web): Improved search performance on unbounded searches (#555) 2025-10-07 23:55:36 -07:00
Brendan Kellam
83c6704b01
fix: Fix git dubious ownership errors (#553) 2025-10-06 19:54:17 -07:00
Brendan Kellam
5e3e4f000a
chore(web): Remove spam "login page loaded" log (#552) 2025-10-06 15:04:41 -07:00
Brendan Kellam
c10010eb99
feat(db): Support passing db connection as separate env vars (#545) 2025-10-02 12:51:39 -07:00
msukkari
5b20911a08 v4.7.3 2025-09-29 10:28:41 -07:00
Michael Sukkarieh
aa62847143
fix(ado): Manually pass token through http header for ado server (#543)
* support passing in token manually in auth header

* remove unneeded PAT embed check

* cleanup authheader usage

* changelog

* var name typo

* unset auth header in fetch

* move unset to finally in fetch
2025-09-27 17:14:29 -07:00
bkellam
66c9ec044e sourcebot v4.7.2 2025-09-22 16:04:32 -07:00
Brendan Kellam
a698afdf13
fix(web): Change buttons into Links in various places (#532) 2025-09-21 15:20:27 -07:00
Brendan Kellam
ef46c0181d
chore: fix support email (#529) 2025-09-21 12:19:12 -07:00
Brendan Kellam
e1b6239e2c
chore(web): Change carousel and repository list links to link to file tree (#528) 2025-09-20 16:52:44 -07:00
Brendan Kellam
5073c7db22
[experimental] feat(ee): GitHub permission syncing (#508) 2025-09-20 16:51:14 -07:00
Brendan Kellam
a76ae68c64
chore(web): Remove join on connections for getRepos (#527) 2025-09-20 11:35:00 -07:00
Brendan Kellam
5bc8fc323a
fix(perf): Add indices to hot paths for repository querying (#526) 2025-09-19 15:42:48 -07:00
msukkari
6710ac8e32 v4.7.1 2025-09-19 09:57:48 -07:00
Michael Sukkarieh
af39b20668
fix(azure): Set username in azuredevops clone url (#524)
* set placeholder username for azuredevops clone url

* changelog
2025-09-19 09:48:58 -07:00
Tarang Chikhalia
7020761ca6
fix(backend): Sourcebot not pulling github forked repos (#499) 2025-09-18 15:06:46 -07:00
msukkari
c250c14fbe v4.7.0 2025-09-17 22:24:19 -07:00
Michael Sukkarieh
e7fa4c4765
feat(connections): Add Azure Devops Support (#514)
* initial ado pol

* add support for ado logo

* default to main instead of HEAD when generating file url

* bump zoekt

* fix(web) Fix "At least one project, user, or group must be specified" for GitLab configs in web configurator (#512)

* feat(ask_sb): Fallback on fromNodeProviderChain if access key or sessionToken are not provided (#513)

* Quote branches argument in zoekt.ts to fix Pipe (#506)

* remove connections settings page

* fix styling and remove additional components

* add changelog

* add docs

* fix build error

* bump zoekt

* fix broken links for ado docs

* fix HEAD support for ado

* changelog

---------

Co-authored-by: Brendan Kellam <bshizzle1234@gmail.com>
Co-authored-by: Michael Dekoski <michaeldekoski@gmail.com>
2025-09-17 22:18:56 -07:00
Michael Sukkarieh
db6e5d4841
chore(web): Remove deprecated connection creation/edit UI (#515)
* remove connections settings page

* fix styling and remove additional components

* add changelog
2025-09-17 17:24:35 -07:00
Michael Dekoski
4a449da7d8
Quote branches argument in zoekt.ts to fix Pipe (#506) 2025-09-17 14:02:09 -07:00
Brendan Kellam
f73a425207
feat(ask_sb): Fallback on fromNodeProviderChain if access key or sessionToken are not provided (#513) 2025-09-17 13:07:45 -07:00
Brendan Kellam
b217fbe07d
fix(web) Fix "At least one project, user, or group must be specified" for GitLab configs in web configurator (#512) 2025-09-17 12:23:11 -07:00
bkellam
fd7bd394e7 sourcebot v4.6.8 2025-09-15 23:18:48 -07:00
Brendan Kellam
c9e864d53a
fix(web): Fix carousel perf issue + improvements to withAuth middleware (#507) 2025-09-15 23:13:29 -07:00
drew-u410
660623ac52
[search bar] multi-line wrap (#501) 2025-09-15 20:42:05 -07:00
Fede Sanchez
7cbda320cb
fix(bitbucket): Bitbucket Cloud pagination not working beyond first page (#502) 2025-09-15 19:43:50 -07:00
bkellam
ccd0706d3f sourcebot v4.6.7 2025-09-08 22:40:28 -04:00
Brendan Kellam
7d0c6588e1
feat(gitlab): Add exclude.userOwnedProjects config setting (#498) 2025-09-08 22:38:18 -04:00
Brendan Kellam
b05fc7a0c8
fix(backend): Explicitly set refspec on fetch (#497) 2025-09-08 16:15:58 -04:00
Brendan Kellam
2309b67999
chore(web): Disable page scroll when using arrow keys on search suggestions box (#493) 2025-09-06 12:16:57 -04:00
Brendan Kellam
a74d070775
feat(ask_sb): Add support for queryParams to OpenAI compatible language model providers (#490) 2025-09-04 18:02:49 -04:00
bkellam
c451a7c304 sourcebot v4.6.6 2025-09-04 11:15:27 -04:00
Brendan Kellam
d694330998
fix(worker): Fix "attempting to index 0 total files" zoekt issue (#488) 2025-09-04 11:14:29 -04:00
bkellam
e31740773e sourcebot v4.6.5 2025-09-02 14:16:53 -04:00
Brendan Kellam
d4cb532e40
fix(web): Fix error when navigating to paths with percent symbols (#485)
* fix

* changelog
2025-09-01 11:45:05 -04:00
Brendan Kellam
2b423ba7e9
fix(worker): Remove setting remote.origin.url for remote git repositories (#483) 2025-08-31 13:52:51 -04:00
Brian Mcclaugherty
ca9069e0fa
Add AWS Bedrock sessionToken (#478)
* add aws bedrock sessionToken

* update changelog for bedrock sessionToken

---------

Co-authored-by: Brendan Kellam <bshizzle1234@gmail.com>
2025-08-25 10:32:59 -04:00
Brendan Kellam
d9fa221d72
chore(web): Upgrade to NextJS 15 (#477) 2025-08-22 14:48:29 -04:00
bkellam
6fc771a0d3 Update references to github discussions over to issues 2025-08-12 14:50:51 -04:00
bkellam
09ffca7a95 sourcebot v4.6.4 2025-08-11 12:40:31 -07:00
Brendan Kellam
111e1c3cee
feat(ask_sb): Add headers param to config to allow users to specify custom headers (#449) 2025-08-08 14:49:00 -07:00
Brendan Kellam
4f2644daa2
fix(ask_sb): Fix long generation times on first message in thread (#447) 2025-08-07 21:56:56 -07:00
Brendan Kellam
0773399392
feat(ask_sb): Add reasoningEffort option to openai provider (#446) 2025-08-07 17:26:51 -07:00
Brendan Kellam
26c553c1c3
chore(ask_sb): Bump AI SDK libs (#444) 2025-08-07 13:16:53 -07:00
Michael Sukkarieh
6a601872e0
fix(structured_logs): Remove prefix (#443)
* fix prefix issue

* changelog
2025-08-07 11:03:29 -07:00
Brendan Kellam
a3d9711178
feat(gerrit): Multi-branch indexing support for Gerrit (#433) 2025-08-05 16:35:47 -07:00
bkellam
d74c943f0a sourcebot v4.6.3 2025-08-04 17:49:13 -07:00
Brendan Kellam
01dee161b3
fix(github): Fix issue with users not getting picked up in GitHub config (#428)
* fix

* changelog
2025-08-04 17:39:28 -07:00
Brendan Kellam
65d3cd9dc6
feat(ask_sb): OpenAI compatible language models (#424)
* wip

* docs + add option for api key

* feedback

* nit
2025-08-04 17:25:54 -07:00
bkellam
0e7fe46d4d sourcebot v4.6.2 2025-07-31 17:51:36 -07:00
Brendan Kellam
14900e47e7
chore(ask_sb): Bump Vercel SDK to official V5 release 🎉 (#417) 2025-07-31 17:50:31 -07:00
Brendan Kellam
48269781b7
chore(ask_sb): Add PostHog telemetry event for new chat thread creation (#418) 2025-07-31 17:49:06 -07:00
Brendan Kellam
163e558b9a
fix(ask_sb): Fix '413 content too large' error (#416) 2025-07-31 16:38:10 -07:00
bkellam
b59fda25fc sourcebot v4.6.1 2025-07-29 22:54:25 -07:00
Michael Sukkarieh
5faf29ab6a
chore(readme): Update README with new videos (#410)
* demo thumbnail

* features image

* features

* fix videos

* fix videos

* fix video references

* readme

* add videos for code nav and file explorer

* video tag test

* video embed test

* autoplay test
2025-07-29 17:47:49 -07:00
Michael Sukkarieh
53edd44462
feat(ask_sb): Add back search scope requirement and other UI changes (#411)
* Revert "Remove search scope constraint"

This reverts commit e69ac0d806.

* add llm section to onboard final page

* add select all button

* add repo snapshot to agentic search and other ui nits

* refactor demo repo index cta into repo snapshop

* changelog
2025-07-29 15:50:36 -07:00
Brendan Kellam
211ad8fb12
feat(ask_sb): Improved search tool ; tools for listing / searching repos ; removed search scope constraint (#400)
* wip

* Add additional tools for repo searching and listing

* Remove search scope constraint

* Only show the selected search scopes when there is > 0

* changelog

* fix build
2025-07-29 10:41:01 -07:00
Brendan Kellam
4343b3c3d5
feat(ask_sb): Add onboarding tutorial (#408) 2025-07-28 23:46:26 -07:00
Michael Sukkarieh
45416a41d1
feat(misc): Add GitHub star toast (#409)
* github star toast

* changelog
2025-07-28 23:39:32 -07:00
dependabot[bot]
50dc59886a
chore(deps): bump form-data from 4.0.2 to 4.0.4 (#407)
* chore(deps): bump form-data from 4.0.2 to 4.0.4

Bumps [form-data](https://github.com/form-data/form-data) from 4.0.2 to 4.0.4.
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md)
- [Commits](https://github.com/form-data/form-data/compare/v4.0.2...v4.0.4)

---
updated-dependencies:
- dependency-name: form-data
  dependency-version: 4.0.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* changelog

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: bkellam <bshizzle1234@gmail.com>
2025-07-28 23:20:59 -07:00
dependabot[bot]
104c8a8416
chore(deps): bump next from 14.2.26 to 14.2.30 (#406)
* chore(deps): bump next from 14.2.26 to 14.2.30

Bumps [next](https://github.com/vercel/next.js) from 14.2.26 to 14.2.30.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.2.26...v14.2.30)

---
updated-dependencies:
- dependency-name: next
  dependency-version: 14.2.30
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* changelog

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: bkellam <bshizzle1234@gmail.com>
2025-07-28 22:05:15 -07:00
Brendan Kellam
da6e913628
chore(ask_sb): Bump AI SDK dependencies (#404)
* w

* changelog
2025-07-28 20:38:16 -07:00
Michael Sukkarieh
6662d20ee8
Search scope refactor (#405)
* new demo card ui

* rename search context to search scope

* rename everything to use search scope

* add changelog entry
2025-07-28 18:12:21 -07:00
Michael Sukkarieh
aebd8df193
feat(search_contexts): Add ability to include/exclude connections in search contexts (#399)
* implement connection filter for search contexts

* changelog
2025-07-27 10:11:58 -07:00
Brendan Kellam
3e50469cf7
fix(web): Fix multiple writes race condition on config file watcher (#398) 2025-07-26 16:42:25 -07:00
msukkari
e404838960 changelog 2025-07-26 09:21:47 -07:00
bkellam
2c7ae9dae5 sourcebot v4.6.0 2025-07-25 18:36:35 -07:00
Brendan Kellam
efc9656b6e
chore(ask_sb): Allow for multiple user feedback (#395) 2025-07-25 13:21:44 -07:00
drew-u410
4e34406386
[bug] onboarding: fix infinite loop when using GCP IAP (#381)
Co-authored-by: Michael Sukkarieh <michael.sukkarieh@mail.mcgill.ca>
2025-07-25 12:03:50 -07:00
Brendan Kellam
2b0dac4782
feat: Ask Sourcebot (#392)
Co-authored-by: msukkari <michael.sukkarieh@mail.mcgill.ca>
2025-07-23 11:25:15 -07:00
msukkari
eb20027210 v4.5.3 2025-07-20 12:00:57 -07:00
Brendan Kellam
efb4eb984a
fix(gitlab): Add configurable query timeout to GitLab client (#390)
* fix

* changelog
2025-07-20 11:59:15 -07:00
Michael Sukkarieh
008d8ecb9f
Relicense core to FSL (#388)
* relicense to FSL

* changelog
2025-07-20 11:48:29 -07:00
msukkari
dea18073b9 v4.5.2 2025-07-19 16:37:56 -07:00
Michael Sukkarieh
aac1d4529e
Add anonymous access option to core (#385)
* migrate anonymous access logic out of ee

* add anonymous access toggle

* handle anon toggle properly based on perms

* add forceEnableAnonymousAccess setting

* add docs for access settings

* change forceEnableAnonymousAccess to be an env var

* add FORCE_ENABLE_ANONYMOUS_ACCESS to list in docs

* add back the enablePublicAccess setting as deprecated

* add changelog entry

* fix build errors

* add news entry for anonymous access

* feedback
2025-07-19 14:04:41 -07:00
Gabriel Dugny
9b13492cb3
chore: Misc typos (UI, docs, code...), Makefile PATH with spaces (#369)
* chore: Fix misc typos (UI, docs, code...)

* chore(dev): Support PATH with spaces in Makefile

E.g. `Application Support` on MacOS

* chore: Typos in schema v2 description

* chore: more typos

* chore(dev): Add _typos.toml
2025-07-16 11:59:01 -07:00
msukkari
5ea6922509 v4.5.1 2025-07-14 20:18:22 -07:00
Michael Sukkarieh
173a56ab64
Revamp onboarding flow (#376)
* sign up copy nits

* first pass at new onboarding page

* wip join onboard logic

* refactor auth provider fetch logic

* add member approval and invite link flag logic

* update join request flow and remove jit logic

* onboard guard

* nits, onboard role check, invite link enabled check

* fix bg color issue in onboarding page

* refactor onboard UI

* ui nits and more onboarding resource cards

* revamp auth docs

* change member approval default behavior and updated docs

* merge prisma migrations

* add id to resource card

* feedback

* feedback

* feedback and fixed build

* settings drop down UI nit

* ui nits

* handle join when max capacity case

* add news data for member toggle

* refactor for public access case

* add iap bridge to onboard logic

* fetch member approval req and invite link enabled flag on server

* ui nits

* fix invite link enable toggle snapping issue

* ui nits

* styling and ui nits, pass in invite id from server

* add mcp resource in onboard step

* get invite link in server

* fix build issue

* refactor docs on config

* minor doc nit
2025-07-14 20:14:41 -07:00
Brendan Kellam
1384dd870e
fix(browse): Fix issue where files would sometimes never load (#365) 2025-07-14 16:07:09 -07:00
drew-u410
d9d0146c48
[indexing] make retry configurable (#377) 2025-07-14 12:31:34 -07:00
Chris Roberts
ebf6721836
Correctly build URLs to file paths containing spaces (#364)
Previously, such paths would have their spaces replaced with `/`s,
breaking external links to the file.

Fixes #249
2025-06-24 11:57:55 -07:00
msukkari
57e14ba2d7 v4.5.0 2025-06-21 12:13:05 -07:00
Michael Sukkarieh
1c790ec169
Adds code navigation and highlighting support for Tcl (#362)
* use new tcl codemirror package

* update to new tcl version:

* add changelog entry
2025-06-21 12:10:11 -07:00
Michael Sukkarieh
4bb93c9f3e
feat(analytics): Adds analytics dashboard (#358)
* add deps

* hook up dau from audit table to analytics page

* add audit event for code nav

* analytics dashboard

* add changelog entry

* add news entry

* smaller video and news data nit

* feedback
2025-06-20 14:57:05 -07:00