Code AI platform with Code Search & Cody
Go to file
ᴜɴᴋɴᴡᴏɴ bbc79fc6f4
auth: only enforce password length for built-in auth (#8162)
* conf: add AuthMinPasswordLength to handle default value

* auth: only enforce password length for built in auth

* db: add more unit tests

* graphqlbackend: revert enforce for admin-created accounts

* db: fix typo

* db: adjust unit tests

* buildkite/e2e: change test user password to be compliant with minPasswordLength
2020-02-03 18:34:56 +08:00
.buildkite auth: only enforce password length for built-in auth (#8162) 2020-02-03 18:34:56 +08:00
.github Split ownership of a8n code into web and core (#7976) 2020-01-24 10:52:47 +01:00
.storybook More optional chaining (#6891) 2019-11-27 16:20:11 +01:00
.vscode Use Mocha for e2e and regression tests (#7872) 2020-01-20 11:55:15 +01:00
browser Fix getPageInfo() for gitlab.com MRs (#8135) 2020-01-30 13:33:42 +01:00
client mv client/browser browser (#3826) 2019-05-06 19:36:03 +02:00
cmd auth: only enforce password length for built-in auth (#8162) 2020-02-03 18:34:56 +08:00
dev [ci] db backcompat: install .tool-versions from OLD commit (#8128) 2020-01-29 15:06:23 -08:00
doc Fixed doc page hierarchy, removing inline h1 headings (#8170) 2020-02-03 11:39:27 +10:00
docker-images add curl to sourcegraph/* docker images (#8098) 2020-01-29 17:40:04 -08:00
enterprise Batch-fetch GitLab Project visibility when computing permissions (#8171) 2020-02-02 07:48:33 -08:00
internal auth: only enforce password length for built-in auth (#8162) 2020-02-03 18:34:56 +08:00
lsif Update dependency sinon to ^8.1.1 (#8216) 2020-02-01 17:35:54 +01:00
migrations email: add verification cool down to prevent abuse (#8136) 2020-02-01 06:39:18 +08:00
packages Bump extension-api-types version to 2.1.0. (#8158) 2020-01-31 10:35:24 -06:00
schema Batch-fetch GitLab Project visibility when computing permissions (#8171) 2020-02-02 07:48:33 -08:00
shared Interactive mode: handle all filters (#8132) 2020-01-31 19:06:55 +08:00
ui/assets simplify Activation{Dropdown,Checklist} styles (#4538) 2019-06-16 19:44:30 -07:00
web Move scope page out of input subdirectory (#8152) 2020-02-03 10:55:00 +08:00
.dockerignore Remove the management console (#7197) 2019-12-16 21:30:51 -07:00
.editorconfig Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.eslintrc.js Update dependency @sourcegraph/eslint-config to ^0.4.0 (#6445) 2019-11-05 22:40:54 +01:00
.gitattributes Don't count fixtures into GitHub language stats (#5817) 2019-10-02 17:22:49 +02:00
.gitignore use eslint cache (#7384) 2019-12-26 22:18:42 -08:00
.gitmodules Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.graphqlconfig prefer using the Prisma GraphQL VS Code extension (#5268) 2019-08-18 04:05:33 -07:00
.mailmap Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.mocharc.js Fix regressions in regression suite (#7894) 2020-01-20 09:22:30 -06:00
.nvmrc Update Node.js to v13.6.0 (#7533) 2020-01-10 02:58:25 +01:00
.prettierignore Remove the management console (#7197) 2019-12-16 21:30:51 -07:00
.stylelintrc.json Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.tool-versions upgrade go to 1.13.7 (#8093) 2020-01-28 11:59:49 -08:00
.yarnrc Use npmjs.org instead of yarnpkg.com (#926) 2018-11-10 12:14:21 -08:00
babel.config.js RFC14 Autocomplete Suggestions - Front-End (#6105) 2019-11-14 14:42:48 +00:00
CHANGELOG.md CHANGELOG: upgrade policy change (#8169) 2020-02-01 17:24:52 -08:00
CONTRIBUTING.md fix: update broken link to code of conduct (#7781) 2020-01-15 13:45:14 -08:00
doc.go Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
go.mod gomod: update zoekt (#8076) 2020-01-28 05:40:45 +02:00
go.sum gomod: update zoekt (#8076) 2020-01-28 05:40:45 +02:00
graphql-schema-linter.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
gulpfile.js Fix copying integration assets (#7195) 2019-12-14 19:54:21 -05:00
jest.config.base.js Add MonacoQueryInput: search field with syntax highlighting, hovers, diagnostics (#7669) 2020-01-16 12:04:59 -05:00
jest.config.js SQLite backend (#5332) 2019-09-13 14:42:49 -05:00
LICENSE clarify license (#2543) 2019-03-03 16:39:46 +08:00
LICENSE.apache clarify license (#2543) 2019-03-03 16:39:46 +08:00
LICENSE.enterprise clarify license (#2543) 2019-03-03 16:39:46 +08:00
package.json Update dependency sinon to ^8.1.1 (#8216) 2020-02-01 17:35:54 +01:00
prettier.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
README.md dev: Rename launch.sh to start.sh (#6889) 2019-11-27 17:12:18 +02:00
renovate.json Configure Beyang as owner of dev/release deps (#6555) 2019-11-12 22:27:01 +01:00
SECURITY.md consolidate security policy (#7906) 2020-01-21 10:03:11 -08:00
tsconfig.json Use Mocha for e2e and regression tests (#7872) 2020-01-20 11:55:15 +01:00
tslint.config.js Migrate to ESLint 🔧 (#5072) 2019-08-06 03:39:54 +02:00
yarn.lock a8n: Add labels to changesets (#8115) 2020-02-02 00:05:19 +01:00

Sourcegraph

build apache license

Sourcegraph OSS edition is a fast, open-source, fully-featured code search and navigation engine. Enterprise editions are available.

Screenshot

Features

Try it yourself

Development

Prerequisites

  • Git
  • Go (1.13 or later)
  • Docker
  • PostgreSQL (v11 or higher)
  • Node.js (version 8 or 10)
  • Redis
  • Yarn
  • Nginx

For a detailed guide to installing prerequisites, see these instructions.

Installation

Prebuilt Docker images are the fastest way to use Sourcegraph Enterprise. See the quickstart installation guide.

To use Sourcegraph OSS:

  1. Ensure Docker is running

  2. Initialize the PostgreSQL database

  3. Start the development server

    ./dev/start.sh
    

Sourcegraph should now be running at http://localhost:3080.

For detailed instructions and troubleshooting, see the local development documentation.

Documentation

The docs folder has additional documentation for developing and understanding Sourcegraph:

License

Sourcegraph OSS is available freely under the Apache 2 license. Sourcegraph OSS comprises all files in this repository except those in the enterprise/ and web/src/enterprise directories.

All files in the enterprise/ and web/src/enterprise/ directories are subject to the Sourcegraph Enterprise license.