You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fixed issue with external source code links being broken for paths with spaces. [#364](https://github.com/sourcebot-dev/sourcebot/pull/364)
20
+
- Makes base retry indexing configuration configurable and move from a default of `5s` to `60s`. [#377](https://github.com/sourcebot-dev/sourcebot/pull/377)
21
+
- Fixed issue where files would sometimes never load in the code browser. [#365](https://github.com/sourcebot-dev/sourcebot/pull/365)
12
22
13
23
## [4.5.0] - 2025-06-21
14
24
@@ -229,7 +239,7 @@ Sourcebot v3 is here and brings a number of structural changes to the tool's fou
229
239
230
240
### Added
231
241
232
-
- Added `maxTrigramCount` to the config to control the maximum allowable of trigrams per document.
242
+
- Added `maxTrigramCount` to the config to control the maximum allowable of trigrams per document.
233
243
234
244
### Fixed
235
245
@@ -287,7 +297,7 @@ Sourcebot v3 is here and brings a number of structural changes to the tool's fou
287
297
- Added config option `settings.maxFileSize` to control the maximum file size zoekt will index. ([#118](https://github.com/sourcebot-dev/sourcebot/pull/118))
288
298
289
299
### Fixed
290
-
300
+
291
301
- Fixed syntax highlighting for zoekt query language. ([#115](https://github.com/sourcebot-dev/sourcebot/pull/115))
292
302
- Fixed issue with Gerrit repo fetching not paginating. ([#114](https://github.com/sourcebot-dev/sourcebot/pull/114))
293
303
- Fixed visual issues with filter panel. ([#105](https://github.com/sourcebot-dev/sourcebot/pull/105))
@@ -339,13 +349,13 @@ Sourcebot v3 is here and brings a number of structural changes to the tool's fou
339
349
### Added
340
350
341
351
- Added `DOMAIN_SUB_PATH` environment variable to allow overriding the default domain subpath. ([#74](https://github.com/sourcebot-dev/sourcebot/pull/74))
342
-
- Added option `all` to the GitLab index schema, allowing for indexing all projects in a self-hosted GitLab instance. ([#84](https://github.com/sourcebot-dev/sourcebot/pull/84))
352
+
- Added option `all` to the GitLab index schema, allowing for indexing all projects in a self-hosted GitLab instance. ([#84](https://github.com/sourcebot-dev/sourcebot/pull/84))
343
353
344
354
## [2.4.3] - 2024-11-18
345
355
346
356
### Changed
347
357
348
-
- Bumped NodeJS version to v20. ([#78](https://github.com/sourcebot-dev/sourcebot/pull/78))
358
+
- Bumped NodeJS version to v20. ([#78](https://github.com/sourcebot-dev/sourcebot/pull/78))
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@
38
38
39
39
6. Create a copy of `.env.development` and name it `.env.development.local`. Update the required environment variables.
40
40
41
-
7. If you're using a declerative configuration file, create a configuration file and update the `CONFIG_PATH` environment variable in your `.env.development.local` file.
41
+
7. If you're using a declarative configuration file, create a configuration file and update the `CONFIG_PATH` environment variable in your `.env.development.local` file.
If member approval is enabled, new members will be asked to submit a join request after signing up. They will not have access to the Sourcebot deployment
21
+
until this request is approved by the owner.
22
+
23
+
The owner can see and manage all pending join requests by navigating to **Settings -> Members**.
24
+
25
+
## Invite link
26
+
27
+
If member approval is required, an owner of the deployment can enable an invite link. When enabled, users
28
+
can use this invite link to register and be automatically added to the organization without approval:
29
+
30
+

<Warning>If you're deploying Sourcebot behind a domain, you must set the [AUTH_URL](/docs/configuration/environment-variables) environment variable.</Warning>
6
6
7
-
Sourcebot has built-in authentication that gates access to your organization. OAuth, email codes, and email / password are supported.
7
+
Sourcebot's built-in authentication system gates your deployment, and allows administrators to manage users and their permissions.
Have a question about Sourcebot's auth system? We might have the answers here.
21
+
</Card>
22
+
</CardGroup>
8
23
9
-
The first account that's registered on a Sourcebot deployment is made the owner. All other users who register must be [approved](/docs/configuration/auth/overview#approving-new-members) by the owner.
10
-
11
-

12
-
13
-
14
-
# Approving New Members
15
-
16
-
All account registrations after the first account must be approved by the owner. The owner can see all join requests by going into **Settings -> Members**.
17
-
18
-
If you have an [enterprise license](/docs/license-key), you can enable [AUTH_EE_ENABLE_JIT_PROVISIONING](/docs/configuration/auth/overview#enterprise-authentication-providers) to
19
-
have Sourcebot accounts automatically created and approved on registration.
20
-
21
-
You can setup emails to be sent when new join requests are created/approved by configurating [transactional emails](/docs/configuration/transactional-emails)
22
-
# Authentication Providers
23
-
24
-
To enable an authentication provider in Sourcebot, configure the required environment variables for the provider. Under the hood, Sourcebot uses Auth.js which supports [many providers](https://authjs.dev/getting-started/authentication/oauth). Submit a [feature request on GitHub](https://github.com/sourcebot-dev/sourcebot/discussions/categories/ideas) if you want us to add support for a specific provider.
25
-
26
-
## Core Authentication Providers
27
-
28
-
### Email / Password
29
-
---
30
-
Email / password authentication is enabled by default. It can be **disabled** by setting `AUTH_CREDENTIALS_LOGIN_ENABLED` to `false`.
31
-
32
-
### Email codes
33
-
---
34
-
Email codes are 6 digit codes sent to a provided email. Email codes are enabled when transactional emails are configured using the following environment variables:
35
-
36
-
-`AUTH_EMAIL_CODE_LOGIN_ENABLED`
37
-
-`SMTP_CONNECTION_URL`
38
-
-`EMAIL_FROM_ADDRESS`
39
-
40
-
41
-
See [transactional emails](/docs/configuration/transactional-emails) for more details.
42
-
43
-
## Enterprise Authentication Providers
44
-
45
-
The following authentication providers require an [enterprise license](/docs/license-key) to be enabled.
46
-
47
-
By default, a new user registering using these providers must have their join request accepted by the owner of the organization to join. To allow a user to join automatically when
48
-
they register for the first time, set the `AUTH_EE_ENABLE_JIT_PROVISIONING` environment variable to `true`.
-`AUTH_EE_GITLAB_BASE_URL` - Base URL for GitLab instance (defaults to https://gitlab.com)
73
-
74
-
### Google
75
-
---
76
-
77
-
[Auth.js Google Provider Docs](https://authjs.dev/getting-started/providers/google)
78
-
79
-
**Required environment variables:**
80
-
-`AUTH_EE_GOOGLE_CLIENT_ID`
81
-
-`AUTH_EE_GOOGLE_CLIENT_SECRET`
82
-
83
-
### GCP IAP
84
-
---
85
-
86
-
<Note>If you're running Sourcebot in an environment that blocks egress, make sure you allow the [IAP IP ranges](https://www.gstatic.com/ipranges/goog.json)</Note>
87
-
88
-
Custom provider built to enable automatic Sourcebot account registration/login when using GCP IAP.
89
-
90
-
**Required environment variables**
91
-
-`AUTH_EE_GCP_IAP_ENABLED`
92
-
-`AUTH_EE_GCP_IAP_AUDIENCE`
93
-
- This can be found by selecting the ⋮ icon next to the IAP-enabled backend service and pressing `Get JWT audience code`
0 commit comments