Find a file
Stan Hu 1f18823687 Downcase aliased OAuth2 callback providers
Users may specify an OAuth2 callback with a custom name, such as
AWSCognito, but Rails will reject this with the following message:

```
'import/AWSCognito' is not a supported controller name. This can
lead to potential routing problems. See
http://guides.rubyonrails.org/routing.html#specifying-a-controller-to-use
```

To avoid these errors, we can just downcase all the provider names.
Note that this will make it impossible to specify a duplicate name with
different cases.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/57156
2019-02-01 22:32:53 -08:00
.github
.gitlab Merge branch 'mj/security-release-process' into 'master' 2019-01-30 20:14:34 +00:00
app Merge branch '57063-implement-new-arguments-iid-for-issuesresolver-in-graphql' into 'master' 2019-02-01 19:40:29 +00:00
bin Create security release MR template 2019-01-28 12:51:37 +01:00
builds
changelogs Downcase aliased OAuth2 callback providers 2019-02-01 22:32:53 -08:00
config Downcase aliased OAuth2 callback providers 2019-02-01 22:32:53 -08:00
danger Change Monitoring to Monitor in docs dangerfile 2019-01-22 15:39:22 +01:00
db Fix tree restorer visibility level 2019-01-31 16:52:49 +01:00
doc Apply suggestion to doc/api/merge_requests.md 2019-02-01 16:13:18 +00:00
docker
fixtures/emojis Move :gay_pride_flag: to flags category 2017-11-15 07:36:19 -06:00
generator_templates Update generator templates 2018-11-22 13:17:55 +01:00
lib Merge branch '51913-api-getting-projects-for-users-with-dot-gets-404' into 'master' 2019-02-01 14:35:46 +00:00
locale Remove d3 metrics graph 2019-02-01 08:37:48 +00:00
log
plugins/examples Reorganize plugins dir structure 2018-02-26 16:06:49 +02:00
public Update robots.txt to exclude group_members and project_members, which can expose sensitive user information to the web. Please see https://developers.google.com/search/reference/robots_txt for the correct wildcard format. 2018-11-29 22:06:42 +00:00
qa Merge branch 'auto-devops-better-build-debugging' into 'master' 2019-02-01 18:39:38 +00:00
rubocop Merge branch 'fix-rubocop-ee-module-injection-detection' into 'master' 2019-01-16 18:10:38 +00:00
scripts Pass $CI_COMMIT_TAG as GITLAB_TAG to the CNG triggered pipelines 2019-01-30 09:42:48 +01:00
shared
spec Merge branch '57063-implement-new-arguments-iid-for-issuesresolver-in-graphql' into 'master' 2019-02-01 19:40:29 +00:00
symbol
tmp
vendor Add Knative metrics to Prometheus 2019-01-03 13:10:40 -08:00
.babelrc.js Add support for addl stage-3 plugins 2019-01-09 00:20:56 -06:00
.codeclimate.yml Removed API endpoint and specs 2018-05-30 18:23:07 +02:00
.csscomb.json
.eslintignore Setup Jest test environment 2018-12-05 09:24:42 +01:00
.eslintrc.yml Disable vue/use-v-on-exact due to confusing rule violations 2018-12-11 17:08:30 -06:00
.foreman
.gitattributes Use merge_db_schema for db/schema.rb conflicts 2018-11-01 14:15:55 +01:00
.gitignore Generate searchable JSDoc documentation 2019-01-14 21:46:21 +00:00
.gitlab-ci.yml Fix the package-and-qa and review-build-cng jobs 2019-02-01 15:34:00 +01:00
.haml-lint.yml Enable Lint/UselessAssignment for haml-lint 2018-08-31 18:24:18 -07:00
.mailmap
.nvmrc Upgrade to node v10.x 2018-11-12 10:48:17 +01:00
.pkgr.yml
.prettierignore Fix/update prettier script 2018-10-22 17:47:03 +00:00
.prettierrc ensure stylesheets are included as well, make prettierrc even more inclusive 2018-03-23 12:56:57 -05:00
.rubocop.yml Adds inter-service OpenTracing propagation 2019-01-22 18:15:30 +02:00
.rubocop_todo.yml Re-enable MethodCallWithoutArgsParentheses Cop 2019-01-29 21:05:30 +02:00
.ruby-version Upgrade to Ruby 2.5.3 2018-11-13 06:17:46 -08:00
.scss-lint.yml Fix scss_lint 2018-04-16 12:28:52 -05:00
CHANGELOG.md Fixed changelog for 11.7.2 2019-01-31 17:41:23 +01:00
config.ru Enable the Layout/ExtraSpacing cop 2019-01-24 13:05:45 +01:00
CONTRIBUTING.md Remove unnecessary TOC from file 2019-01-07 09:12:20 +10:00
Dangerfile Add danger check for duplicate yarn dependencies 2018-12-17 09:58:39 +01:00
docker-compose.yml
Dockerfile.assets Build a docker container storing only the frontent assets 2018-10-31 11:21:14 -05:00
Gemfile Fix requiring the rubyzip Gem 2019-01-31 16:52:51 +01:00
Gemfile.lock Extract GitLab Pages using RubyZip 2019-01-31 16:52:48 +01:00
GITALY_SERVER_VERSION Update Gitaly to v1.17.0 2019-02-01 17:34:11 +00:00
GITLAB_PAGES_VERSION Enable Gitlab-Pages for subgroups 2019-01-14 10:14:50 +00:00
GITLAB_SHELL_VERSION Update GITLAB_SHELL_VERSION to 8.4.4 2019-01-02 17:38:35 +00:00
GITLAB_WORKHORSE_VERSION Verify that LFS upload requests are genuine 2019-01-31 16:52:48 +01:00
INSTALLATION_TYPE Add installation type to usage ping data 2018-06-07 15:01:20 +00:00
jest.config.js Setup Jest for Vue 2018-12-11 15:03:59 +01:00
LICENSE properly wrap LICENSE file 2018-09-08 13:19:35 +02:00
MAINTENANCE.md Change location of the maintenance policy document. Add version support information. [CI skip] 2017-10-11 15:01:55 +02:00
package.json Update dependency @gitlab/svgs to ^1.48.0 2019-01-29 09:34:14 +01:00
PHILOSOPHY.md Adds a PHILOSOPHY.md 2018-11-21 09:11:42 +00:00
PROCESS.md Fix broken MR coach link 2019-01-11 14:50:21 +00:00
Procfile Launch mail_room manually and remove foreman reference 2018-03-21 11:52:05 -05:00
Rakefile Updates from rubocop -a 2018-07-09 21:13:08 +08:00
README.md Update README ruby version 2.3->2.4 2018-10-18 10:34:00 -04:00
VERSION Update VERSION to 11.8.0-pre 2019-01-21 20:23:16 +00:00
yarn.lock Update dependency @gitlab/svgs to ^1.48.0 2019-01-29 09:34:14 +01:00

GitLab

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 to GitLab page for more 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.

All Documentation content that resides under the doc/ directory of this repository is licensed under Creative Commons: CC BY-SA 4.0.

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.4
  • 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.

Why?

Read here

Is it any good?

Yes

Is it awesome?

These people seem to like it.