Find a file
Stan Hu 19f9d99870 Fix 500 errors with legacy appearance logos
Prior to GitLab 9.0, attachments were not tracked the `uploads` table,
so it was possible that the appearance logos were just stored in the
database as a string and mounted via CarrierWave.

https://gitlab.com/gitlab-org/gitlab-ce/issues/29240 implemented in
GitLab 10.3 was supposed to cover populating the `uploads` table for all
attachments, including all the logos from appearances. However, it's
possible that didn't work for logos or the `uploads` entry was orphaned.

GitLab instances that had a customized logo with no associated `uploads`
entry would see Error 500s. The only way to fix this is to delete the
`logo` column from the `appearances` table and re-upload the attachment.

This change makes things more robust by falling back to the original
behavior if the upload is not available.

This is a CE backport of
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/9277.

Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/9357
2019-01-23 11:18:00 -08:00
.github
.gitlab Update issue template with user journey, persona label additions, and clarification between success metrics and acceptance criteria 2019-01-17 13:45:48 +00:00
app Fix 500 errors with legacy appearance logos 2019-01-23 11:18:00 -08:00
bin Opens specified text editor when creating a new changelog entry 2019-01-14 18:11:05 +01:00
builds
changelogs Fix 500 errors with legacy appearance logos 2019-01-23 11:18:00 -08:00
config Merge branch 'an-opentracing-propagation' into 'master' 2019-01-22 17:45:44 +00:00
danger Change Monitoring to Monitor in docs dangerfile 2019-01-22 15:39:22 +01:00
db Add domain field into Clusters::Cluster 2019-01-22 11:30:43 -06:00
doc Merge branch 'improve-review-apps-docs' into 'master' 2019-01-23 17:49:26 +00:00
docker
fixtures/emojis
generator_templates Update generator templates 2018-11-22 13:17:55 +01:00
lib Merge branch '56417-update-helm-to-2-12-2' into 'master' 2019-01-23 12:30:06 +00:00
locale Merge branch 'gt-externalize-app-views-sent_notifications' into 'master' 2019-01-23 13:07:38 +00:00
log
plugins/examples
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 [QA] Use public_email instead of email since it's available 2019-01-23 13:17:05 +01:00
rubocop Merge branch 'fix-rubocop-ee-module-injection-detection' into 'master' 2019-01-16 18:10:38 +00:00
scripts [Review Apps] Don't exit when dependable job fails 2019-01-17 18:56:41 +01:00
shared
spec Fix 500 errors with legacy appearance logos 2019-01-23 11:18:00 -08: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
.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
.gitignore Generate searchable JSDoc documentation 2019-01-14 21:46:21 +00:00
.gitlab-ci.yml Set API_TOKEN in the review-build-cng job 2019-01-23 10:24:47 +01:00
.haml-lint.yml
.mailmap
.nvmrc
.pkgr.yml
.prettierignore
.prettierrc
.rubocop.yml Adds inter-service OpenTracing propagation 2019-01-22 18:15:30 +02:00
.rubocop_todo.yml chore(rubocop): fix Style/TrivialAccessors issues 2019-01-16 13:53:04 +05:00
.ruby-version
.scss-lint.yml
CHANGELOG.md Update CHANGELOG.md for 11.7.0 2019-01-21 20:20:37 +00:00
config.ru Add monkey patch to unicorn to fix eof? problem 2018-11-28 08:34:32 -08: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
Gemfile Merge branch '26375-markdown-footnotes-not-working' into 'master' 2019-01-17 18:48:51 +00:00
Gemfile.lock Bump rbtrace version to 0.4.11 2019-01-17 16:40:21 -08:00
GITALY_SERVER_VERSION Use Gitaly 1.14.0 2019-01-22 12:11:47 +01: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 Upgrade gitlab-workhorse to 8.1.0 2019-01-22 17:32:19 +00:00
INSTALLATION_TYPE
jest.config.js Setup Jest for Vue 2018-12-11 15:03:59 +01:00
LICENSE
MAINTENANCE.md
package.json Upgrade prettier to v1.16.1 2019-01-22 16:40:38 -06:00
PHILOSOPHY.md
PROCESS.md Fix broken MR coach link 2019-01-11 14:50:21 +00:00
Procfile
Rakefile
README.md
VERSION Update VERSION to 11.8.0-pre 2019-01-21 20:23:16 +00:00
yarn.lock Upgrade prettier to v1.16.1 2019-01-22 16:40:38 -06: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.