Find a file
Stan Hu 0c43170630 Fix cross-origin errors when attempting to download JavaScript attachments
If you upload a file with a .js extension, Rails' cross-origin JavaScript
protection will prevent a user from downloading the file with a 422 error.
Setting the content-type to `text/plain` will allow the user to download
the file as a plaintext file.

Closes #45826
2018-05-13 21:49:51 -07:00
.github
.gitlab Update Security Developer Workflow.md 2018-05-07 09:44:35 +00:00
app Fix cross-origin errors when attempting to download JavaScript attachments 2018-05-13 21:49:51 -07:00
bin add initial dev task template for working on a security issue 2018-04-17 16:50:16 +00:00
builds
changelogs Fix cross-origin errors when attempting to download JavaScript attachments 2018-05-13 21:49:51 -07:00
config Merge branch 'zj-validation-initializer' into 'master' 2018-05-11 08:19:30 +00:00
db Merge branch 'master' into 'fix-project-mirror-data-schema' 2018-05-09 17:09:25 +00:00
doc Merge branch 'docs-fixed-typo-microsoft-teams-slug' into 'master' 2018-05-11 17:12:06 +02:00
docker
features Replace features/project/merge_requests/references.featue 2018-05-10 11:39:30 +11:00
fixtures/emojis Move :gay_pride_flag: to flags category 2017-11-15 07:36:19 -06:00
generator_templates Run plugins as separate process and pass data via STDIN 2018-02-26 16:06:49 +02:00
lib Merge branch 'rd-remove-duplicate-method' into 'master' 2018-05-11 18:15:44 +00:00
locale Add more i18n for runner pages 2018-05-09 09:37:51 +02:00
log
plugins/examples Reorganize plugins dir structure 2018-02-26 16:06:49 +02:00
public Add the /help page in robots.txt 2018-03-22 10:55:02 +01:00
qa Succeed or fail fast based on job status first 2018-05-08 11:56:43 -07:00
rubocop Introduce spec/fast_spec_helper.rb to run spec files that don't rely on the whole Rails env 2018-04-23 12:20:30 +02:00
scripts Fix scripts/prune-old-flaky-specs requires Bundler to run 2018-04-11 23:07:05 +02:00
shared
spec Fix cross-origin errors when attempting to download JavaScript attachments 2018-05-13 21:49:51 -07:00
symbol
tmp
vendor Vendor Auto DevOps template 2018-05-11 14:20:19 +00:00
.babelrc only apply rewire plugin when running karma tests 2018-04-23 00:54:21 -05:00
.codeclimate.yml Don't run RuboCop nor ESLint checks in the codequality job as this is already done by the static-analysis job 2018-04-04 17:27:32 +02:00
.csscomb.json
.eslintignore update eslintignore for node scripts 2018-03-23 11:53:12 -05:00
.eslintrc Prettier Phase 1: Prettier Configuration, Prettifying of files and documentation 2018-03-14 19:32:36 +00:00
.flayignore Fix bunch of texts 2018-04-06 04:41:45 +09:00
.foreman
.gitignore Ignore knapsack and rspec_flaky 2018-05-04 20:51:03 +08:00
.gitlab-ci.yml Don't run JS lint for QA either 2018-04-27 18:57:18 +08:00
.haml-lint.yml
.mailmap
.nvmrc Update .nvmrc to current stable (v9.0.0) 2017-11-02 13:15:39 +01:00
.pkgr.yml
.prettierignore ensure stylesheets are included as well, make prettierrc even more inclusive 2018-03-23 12:56:57 -05:00
.prettierrc ensure stylesheets are included as well, make prettierrc even more inclusive 2018-03-23 12:56:57 -05:00
.rubocop.yml Merge branch 'fj-15329-services-callbacks-ssrf' into 'security-10-6' 2018-03-21 14:39:21 +00:00
.rubocop_todo.yml Move spec helpers/matchers/shared examples/contexts to their relevant folder 2018-04-23 12:20:30 +02:00
.ruby-version Bump .ruby-version from 2.3.6 to 2.3.7 2018-04-09 06:47:08 -07:00
.scss-lint.yml Web IDE blob image + default fallback 2018-04-06 17:49:06 +00:00
CHANGELOG.md Update CHANGELOG.md for 10.7.3 2018-05-02 16:36:13 -05:00
config.ru Increase the memory limits used in the unicorn killer 2018-03-22 17:21:10 -07:00
CONTRIBUTING.md Change the docs license to CC BY-SA 2018-05-03 17:11:11 +02:00
doc_styleguide.md
docker-compose.yml
Gemfile [Rails5] Bump Rails to 5.0.7 and set atomic to 1.1.99 2018-05-11 09:54:27 +11:00
Gemfile.lock Merge branch 'update-gon' into 'master' 2018-05-10 15:50:13 +00:00
Gemfile.rails5 [Rails5] Add Gemfile.rails5 2018-03-15 09:50:16 +11:00
Gemfile.rails5.lock [Rails5] Bump Rails to 5.0.7 and set atomic to 1.1.99 2018-05-11 09:54:27 +11:00
GITALY_SERVER_VERSION Fix finding wiki pages when they have invalidly-encoded content 2018-05-09 18:03:03 +02:00
GITLAB_PAGES_VERSION Use GitLab Pages v0.9.1 2018-04-30 11:39:02 +01:00
GITLAB_SHELL_VERSION Use gitlab-shell 7.1.2 2018-04-09 15:28:46 +02:00
GITLAB_WORKHORSE_VERSION Use gitlab-workhorse 4.2.0 2018-05-01 15:04:10 +02:00
LICENSE Change the docs license to CC BY-SA 2018-05-03 17:11:11 +02:00
MAINTENANCE.md
package.json refactor "deploy_keys" to use axios 2018-05-09 17:57:01 +00:00
PROCESS.md Clarify that the Pick Into X.Y label is added after approval 2018-03-08 10:29:53 +00:00
Procfile Launch mail_room manually and remove foreman reference 2018-03-21 11:52:05 -05:00
Rakefile
README.md edit GitLab license info so that GitHub recognizes it 2018-04-10 11:13:07 -07:00
VERSION Update VERSION to 10.8.0-pre 2018-04-20 11:08:55 +02:00
yarn.lock refactor "deploy_keys" to use axios 2018-05-09 17:57:01 +00:00

GitLab

Build status Overall test coverage Dependency Status Code Climate Core Infrastructure Initiative Best Practices Gitter

Test coverage

  • Ruby coverage Ruby
  • JavaScript coverage JavaScript

Canonical source

The canonical source of GitLab Community Edition is hosted on GitLab.com.

Open source software to collaborate on code

To see how GitLab looks please see the features page on our website.

  • Manage Git repositories with fine grained access controls that keep your code secure
  • Perform code reviews and enhance collaboration with merge requests
  • Complete continuous integration (CI) and CD pipelines to builds, test, and deploy your applications
  • Each project can also have an issue tracker, issue board, and a wiki
  • Used by more than 100,000 organizations, GitLab is the most popular solution to manage Git repositories on-premises
  • Completely free and open source (MIT Expat license)

Hiring

We're hiring developers, support people, and production engineers all the time, please see our jobs page.

Editions

There are two editions of GitLab:

  • GitLab Community Edition (CE) is available freely under the MIT Expat license.
  • GitLab Enterprise Edition (EE) includes extra features that are more useful for organizations with more than 100 users. To use EE and get official support please become a subscriber.

Website

On about.gitlab.com you can find more information about:

Requirements

Please see the requirements documentation for system requirements and more information about the supported operating systems.

Installation

The recommended way to install GitLab is with the Omnibus packages on our package server. Compared to an installation from source, this is faster and less error prone. Just select your operating system, download the respective package (Debian or RPM) and install it using the system's package manager.

There are various other options to install GitLab, please refer to the installation page on the GitLab website for more information.

You can access a new installation with the login root and password 5iveL!fe, after login you are required to set a unique password.

Contributing

GitLab is an open source project and we are very happy to accept community contributions. Please refer to CONTRIBUTING.md for details.

Licensing

GitLab Community Edition (CE) is available freely under the MIT Expat license.

All third party components incorporated into the GitLab Software are licensed under the original license provided by the owner of the applicable component.

Install a development environment

To work on GitLab itself, we recommend setting up your development environment with the GitLab Development Kit. If you do not use the GitLab Development Kit you need to install and setup all the dependencies yourself, this is a lot of work and error prone. One small thing you also have to do when installing it yourself is to copy the example development unicorn configuration file:

cp config/unicorn.rb.example.development config/unicorn.rb

Instructions on how to start GitLab and how to run the tests can be found in the getting started section of the GitLab Development Kit.

Software stack

GitLab is a Ruby on Rails application that runs on the following software:

  • Ubuntu/Debian/CentOS/RHEL/OpenSUSE
  • Ruby (MRI) 2.3
  • Git 2.8.4+
  • Redis 2.8+
  • PostgreSQL (preferred) or MySQL

For more information please see the architecture documentation.

UX design

Please adhere to the UX Guide when creating designs and implementing code.

Third-party applications

There are a lot of third-party applications integrating with GitLab. These include GUI Git clients, mobile applications and API wrappers for various languages.

GitLab release cycle

For more information about the release process see the release documentation.

Upgrading

For upgrading information please see our update page.

Documentation

All documentation can be found on docs.gitlab.com/ce/.

Getting help

Please see Getting help for GitLab on our website for the many options to get help.

Is it any good?

Yes

Is it awesome?

Thanks for asking this question Joshua. These people seem to like it.