Gemfile 10.9 KB
Newer Older
bogdanvlviv's avatar
bogdanvlviv committed
1
source 'https://rubygems.org'
gitlabhq's avatar
gitlabhq committed
2

Heinrich Lee Yu's avatar
Heinrich Lee Yu committed
3
gem 'rails', '5.2.3'
Valery Sizov's avatar
Valery Sizov committed
4

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

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

Valery Sizov's avatar
Valery Sizov committed
10 11
# Responders respond_to and respond_with
gem 'responders', '~> 2.0'
12

ubudzisz's avatar
ubudzisz committed
13
gem 'sprockets', '~> 3.7.0'
14

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
15
# Default values for AR models
16
gem 'default_value_for', '~> 3.3.0'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
17

18
# Supported DBs
19
gem 'pg', '~> 1.1'
20

Stan Hu's avatar
Stan Hu committed
21
gem 'rugged', '~> 0.28'
Jasper Maes's avatar
Jasper Maes committed
22
gem 'grape-path-helpers', '~> 1.1'
23

24
gem 'faraday', '~> 0.12'
25

karen Carias's avatar
karen Carias committed
26
# Authentication libraries
Utkarsh Gupta's avatar
Utkarsh Gupta committed
27
gem 'devise', '~> 4.6'
28
gem 'doorkeeper', '~> 4.3'
29
gem 'doorkeeper-openid_connect', '~> 1.5'
30
gem 'omniauth', '~> 1.8'
31
gem 'omniauth-auth0', '~> 2.0.0'
32
gem 'omniauth-azure-oauth2', '~> 0.0.9'
33
gem 'omniauth-cas3', '~> 1.1.4'
34
gem 'omniauth-facebook', '~> 4.0.0'
35
gem 'omniauth-github', '~> 1.3'
36
gem 'omniauth-gitlab', '~> 1.0.2'
37
gem 'omniauth-google-oauth2', '~> 0.6.0'
38
gem 'omniauth-kerberos', '~> 0.3.0', group: :kerberos
39
gem 'omniauth-oauth2-generic', '~> 0.2.2'
Pirate Praveen's avatar
Pirate Praveen committed
40
gem 'omniauth-saml', '~> 1.10'
41
gem 'omniauth-shibboleth', '~> 1.3.0'
42
gem 'omniauth-twitter', '~> 1.4'
43
gem 'omniauth_crowd', '~> 2.2.0'
44
gem 'omniauth-authentiq', '~> 0.3.3'
45
gem 'omniauth_openid_connect', '~> 0.3.1'
46
gem "omniauth-ultraauth", '~> 0.0.2'
47
gem 'omniauth-salesforce', '~> 1.0.5'
48
gem 'rack-oauth2', '~> 1.9.3'
49
gem 'jwt', '~> 2.1.0'
Nick Thomas's avatar
Nick Thomas committed
50 51 52

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

54
# Spam and anti-bot protection
55
gem 'recaptcha', '~> 4.11', require: 'recaptcha/rails'
56
gem 'akismet', '~> 2.0'
Alex Buijs's avatar
Alex Buijs committed
57
gem 'invisible_captcha', '~> 0.12.1'
58

59
# Two-factor authentication
60
gem 'devise-two-factor', '~> 3.0.0'
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.6'
67
gem 'rubyzip', '~> 1.2.2', require: 'zip'
68 69
# GitLab Pages letsencrypt support
gem 'acme-client', '~> 2.0.2'
70

71
# Browser detection
Stan Hu's avatar
Stan Hu committed
72
gem 'browser', '~> 2.5'
73

74
# GPG
75
gem 'gpgme', '~> 2.0.18'
76

77
# LDAP Auth
Yorick Peterse's avatar
Yorick Peterse committed
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

randx's avatar
randx committed
83
# API
84
gem 'grape', '~> 1.1.0'
85
gem 'grape-entity', '~> 0.7.1'
86
gem 'rack-cors', '~> 1.0.0', require: 'rack/cors'
randx's avatar
randx committed
87

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

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

randx's avatar
randx committed
100
# Pagination
101
gem 'kaminari', '~> 1.0'
randx's avatar
randx committed
102 103

# HAML
104
gem 'hamlit', '~> 2.8.8'
randx's avatar
randx committed
105 106

# Files attachments
107
gem 'carrierwave', '~> 1.3'
108
gem 'mini_magick'
109

110
# for backups
Stan Hu's avatar
Stan Hu committed
111
gem 'fog-aws', '~> 3.5'
112 113 114
# 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'
115
gem 'fog-google', '~> 1.9'
116 117
gem 'fog-local', '~> 0.6'
gem 'fog-openstack', '~> 1.0'
118
gem 'fog-rackspace', '~> 0.1.1'
119
gem 'fog-aliyun', '~> 0.3'
120

121
# for Google storage
122
gem 'google-api-client', '~> 0.23'
123

124
# for aws storage
bogdanvlviv's avatar
bogdanvlviv committed
125
gem 'unf', '~> 0.1.4'
randx's avatar
randx committed
126 127

# Seed data
128
gem 'seed-fu', '~> 2.3.7'
randx's avatar
randx committed
129

130
# Search
131
gem 'elasticsearch-model', '~> 0.1.9'
132
gem 'elasticsearch-rails', '~> 0.1.9', require: 'elasticsearch/rails/instrumentation'
133
gem 'elasticsearch-api',   '5.0.3'
134 135
gem 'aws-sdk'
gem 'faraday_middleware-aws-signers-v4'
136

Robert Speicher's avatar
Robert Speicher committed
137
# Markdown and HTML processing
138
gem 'html-pipeline', '~> 2.8'
139
gem 'deckar01-task_list', '2.2.0'
140
gem 'gitlab-markup', '~> 1.7.0'
141
gem 'github-markup', '~> 1.7.0', require: 'github/markup'
142
gem 'commonmarker', '~> 0.17'
143
gem 'RedCloth', '~> 4.3.2'
Takuya Noguchi's avatar
Takuya Noguchi committed
144
gem 'rdoc', '~> 6.0'
145 146 147
gem 'org-ruby', '~> 0.9.12'
gem 'creole', '~> 0.5.0'
gem 'wikicloth', '0.8.1'
148
gem 'asciidoctor', '~> 2.0.10'
149
gem 'asciidoctor-include-ext', '~> 0.3.1', require: false
150
gem 'asciidoctor-plantuml', '0.0.9'
Stan Hu's avatar
Stan Hu committed
151
gem 'rouge', '~> 3.11.0'
Brett Walker's avatar
Brett Walker committed
152
gem 'truncato', '~> 0.7.11'
153
gem 'bootstrap_form', '~> 4.2.0'
Thong Kuah's avatar
Thong Kuah committed
154
gem 'nokogiri', '~> 1.10.4'
155
gem 'escape_utils', '~> 1.1'
156

157 158 159
# Calendar rendering
gem 'icalendar'

skv-headless's avatar
skv-headless committed
160
# Diffs
Manuel Rüger's avatar
Manuel Rüger committed
161
gem 'diffy', '~> 3.1.0'
skv-headless's avatar
skv-headless committed
162

163
# Application server
Stan Hu's avatar
Stan Hu committed
164
gem 'rack', '~> 2.0.7'
165

166
group :unicorn do
167
  gem 'unicorn', '~> 5.4.1'
168
  gem 'unicorn-worker-killer', '~> 0.4.4'
169
end
randx's avatar
randx committed
170

171 172 173
group :puma do
  gem 'puma', '~> 3.12', require: false
  gem 'puma_worker_killer', require: false
174
  gem 'rack-timeout', require: false
175 176
end

Andrew8xx8's avatar
Andrew8xx8 committed
177
# State machine
178
gem 'state_machines-activerecord', '~> 0.6.0'
Andrew8xx8's avatar
Andrew8xx8 committed
179

randx's avatar
randx committed
180
# Issue tags
181
gem 'acts-as-taggable-on', '~> 6.0'
randx's avatar
randx committed
182 183

# Background jobs
Stan Hu's avatar
Stan Hu committed
184
gem 'sidekiq', '~> 5.2.7'
185
gem 'sidekiq-cron', '~> 1.0'
186
gem 'redis-namespace', '~> 1.6.0'
Valery Sizov's avatar
Valery Sizov committed
187
gem 'gitlab-sidekiq-fetcher', '0.5.2', require: 'sidekiq-reliable-fetch'
randx's avatar
randx committed
188

189
# Cron Parser
190
gem 'fugit', '~> 1.2.1'
191

randx's avatar
randx committed
192
# HTTP requests
193
gem 'httparty', '~> 0.16.4'
randx's avatar
randx committed
194 195

# Colored output to console
196
gem 'rainbow', '~> 3.0'
randx's avatar
randx committed
197

198 199 200
# Progress bar
gem 'ruby-progressbar'

Riyad Preukschas's avatar
Riyad Preukschas committed
201
# GitLab settings
202
gem 'settingslogic', '~> 2.0.9'
Aleksei Kvitinskii's avatar
Aleksei Kvitinskii committed
203

204
# Linear-time regex library for untrusted regular expressions
205
gem 're2', '~> 1.1.1'
206

randx's avatar
randx committed
207
# Misc
208

209
gem 'version_sorter', '~> 2.2.4'
randx's avatar
randx committed
210

211
# Export Ruby Regex to Javascript
212
gem 'js_regex', '~> 3.1'
213

214 215 216
# User agent parsing
gem 'device_detector'

217
# Redis
218
gem 'redis', '~> 4.0'
219 220
gem 'connection_pool', '~> 2.0'

221 222 223
# Redis session store
gem 'redis-rails', '~> 5.0.2'

blackst0ne's avatar
blackst0ne committed
224
# Discord integration
blackst0ne's avatar
blackst0ne committed
225
gem 'discordrb-webhooks-blackst0ne', '~> 3.3', require: false
blackst0ne's avatar
blackst0ne committed
226

227 228 229
# HipChat integration
gem 'hipchat', '~> 1.5.0'

230
# Jira integration
Takuya Noguchi's avatar
Takuya Noguchi committed
231
gem 'jira-ruby', '~> 1.7'
232
gem 'atlassian-jwt', '~> 0.2.0'
233

234
# Flowdock integration
235
gem 'flowdock', '~> 0.7'
236

237
# Slack integration
238
gem 'slack-notifier', '~> 1.5.1'
239

240 241 242
# Hangouts Chat integration
gem 'hangouts-chat', '~> 0.0.5'

Jeremy's avatar
Jeremy committed
243
# Asana integration
Takuya Noguchi's avatar
Takuya Noguchi committed
244
gem 'asana', '~> 0.8.1'
Jeremy's avatar
Jeremy committed
245

Jared Szechy's avatar
Jared Szechy committed
246
# FogBugz integration
Jared Szechy's avatar
Jared Szechy committed
247
gem 'ruby-fogbugz', '~> 0.2.1'
Jared Szechy's avatar
Jared Szechy committed
248

249
# Kubernetes integration
Tiger's avatar
Tiger committed
250
gem 'kubeclient', '~> 4.4.0'
251

252
# Sanitize user input
253
gem 'sanitize', '~> 4.6'
254
gem 'babosa', '~> 1.0.2'
255

Stan Hu's avatar
Stan Hu committed
256
# Sanitizes SVG input
257
gem 'loofah', '~> 2.2'
Stan Hu's avatar
Stan Hu committed
258

259
# Working with license
260
gem 'licensee', '~> 8.9'
261

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
262
# Ace editor
263
gem 'ace-rails-ap', '~> 4.1.0'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
264

265
# Detect and convert string character encoding
Jacob Vosmaer's avatar
Jacob Vosmaer committed
266
gem 'charlock_holmes', '~> 0.7.5'
267

268 269 270
# Detect mime content type from content
gem 'mimemagic', '~> 0.3.2'

271 272 273
# Faster blank
gem 'fast_blank'

274 275
# Parse time & duration
gem 'chronic', '~> 0.10.2'
276
gem 'gitlab_chronic_duration', '~> 0.10.6.1'
277

278
gem 'webpack-rails', '~> 0.9.10'
279 280
gem 'rack-proxy', '~> 0.6.0'

281
gem 'sassc-rails', '~> 2.1.0'
bogdanvlviv's avatar
bogdanvlviv committed
282
gem 'uglifier', '~> 2.7.2'
283

284
gem 'addressable', '~> 2.5.2'
285
gem 'font-awesome-rails', '~> 4.7'
286
gem 'gemojione', '~> 3.3'
287
gem 'gon', '~> 6.2'
288 289
gem 'request_store', '~> 1.3'
gem 'base32', '~> 0.3.0'
Nick Thomas's avatar
Nick Thomas committed
290 291

gem "gitlab-license", "~> 1.0"
gitlabhq's avatar
gitlabhq committed
292

293 294 295
# Protect against bruteforcing
gem 'rack-attack', '~> 6.2.0'

296
# Sentry integration
Utkarsh Gupta's avatar
Utkarsh Gupta committed
297
gem 'sentry-raven', '~> 2.9'
298

299
gem 'premailer-rails', '~> 1.9.7'
300

301
# LabKit: Tracing and Correlation
302
gem 'gitlab-labkit', '~> 0.5'
303

Ruben Davila's avatar
Ruben Davila committed
304
# I18n
305
gem 'ruby_parser', '~> 3.8', require: false
306
gem 'rails-i18n', '~> 5.1'
Ruben Davila's avatar
Ruben Davila committed
307
gem 'gettext_i18n_rails', '~> 1.8.0'
308
gem 'gettext_i18n_rails_js', '~> 1.3'
Ruben Davila's avatar
Ruben Davila committed
309 310
gem 'gettext', '~> 3.2.2', require: false, group: :development

311
gem 'batch-loader', '~> 1.4.0'
312

313
# Perf bar
314
# https://gitlab.com/gitlab-org/gitlab/issues/13996
Sean McGivern's avatar
Sean McGivern committed
315
gem 'gitlab-peek', '~> 0.0.1', require: 'peek'
316

317 318 319
# Snowplow events tracking
gem 'snowplow-tracker', '~> 0.6.1'

320 321 322
# Memory benchmarks
gem 'derailed_benchmarks', require: false

323 324
# Metrics
group :metrics do
325
  gem 'method_source', '~> 0.8', require: false
326
  gem 'influxdb', '~> 0.2', require: false
327

328
  # Prometheus
329
  gem 'prometheus-client-mmap', '~> 0.9.10'
330
  gem 'raindrops', '~> 0.18'
331 332
end

Nihad Abbasov's avatar
Nihad Abbasov committed
333
group :development do
334
  gem 'brakeman', '~> 4.2', require: false
Ash McKenzie's avatar
Ash McKenzie committed
335
  gem 'danger', '~> 6.0', require: false
336

337
  gem 'letter_opener_web', '~> 1.3.4'
bogdanvlviv's avatar
bogdanvlviv committed
338
  gem 'rblineprof', '~> 0.3.6', platform: :mri, require: false
339

340
  # Better errors handler
341
  gem 'better_errors', '~> 2.5.0'
342
  gem 'binding_of_caller', '~> 0.8.0'
343

344
  # thin instead webrick
345
  gem 'thin', '~> 1.7.0'
gitlabhq's avatar
gitlabhq committed
346 347 348
end

group :development, :test do
349
  gem 'bullet', '~> 5.5.0', require: !!ENV['ENABLE_BULLET']
350
  gem 'pry-byebug', '~> 3.5.1', platform: :mri
bogdanvlviv's avatar
bogdanvlviv committed
351
  gem 'pry-rails', '~> 0.3.4'
Robert Speicher's avatar
Robert Speicher committed
352

353
  gem 'awesome_print', require: false
Robert Speicher's avatar
Robert Speicher committed
354
  gem 'fuubar', '~> 2.2.0'
355

356
  gem 'database_cleaner', '~> 1.7.0'
357
  gem 'factory_bot_rails', '~> 5.1.0'
358
  gem 'rspec-rails', '~> 3.8.0'
359
  gem 'rspec-retry', '~> 0.6.1'
360
  gem 'rspec_profiling', '~> 0.0.5'
361
  gem 'rspec-set', '~> 0.1.3'
362
  gem 'rspec-parameterized', require: false
randx's avatar
randx committed
363

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

367
  # Generate Fake data
Takuya Noguchi's avatar
Takuya Noguchi committed
368
  gem 'ffaker', '~> 2.10'
369

Heinrich Lee Yu's avatar
Heinrich Lee Yu committed
370
  gem 'capybara', '~> 3.22.0'
371 372
  gem 'capybara-screenshot', '~> 1.0.22'
  gem 'selenium-webdriver', '~> 3.141'
Andrew8xx8's avatar
Andrew8xx8 committed
373

374
  gem 'spring', '~> 2.0.0'
375
  gem 'spring-commands-rspec', '~> 1.0.4'
376

377
  gem 'gitlab-styles', '~> 2.7', require: false
Rémy Coutable's avatar
Rémy Coutable committed
378
  # Pin these dependencies, otherwise a new rule could break the CI pipelines
379
  gem 'rubocop', '~> 0.69.0'
Stan Hu's avatar
Stan Hu committed
380
  gem 'rubocop-performance', '~> 1.1.0'
381
  gem 'rubocop-rspec', '~> 1.22.1'
Rémy Coutable's avatar
Rémy Coutable committed
382

383
  gem 'scss_lint', '~> 0.56.0', require: false
384
  gem 'haml_lint', '~> 0.31.0', require: false
385
  gem 'simplecov', '~> 0.16.1', require: false
bogdanvlviv's avatar
bogdanvlviv committed
386
  gem 'bundler-audit', '~> 0.5.0', require: false
387

bogdanvlviv's avatar
bogdanvlviv committed
388
  gem 'benchmark-ips', '~> 2.3.0', require: false
Connor Shea's avatar
Connor Shea committed
389

390
  gem 'license_finder', '~> 5.4', require: false
391
  gem 'knapsack', '~> 1.17'
392

393
  gem 'stackprof', '~> 0.2.10', require: false
394 395

  gem 'simple_po_parser', '~> 1.1.2', require: false
396 397

  gem 'timecop', '~> 0.8.0'
gitlabhq's avatar
gitlabhq committed
398 399 400
end

group :test do
401
  gem 'shoulda-matchers', '~> 4.0.1', require: false
402
  gem 'email_spec', '~> 2.2.0'
403
  gem 'json-schema', '~> 2.8.0'
Stan Hu's avatar
Stan Hu committed
404
  gem 'webmock', '~> 3.5.1'
405
  gem 'rails-controller-testing'
406
  gem 'concurrent-ruby', '~> 1.1'
Thong Kuah's avatar
Thong Kuah committed
407
  gem 'test-prof', '~> 0.10.0'
408
  gem 'rspec_junit_formatter'
gitlabhq's avatar
gitlabhq committed
409
end
410

Ash McKenzie's avatar
Ash McKenzie committed
411
gem 'octokit', '~> 4.9'
Douwe Maan's avatar
Douwe Maan committed
412

413
gem 'mail_room', '~> 0.9.1'
Douwe Maan's avatar
Douwe Maan committed
414

415
gem 'email_reply_trimmer', '~> 0.1'
416
gem 'html2text'
417

Stan Hu's avatar
Stan Hu committed
418
gem 'ruby-prof', '~> 1.0.0'
Stan Hu's avatar
Stan Hu committed
419
gem 'rbtrace', '~> 0.4', require: false
420 421
gem 'memory_profiler', '~> 0.9', require: false
gem 'benchmark-memory', '~> 0.1', require: false
422
gem 'activerecord-explain-analyze', '~> 0.1', require: false
423

424
# OAuth
425
gem 'oauth2', '~> 1.4'
Douwe Maan's avatar
Douwe Maan committed
426

427
# Health check
428
gem 'health_check', '~> 2.6.0'
429 430

# System information
431
gem 'vmstat', '~> 2.3.0'
432
gem 'sys-filesystem', '~> 1.1.6'
433

434 435 436
# NTP client
gem 'net-ntp'

437
# SSH host key support
438
gem 'net-ssh', '~> 5.2'
Nick Thomas's avatar
Nick Thomas committed
439
gem 'sshkey', '~> 2.0'
440 441 442

# Required for ED25519 SSH host key support
group :ed25519 do
443
  gem 'ed25519', '~> 1.2'
444 445 446
  gem 'bcrypt_pbkdf', '~> 1.0'
end

447
# Gitaly GRPC protocol definitions
448
gem 'gitaly', '~> 1.65.0'
449

Stan Hu's avatar
Stan Hu committed
450
gem 'grpc', '~> 1.24.0'
451

Stan Hu's avatar
Stan Hu committed
452
gem 'google-protobuf', '~> 3.8.0'
453

Ken's avatar
Ken committed
454
gem 'toml-rb', '~> 1.0.0', require: false
455 456

# Feature toggles
457 458 459
gem 'flipper', '~> 0.17.1'
gem 'flipper-active_record', '~> 0.17.1'
gem 'flipper-active_support_cache_store', '~> 0.17.1'
Jason Goodman's avatar
Jason Goodman committed
460
gem 'unleash', '~> 0.1.5'
461 462 463

# Structured logging
gem 'lograge', '~> 0.5'
464
gem 'grape_logging', '~> 1.7'
465 466

# DNS Lookup
467
gem 'gitlab-net-dns', '~> 0.9.1'
468 469 470

# Countries list
gem 'countries', '~> 3.0'
471 472

gem 'retriable', '~> 3.1.2'