2021-02-12 07:09:02 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-07-01 19:14:12 -04:00
|
|
|
source 'https://rubygems.org'
|
2011-10-08 17:36:38 -04:00
|
|
|
|
2022-04-08 11:10:26 -04:00
|
|
|
gem 'rails', '~> 6.1.4.7'
|
2015-11-25 11:18:44 -05:00
|
|
|
|
2022-06-10 14:09:28 -04:00
|
|
|
gem 'bootsnap', '~> 1.12.0', require: false
|
2019-07-19 16:00:46 -04:00
|
|
|
|
2015-11-25 11:18:44 -05:00
|
|
|
# Responders respond_to and respond_with
|
2019-10-29 02:06:14 -04:00
|
|
|
gem 'responders', '~> 3.0'
|
2013-12-05 09:26:11 -05:00
|
|
|
|
2016-09-20 16:27:18 -04:00
|
|
|
gem 'sprockets', '~> 3.7.0'
|
2015-06-30 21:38:26 -04:00
|
|
|
|
2022-03-15 20:07:19 -04:00
|
|
|
gem 'view_component', '~> 2.50.0'
|
|
|
|
|
2014-02-26 03:41:44 -05:00
|
|
|
# Default values for AR models
|
2021-01-22 07:08:52 -05:00
|
|
|
gem 'default_value_for', '~> 3.4.0'
|
2014-02-26 03:41:44 -05:00
|
|
|
|
2012-06-20 06:45:26 -04:00
|
|
|
# Supported DBs
|
2022-06-13 14:09:22 -04:00
|
|
|
gem 'pg', '~> 1.3.0'
|
2012-06-20 06:45:26 -04:00
|
|
|
|
2021-11-08 01:09:59 -05:00
|
|
|
gem 'rugged', '~> 1.2'
|
2021-08-30 20:10:56 -04:00
|
|
|
gem 'grape-path-helpers', '~> 1.7.0'
|
2017-01-04 13:43:06 -05:00
|
|
|
|
2020-09-07 11:09:04 -04:00
|
|
|
gem 'faraday', '~> 1.0'
|
2021-01-06 07:10:58 -05:00
|
|
|
gem 'marginalia', '~> 1.10.0'
|
2017-04-11 21:29:30 -04:00
|
|
|
|
2021-04-20 11:09:24 -04:00
|
|
|
# Authorization
|
2021-11-08 22:42:22 -05:00
|
|
|
gem 'declarative_policy', '~> 1.1.0'
|
2021-04-20 11:09:24 -04:00
|
|
|
|
2015-06-30 15:25:36 -04:00
|
|
|
# Authentication libraries
|
2020-10-05 02:08:45 -04:00
|
|
|
gem 'devise', '~> 4.7.2'
|
2022-07-04 08:09:33 -04:00
|
|
|
gem 'devise-pbkdf2-encryptable', '~> 0.0.0', path: 'vendor/gems/devise-pbkdf2-encryptable'
|
2021-03-11 22:08:56 -05:00
|
|
|
gem 'bcrypt', '~> 3.1', '>= 3.1.14'
|
2021-01-26 07:09:27 -05:00
|
|
|
gem 'doorkeeper', '~> 5.5.0.rc2'
|
|
|
|
gem 'doorkeeper-openid_connect', '~> 1.7.5'
|
2021-04-14 11:09:04 -04:00
|
|
|
gem 'rexml', '~> 3.2.5'
|
2021-09-13 20:10:45 -04:00
|
|
|
gem 'ruby-saml', '~> 1.13.0'
|
2018-03-15 03:38:01 -04:00
|
|
|
gem 'omniauth', '~> 1.8'
|
2018-03-15 11:01:13 -04:00
|
|
|
gem 'omniauth-auth0', '~> 2.0.0'
|
2021-06-23 11:07:50 -04:00
|
|
|
gem 'omniauth-azure-activedirectory-v2', '~> 1.0'
|
2021-02-17 16:09:06 -05:00
|
|
|
gem 'omniauth-azure-oauth2', '~> 0.0.9' # Deprecated v1 version
|
2017-08-30 20:39:21 -04:00
|
|
|
gem 'omniauth-cas3', '~> 1.1.4'
|
2021-11-12 13:12:20 -05:00
|
|
|
gem 'omniauth-dingtalk-oauth2', '~> 1.0'
|
2022-04-14 11:08:59 -04:00
|
|
|
gem 'omniauth-alicloud', '~> 1.0.1'
|
2017-02-08 13:41:27 -05:00
|
|
|
gem 'omniauth-facebook', '~> 4.0.0'
|
2020-02-14 19:08:48 -05:00
|
|
|
gem 'omniauth-github', '~> 1.4'
|
2022-06-30 11:09:03 -04:00
|
|
|
gem 'omniauth-gitlab', '~> 4.0.0', path: 'vendor/gems/omniauth-gitlab' # See vendor/gems/omniauth-gitlab/README.md
|
2018-12-29 01:56:33 -05:00
|
|
|
gem 'omniauth-google-oauth2', '~> 0.6.0'
|
2017-02-07 15:43:08 -05:00
|
|
|
gem 'omniauth-oauth2-generic', '~> 0.2.2'
|
2018-03-15 04:20:51 -04:00
|
|
|
gem 'omniauth-saml', '~> 1.10'
|
2018-07-03 22:38:31 -04:00
|
|
|
gem 'omniauth-shibboleth', '~> 1.3.0'
|
2018-03-20 02:52:10 -04:00
|
|
|
gem 'omniauth-twitter', '~> 1.4'
|
2020-07-27 11:09:25 -04:00
|
|
|
gem 'omniauth_crowd', '~> 2.4.0'
|
2018-05-24 14:08:16 -04:00
|
|
|
gem 'omniauth-authentiq', '~> 0.3.3'
|
2022-01-05 07:16:26 -05:00
|
|
|
gem 'gitlab-omniauth-openid-connect', '~> 0.9.0', require: 'omniauth_openid_connect'
|
2019-05-07 09:51:34 -04:00
|
|
|
gem 'omniauth-salesforce', '~> 1.0.5'
|
2020-09-10 14:08:54 -04:00
|
|
|
gem 'omniauth-atlassian-oauth2', '~> 0.2.0'
|
2022-06-16 14:09:35 -04:00
|
|
|
gem 'rack-oauth2', '~> 1.19.0'
|
2018-12-29 01:56:33 -05:00
|
|
|
gem 'jwt', '~> 2.1.0'
|
2012-06-20 06:45:26 -04:00
|
|
|
|
2019-09-13 09:26:31 -04:00
|
|
|
# Kerberos authentication. EE-only
|
|
|
|
gem 'gssapi', group: :kerberos
|
2022-05-13 08:08:49 -04:00
|
|
|
gem 'timfel-krb5-auth', '~> 0.8', group: :kerberos
|
2019-09-13 09:26:31 -04:00
|
|
|
|
2016-01-09 14:30:34 -05:00
|
|
|
# Spam and anti-bot protection
|
2018-11-16 02:34:16 -05:00
|
|
|
gem 'recaptcha', '~> 4.11', require: 'recaptcha/rails'
|
2019-12-16 04:08:10 -05:00
|
|
|
gem 'akismet', '~> 3.0'
|
2021-01-12 10:10:37 -05:00
|
|
|
gem 'invisible_captcha', '~> 1.1.0'
|
2015-12-27 12:03:06 -05:00
|
|
|
|
2015-03-27 18:35:26 -04:00
|
|
|
# Two-factor authentication
|
2022-03-31 17:08:16 -04:00
|
|
|
gem 'devise-two-factor', '~> 4.0.2'
|
2015-08-25 21:42:46 -04:00
|
|
|
gem 'rqrcode-rails3', '~> 0.1.7'
|
2018-04-16 09:51:20 -04:00
|
|
|
gem 'attr_encrypted', '~> 3.1.0'
|
2016-06-06 00:38:42 -04:00
|
|
|
gem 'u2f', '~> 0.2.1'
|
2015-03-27 18:35:26 -04:00
|
|
|
|
2016-02-09 12:06:55 -05:00
|
|
|
# GitLab Pages
|
2020-12-08 10:09:45 -05:00
|
|
|
gem 'validates_hostname', '~> 1.0.11'
|
2022-02-03 16:15:26 -05:00
|
|
|
gem 'rubyzip', '~> 2.3.2', require: 'zip'
|
2019-05-16 05:32:25 -04:00
|
|
|
# GitLab Pages letsencrypt support
|
2022-01-05 04:13:24 -05:00
|
|
|
gem 'acme-client', '~> 2.0', '>= 2.0.9'
|
2016-02-09 12:06:55 -05:00
|
|
|
|
2014-12-15 05:11:38 -05:00
|
|
|
# Browser detection
|
2020-07-21 14:09:45 -04:00
|
|
|
gem 'browser', '~> 4.2'
|
2014-12-15 05:11:38 -05:00
|
|
|
|
2021-03-03 10:10:53 -05:00
|
|
|
# OS detection for usage ping
|
|
|
|
gem 'ohai', '~> 16.10'
|
|
|
|
|
2017-02-14 19:01:30 -05:00
|
|
|
# GPG
|
2019-11-18 07:06:03 -05:00
|
|
|
gem 'gpgme', '~> 2.0.19'
|
2017-02-14 19:01:30 -05:00
|
|
|
|
2012-12-30 08:15:56 -05:00
|
|
|
# LDAP Auth
|
2015-07-12 16:46:51 -04:00
|
|
|
# GitLab fork with several improvements to original library. For full list of changes
|
2015-06-01 06:59:02 -04:00
|
|
|
# see https://github.com/intridea/omniauth-ldap/compare/master...gitlabhq:master
|
2022-07-13 02:10:00 -04:00
|
|
|
gem 'gitlab_omniauth-ldap', '~> 2.2.0', require: 'omniauth-ldap'
|
2021-01-08 04:10:50 -05:00
|
|
|
gem 'net-ldap', '~> 0.16.3'
|
2012-12-30 08:15:56 -05:00
|
|
|
|
2012-08-11 15:59:56 -04:00
|
|
|
# API
|
2021-02-07 16:09:09 -05:00
|
|
|
gem 'grape', '~> 1.5.2'
|
2021-09-20 08:11:04 -04:00
|
|
|
gem 'grape-entity', '~> 0.10.0'
|
2022-06-16 14:09:35 -04:00
|
|
|
gem 'rack-cors', '~> 1.1.0', require: 'rack/cors'
|
2012-08-11 15:59:56 -04:00
|
|
|
|
2017-08-16 09:04:41 -04:00
|
|
|
# GraphQL API
|
2022-06-01 14:09:44 -04:00
|
|
|
gem 'graphql', '~> 1.13.12'
|
2022-01-13 13:16:51 -05:00
|
|
|
gem 'graphiql-rails', '~> 1.8'
|
2021-08-31 17:10:43 -04:00
|
|
|
gem 'apollo_upload_server', '~> 2.1.0'
|
2022-06-29 14:08:50 -04:00
|
|
|
gem 'graphql-docs', '~> 2.1.0', group: [:development, :test]
|
2022-04-21 17:08:43 -04:00
|
|
|
gem 'graphlient', '~> 0.5.0' # Used by BulkImport feature (group::import)
|
2017-08-16 09:04:41 -04:00
|
|
|
|
2020-10-06 02:08:38 -04:00
|
|
|
gem 'hashie'
|
2017-04-09 15:41:23 -04:00
|
|
|
# Disable strong_params so that Mash does not respond to :permitted?
|
|
|
|
gem 'hashie-forbidden_attributes'
|
|
|
|
|
2012-08-11 15:59:56 -04:00
|
|
|
# Pagination
|
2017-08-10 09:01:38 -04:00
|
|
|
gem 'kaminari', '~> 1.0'
|
2012-08-11 15:59:56 -04:00
|
|
|
|
|
|
|
# HAML
|
2021-04-13 14:11:28 -04:00
|
|
|
gem 'hamlit', '~> 2.15.0'
|
2012-08-11 15:59:56 -04:00
|
|
|
|
|
|
|
# Files attachments
|
2018-12-24 12:14:44 -05:00
|
|
|
gem 'carrierwave', '~> 1.3'
|
2020-10-06 14:08:49 -04:00
|
|
|
gem 'mini_magick', '~> 4.10.1'
|
2013-07-08 02:47:31 -04:00
|
|
|
|
2016-06-01 02:58:27 -04:00
|
|
|
# for backups
|
2022-06-01 11:08:57 -04:00
|
|
|
gem 'fog-aws', '~> 3.14'
|
2019-02-28 18:35:56 -05:00
|
|
|
# Locked until fog-google resolves https://github.com/fog/fog-google/issues/421.
|
|
|
|
# Also see config/initializers/fog_core_patch.rb.
|
|
|
|
gem 'fog-core', '= 2.1.0'
|
2021-06-28 14:08:39 -04:00
|
|
|
gem 'fog-google', '~> 1.15', require: 'fog/google'
|
2019-01-24 01:17:31 -05:00
|
|
|
gem 'fog-local', '~> 0.6'
|
|
|
|
gem 'fog-openstack', '~> 1.0'
|
2016-06-29 03:26:35 -04:00
|
|
|
gem 'fog-rackspace', '~> 0.1.1'
|
2019-01-24 01:17:31 -05:00
|
|
|
gem 'fog-aliyun', '~> 0.3'
|
2022-06-04 02:09:40 -04:00
|
|
|
gem 'gitlab-fog-azure-rm', '~> 1.3.0', require: 'fog/azurerm'
|
2016-06-01 02:58:27 -04:00
|
|
|
|
2017-01-06 13:07:50 -05:00
|
|
|
# for Google storage
|
2020-06-04 17:08:11 -04:00
|
|
|
gem 'google-api-client', '~> 0.33'
|
2017-01-06 13:07:50 -05:00
|
|
|
|
2013-05-01 05:41:37 -04:00
|
|
|
# for aws storage
|
2016-07-01 19:14:12 -04:00
|
|
|
gem 'unf', '~> 0.1.4'
|
2012-08-11 15:59:56 -04:00
|
|
|
|
|
|
|
# Seed data
|
2018-01-16 07:27:04 -05:00
|
|
|
gem 'seed-fu', '~> 2.3.7'
|
2012-08-11 15:59:56 -04:00
|
|
|
|
2019-09-13 09:26:31 -04:00
|
|
|
# Search
|
2022-04-28 08:09:06 -04:00
|
|
|
gem 'elasticsearch-model', '~> 7.2'
|
|
|
|
gem 'elasticsearch-rails', '~> 7.2', require: 'elasticsearch/rails/instrumentation'
|
|
|
|
gem 'elasticsearch-api', '7.13.3'
|
2022-06-28 14:08:20 -04:00
|
|
|
gem 'aws-sdk-core', '~> 3.131.0'
|
2020-07-30 05:09:36 -04:00
|
|
|
gem 'aws-sdk-cloudformation', '~> 1'
|
2022-06-28 14:08:20 -04:00
|
|
|
gem 'aws-sdk-s3', '~> 1.114.0'
|
2020-07-30 05:09:36 -04:00
|
|
|
gem 'faraday_middleware-aws-sigv4', '~>0.3.0'
|
2022-01-11 13:16:38 -05:00
|
|
|
gem 'typhoeus', '~> 1.4.0' # Used with Elasticsearch to support http keep-alive connections
|
2019-09-13 09:26:31 -04:00
|
|
|
|
2015-04-29 15:02:41 -04:00
|
|
|
# Markdown and HTML processing
|
2021-01-04 16:10:19 -05:00
|
|
|
gem 'html-pipeline', '~> 2.13.2'
|
2019-12-21 10:07:56 -05:00
|
|
|
gem 'deckar01-task_list', '2.3.1'
|
2021-12-16 04:15:29 -05:00
|
|
|
gem 'gitlab-markup', '~> 1.8.0'
|
2018-10-01 23:21:46 -04:00
|
|
|
gem 'github-markup', '~> 1.7.0', require: 'github/markup'
|
2022-03-15 14:08:10 -04:00
|
|
|
gem 'commonmarker', '~> 0.23.4'
|
2021-03-18 05:09:09 -04:00
|
|
|
gem 'kramdown', '~> 2.3.1'
|
2017-02-08 13:41:27 -05:00
|
|
|
gem 'RedCloth', '~> 4.3.2'
|
2021-07-06 05:07:05 -04:00
|
|
|
gem 'rdoc', '~> 6.3.2'
|
2017-02-08 13:41:27 -05:00
|
|
|
gem 'org-ruby', '~> 0.9.12'
|
|
|
|
gem 'creole', '~> 0.5.0'
|
|
|
|
gem 'wikicloth', '0.8.1'
|
2019-06-17 01:59:45 -04:00
|
|
|
gem 'asciidoctor', '~> 2.0.10'
|
2022-03-31 20:08:25 -04:00
|
|
|
gem 'asciidoctor-include-ext', '~> 0.4.0', require: false
|
2020-05-18 02:08:14 -04:00
|
|
|
gem 'asciidoctor-plantuml', '~> 0.0.12'
|
2021-07-06 17:07:50 -04:00
|
|
|
gem 'asciidoctor-kroki', '~> 0.5.0', require: false
|
2022-06-14 20:09:28 -04:00
|
|
|
gem 'rouge', '~> 3.29.0'
|
2019-01-06 21:54:19 -05:00
|
|
|
gem 'truncato', '~> 0.7.11'
|
2019-03-25 16:21:39 -04:00
|
|
|
gem 'bootstrap_form', '~> 4.2.0'
|
2022-06-14 14:09:25 -04:00
|
|
|
gem 'nokogiri', '~> 1.13.6'
|
2018-08-03 09:24:26 -04:00
|
|
|
gem 'escape_utils', '~> 1.1'
|
2015-12-18 13:19:33 -05:00
|
|
|
|
2018-05-31 10:01:04 -04:00
|
|
|
# Calendar rendering
|
|
|
|
gem 'icalendar'
|
|
|
|
|
2014-04-15 11:02:02 -04:00
|
|
|
# Diffs
|
2020-02-25 07:08:48 -05:00
|
|
|
gem 'diffy', '~> 3.3'
|
2019-11-15 07:06:12 -05:00
|
|
|
gem 'diff_match_patch', '~> 0.1.0'
|
2014-04-15 11:02:02 -04:00
|
|
|
|
2013-08-19 15:54:12 -04:00
|
|
|
# Application server
|
2022-07-05 14:08:43 -04:00
|
|
|
gem 'rack', '~> 2.2.4'
|
2022-06-06 14:09:02 -04:00
|
|
|
# https://github.com/zombocom/rack-timeout/blob/master/README.md#rails-apps-manually
|
|
|
|
gem 'rack-timeout', '~> 0.6.0', require: 'rack/timeout/base'
|
2018-11-27 11:12:49 -05:00
|
|
|
|
2018-10-20 14:00:19 -04:00
|
|
|
group :puma do
|
2022-02-17 07:12:30 -05:00
|
|
|
gem 'puma', '~> 5.6.2', require: false
|
2021-01-11 13:10:43 -05:00
|
|
|
gem 'puma_worker_killer', '~> 0.3.1', require: false
|
2021-10-28 11:09:42 -04:00
|
|
|
gem 'sd_notify', '~> 0.1.0', require: false
|
2018-10-20 14:00:19 -04:00
|
|
|
end
|
|
|
|
|
2013-02-14 10:33:20 -05:00
|
|
|
# State machine
|
2021-01-04 13:10:11 -05:00
|
|
|
gem 'state_machines-activerecord', '~> 0.8.0'
|
2013-02-14 10:33:20 -05:00
|
|
|
|
2022-01-13 10:14:46 -05:00
|
|
|
# CI domain tags
|
2022-01-06 07:14:04 -05:00
|
|
|
gem 'acts-as-taggable-on', '~> 9.0'
|
2012-08-11 15:59:56 -04:00
|
|
|
|
|
|
|
# Background jobs
|
2022-01-26 07:18:17 -05:00
|
|
|
gem 'sidekiq', '~> 6.4'
|
2022-01-19 13:14:01 -05:00
|
|
|
gem 'sidekiq-cron', '~> 1.2'
|
2021-07-06 05:07:05 -04:00
|
|
|
gem 'redis-namespace', '~> 1.8.1'
|
2021-10-04 08:11:58 -04:00
|
|
|
gem 'gitlab-sidekiq-fetcher', '0.8.0', require: 'sidekiq-reliable-fetch'
|
2012-08-11 15:59:56 -04:00
|
|
|
|
2017-03-29 09:22:40 -04:00
|
|
|
# Cron Parser
|
2019-05-07 02:52:53 -04:00
|
|
|
gem 'fugit', '~> 1.2.1'
|
2017-03-29 09:22:40 -04:00
|
|
|
|
2012-08-11 15:59:56 -04:00
|
|
|
# HTTP requests
|
2019-03-07 16:07:09 -05:00
|
|
|
gem 'httparty', '~> 0.16.4'
|
2012-08-11 15:59:56 -04:00
|
|
|
|
|
|
|
# Colored output to console
|
2018-08-15 03:27:59 -04:00
|
|
|
gem 'rainbow', '~> 3.0'
|
2012-08-11 15:59:56 -04:00
|
|
|
|
2018-05-09 23:53:21 -04:00
|
|
|
# Progress bar
|
2020-11-26 07:09:48 -05:00
|
|
|
gem 'ruby-progressbar', '~> 1.10'
|
2012-08-11 15:59:56 -04:00
|
|
|
|
2012-11-18 15:51:49 -05:00
|
|
|
# GitLab settings
|
2015-08-25 21:42:46 -04:00
|
|
|
gem 'settingslogic', '~> 2.0.9'
|
2011-11-04 03:42:36 -04:00
|
|
|
|
2017-06-22 11:33:17 -04:00
|
|
|
# Linear-time regex library for untrusted regular expressions
|
2022-06-03 02:10:04 -04:00
|
|
|
gem 're2', '~> 1.4.0'
|
2017-06-22 11:33:17 -04:00
|
|
|
|
2012-08-11 15:59:56 -04:00
|
|
|
# Misc
|
2015-08-25 21:42:46 -04:00
|
|
|
|
2019-02-22 03:20:52 -05:00
|
|
|
gem 'version_sorter', '~> 2.2.4'
|
2012-08-11 15:59:56 -04:00
|
|
|
|
2018-08-30 08:53:06 -04:00
|
|
|
# Export Ruby Regex to Javascript
|
2021-08-04 05:08:21 -04:00
|
|
|
gem 'js_regex', '~> 3.7'
|
2018-08-30 08:53:06 -04:00
|
|
|
|
2018-05-02 04:08:16 -04:00
|
|
|
# User agent parsing
|
|
|
|
gem 'device_detector'
|
|
|
|
|
2016-04-06 04:49:57 -04:00
|
|
|
# Redis
|
2021-10-04 08:11:58 -04:00
|
|
|
gem 'redis', '~> 4.4.0'
|
2016-04-06 04:49:57 -04:00
|
|
|
gem 'connection_pool', '~> 2.0'
|
|
|
|
|
2019-07-19 16:58:44 -04:00
|
|
|
# Redis session store
|
2021-09-08 08:12:01 -04:00
|
|
|
gem 'redis-actionpack', '~> 5.2.0'
|
2019-07-19 16:58:44 -04:00
|
|
|
|
2018-10-30 07:23:20 -04:00
|
|
|
# Discord integration
|
2021-02-17 16:09:06 -05:00
|
|
|
gem 'discordrb-webhooks', '~> 3.4', require: false
|
2018-10-30 07:23:20 -04:00
|
|
|
|
2019-06-28 09:25:56 -04:00
|
|
|
# Jira integration
|
2021-01-07 16:10:18 -05:00
|
|
|
gem 'jira-ruby', '~> 2.1.4'
|
2019-09-02 02:34:53 -04:00
|
|
|
gem 'atlassian-jwt', '~> 0.2.0'
|
2016-01-14 09:20:23 -05:00
|
|
|
|
2013-08-19 05:11:36 -04:00
|
|
|
# Flowdock integration
|
2018-10-15 12:03:14 -04:00
|
|
|
gem 'flowdock', '~> 0.7'
|
2013-08-19 05:11:36 -04:00
|
|
|
|
2014-03-18 13:27:03 -04:00
|
|
|
# Slack integration
|
2020-10-02 14:08:56 -04:00
|
|
|
gem 'slack-messenger', '~> 2.3.4'
|
2014-03-18 13:27:03 -04:00
|
|
|
|
2018-06-24 06:35:35 -04:00
|
|
|
# Hangouts Chat integration
|
2021-05-31 23:10:06 -04:00
|
|
|
gem 'hangouts-chat', '~> 0.0.5', require: 'hangouts_chat'
|
2018-06-24 06:35:35 -04:00
|
|
|
|
2014-07-29 11:41:55 -04:00
|
|
|
# Asana integration
|
2022-06-22 17:08:26 -04:00
|
|
|
gem 'asana', '~> 0.10.13'
|
2014-07-29 11:41:55 -04:00
|
|
|
|
2015-08-04 18:21:12 -04:00
|
|
|
# FogBugz integration
|
2015-09-15 16:09:32 -04:00
|
|
|
gem 'ruby-fogbugz', '~> 0.2.1'
|
2015-08-04 18:21:12 -04:00
|
|
|
|
2016-12-08 11:36:26 -05:00
|
|
|
# Kubernetes integration
|
2021-07-09 17:09:20 -04:00
|
|
|
gem 'kubeclient', '~> 4.9.2'
|
2013-05-09 01:00:56 -04:00
|
|
|
|
2013-07-10 06:48:03 -04:00
|
|
|
# Sanitize user input
|
2022-01-12 04:15:13 -05:00
|
|
|
gem 'sanitize', '~> 6.0'
|
2021-04-22 02:09:47 -04:00
|
|
|
gem 'babosa', '~> 1.0.4'
|
2013-07-10 06:48:03 -04:00
|
|
|
|
2015-09-12 23:54:06 -04:00
|
|
|
# Sanitizes SVG input
|
2022-06-28 11:09:17 -04:00
|
|
|
gem 'loofah', '~> 2.18.0'
|
2015-09-12 23:54:06 -04:00
|
|
|
|
2016-03-01 07:36:50 -05:00
|
|
|
# Working with license
|
2021-02-03 19:09:18 -05:00
|
|
|
gem 'licensee', '~> 9.14.1'
|
2016-03-01 07:36:50 -05:00
|
|
|
|
2015-03-15 10:42:31 -04:00
|
|
|
# Detect and convert string character encoding
|
2020-09-28 11:09:44 -04:00
|
|
|
gem 'charlock_holmes', '~> 0.7.7'
|
2015-03-15 10:42:31 -04:00
|
|
|
|
2018-12-06 16:22:39 -05:00
|
|
|
# Detect mime content type from content
|
2022-01-12 04:15:13 -05:00
|
|
|
gem 'ruby-magic', '~> 0.5'
|
2021-03-25 08:09:19 -04:00
|
|
|
|
2018-01-15 11:23:48 -05:00
|
|
|
# Faster blank
|
|
|
|
gem 'fast_blank'
|
|
|
|
|
2016-08-10 11:51:01 -04:00
|
|
|
# Parse time & duration
|
2019-11-25 22:06:24 -05:00
|
|
|
gem 'gitlab-chronic', '~> 0.10.5'
|
|
|
|
gem 'gitlab_chronic_duration', '~> 0.10.6.2'
|
2016-05-18 16:21:51 -04:00
|
|
|
|
2022-03-21 02:07:58 -04:00
|
|
|
gem 'rack-proxy', '~> 0.7.2'
|
2017-02-04 10:52:03 -05:00
|
|
|
|
2019-03-15 11:20:10 -04:00
|
|
|
gem 'sassc-rails', '~> 2.1.0'
|
2021-07-08 14:09:32 -04:00
|
|
|
gem 'autoprefixer-rails', '10.2.5.1'
|
2020-10-13 14:08:58 -04:00
|
|
|
gem 'terser', '1.0.2'
|
2013-12-06 10:04:50 -05:00
|
|
|
|
2021-07-15 20:09:54 -04:00
|
|
|
gem 'addressable', '~> 2.8'
|
2022-03-07 13:19:30 -05:00
|
|
|
gem 'tanuki_emoji', '~> 0.6'
|
2021-04-13 14:11:28 -04:00
|
|
|
gem 'gon', '~> 6.4.0'
|
2020-04-24 08:10:16 -04:00
|
|
|
gem 'request_store', '~> 1.5'
|
2017-02-08 13:41:27 -05:00
|
|
|
gem 'base32', '~> 0.3.0'
|
2011-10-08 17:36:38 -04:00
|
|
|
|
2022-01-20 01:14:39 -05:00
|
|
|
gem 'gitlab-license', '~> 2.1.0'
|
2019-09-13 09:26:31 -04:00
|
|
|
|
2019-10-27 05:05:56 -04:00
|
|
|
# Protect against bruteforcing
|
2022-06-16 14:09:35 -04:00
|
|
|
gem 'rack-attack', '~> 6.6.0'
|
2019-10-27 05:05:56 -04:00
|
|
|
|
2016-01-22 16:04:22 -05:00
|
|
|
# Sentry integration
|
2021-06-04 11:10:25 -04:00
|
|
|
gem 'sentry-raven', '~> 3.1'
|
2022-03-10 13:09:14 -05:00
|
|
|
gem 'sentry-ruby', '~> 5.1.1'
|
|
|
|
gem 'sentry-rails', '~> 5.1.1'
|
|
|
|
gem 'sentry-sidekiq', '~> 5.1.1'
|
2016-01-22 16:04:22 -05:00
|
|
|
|
2020-10-23 05:08:41 -04:00
|
|
|
# PostgreSQL query parsing
|
2021-05-31 11:11:12 -04:00
|
|
|
#
|
2022-06-13 14:09:22 -04:00
|
|
|
gem 'pg_query', '~> 2.1.0'
|
2020-10-23 05:08:41 -04:00
|
|
|
|
2019-11-11 04:06:38 -05:00
|
|
|
gem 'premailer-rails', '~> 1.10.3'
|
2016-01-28 11:54:13 -05:00
|
|
|
|
2019-02-18 15:57:22 -05:00
|
|
|
# LabKit: Tracing and Correlation
|
2022-06-17 20:09:05 -04:00
|
|
|
gem 'gitlab-labkit', '~> 0.23.0'
|
2021-03-04 19:09:24 -05:00
|
|
|
# Thrift is a dependency of gitlab-labkit, we want a version higher than 0.14.0
|
|
|
|
# because of https://gitlab.com/gitlab-org/gitlab/-/issues/321900
|
|
|
|
gem 'thrift', '>= 0.14.0'
|
2019-02-18 15:57:22 -05:00
|
|
|
|
2017-04-12 23:41:46 -04:00
|
|
|
# I18n
|
2020-10-27 08:08:33 -04:00
|
|
|
gem 'ruby_parser', '~> 3.15', require: false
|
2022-06-20 20:08:43 -04:00
|
|
|
gem 'rails-i18n', '~> 7.0'
|
2017-04-12 23:41:46 -04:00
|
|
|
gem 'gettext_i18n_rails', '~> 1.8.0'
|
2018-03-16 10:29:11 -04:00
|
|
|
gem 'gettext_i18n_rails_js', '~> 1.3'
|
2020-08-26 02:10:34 -04:00
|
|
|
gem 'gettext', '~> 3.3', require: false, group: :development
|
2017-04-12 23:41:46 -04:00
|
|
|
|
2021-02-19 07:11:06 -05:00
|
|
|
gem 'batch-loader', '~> 2.0.1'
|
2017-11-03 09:16:43 -04:00
|
|
|
|
2017-05-17 07:20:55 -04:00
|
|
|
# Perf bar
|
2019-11-28 10:06:57 -05:00
|
|
|
gem 'peek', '~> 1.1'
|
2017-05-17 07:20:55 -04:00
|
|
|
|
2019-08-14 15:21:58 -04:00
|
|
|
# Snowplow events tracking
|
|
|
|
gem 'snowplow-tracker', '~> 0.6.1'
|
|
|
|
|
Storing of application metrics in InfluxDB
This adds the ability to write application metrics (e.g. SQL timings) to
InfluxDB. These metrics can in turn be visualized using Grafana, or
really anything else that can read from InfluxDB. These metrics can be
used to track application performance over time, between different Ruby
versions, different GitLab versions, etc.
== Transaction Metrics
Currently the following is tracked on a per transaction basis (a
transaction is a Rails request or a single Sidekiq job):
* Timings per query along with the raw (obfuscated) SQL and information
about what file the query originated from.
* Timings per view along with the path of the view and information about
what file triggered the rendering process.
* The duration of a request itself along with the controller/worker
class and method name.
* The duration of any instrumented method calls (more below).
== Sampled Metrics
Certain metrics can't be directly associated with a transaction. For
example, a process' total memory usage is unrelated to any running
transactions. While a transaction can result in the memory usage going
up there's no accurate way to determine what transaction is to blame,
this becomes especially problematic in multi-threaded environments.
To solve this problem there's a separate thread that takes samples at a
fixed interval. This thread (using the class Gitlab::Metrics::Sampler)
currently tracks the following:
* The process' total memory usage.
* The number of file descriptors opened by the process.
* The amount of Ruby objects (using ObjectSpace.count_objects).
* GC statistics such as timings, heap slots, etc.
The default/current interval is 15 seconds, any smaller interval might
put too much pressure on InfluxDB (especially when running dozens of
processes).
== Method Instrumentation
While currently not yet used methods can be instrumented to track how
long they take to run. Unlike the likes of New Relic this doesn't
require modifying the source code (e.g. including modules), it all
happens from the outside. For example, to track `User.by_login` we'd add
the following code somewhere in an initializer:
Gitlab::Metrics::Instrumentation.
instrument_method(User, :by_login)
to instead instrument an instance method:
Gitlab::Metrics::Instrumentation.
instrument_instance_method(User, :save)
Instrumentation for either all public model methods or a few crucial
ones will be added in the near future, I simply haven't gotten to doing
so just yet.
== Configuration
By default metrics are disabled. This means users don't have to bother
setting anything up if they don't want to. Metrics can be enabled by
editing one's gitlab.yml configuration file (see
config/gitlab.yml.example for example settings).
== Writing Data To InfluxDB
Because InfluxDB is still a fairly young product I expect the worse.
Data loss, unexpected reboots, the database not responding, you name it.
Because of this data is _not_ written to InfluxDB directly, instead it's
queued and processed by Sidekiq. This ensures that users won't notice
anything when InfluxDB is giving trouble.
The metrics worker can be started in a standalone manner as following:
bundle exec sidekiq -q metrics
The corresponding class is called MetricsWorker.
2015-12-09 10:45:51 -05:00
|
|
|
# Metrics
|
2021-06-30 14:07:05 -04:00
|
|
|
gem 'method_source', '~> 1.0', require: false
|
|
|
|
gem 'webrick', '~> 1.6.1', require: false
|
2022-07-12 17:09:53 -04:00
|
|
|
gem 'prometheus-client-mmap', '~> 0.16', require: 'prometheus/client'
|
Storing of application metrics in InfluxDB
This adds the ability to write application metrics (e.g. SQL timings) to
InfluxDB. These metrics can in turn be visualized using Grafana, or
really anything else that can read from InfluxDB. These metrics can be
used to track application performance over time, between different Ruby
versions, different GitLab versions, etc.
== Transaction Metrics
Currently the following is tracked on a per transaction basis (a
transaction is a Rails request or a single Sidekiq job):
* Timings per query along with the raw (obfuscated) SQL and information
about what file the query originated from.
* Timings per view along with the path of the view and information about
what file triggered the rendering process.
* The duration of a request itself along with the controller/worker
class and method name.
* The duration of any instrumented method calls (more below).
== Sampled Metrics
Certain metrics can't be directly associated with a transaction. For
example, a process' total memory usage is unrelated to any running
transactions. While a transaction can result in the memory usage going
up there's no accurate way to determine what transaction is to blame,
this becomes especially problematic in multi-threaded environments.
To solve this problem there's a separate thread that takes samples at a
fixed interval. This thread (using the class Gitlab::Metrics::Sampler)
currently tracks the following:
* The process' total memory usage.
* The number of file descriptors opened by the process.
* The amount of Ruby objects (using ObjectSpace.count_objects).
* GC statistics such as timings, heap slots, etc.
The default/current interval is 15 seconds, any smaller interval might
put too much pressure on InfluxDB (especially when running dozens of
processes).
== Method Instrumentation
While currently not yet used methods can be instrumented to track how
long they take to run. Unlike the likes of New Relic this doesn't
require modifying the source code (e.g. including modules), it all
happens from the outside. For example, to track `User.by_login` we'd add
the following code somewhere in an initializer:
Gitlab::Metrics::Instrumentation.
instrument_method(User, :by_login)
to instead instrument an instance method:
Gitlab::Metrics::Instrumentation.
instrument_instance_method(User, :save)
Instrumentation for either all public model methods or a few crucial
ones will be added in the near future, I simply haven't gotten to doing
so just yet.
== Configuration
By default metrics are disabled. This means users don't have to bother
setting anything up if they don't want to. Metrics can be enabled by
editing one's gitlab.yml configuration file (see
config/gitlab.yml.example for example settings).
== Writing Data To InfluxDB
Because InfluxDB is still a fairly young product I expect the worse.
Data loss, unexpected reboots, the database not responding, you name it.
Because of this data is _not_ written to InfluxDB directly, instead it's
queued and processed by Sidekiq. This ensures that users won't notice
anything when InfluxDB is giving trouble.
The metrics worker can be started in a standalone manner as following:
bundle exec sidekiq -q metrics
The corresponding class is called MetricsWorker.
2015-12-09 10:45:51 -05:00
|
|
|
|
2022-07-18 08:08:41 -04:00
|
|
|
gem 'warning', '~> 1.3.0'
|
2021-08-02 11:08:56 -04:00
|
|
|
|
2011-10-27 15:37:17 -04:00
|
|
|
group :development do
|
2022-06-28 11:09:17 -04:00
|
|
|
gem 'lefthook', '~> 1.0.0', require: false
|
2022-04-29 02:09:06 -04:00
|
|
|
gem 'rubocop'
|
2022-04-15 14:09:57 -04:00
|
|
|
gem 'solargraph', '~> 0.44.3', require: false
|
2015-08-25 21:42:46 -04:00
|
|
|
|
2021-11-08 10:13:35 -05:00
|
|
|
gem 'letter_opener_web', '~> 2.0.0'
|
2013-10-01 08:15:14 -04:00
|
|
|
|
2012-12-25 17:42:53 -05:00
|
|
|
# Better errors handler
|
2021-04-08 11:09:06 -04:00
|
|
|
gem 'better_errors', '~> 2.9.0'
|
2012-12-30 07:43:00 -05:00
|
|
|
|
2013-01-19 06:56:55 -05:00
|
|
|
# thin instead webrick
|
2021-02-08 22:09:18 -05:00
|
|
|
gem 'thin', '~> 1.8.0'
|
2021-10-19 17:12:08 -04:00
|
|
|
|
|
|
|
gem 'sprite-factory', '~> 1.7'
|
2011-10-08 17:36:38 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
group :development, :test do
|
2020-11-23 07:09:11 -05:00
|
|
|
gem 'deprecation_toolkit', '~> 1.5.1', require: false
|
2021-02-03 13:09:25 -05:00
|
|
|
gem 'bullet', '~> 6.1.3'
|
2021-05-18 20:10:43 -04:00
|
|
|
gem 'pry-byebug'
|
2020-01-31 10:08:42 -05:00
|
|
|
gem 'pry-rails', '~> 0.3.9'
|
2021-09-28 14:11:27 -04:00
|
|
|
gem 'pry-shell', '~> 0.5.0'
|
2015-06-17 18:05:48 -04:00
|
|
|
|
2018-05-30 03:16:58 -04:00
|
|
|
gem 'awesome_print', require: false
|
2015-08-25 21:42:46 -04:00
|
|
|
|
2018-12-18 13:40:22 -05:00
|
|
|
gem 'database_cleaner', '~> 1.7.0'
|
2021-08-12 05:09:05 -04:00
|
|
|
gem 'factory_bot_rails', '~> 6.2.0'
|
2021-04-13 14:11:28 -04:00
|
|
|
gem 'rspec-rails', '~> 5.0.1'
|
2012-09-10 02:26:35 -04:00
|
|
|
|
2013-05-06 12:53:19 -04:00
|
|
|
# Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
|
2018-12-30 03:16:02 -05:00
|
|
|
gem 'minitest', '~> 5.11.0'
|
2013-05-09 04:02:48 -04:00
|
|
|
|
2013-04-04 03:55:43 -04:00
|
|
|
# Generate Fake data
|
2018-10-29 10:19:22 -04:00
|
|
|
gem 'ffaker', '~> 2.10'
|
2013-04-04 03:55:43 -04:00
|
|
|
|
2020-11-09 01:09:23 -05:00
|
|
|
gem 'spring', '~> 2.1.0'
|
2017-02-08 13:41:27 -05:00
|
|
|
gem 'spring-commands-rspec', '~> 1.0.4'
|
2015-08-25 21:42:46 -04:00
|
|
|
|
2022-06-09 23:08:14 -04:00
|
|
|
gem 'gitlab-styles', '~> 7.1.0', require: false
|
2017-09-19 11:25:42 -04:00
|
|
|
|
2020-11-03 07:08:55 -05:00
|
|
|
gem 'haml_lint', '~> 0.36.0', require: false
|
2021-01-22 07:08:52 -05:00
|
|
|
gem 'bundler-audit', '~> 0.7.0.1', require: false
|
2015-10-02 05:29:46 -04:00
|
|
|
|
2016-07-01 19:54:17 -04:00
|
|
|
gem 'benchmark-ips', '~> 2.3.0', require: false
|
2016-04-17 17:35:18 -04:00
|
|
|
|
2021-04-19 08:09:04 -04:00
|
|
|
gem 'knapsack', '~> 1.21.1'
|
2020-10-28 11:08:49 -04:00
|
|
|
gem 'crystalball', '~> 0.7.0', require: false
|
2016-10-17 06:52:16 -04:00
|
|
|
|
2022-03-25 02:07:49 -04:00
|
|
|
gem 'simple_po_parser', '~> 1.1.6', require: false
|
2018-03-28 16:09:07 -04:00
|
|
|
|
2020-03-02 10:08:01 -05:00
|
|
|
gem 'timecop', '~> 0.9.1'
|
2020-01-06 16:07:43 -05:00
|
|
|
|
|
|
|
gem 'png_quantizator', '~> 0.2.1', require: false
|
|
|
|
|
2020-01-07 22:08:05 -05:00
|
|
|
gem 'parallel', '~> 1.19', require: false
|
2020-07-16 08:09:22 -04:00
|
|
|
|
2021-04-15 02:09:30 -04:00
|
|
|
gem 'test_file_finder', '~> 0.1.3'
|
2022-02-23 01:18:49 -05:00
|
|
|
|
|
|
|
gem 'sigdump', '~> 0.2.4', require: 'sigdump/setup'
|
2022-06-07 05:09:00 -04:00
|
|
|
|
|
|
|
gem 'pact', '~> 1.12'
|
2011-10-08 17:36:38 -04:00
|
|
|
end
|
|
|
|
|
2021-03-12 07:09:33 -05:00
|
|
|
group :development, :test, :danger do
|
2022-07-12 14:08:46 -04:00
|
|
|
gem 'gitlab-dangerfiles', '~> 3.4.3', require: false
|
2021-03-12 07:09:33 -05:00
|
|
|
end
|
|
|
|
|
2020-09-22 08:09:39 -04:00
|
|
|
group :development, :test, :coverage do
|
2022-03-15 14:08:10 -04:00
|
|
|
gem 'simplecov', '~> 0.21', require: false
|
2021-12-01 19:17:32 -05:00
|
|
|
gem 'simplecov-lcov', '~> 0.8.0', require: false
|
2020-09-22 08:09:39 -04:00
|
|
|
gem 'simplecov-cobertura', '~> 1.3.1', require: false
|
2021-12-01 19:17:32 -05:00
|
|
|
gem 'undercover', '~> 0.4.4', require: false
|
2020-09-22 08:09:39 -04:00
|
|
|
end
|
|
|
|
|
2019-10-29 08:06:40 -04:00
|
|
|
# Gems required in omnibus-gitlab pipeline
|
|
|
|
group :development, :test, :omnibus do
|
2021-11-23 10:11:19 -05:00
|
|
|
# Using a fork until https://github.com/pivotal/LicenseFinder/pull/816 is
|
|
|
|
# resolved. For details, check discussion in
|
|
|
|
# https://gitlab.com/gitlab-org/gitlab/-/merge_requests/74881
|
|
|
|
gem 'gitlab-license_finder', '~> 6.0', require: false
|
2019-10-29 08:06:40 -04:00
|
|
|
end
|
|
|
|
|
2011-10-08 17:36:38 -04:00
|
|
|
group :test do
|
2019-11-20 10:06:39 -05:00
|
|
|
gem 'fuubar', '~> 2.2.0'
|
|
|
|
gem 'rspec-retry', '~> 0.6.1'
|
2020-10-25 20:09:02 -04:00
|
|
|
gem 'rspec_profiling', '~> 0.0.6'
|
2022-03-02 07:15:38 -05:00
|
|
|
gem 'rspec-benchmark', '~> 0.6.0'
|
2019-11-20 10:06:39 -05:00
|
|
|
gem 'rspec-parameterized', require: false
|
|
|
|
|
2021-04-28 20:09:48 -04:00
|
|
|
gem 'capybara', '~> 3.35.3'
|
2019-11-20 10:06:39 -05:00
|
|
|
gem 'capybara-screenshot', '~> 1.0.22'
|
2019-11-28 13:06:11 -05:00
|
|
|
gem 'selenium-webdriver', '~> 3.142'
|
2019-11-20 10:06:39 -05:00
|
|
|
|
2022-06-27 11:09:33 -04:00
|
|
|
gem 'shoulda-matchers', '~> 5.1.0', require: false
|
2018-05-26 10:21:20 -04:00
|
|
|
gem 'email_spec', '~> 2.2.0'
|
2020-09-29 05:09:49 -04:00
|
|
|
gem 'webmock', '~> 3.9.1'
|
2018-12-07 13:15:06 -05:00
|
|
|
gem 'rails-controller-testing'
|
2018-11-19 15:20:44 -05:00
|
|
|
gem 'concurrent-ruby', '~> 1.1'
|
2021-10-08 08:11:10 -04:00
|
|
|
gem 'test-prof', '~> 1.0.7'
|
2018-08-31 06:22:33 -04:00
|
|
|
gem 'rspec_junit_formatter'
|
2019-11-18 16:06:19 -05:00
|
|
|
gem 'guard-rspec'
|
2020-05-18 11:08:15 -04:00
|
|
|
|
|
|
|
# Moved in `test` because https://gitlab.com/gitlab-org/gitlab/-/issues/217527
|
|
|
|
gem 'derailed_benchmarks', require: false
|
2011-10-08 17:36:38 -04:00
|
|
|
end
|
2012-08-23 19:21:20 -04:00
|
|
|
|
2020-01-14 10:07:55 -05:00
|
|
|
gem 'octokit', '~> 4.15'
|
2015-08-18 18:46:36 -04:00
|
|
|
|
2022-01-05 10:13:51 -05:00
|
|
|
# Updating this gem version here is deprecated. See:
|
|
|
|
# https://docs.gitlab.com/ee/development/emails.html#mailroom-gem-updates
|
2021-03-24 11:09:19 -04:00
|
|
|
gem 'gitlab-mail_room', '~> 0.0.9', require: 'mail_room'
|
2015-08-18 20:02:26 -04:00
|
|
|
|
2016-11-11 00:09:49 -05:00
|
|
|
gem 'email_reply_trimmer', '~> 0.1'
|
2016-11-10 01:24:02 -05:00
|
|
|
gem 'html2text'
|
2015-08-25 21:42:46 -04:00
|
|
|
|
2020-03-25 14:08:10 -04:00
|
|
|
gem 'ruby-prof', '~> 1.3.0'
|
2020-02-10 13:09:00 -05:00
|
|
|
gem 'stackprof', '~> 0.2.15', require: false
|
2018-07-25 01:15:52 -04:00
|
|
|
gem 'rbtrace', '~> 0.4', require: false
|
2019-05-27 04:30:17 -04:00
|
|
|
gem 'memory_profiler', '~> 0.9', require: false
|
|
|
|
gem 'benchmark-memory', '~> 0.1', require: false
|
2019-06-03 07:53:48 -04:00
|
|
|
gem 'activerecord-explain-analyze', '~> 0.1', require: false
|
2016-07-15 11:46:39 -04:00
|
|
|
|
2015-08-25 21:42:46 -04:00
|
|
|
# OAuth
|
2022-07-01 14:08:33 -04:00
|
|
|
gem 'oauth2', '~> 2.0'
|
2015-08-25 21:42:46 -04:00
|
|
|
|
2016-04-22 12:50:08 -04:00
|
|
|
# Health check
|
2020-07-20 08:09:34 -04:00
|
|
|
gem 'health_check', '~> 3.0'
|
2016-06-22 10:43:28 -04:00
|
|
|
|
|
|
|
# System information
|
2016-12-27 01:05:29 -05:00
|
|
|
gem 'vmstat', '~> 2.3.0'
|
2021-12-16 10:10:28 -05:00
|
|
|
gem 'sys-filesystem', '~> 1.4.3'
|
2017-02-05 13:04:23 -05:00
|
|
|
|
2019-09-13 09:26:31 -04:00
|
|
|
# NTP client
|
|
|
|
gem 'net-ntp'
|
|
|
|
|
2022-01-25 13:11:55 -05:00
|
|
|
# SSH keys support
|
2022-06-14 08:08:53 -04:00
|
|
|
gem 'ssh_data', '~> 1.3'
|
2017-08-03 08:19:11 -04:00
|
|
|
|
2021-04-30 20:10:00 -04:00
|
|
|
# Spamcheck GRPC protocol definitions
|
2021-05-06 20:10:27 -04:00
|
|
|
gem 'spamcheck', '~> 0.1.0'
|
2021-04-30 20:10:00 -04:00
|
|
|
|
2019-08-12 11:50:30 -04:00
|
|
|
# Gitaly GRPC protocol definitions
|
2022-06-13 08:08:29 -04:00
|
|
|
gem 'gitaly', '~> 15.1.0-rc1'
|
2019-01-31 13:32:44 -05:00
|
|
|
|
2021-06-14 23:10:34 -04:00
|
|
|
# KAS GRPC protocol definitions
|
|
|
|
gem 'kas-grpc', '~> 0.0.2'
|
|
|
|
|
2022-01-12 10:13:54 -05:00
|
|
|
gem 'grpc', '~> 1.42.0'
|
2018-03-02 08:03:11 -05:00
|
|
|
|
2022-01-12 10:13:54 -05:00
|
|
|
gem 'google-protobuf', '~> 3.19.0'
|
2017-04-04 10:06:07 -04:00
|
|
|
|
2021-07-08 17:09:21 -04:00
|
|
|
gem 'toml-rb', '~> 2.0'
|
2017-05-31 17:06:01 -04:00
|
|
|
|
|
|
|
# Feature toggles
|
2021-06-07 08:10:00 -04:00
|
|
|
gem 'flipper', '~> 0.21.0'
|
|
|
|
gem 'flipper-active_record', '~> 0.21.0'
|
|
|
|
gem 'flipper-active_support_cache_store', '~> 0.21.0'
|
2021-07-29 08:08:55 -04:00
|
|
|
gem 'unleash', '~> 3.2.2'
|
2022-04-12 05:08:22 -04:00
|
|
|
gem 'gitlab-experiment', '~> 0.7.1'
|
Add structured logging for Rails processes
This introduces JSON logging for Rails views saved to a file called
`development_json.log`, `production_json.log`, etc.
For example, instead of this unparsable log:
```
Started GET "/" for 127.0.0.1 at 2012-03-10 14:28:14 +0100
Processing by HomeController#index as HTML
Rendered text template within layouts/application (0.0ms)
Rendered layouts/_assets.html.erb (2.0ms)
Rendered layouts/_top.html.erb (2.6ms)
Rendered layouts/_about.html.erb (0.3ms)
Rendered layouts/_google_analytics.html.erb (0.4ms)
Completed 200 OK in 79ms (Views: 78.8ms | ActiveRecord: 0.0ms)
```
We get a single line with this:
```
{"method":"GET","path":"/,"format":"html","controller":"HomeController","action":"index","status":200,"duration":79,"view":78.8,"db":0.0,"location":"http://localhost/","time":"2017-07-18 09:35:17 -0700"}
```
Part of #20060
2017-07-17 18:54:13 -04:00
|
|
|
|
|
|
|
# Structured logging
|
|
|
|
gem 'lograge', '~> 0.5'
|
2022-05-25 02:08:38 -04:00
|
|
|
gem 'grape_logging', '~> 1.8'
|
2019-09-11 12:02:11 -04:00
|
|
|
|
2019-09-13 09:26:31 -04:00
|
|
|
# DNS Lookup
|
2020-03-18 20:09:27 -04:00
|
|
|
gem 'gitlab-net-dns', '~> 0.9.1'
|
2019-09-13 09:26:31 -04:00
|
|
|
|
2019-09-11 12:02:11 -04:00
|
|
|
# Countries list
|
|
|
|
gem 'countries', '~> 3.0'
|
2019-10-21 20:06:05 -04:00
|
|
|
|
|
|
|
gem 'retriable', '~> 3.1.2'
|
2019-12-18 04:07:38 -05:00
|
|
|
|
2020-01-16 19:09:00 -05:00
|
|
|
# LRU cache
|
|
|
|
gem 'lru_redux'
|
2020-01-31 13:09:11 -05:00
|
|
|
|
|
|
|
gem 'erubi', '~> 1.9.0'
|
2020-02-06 07:10:29 -05:00
|
|
|
|
|
|
|
# Locked as long as quoted-printable encoding issues are not resolved
|
|
|
|
# Monkey-patched in `config/initializers/mail_encoding_patch.rb`
|
|
|
|
# See https://gitlab.com/gitlab-org/gitlab/issues/197386
|
|
|
|
gem 'mail', '= 2.7.1'
|
2021-04-09 20:09:11 -04:00
|
|
|
gem 'mail-smtp_pool', '~> 0.1.0', path: 'vendor/gems/mail-smtp_pool', require: false
|
2020-03-27 08:07:43 -04:00
|
|
|
|
|
|
|
# File encryption
|
2021-03-25 14:09:07 -04:00
|
|
|
gem 'lockbox', '~> 0.6.2'
|
2020-05-06 05:10:02 -04:00
|
|
|
|
|
|
|
# Email validation
|
|
|
|
gem 'valid_email', '~> 0.1'
|
2020-05-14 02:08:18 -04:00
|
|
|
|
|
|
|
# JSON
|
2021-09-16 08:09:35 -04:00
|
|
|
gem 'json', '~> 2.5.1'
|
2021-08-04 05:08:21 -04:00
|
|
|
gem 'json_schemer', '~> 0.2.18'
|
2022-07-07 20:09:36 -04:00
|
|
|
gem 'oj', '~> 3.13.16'
|
2020-07-13 11:09:08 -04:00
|
|
|
gem 'multi_json', '~> 1.14.1'
|
2020-08-12 11:10:02 -04:00
|
|
|
gem 'yajl-ruby', '~> 1.4.1', require: 'yajl'
|
2020-09-07 08:08:27 -04:00
|
|
|
|
|
|
|
gem 'webauthn', '~> 2.3'
|
2020-10-07 02:09:03 -04:00
|
|
|
|
|
|
|
# IPAddress utilities
|
|
|
|
gem 'ipaddress', '~> 0.8.3'
|
2021-02-08 13:09:49 -05:00
|
|
|
|
|
|
|
gem 'parslet', '~> 1.8'
|
2021-11-01 14:12:42 -04:00
|
|
|
|
2022-06-29 20:08:16 -04:00
|
|
|
gem 'ipynbdiff', path: 'vendor/gems/ipynbdiff'
|
2022-06-14 08:08:53 -04:00
|
|
|
|
|
|
|
gem 'ed25519', '~> 1.3.0'
|
2022-07-02 08:08:31 -04:00
|
|
|
|
|
|
|
# Error Tracking OpenAPI client
|
|
|
|
# See https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/development/rake_tasks.md#update-openapi-client-for-error-tracking-feature
|
|
|
|
gem 'error_tracking_open_api', path: 'vendor/gems/error_tracking_open_api'
|