Gemfile 12.2 KB
Newer Older
B
bogdanvlviv 已提交
1
source 'https://rubygems.org'
G
gitlabhq 已提交
2

3
gem 'rails', '~> 6.0.3.1'
V
Valery Sizov 已提交
4

5
gem 'bootsnap', '~> 1.4.6'
6

7 8 9
# Improves copy-on-write performance for MRI
gem 'nakayoshi_fork', '~> 0.0.4'

V
Valery Sizov 已提交
10
# Responders respond_to and respond_with
11
gem 'responders', '~> 3.0'
12

U
ubudzisz 已提交
13
gem 'sprockets', '~> 3.7.0'
14

D
Dmitriy Zaporozhets 已提交
15
# Default values for AR models
16
gem 'default_value_for', '~> 3.3.0'
D
Dmitriy Zaporozhets 已提交
17

D
Dmitriy Zaporozhets 已提交
18
# Supported DBs
19
gem 'pg', '~> 1.1'
D
Dmitriy Zaporozhets 已提交
20

S
Stan Hu 已提交
21
gem 'rugged', '~> 0.28'
22
gem 'grape-path-helpers', '~> 1.3'
R
Robert Speicher 已提交
23

24
gem 'faraday', '~> 0.12'
25
gem 'marginalia', '~> 1.9.0'
D
Douglas Barbosa Alexandre 已提交
26

K
karen Carias 已提交
27
# Authentication libraries
U
Utkarsh Gupta 已提交
28
gem 'devise', '~> 4.6'
29
gem 'doorkeeper', '~> 5.0.3'
30
gem 'doorkeeper-openid_connect', '~> 1.6.3'
P
Pirate Praveen 已提交
31
gem 'omniauth', '~> 1.8'
32
gem 'omniauth-auth0', '~> 2.0.0'
33
gem 'omniauth-azure-oauth2', '~> 0.0.9'
34
gem 'omniauth-cas3', '~> 1.1.4'
M
Markus Koller 已提交
35
gem 'omniauth-facebook', '~> 4.0.0'
36
gem 'omniauth-github', '~> 1.4'
M
Markus Koller 已提交
37
gem 'omniauth-gitlab', '~> 1.0.2'
38
gem 'omniauth-google-oauth2', '~> 0.6.0'
M
Markus Koller 已提交
39
gem 'omniauth-kerberos', '~> 0.3.0', group: :kerberos
J
Joe Marty 已提交
40
gem 'omniauth-oauth2-generic', '~> 0.2.2'
P
Pirate Praveen 已提交
41
gem 'omniauth-saml', '~> 1.10'
42
gem 'omniauth-shibboleth', '~> 1.3.0'
43
gem 'omniauth-twitter', '~> 1.4'
44
gem 'omniauth_crowd', '~> 2.4.0'
45
gem 'omniauth-authentiq', '~> 0.3.3'
46
gem 'omniauth_openid_connect', '~> 0.3.5'
G
Gosia Ksionek 已提交
47
gem 'omniauth-salesforce', '~> 1.0.5'
48
gem 'rack-oauth2', '~> 1.9.3'
49
gem 'jwt', '~> 2.1.0'
D
Dmitriy Zaporozhets 已提交
50

51 52 53
# Kerberos authentication. EE-only
gem 'gssapi', group: :kerberos

54
# Spam and anti-bot protection
P
Pirate Praveen 已提交
55
gem 'recaptcha', '~> 4.11', require: 'recaptcha/rails'
56
gem 'akismet', '~> 3.0'
A
Alex Buijs 已提交
57
gem 'invisible_captcha', '~> 0.12.1'
58

59
# Two-factor authentication
60
gem 'devise-two-factor', '~> 3.1.0'
D
Douwe Maan 已提交
61
gem 'rqrcode-rails3', '~> 0.1.7'
62
gem 'attr_encrypted', '~> 3.1.0'
63
gem 'u2f', '~> 0.2.1'
64

65
# GitLab Pages
66
gem 'validates_hostname', '~> 1.0.10'
67
gem 'rubyzip', '~> 2.0.0', require: 'zip'
V
Vladimir Shushlin 已提交
68
# GitLab Pages letsencrypt support
69
gem 'acme-client', '~> 2.0', '>= 2.0.6'
70

71
# Browser detection
72
gem 'browser', '~> 4.2'
73

K
Kevin O'Connor 已提交
74
# GPG
75
gem 'gpgme', '~> 2.0.19'
K
Kevin O'Connor 已提交
76

77
# LDAP Auth
Y
Yorick Peterse 已提交
78
# GitLab fork with several improvements to original library. For full list of changes
79
# see https://github.com/intridea/omniauth-ldap/compare/master...gitlabhq:master
80
gem 'gitlab_omniauth-ldap', '~> 2.1.1', require: 'omniauth-ldap'
81
gem 'net-ldap'
82

R
randx 已提交
83
# API
84 85 86
# Locked at Grape v1.4.0 until https://github.com/ruby-grape/grape/pull/2088 is merged
# Remove config/initializers/grape_patch.rb
gem 'grape', '= 1.4.0'
87
gem 'grape-entity', '~> 0.7.1'
88
gem 'rack-cors', '~> 1.0.6', require: 'rack/cors'
R
randx 已提交
89

N
Nick Thomas 已提交
90
# GraphQL API
91
gem 'graphql', '~> 1.10.5'
92
# NOTE: graphiql-rails v1.5+ doesn't work: https://gitlab.com/gitlab-org/gitlab/issues/31771
93
# TODO: remove app/views/graphiql/rails/editors/show.html.erb when https://github.com/rmosolgo/graphiql-rails/pull/71 is released:
94
# https://gitlab.com/gitlab-org/gitlab/issues/31747
95
gem 'graphiql-rails', '~> 1.4.10'
96
gem 'apollo_upload_server', '~> 2.0.0.beta3'
F
Felipe Artur 已提交
97
gem 'graphql-docs', '~> 1.6.0', group: [:development, :test]
N
Nick Thomas 已提交
98

99 100 101
# Disable strong_params so that Mash does not respond to :permitted?
gem 'hashie-forbidden_attributes'

R
randx 已提交
102
# Pagination
103
gem 'kaminari', '~> 1.0'
R
randx 已提交
104 105

# HAML
106
gem 'hamlit', '~> 2.11.0'
R
randx 已提交
107 108

# Files attachments
109
gem 'carrierwave', '~> 1.3'
110
gem 'mini_magick'
111

S
Stan Hu 已提交
112
# for backups
S
Stan Hu 已提交
113
gem 'fog-aws', '~> 3.5'
114 115 116
# 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'
117
gem 'fog-google', '~> 1.10'
118 119
gem 'fog-local', '~> 0.6'
gem 'fog-openstack', '~> 1.0'
120
gem 'fog-rackspace', '~> 0.1.1'
121
gem 'fog-aliyun', '~> 0.3'
122
gem 'gitlab-fog-azure-rm', '~> 0.8', require: false
S
Stan Hu 已提交
123

124
# for Google storage
125
gem 'google-api-client', '~> 0.33'
126

127
# for aws storage
B
bogdanvlviv 已提交
128
gem 'unf', '~> 0.1.4'
R
randx 已提交
129 130

# Seed data
131
gem 'seed-fu', '~> 2.3.7'
R
randx 已提交
132

133
# Search
134 135 136
gem 'elasticsearch-model', '~> 6.1'
gem 'elasticsearch-rails', '~> 6.1', require: 'elasticsearch/rails/instrumentation'
gem 'elasticsearch-api',   '~> 6.8'
137 138 139 140
gem 'aws-sdk-core', '~> 3'
gem 'aws-sdk-cloudformation', '~> 1'
gem 'aws-sdk-s3', '~> 1'
gem 'faraday_middleware-aws-sigv4', '~>0.3.0'
141

R
Robert Speicher 已提交
142
# Markdown and HTML processing
143
gem 'html-pipeline', '~> 2.12'
144
gem 'deckar01-task_list', '2.3.1'
145
gem 'gitlab-markup', '~> 1.7.1'
146
gem 'github-markup', '~> 1.7.0', require: 'github/markup'
147
gem 'commonmarker', '~> 0.20'
148
gem 'kramdown', '~> 2.3.0'
M
Markus Koller 已提交
149
gem 'RedCloth', '~> 4.3.2'
150
gem 'rdoc', '~> 6.1.2'
M
Markus Koller 已提交
151 152 153
gem 'org-ruby', '~> 0.9.12'
gem 'creole', '~> 0.5.0'
gem 'wikicloth', '0.8.1'
154
gem 'asciidoctor', '~> 2.0.10'
155
gem 'asciidoctor-include-ext', '~> 0.3.1', require: false
156
gem 'asciidoctor-plantuml', '~> 0.0.12'
157
gem 'rouge', '~> 3.21.0'
B
Brett Walker 已提交
158
gem 'truncato', '~> 0.7.11'
E
Enrique Alcantara 已提交
159
gem 'bootstrap_form', '~> 4.2.0'
160
gem 'nokogiri', '~> 1.10.9'
161
gem 'escape_utils', '~> 1.1'
162

163 164 165
# Calendar rendering
gem 'icalendar'

S
skv-headless 已提交
166
# Diffs
167
gem 'diffy', '~> 3.3'
168
gem 'diff_match_patch', '~> 0.1.0'
S
skv-headless 已提交
169

170
# Application server
171
gem 'rack', '~> 2.0.9'
172 173
# https://github.com/sharpstone/rack-timeout/blob/master/README.md#rails-apps-manually
gem 'rack-timeout', '~> 0.5.1', require: 'rack/timeout/base'
174

J
Jacob Vosmaer 已提交
175
group :unicorn do
176
  gem 'unicorn', '~> 5.5'
177
  gem 'unicorn-worker-killer', '~> 0.4.4'
J
Jacob Vosmaer 已提交
178
end
R
randx 已提交
179

180
group :puma do
181
  gem 'gitlab-puma', '~> 4.3.3.gitlab.2', require: false
182
  gem 'gitlab-puma_worker_killer', '~> 0.1.1.gitlab.1', require: false
183 184
end

A
Andrew8xx8 已提交
185
# State machine
186
gem 'state_machines-activerecord', '~> 0.6.0'
A
Andrew8xx8 已提交
187

R
randx 已提交
188
# Issue tags
189
gem 'acts-as-taggable-on', '~> 6.0'
R
randx 已提交
190 191

# Background jobs
S
Stan Hu 已提交
192
gem 'sidekiq', '~> 5.2.7'
193
gem 'sidekiq-cron', '~> 1.0'
194
gem 'redis-namespace', '~> 1.7.0'
V
Valery Sizov 已提交
195
gem 'gitlab-sidekiq-fetcher', '0.5.2', require: 'sidekiq-reliable-fetch'
R
randx 已提交
196

S
Shinya Maeda 已提交
197
# Cron Parser
198
gem 'fugit', '~> 1.2.1'
S
Shinya Maeda 已提交
199

R
randx 已提交
200
# HTTP requests
201
gem 'httparty', '~> 0.16.4'
R
randx 已提交
202 203

# Colored output to console
204
gem 'rainbow', '~> 3.0'
R
randx 已提交
205

206 207
# Progress bar
gem 'ruby-progressbar'
R
randx 已提交
208

R
Riyad Preukschas 已提交
209
# GitLab settings
D
Douwe Maan 已提交
210
gem 'settingslogic', '~> 2.0.9'
A
Aleksei Kvitinskii 已提交
211

212
# Linear-time regex library for untrusted regular expressions
213
gem 're2', '~> 1.2.0'
214

R
randx 已提交
215
# Misc
D
Douwe Maan 已提交
216

217
gem 'version_sorter', '~> 2.2.4'
R
randx 已提交
218

219
# Export Ruby Regex to Javascript
220
gem 'js_regex', '~> 3.4'
221

222 223 224
# User agent parsing
gem 'device_detector'

225
# Redis
S
Stan Hu 已提交
226
gem 'redis', '~> 4.0'
227 228
gem 'connection_pool', '~> 2.0'

S
Stan Hu 已提交
229 230 231
# Redis session store
gem 'redis-rails', '~> 5.0.2'

B
blackst0ne 已提交
232
# Discord integration
B
blackst0ne 已提交
233
gem 'discordrb-webhooks-blackst0ne', '~> 3.3', require: false
B
blackst0ne 已提交
234

235 236 237
# HipChat integration
gem 'hipchat', '~> 1.5.0'

T
Takuya Noguchi 已提交
238
# Jira integration
239
gem 'jira-ruby', '~> 2.0.0'
240
gem 'atlassian-jwt', '~> 0.2.0'
D
Drew Blessing 已提交
241

242
# Flowdock integration
243
gem 'flowdock', '~> 0.7'
244

245
# Slack integration
246
gem 'slack-messenger', '~> 2.3.3'
247

248 249 250
# Hangouts Chat integration
gem 'hangouts-chat', '~> 0.0.5'

J
Jeremy 已提交
251
# Asana integration
252 253 254
# asana 0.10.1 needs faraday 1.0
# https://gitlab.com/gitlab-org/gitlab/-/issues/224296
gem 'asana', '0.10.0'
J
Jeremy 已提交
255

J
Jared Szechy 已提交
256
# FogBugz integration
J
Jared Szechy 已提交
257
gem 'ruby-fogbugz', '~> 0.2.1'
J
Jared Szechy 已提交
258

259
# Kubernetes integration
260
gem 'kubeclient', '~> 4.6.0'
261

262
# Sanitize user input
263
gem 'sanitize', '~> 5.2.1'
264
gem 'babosa', '~> 1.0.2'
265

S
Stan Hu 已提交
266
# Sanitizes SVG input
267
gem 'loofah', '~> 2.2'
S
Stan Hu 已提交
268

269
# Working with license
P
Pirate Praveen 已提交
270
gem 'licensee', '~> 8.9'
271

D
Dmitriy Zaporozhets 已提交
272
# Ace editor
273
gem 'ace-rails-ap', '~> 4.1.0'
D
Dmitriy Zaporozhets 已提交
274

275
# Detect and convert string character encoding
276
gem 'charlock_holmes', '~> 0.7.5'
277

278 279 280
# Detect mime content type from content
gem 'mimemagic', '~> 0.3.2'

D
dosire 已提交
281 282 283
# Faster blank
gem 'fast_blank'

R
Rémy Coutable 已提交
284
# Parse time & duration
285 286
gem 'gitlab-chronic', '~> 0.10.5'
gem 'gitlab_chronic_duration', '~> 0.10.6.2'
287

M
Mike Greiling 已提交
288
gem 'webpack-rails', '~> 0.9.10'
289 290
gem 'rack-proxy', '~> 0.6.0'

291
gem 'sassc-rails', '~> 2.1.0'
B
bogdanvlviv 已提交
292
gem 'uglifier', '~> 2.7.2'
293

294
gem 'addressable', '~> 2.7'
295
gem 'font-awesome-rails', '~> 4.7'
296
gem 'gemojione', '~> 3.3'
P
Pirate Praveen 已提交
297
gem 'gon', '~> 6.2'
298
gem 'request_store', '~> 1.5'
M
Markus Koller 已提交
299
gem 'base32', '~> 0.3.0'
G
gitlabhq 已提交
300

301 302
gem "gitlab-license", "~> 1.0"

303
# Protect against bruteforcing
304
gem 'rack-attack', '~> 6.3.0'
305

306
# Sentry integration
U
Utkarsh Gupta 已提交
307
gem 'sentry-raven', '~> 2.9'
308

309
gem 'premailer-rails', '~> 1.10.3'
D
Douwe Maan 已提交
310

311
# LabKit: Tracing and Correlation
312
gem 'gitlab-labkit', '0.12.1'
313

R
Ruben Davila 已提交
314
# I18n
315
gem 'ruby_parser', '~> 3.8', require: false
316
gem 'rails-i18n', '~> 6.0'
R
Ruben Davila 已提交
317
gem 'gettext_i18n_rails', '~> 1.8.0'
318
gem 'gettext_i18n_rails_js', '~> 1.3'
319
gem 'gettext', '~> 3.3', require: false, group: :development
R
Ruben Davila 已提交
320

321
gem 'batch-loader', '~> 1.4.0'
322

323
# Perf bar
324
gem 'peek', '~> 1.1'
325

326 327 328
# Snowplow events tracking
gem 'snowplow-tracker', '~> 0.6.1'

329 330
# Metrics
group :metrics do
331
  gem 'method_source', '~> 1.0', require: false
332

333
  # Prometheus
334
  gem 'prometheus-client-mmap', '~> 0.11.0'
335
  gem 'raindrops', '~> 0.18'
336 337
end

N
Nihad Abbasov 已提交
338
group :development do
T
Takuya Noguchi 已提交
339
  gem 'brakeman', '~> 4.2', require: false
A
Ash McKenzie 已提交
340
  gem 'danger', '~> 6.0', require: false
D
Douwe Maan 已提交
341

342
  gem 'letter_opener_web', '~> 1.3.4'
D
Dmitriy Zaporozhets 已提交
343

344
  # Better errors handler
345
  gem 'better_errors', '~> 2.7.1'
346
  gem 'binding_of_caller', '~> 0.8.0'
347

348
  # thin instead webrick
C
Connor Shea 已提交
349
  gem 'thin', '~> 1.7.0'
G
gitlabhq 已提交
350 351 352
end

group :development, :test do
353
  gem 'bullet', '~> 6.1.0'
354
  gem 'pry-byebug', '~> 3.9.0', platform: :mri
355
  gem 'pry-rails', '~> 0.3.9'
R
Robert Speicher 已提交
356

357
  gem 'awesome_print', require: false
D
Douwe Maan 已提交
358

J
Jan Provaznik 已提交
359
  gem 'database_cleaner', '~> 1.7.0'
360
  gem 'factory_bot_rails', '~> 5.1.0'
361
  gem 'rspec-rails', '~> 4.0.0'
R
randx 已提交
362

363
  # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
364
  gem 'minitest', '~> 5.11.0'
365

366
  # Generate Fake data
T
Takuya Noguchi 已提交
367
  gem 'ffaker', '~> 2.10'
368

R
Robert Speicher 已提交
369
  gem 'spring', '~> 2.0.0'
M
Markus Koller 已提交
370
  gem 'spring-commands-rspec', '~> 1.0.4'
D
Douwe Maan 已提交
371

372
  gem 'gitlab-styles', '~> 4.3.0', require: false
R
Rémy Coutable 已提交
373
  # Pin these dependencies, otherwise a new rule could break the CI pipelines
374 375
  gem 'rubocop', '~> 0.82.0'
  gem 'rubocop-performance', '~> 1.5.2'
376
  gem 'rubocop-rspec', '~> 1.37.0'
R
Rémy Coutable 已提交
377

T
Takuya Noguchi 已提交
378
  gem 'scss_lint', '~> 0.56.0', require: false
379
  gem 'haml_lint', '~> 0.34.0', require: false
380
  gem 'simplecov', '~> 0.18.5', require: false
381
  gem 'simplecov-cobertura', '~> 1.3.1', require: false
382
  gem 'bundler-audit', '~> 0.6.1', require: false
383

B
bogdanvlviv 已提交
384
  gem 'benchmark-ips', '~> 2.3.0', require: false
C
Connor Shea 已提交
385

386
  gem 'knapsack', '~> 1.17'
387

B
Bob Van Landuyt 已提交
388
  gem 'simple_po_parser', '~> 1.1.2', require: false
389

390
  gem 'timecop', '~> 0.9.1'
391 392 393

  gem 'png_quantizator', '~> 0.2.1', require: false

394
  gem 'parallel', '~> 1.19', require: false
395 396

  gem 'rblineprof', '~> 0.3.6', platform: :mri, require: false
G
gitlabhq 已提交
397 398
end

399 400 401 402 403
# Gems required in omnibus-gitlab pipeline
group :development, :test, :omnibus do
  gem 'license_finder', '~> 5.4', require: false
end

G
gitlabhq 已提交
404
group :test do
405 406 407 408 409
  gem 'fuubar', '~> 2.2.0'
  gem 'rspec-retry', '~> 0.6.1'
  gem 'rspec_profiling', '~> 0.0.5'
  gem 'rspec-parameterized', require: false

410
  gem 'capybara', '~> 3.33.0'
411
  gem 'capybara-screenshot', '~> 1.0.22'
412
  gem 'selenium-webdriver', '~> 3.142'
413

S
Stan Hu 已提交
414
  gem 'shoulda-matchers', '~> 4.0.1', require: false
T
Takuya Noguchi 已提交
415
  gem 'email_spec', '~> 2.2.0'
S
Stan Hu 已提交
416
  gem 'webmock', '~> 3.5.1'
417
  gem 'rails-controller-testing'
418
  gem 'concurrent-ruby', '~> 1.1'
419
  gem 'test-prof', '~> 0.12.0'
420
  gem 'rspec_junit_formatter'
421
  gem 'guard-rspec'
422 423 424

  # Moved in `test` because https://gitlab.com/gitlab-org/gitlab/-/issues/217527
  gem 'derailed_benchmarks', require: false
G
gitlabhq 已提交
425
end
426

427
gem 'octokit', '~> 4.15'
D
Douwe Maan 已提交
428

429
# https://gitlab.com/gitlab-org/gitlab/issues/207207
430
gem 'gitlab-mail_room', '~> 0.0.6', require: 'mail_room'
D
Douwe Maan 已提交
431

432
gem 'email_reply_trimmer', '~> 0.1'
433
gem 'html2text'
D
Douwe Maan 已提交
434

435
gem 'ruby-prof', '~> 1.3.0'
436
gem 'stackprof', '~> 0.2.15', require: false
S
Stan Hu 已提交
437
gem 'rbtrace', '~> 0.4', require: false
A
Ash McKenzie 已提交
438 439
gem 'memory_profiler', '~> 0.9', require: false
gem 'benchmark-memory', '~> 0.1', require: false
440
gem 'activerecord-explain-analyze', '~> 0.1', require: false
441

D
Douwe Maan 已提交
442
# OAuth
443
gem 'oauth2', '~> 1.4'
D
Douwe Maan 已提交
444

445
# Health check
446
gem 'health_check', '~> 3.0'
447 448

# System information
C
Chris Wilson 已提交
449
gem 'vmstat', '~> 2.3.0'
450
gem 'sys-filesystem', '~> 1.1.6'
451

452 453 454
# NTP client
gem 'net-ntp'

455
# SSH host key support
456
gem 'net-ssh', '~> 6.0'
N
Nick Thomas 已提交
457
gem 'sshkey', '~> 2.0'
458 459 460

# Required for ED25519 SSH host key support
group :ed25519 do
461
  gem 'ed25519', '~> 1.2'
462 463 464
  gem 'bcrypt_pbkdf', '~> 1.0'
end

465
# Gitaly GRPC protocol definitions
466
gem 'gitaly', '~> 13.3.0-rc1'
467

468
gem 'grpc', '~> 1.30.2'
Z
Zeger-Jan van de Weg 已提交
469

470
gem 'google-protobuf', '~> 3.12'
471

472
gem 'toml-rb', '~> 1.0.0'
473 474

# Feature toggles
475 476 477
gem 'flipper', '~> 0.17.1'
gem 'flipper-active_record', '~> 0.17.1'
gem 'flipper-active_support_cache_store', '~> 0.17.1'
J
Jason Goodman 已提交
478
gem 'unleash', '~> 0.1.5'
479 480 481

# Structured logging
gem 'lograge', '~> 0.5'
482
gem 'grape_logging', '~> 1.7'
483

484
# DNS Lookup
485
gem 'gitlab-net-dns', '~> 0.9.1'
486

487 488
# Countries list
gem 'countries', '~> 3.0'
489 490

gem 'retriable', '~> 3.1.2'
491

492 493
# LRU cache
gem 'lru_redux'
494 495

gem 'erubi', '~> 1.9.0'
496 497 498 499 500

# 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'
501 502 503

# File encryption
gem 'lockbox', '~> 0.3.3'
504 505 506

# Email validation
gem 'valid_email', '~> 0.1'
507 508 509

# JSON
gem 'json', '~> 2.3.0'
510
gem 'json-schema', '~> 2.8.0'
511
gem 'json_schemer', '~> 0.2.12'
512 513
gem 'oj', '~> 3.10.6'
gem 'multi_json', '~> 1.14.1'
514
gem 'yajl-ruby', '~> 1.4.1', require: 'yajl'