Gemfile 5.7 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.3'
  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 - websocket
  23. gem 'em-websocket'
  24. gem 'eventmachine'
  25. gem 'hiredis', require: false
  26. gem 'redis', require: false
  27. # core - password security
  28. gem 'argon2'
  29. # core - state machine
  30. gem 'aasm'
  31. # core - authorization
  32. gem 'pundit'
  33. # core - image processing
  34. gem 'rszr'
  35. # performance - Memcached
  36. gem 'dalli', require: false
  37. # Only load gems for asset compilation if they are needed to avoid
  38. # having unneeded runtime dependencies like NodeJS.
  39. group :assets do
  40. # asset handling - javascript execution for e.g. linux
  41. gem 'execjs', require: false
  42. # asset handling - coffee-script
  43. gem 'coffee-rails', require: false
  44. # asset handling - frontend templating
  45. gem 'eco', require: false
  46. # asset handling - SASS
  47. gem 'sassc-rails', require: false
  48. # asset handling - pipeline
  49. gem 'sprockets', '~> 3.7.2', require: false
  50. gem 'uglifier', require: false
  51. gem 'autoprefixer-rails', require: false
  52. end
  53. # Don't use mini_racer any more for asset compilation.
  54. # Instead, use an external node.js binary.
  55. group :mini_racer, optional: true do
  56. gem 'libv8'
  57. gem 'mini_racer', '0.2.9' # Newer versions require libv8-node instead which does not compile on older platforms.
  58. end
  59. # authentication - provider
  60. gem 'doorkeeper'
  61. gem 'oauth2'
  62. # authentication - third party
  63. gem 'omniauth-rails_csrf_protection'
  64. # authentication - third party providers
  65. gem 'omniauth-facebook'
  66. gem 'omniauth-github'
  67. gem 'omniauth-gitlab'
  68. gem 'omniauth-google-oauth2'
  69. gem 'omniauth-linkedin-oauth2'
  70. gem 'omniauth-microsoft-office365'
  71. gem 'omniauth-saml'
  72. gem 'omniauth-twitter'
  73. gem 'omniauth-weibo-oauth2'
  74. # channels
  75. gem 'gmail_xoauth'
  76. gem 'koala'
  77. # TODO: remove git information after https://github.com/bennesp/telegramAPI/pull/8 is merged
  78. gem 'telegramAPI', git: 'https://github.com/zammad-deps/telegramAPI', branch: 'uri-escape-warning'
  79. gem 'twitter'
  80. # channels - email additions
  81. gem 'htmlentities'
  82. # TODO: remove git information once v2.8 is released and works with Zammad
  83. gem 'mail', git: 'https://github.com/zammad-deps/mail', branch: '2-7-stable'
  84. gem 'mime-types'
  85. gem 'rchardet', '>= 1.8.0'
  86. gem 'valid_email2'
  87. # feature - business hours
  88. gem 'biz'
  89. # feature - signature diffing
  90. gem 'diffy'
  91. # feature - excel output
  92. gem 'writeexcel', require: false
  93. # feature - csv import/export
  94. gem 'csv', require: false
  95. # feature - device logging
  96. gem 'browser'
  97. # feature - iCal export
  98. gem 'icalendar'
  99. gem 'icalendar-recurrence'
  100. # feature - phone number formatting
  101. gem 'telephone_number'
  102. # feature - SMS
  103. gem 'messagebird-rest'
  104. gem 'twilio-ruby', require: false
  105. # feature - ordering
  106. gem 'acts_as_list'
  107. # integrations
  108. gem 'clearbit', require: false
  109. gem 'net-ldap'
  110. gem 'slack-notifier', require: false
  111. gem 'zendesk_api', require: false
  112. # integrations - exchange
  113. gem 'autodiscover', git: 'https://github.com/zammad-deps/autodiscover', require: false
  114. gem 'viewpoint', require: false
  115. # integrations - S/MIME
  116. gem 'openssl'
  117. # Translation sync
  118. gem 'PoParser', require: false
  119. # Gems used only for develop/test and not required
  120. # in production environments by default.
  121. group :development, :test do
  122. # app boottime improvement
  123. gem 'spring'
  124. # debugging
  125. gem 'byebug'
  126. gem 'pry-rails'
  127. gem 'pry-remote'
  128. gem 'pry-rescue'
  129. gem 'pry-stack_explorer'
  130. # test frameworks
  131. gem 'rails-controller-testing'
  132. gem 'rspec-rails'
  133. gem 'shoulda-matchers'
  134. gem 'test-unit'
  135. # for testing Pundit authorisation policies in RSpec
  136. gem 'pundit-matchers'
  137. # UI tests w/ Selenium
  138. gem 'capybara'
  139. gem 'selenium-webdriver'
  140. # livereload on template changes (html, js, css)
  141. gem 'guard', require: false
  142. gem 'guard-livereload', require: false
  143. gem 'rack-livereload', require: false
  144. gem 'rb-fsevent', require: false
  145. # auto symlinking
  146. gem 'guard-symlink', require: false
  147. # code QA
  148. gem 'brakeman', require: false
  149. gem 'coffeelint'
  150. gem 'overcommit'
  151. gem 'rubocop'
  152. gem 'rubocop-faker'
  153. # TODO: remove git branch information for rubocop-inflector after
  154. # Ruby 3 support was added: https://github.com/aeroastro/rubocop-inflector/pull/2
  155. gem 'rubocop-inflector', git: 'https://github.com/zammad-deps/rubocop-inflector', branch: 'fix-ruby3-compat'
  156. gem 'rubocop-performance'
  157. gem 'rubocop-rails'
  158. gem 'rubocop-rspec'
  159. # generate random test data
  160. gem 'factory_bot_rails'
  161. gem 'faker'
  162. # mock http calls
  163. gem 'webmock'
  164. # record and replay TCP/HTTP transactions
  165. gem 'tcr'
  166. gem 'vcr'
  167. # handle deprecations in core and addons
  168. gem 'deprecation_toolkit'
  169. # image comparison in tests
  170. gem 'chunky_png'
  171. # refresh ENVs in CI environment
  172. gem 'dotenv', require: false
  173. # Slack helper for testing
  174. gem 'slack-ruby-client', require: false
  175. end
  176. # Want to extend Zammad with additional gems?
  177. # ZAMMAD USERS: Specify them in Gemfile.local
  178. # (That way, you can customize the Gemfile
  179. # without having your changes overwritten during upgrades.)
  180. # ZAMMAD DEVS: Consult the internal wiki
  181. # (or else risk pushing unwanted changes to Gemfile.lock!)
  182. # https://git.zammad.com/zammad/zammad/wikis/Tips#user-content-customizing-the-gemfile
  183. eval_gemfile 'Gemfile.local' if File.exist?('Gemfile.local')