Commit graph

562 commits

Author SHA1 Message Date
bkellam
1cc23818c2 Update AI SDK dependencies 2025-07-24 16:14:59 -07:00
bkellam
732505be0e fix build 2025-07-24 12:13:06 -07:00
bkellam
e150310c98 fix: Fix chat title generation. Also improve how errors are reported 2025-07-24 12:05:39 -07:00
msukkari
d46615c4b2 add retry for config loading 2025-07-24 11:35:00 -07:00
msukkari
63d3123fa7 hide member page if not owner 2025-07-24 10:37:15 -07:00
Brendan Kellam
dbd8ef7fdb
fix: Fix issue with ambiguous references (#393) 2025-07-24 10:21:00 -07:00
msukkari
da8d49f8d9 add additional model providers 2025-07-23 16:53:43 -07:00
bkellam
f0fd44fac1 fix: Add bounds checks to codemirror code folding extension and other places to avoid crashes. 2025-07-23 16:32:39 -07:00
bkellam
ea655f4d4a fix: Add citation repairing. Also remove revision as a tool param. 2025-07-23 15:50:23 -07:00
bkellam
11099695da fix: Move search mode selection into a cookie to avoid SSR flashes 2025-07-23 14:45:55 -07:00
bkellam
eb04422b9f add troubleshooting step for network timeouts 2025-07-23 14:05:52 -07:00
bkellam
78c07b814b Add sentry capture exception 2025-07-23 13:56:39 -07:00
bkellam
7932d23982 Add missing ARG statements in Dockerfile 2025-07-23 12:09:02 -07:00
bkellam
36ae7cfe52 Add additional debug logs. Also fix build warning about environment variables 2025-07-23 12:03:44 -07:00
bkellam
3c581bd72e switch demo to deploy on main 2025-07-23 11:33:25 -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
msukkari
73972735a3 update README due to FSL relicense 2025-07-20 11:51:10 -07:00
msukkari
bc6023f1e5 make the license a markdown file 2025-07-20 11:49:42 -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
msukkari
eb00d72499 fix bug with anonymous access toggle 2025-07-19 16:18:58 -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
Brendan Kellam
55c8e41137
docs: Add instructions for using GitHub fine grained PATs (#384) 2025-07-17 12:03:13 -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
ee90edc46d minor deployment guide nit 2025-07-15 10:09:47 -07:00
msukkari
48e423b785 new onboarding video 2025-07-15 10:05:24 -07:00
Brendan Kellam
38b2749580
chore: Update docs for vscode MCP GA 2025-07-15 08:53:14 -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
Brendan Kellam
ec26e32a65
chore(devex): Add workflow to remind users to add a changelog entry (#378) 2025-07-14 11:41:13 -07:00
msukkari
8060adee73 fix typo in branch docs 2025-06-30 12:03:50 -07:00
bkellam
74c8ac4e6f fix(docs): Fix nit issue in deployment docs 2025-06-27 13:23:43 -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
6d1b8136ae add missing ee features to license key docs 2025-06-23 13:04:23 -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
Brendan Kellam
fb2ef05172
fix(invites): Fix regression to invite creation (#359) 2025-06-20 12:49:25 -07:00
msukkari
10f9f6b6a3 mcp v1.0.3 2025-06-18 11:32:00 -07:00
msukkari
96905346cc v4.4.0 2025-06-18 11:14:08 -07:00
msukkari
a0a6ab22d8 add news entry for audit logs 2025-06-18 11:01:09 -07:00
Michael Sukkarieh
5438298d61
feat(audit-logging): Adds audit logging support (#355)
* add audit factory skeleton

* add additional audit events

* add more audit logs

* delete account join request when redeeming an invite

* add audit event for account request removed

* wip api to fetch audits

* add check for audit with public access and entitlement

* fix issues with merge

* add docs for audit logs

* add proper audit log for audit fetch and proper handling of api key hash in audit

* format nit

* feedback
2025-06-18 10:50:36 -07:00
Brendan Kellam
1d95e82b95
chore(api): Changed the search api to return raw source (instead of base64 encoding) (#356)
This PR alters the behaviour of the search api (and all apis that depend on it) to return raw source code instead of a base64 encoding. Reasoning: we are decoding it on the client in multiple different places, so it would be beneficial to decode it in a single spot.

**Note**: This is a **breaking change** to the API surface. However, since the API surface is still unofficial/unsupported, I will roll this as a patch version change. See #101
2025-06-17 15:58:04 -07:00
Brendan Kellam
22d548e171
fix(search-contexts): Fix issue where a repository would not appear in a search context if it was created after the search context was created (#354)
## Problem

If a repository is added **after** a search context (e.g., a new repository is synced from the code host), then it will never be added to the context even if it should be included. The workaround is to restart the instance.

## Solution

This PR adds a call to re-sync all search contexts whenever a connection is successfully synced. This PR adds the `@sourcebot/shared` package that contains `syncSearchContexts.ts` (previously in web) and it's dependencies (namely the entitlements system).

## Why another package?

Because the `syncSearchContexts` call is now called from:
1. `initialize.ts` in **web** - handles syncing search contexts on startup and whenever the config is modified in watch mode. This is the same as before.
2. `connectionManager.ts` in **backend** - syncs the search contexts whenever a connection is successfully synced.

## Follow-up devex work
Two things:
1. We have several very thin shared packages (i.e., `crypto`, `error`, and `logger`) that we can probably fold into this "general" shared package. `schemas` and `db` _feels_ like they should remain separate (mostly because they are "code-gen" packages).
2. When running `yarn dev`, any changes made to the shared package will only get picked if you `ctrl+c` and restart the instance. Would be nice if we have watch mode work across package dependencies in the monorepo.
2025-06-17 14:04:25 -07:00
msukkari
c0caa5a8d0 add missing changelog entry 2025-06-13 17:25:44 -07:00
Michael Sukkarieh
9d86052ff5
Delete account join request when redeeming an invite (#352)
* delete account join request when redeeming an invite

* fix account request fetch
2025-06-13 17:22:57 -07:00