Gemfile 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. # Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
  2. source 'https://rubygems.org'
  3. # core - base
  4. ruby '3.0.4'
  5. gem 'rails', '~> 6.1.0'
  6. # core - rails additions
  7. gem 'activerecord-import'
  8. gem 'activerecord-session_store'
  9. gem 'bootsnap', require: false
  10. gem 'composite_primary_keys'
  11. gem 'json'
  12. # core - application servers
  13. gem 'puma', '~> 4', group: :puma
  14. gem 'unicorn', group: :unicorn
  15. # core - supported ORMs
  16. gem 'activerecord-nulldb-adapter', group: :nulldb
  17. gem 'mysql2', group: :mysql
  18. gem 'pg', '~> 1.2.0', group: :postgres
  19. # core - asynchrous task execution
  20. gem 'daemons'
  21. gem 'delayed_job_active_record'
  22. # core - command line interface
  23. gem 'thor'
  24. # core - websocket
  25. gem 'em-websocket'
  26. gem 'eventmachine'
  27. gem 'hiredis', require: false
  28. gem 'redis', require: false
  29. # core - password security
  30. gem 'argon2'
  31. # core - state machine
  32. gem 'aasm'
  33. # core - authorization
  34. gem 'pundit'
  35. # core - graphql handling
  36. gem 'graphql'
  37. gem 'graphql-batch', require: 'graphql/batch'
  38. # core - image processing
  39. gem 'rszr'
  40. # performance - Memcached
  41. gem 'dalli', require: false
  42. # Vite is required by the web server
  43. gem 'vite_rails'
  44. # Only load gems for asset compilation if they are needed to avoid
  45. # having unneeded runtime dependencies like NodeJS.
  46. group :assets do
  47. # asset handling - javascript execution for e.g. linux
  48. gem 'execjs', require: false
  49. # asset handling - coffee-script
  50. gem 'coffee-rails', require: false
  51. # asset handling - frontend templating
  52. gem 'eco', require: false
  53. # asset handling - SASS
  54. gem 'sassc-rails', require: false
  55. # asset handling - pipeline
  56. gem 'sprockets', '~> 3.7.2', require: false
  57. gem 'uglifier', require: false
  58. gem 'autoprefixer-rails', require: false
  59. end
  60. # authentication - provider
  61. gem 'doorkeeper'
  62. gem 'oauth2'
  63. # authentication - third party
  64. gem 'omniauth-rails_csrf_protection'
  65. # authentication - third party providers
  66. gem 'omniauth-facebook'
  67. gem 'omniauth-github'
  68. gem 'omniauth-gitlab'
  69. gem 'omniauth-google-oauth2'
  70. gem 'omniauth-linkedin-oauth2'
  71. gem 'omniauth-microsoft-office365'
  72. gem 'omniauth-saml'
  73. gem 'omniauth-twitter'
  74. gem 'omniauth-weibo-oauth2'
  75. # Rate limiting
  76. gem 'rack-attack'
  77. # channels
  78. gem 'gmail_xoauth'
  79. gem 'koala'
  80. gem 'telegram-bot-ruby'
  81. gem 'twitter'
  82. # channels - email additions
  83. gem 'email_address'
  84. gem 'htmlentities'
  85. # TODO: remove git information once v2.8 is released and works with Zammad
  86. gem 'mail', git: 'https://github.com/zammad-deps/mail', branch: '2-7-stable'
  87. gem 'mime-types'
  88. gem 'rchardet', '>= 1.8.0'
  89. # feature - business hours
  90. gem 'biz'
  91. # feature - signature diffing
  92. gem 'diffy'
  93. # feature - excel output
  94. gem 'writeexcel', require: false
  95. # feature - csv import/export
  96. gem 'csv', require: false
  97. # feature - device logging
  98. gem 'browser'
  99. # feature - iCal export
  100. gem 'icalendar'
  101. gem 'icalendar-recurrence'
  102. # feature - phone number formatting
  103. gem 'telephone_number'
  104. # feature - SMS
  105. gem 'messagebird-rest'
  106. gem 'twilio-ruby', require: false
  107. # feature - ordering
  108. gem 'acts_as_list'
  109. # integrations
  110. gem 'clearbit', require: false
  111. gem 'net-ldap'
  112. gem 'slack-notifier', require: false
  113. gem 'zendesk_api', require: false
  114. # integrations - exchange
  115. gem 'autodiscover', git: 'https://github.com/zammad-deps/autodiscover', require: false
  116. gem 'viewpoint', require: false
  117. # integrations - S/MIME
  118. gem 'openssl'
  119. # Translation sync
  120. gem 'PoParser', require: false
  121. # Gems used only for develop/test and not required
  122. # in production environments by default.
  123. group :development, :test do
  124. # app boottime improvement
  125. gem 'spring'
  126. # watch file changes
  127. gem 'listen'
  128. # debugging
  129. gem 'byebug'
  130. gem 'pry-rails'
  131. gem 'pry-remote'
  132. gem 'pry-rescue'
  133. gem 'pry-stack_explorer'
  134. # test frameworks
  135. gem 'rails-controller-testing'
  136. gem 'rspec-rails'
  137. gem 'rspec-retry'
  138. gem 'shoulda-matchers'
  139. gem 'test-unit'
  140. # for testing Pundit authorisation policies in RSpec
  141. gem 'pundit-matchers'
  142. # UI tests w/ Selenium
  143. gem 'capybara'
  144. gem 'selenium-webdriver'
  145. # code QA
  146. gem 'brakeman', require: false
  147. gem 'overcommit'
  148. gem 'rubocop'
  149. gem 'rubocop-faker'
  150. gem 'rubocop-graphql'
  151. gem 'rubocop-inflector'
  152. gem 'rubocop-performance'
  153. gem 'rubocop-rails'
  154. gem 'rubocop-rspec'
  155. # generate random test data
  156. gem 'factory_bot_rails'
  157. gem 'faker'
  158. # mock http calls
  159. gem 'webmock'
  160. # record and replay TCP/HTTP transactions
  161. gem 'tcr', require: false
  162. gem 'vcr', require: false
  163. # handle deprecations in core and addons
  164. gem 'deprecation_toolkit'
  165. # image comparison in tests
  166. gem 'chunky_png'
  167. # refresh ENVs in CI environment
  168. gem 'dotenv', require: false
  169. # Slack helper for testing
  170. gem 'slack-ruby-client', require: false
  171. end
  172. # Want to extend Zammad with additional gems?
  173. # ZAMMAD USERS: Specify them in Gemfile.local
  174. # (That way, you can customize the Gemfile
  175. # without having your changes overwritten during upgrades.)
  176. # ZAMMAD DEVS: Consult the internal wiki
  177. # (or else risk pushing unwanted changes to Gemfile.lock!)
  178. # https://git.zammad.com/zammad/zammad/wikis/Tips#user-content-customizing-the-gemfile
  179. Dir['Gemfile.local*'].each do |file|
  180. eval_gemfile file
  181. end