mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-13 21:05:22 +00:00
Sourcebot V4 introduces authentication, performance improvements and code navigation. Checkout the [migration guide](https://docs.sourcebot.dev/self-hosting/upgrade/v3-to-v4-guide) for information on upgrading your instance to v4. ### Changed - [**Breaking Change**] Authentication is now required by default. Notes: - When setting up your instance, email / password login will be the default authentication provider. - The first user that logs into the instance is given the `owner` role. ([docs](https://docs.sourcebot.dev/docs/more/roles-and-permissions)). - Subsequent users can request to join the instance. The `owner` can approve / deny requests to join the instance via `Settings` > `Members` > `Pending Requests`. - If a user is approved to join the instance, they are given the `member` role. - Additional login providers, including email links and SSO, can be configured with additional environment variables. ([docs](https://docs.sourcebot.dev/self-hosting/configuration/authentication)). - Clicking on a search result now takes you to the `/browse` view. Files can still be previewed by clicking the "Preview" button or holding `Cmd` / `Ctrl` when clicking on a search result. [#315](https://github.com/sourcebot-dev/sourcebot/pull/315) ### Added - [Sourcebot EE] Added search-based code navigation, allowing you to jump between symbol definition and references when viewing source files. [Read the documentation](https://docs.sourcebot.dev/docs/search/code-navigation). [#315](https://github.com/sourcebot-dev/sourcebot/pull/315) - Added collapsible filter panel. [#315](https://github.com/sourcebot-dev/sourcebot/pull/315) ### Fixed - Improved scroll performance for large numbers of search results. [#315](https://github.com/sourcebot-dev/sourcebot/pull/315)
35 lines
No EOL
1.4 KiB
TypeScript
35 lines
No EOL
1.4 KiB
TypeScript
|
|
// @note: Order is important here.
|
|
export enum OnboardingSteps {
|
|
CreateOrg = 'create-org',
|
|
ConnectCodeHost = 'connect-code-host',
|
|
InviteTeam = 'invite-team',
|
|
Checkout = 'checkout',
|
|
Complete = 'complete',
|
|
}
|
|
|
|
export const ENTERPRISE_FEATURES = [
|
|
"All Team features",
|
|
"Dedicated Slack support channel",
|
|
"Single tenant deployment",
|
|
"Advanced security features",
|
|
]
|
|
|
|
export const TEAM_FEATURES = [
|
|
"Index thousands of repos from multiple code hosts (GitHub, GitLab, Gerrit, Gitea, etc.). Self-hosted code hosts supported.",
|
|
"Public and private repos supported.",
|
|
"Create shareable links to code snippets.",
|
|
"Built on-top of zoekt, Google's code search engine. Blazingly fast and powerful (regex, symbol) code search.",
|
|
]
|
|
|
|
export const MOBILE_UNSUPPORTED_SPLASH_SCREEN_DISMISSED_COOKIE_NAME = 'sb.mobile-unsupported-splash-screen-dismissed';
|
|
|
|
// NOTE: changing SOURCEBOT_GUEST_USER_ID may break backwards compatibility since this value is used
|
|
// to detect old guest users in the DB. If you change this value ensure it doesn't break upgrade flows
|
|
export const SOURCEBOT_GUEST_USER_ID = '1';
|
|
export const SOURCEBOT_GUEST_USER_EMAIL = 'guest@sourcebot.dev';
|
|
export const SINGLE_TENANT_ORG_ID = 1;
|
|
export const SINGLE_TENANT_ORG_DOMAIN = '~';
|
|
export const SINGLE_TENANT_ORG_NAME = 'default';
|
|
|
|
export const SOURCEBOT_SUPPORT_EMAIL = 'team@sourcebot.dev'; |