Gemfile 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  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. # TODO: lift version restriction once https://github.com/flori/json/issues/495 is solved.
  12. gem 'json', '~> 2.5.1'
  13. # core - application servers
  14. gem 'puma', '~> 4', group: :puma
  15. gem 'unicorn', group: :unicorn
  16. # core - supported ORMs
  17. gem 'activerecord-nulldb-adapter', group: :nulldb
  18. gem 'mysql2', group: :mysql
  19. gem 'pg', '~> 1.2.0', group: :postgres
  20. # core - asynchrous task execution
  21. gem 'daemons'
  22. gem 'delayed_job_active_record'
  23. # core - websocket
  24. gem 'em-websocket'
  25. gem 'eventmachine'
  26. gem 'hiredis', require: false
  27. gem 'redis', require: false
  28. # core - password security
  29. gem 'argon2'
  30. # core - state machine
  31. gem 'aasm'
  32. # core - authorization
  33. gem 'pundit'
  34. # core - image processing
  35. gem 'rszr'
  36. # performance - Memcached
  37. gem 'dalli', require: false
  38. # Only load gems for asset compilation if they are needed to avoid
  39. # having unneeded runtime dependencies like NodeJS.
  40. group :assets do
  41. # asset handling - javascript execution for e.g. linux
  42. gem 'execjs', require: false
  43. # asset handling - coffee-script
  44. gem 'coffee-rails', require: false
  45. # asset handling - frontend templating
  46. gem 'eco', require: false
  47. # asset handling - SASS
  48. gem 'sassc-rails', require: false
  49. # asset handling - pipeline
  50. gem 'sprockets', '~> 3.7.2', require: false
  51. gem 'uglifier', require: false
  52. gem 'autoprefixer-rails', require: false
  53. end
  54. # Don't use mini_racer any more for asset compilation.
  55. # Instead, use an external node.js binary.
  56. group :mini_racer, optional: true do
  57. gem 'libv8'
  58. gem 'mini_racer', '0.2.9' # Newer versions require libv8-node instead which does not compile on older platforms.
  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. # TODO: remove git information after https://github.com/bennesp/telegramAPI/pull/8 is merged
  81. gem 'telegramAPI', git: 'https://github.com/zammad-deps/telegramAPI', branch: 'uri-escape-warning'
  82. gem 'twitter'
  83. # channels - email additions
  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. gem 'valid_email2'
  90. # feature - business hours
  91. gem 'biz'
  92. # feature - signature diffing
  93. gem 'diffy'
  94. # feature - excel output
  95. gem 'writeexcel', require: false
  96. # feature - csv import/export
  97. gem 'csv', require: false
  98. # feature - device logging
  99. gem 'browser'
  100. # feature - iCal export
  101. gem 'icalendar'
  102. gem 'icalendar-recurrence'
  103. # feature - phone number formatting
  104. gem 'telephone_number'
  105. # feature - SMS
  106. gem 'messagebird-rest'
  107. gem 'twilio-ruby', require: false
  108. # feature - ordering
  109. gem 'acts_as_list'
  110. # integrations
  111. gem 'clearbit', require: false
  112. gem 'net-ldap'
  113. gem 'slack-notifier', require: false
  114. gem 'zendesk_api', require: false
  115. # integrations - exchange
  116. gem 'autodiscover', git: 'https://github.com/zammad-deps/autodiscover', require: false
  117. gem 'viewpoint', require: false
  118. # integrations - S/MIME
  119. gem 'openssl'
  120. # Translation sync
  121. gem 'PoParser', require: false
  122. # Gems used only for develop/test and not required
  123. # in production environments by default.
  124. group :development, :test do
  125. # app boottime improvement
  126. gem 'spring'
  127. # debugging
  128. gem 'byebug'
  129. gem 'pry-rails'
  130. gem 'pry-remote'
  131. gem 'pry-rescue'
  132. gem 'pry-stack_explorer'
  133. # test frameworks
  134. gem 'rails-controller-testing'
  135. gem 'rspec-rails'
  136. gem 'rspec-retry'
  137. gem 'shoulda-matchers'
  138. gem 'test-unit'
  139. # for testing Pundit authorisation policies in RSpec
  140. gem 'pundit-matchers'
  141. # UI tests w/ Selenium
  142. gem 'capybara'
  143. gem 'selenium-webdriver'
  144. # livereload on template changes (html, js, css)
  145. gem 'guard', require: false
  146. gem 'guard-livereload', require: false
  147. gem 'rack-livereload', require: false
  148. gem 'rb-fsevent', require: false
  149. # auto symlinking
  150. gem 'guard-symlink', require: false
  151. # code QA
  152. gem 'brakeman', require: false
  153. gem 'overcommit'
  154. gem 'rubocop'
  155. gem 'rubocop-faker'
  156. gem 'rubocop-inflector'
  157. gem 'rubocop-performance'
  158. gem 'rubocop-rails'
  159. gem 'rubocop-rspec'
  160. # generate random test data
  161. gem 'factory_bot_rails'
  162. gem 'faker'
  163. # mock http calls
  164. gem 'webmock'
  165. # record and replay TCP/HTTP transactions
  166. gem 'tcr', require: false
  167. gem 'vcr'
  168. # handle deprecations in core and addons
  169. gem 'deprecation_toolkit'
  170. # image comparison in tests
  171. gem 'chunky_png'
  172. # refresh ENVs in CI environment
  173. gem 'dotenv', require: false
  174. # Slack helper for testing
  175. gem 'slack-ruby-client', require: false
  176. end
  177. # Want to extend Zammad with additional gems?
  178. # ZAMMAD USERS: Specify them in Gemfile.local
  179. # (That way, you can customize the Gemfile
  180. # without having your changes overwritten during upgrades.)
  181. # ZAMMAD DEVS: Consult the internal wiki
  182. # (or else risk pushing unwanted changes to Gemfile.lock!)
  183. # https://git.zammad.com/zammad/zammad/wikis/Tips#user-content-customizing-the-gemfile
  184. eval_gemfile 'Gemfile.local' if File.exist?('Gemfile.local')