Gemfile 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. source 'https://rubygems.org'
  3. # core - base
  4. ruby '3.2.4'
  5. gem 'rails', '~> 7.2.0'
  6. # core - rails additions
  7. gem 'activerecord-import'
  8. gem 'activerecord-session_store'
  9. gem 'bootsnap', require: false
  10. gem 'json'
  11. gem 'parallel'
  12. # core - application servers
  13. gem 'puma', group: :puma
  14. # core - supported ORMs
  15. gem 'mysql2', group: :mysql
  16. gem 'pg', '~> 1.5', '>= 1.5.4', group: :postgres
  17. # core - asynchrous task execution
  18. gem 'daemons'
  19. gem 'delayed_job_active_record'
  20. # core - command line interface
  21. gem 'thor'
  22. # core - websocket
  23. gem 'em-websocket'
  24. gem 'eventmachine'
  25. gem 'hiredis'
  26. # version restriction from actioncable-6.1.6.1/lib/action_cable/subscription_adapter/redis.rb
  27. # - check after rails update
  28. gem 'redis', '>= 3', '< 5'
  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. # core - use same timezone data on any host
  41. gem 'tzinfo-data'
  42. # performance - Memcached
  43. gem 'dalli', require: false
  44. # Vite is required by the web server
  45. gem 'vite_rails'
  46. # asset handling - config.assets for pipeline
  47. gem 'sprockets-rails'
  48. # Only load gems for asset compilation if they are needed to avoid
  49. # having unneeded runtime dependencies like NodeJS.
  50. group :assets do
  51. # asset handling - javascript execution for e.g. linux
  52. gem 'execjs', require: false
  53. # asset handling - coffee-script
  54. gem 'coffee-rails', require: false
  55. # asset handling - frontend templating
  56. gem 'eco', require: false
  57. # asset handling - SASS
  58. # We cannot use sassc-rails, as it can lead to crashes on modern platforms like CentOS 9.
  59. # See https://jcmaciel.com/apple-silicon-ruby-on-rails-crash-segfault-sassc/
  60. # https://github.com/sass/sassc-ruby/issues/197
  61. # Pin to v5 which does not use sassc internally.
  62. gem 'sass-rails', '~> 5', require: false
  63. # asset handling - pipeline
  64. gem 'sprockets', '~> 3.7.2', require: false
  65. gem 'terser', require: false
  66. gem 'autoprefixer-rails', require: false
  67. end
  68. # authentication - provider
  69. gem 'doorkeeper'
  70. gem 'oauth2'
  71. # authentication - two factor
  72. gem 'rotp', require: false
  73. gem 'webauthn', require: false
  74. # authentication - third party
  75. gem 'omniauth-rails_csrf_protection'
  76. # authentication - third party providers
  77. gem 'omniauth-facebook'
  78. gem 'omniauth-github'
  79. gem 'omniauth-gitlab'
  80. gem 'omniauth-google-oauth2'
  81. gem 'omniauth-linkedin-oauth2'
  82. gem 'omniauth-microsoft-office365'
  83. gem 'omniauth-saml'
  84. gem 'omniauth-twitter'
  85. gem 'omniauth-weibo-oauth2', git: 'https://github.com/zammad-deps/omniauth-weibo-oauth2', branch: 'unpin-dependencies'
  86. # Rate limiting
  87. gem 'rack-attack'
  88. # channels
  89. gem 'koala'
  90. gem 'telegram-bot-ruby'
  91. gem 'twitter', '~> 7'
  92. gem 'whatsapp_sdk'
  93. # channels - email additions
  94. gem 'email_address'
  95. gem 'htmlentities'
  96. gem 'mail'
  97. gem 'mime-types'
  98. gem 'rchardet', '>= 1.8.0'
  99. # networking libraries were removed from stdlib in ruby 3.1..
  100. gem 'net-ftp', require: false
  101. gem 'net-http', require: false
  102. gem 'net-imap', require: false
  103. gem 'net-pop', require: false
  104. gem 'net-smtp', require: false
  105. # convert from punycode ACE strings to unicode UTF-8 strings and visa versa
  106. gem 'simpleidn'
  107. # feature - business hours
  108. gem 'biz'
  109. # feature - signature diffing
  110. gem 'diffy'
  111. # feature - excel output
  112. gem 'write_xlsx', require: false
  113. # feature - csv import/export
  114. gem 'csv', require: false
  115. # feature - device logging
  116. gem 'browser'
  117. # feature - iCal export
  118. gem 'icalendar'
  119. gem 'icalendar-recurrence'
  120. # feature - phone number formatting
  121. gem 'telephone_number'
  122. # feature - SMS
  123. gem 'messagebird-rest'
  124. gem 'twilio-ruby', require: false
  125. # feature - ordering
  126. gem 'acts_as_list'
  127. # integrations
  128. gem 'clearbit', require: false
  129. gem 'net-ldap'
  130. gem 'slack-notifier', require: false
  131. gem 'zendesk_api', require: false
  132. # integrations - exchange
  133. gem 'autodiscover', git: 'https://github.com/zammad-deps/autodiscover', require: false
  134. gem 'viewpoint', require: false
  135. # integrations - S/MIME
  136. gem 'openssl'
  137. # Translation sync
  138. gem 'byk', require: false
  139. gem 'PoParser', require: false
  140. # Simple storage
  141. gem 'aws-sdk-s3', require: false
  142. # Debugging and profiling
  143. gem 'byebug'
  144. gem 'pry-byebug'
  145. gem 'pry-rails'
  146. gem 'pry-remote'
  147. gem 'pry-rescue'
  148. gem 'pry-stack_explorer'
  149. gem 'pry-theme'
  150. # monitoring / system report
  151. gem 'macaddr'
  152. # watch file changes (also relevant for graphql generation in context of CDs)
  153. gem 'listen'
  154. # Gems used only for develop/test and not required
  155. # in production environments by default.
  156. group :development, :test do
  157. # test frameworks
  158. gem 'rails-controller-testing'
  159. gem 'rspec-rails'
  160. gem 'rspec-retry'
  161. gem 'shoulda-matchers'
  162. gem 'test-unit'
  163. # for testing Pundit authorisation policies in RSpec
  164. gem 'pundit-matchers'
  165. # UI tests w/ Selenium
  166. gem 'capybara'
  167. gem 'selenium-webdriver'
  168. # code QA
  169. gem 'brakeman', require: false
  170. gem 'overcommit'
  171. gem 'rubocop'
  172. gem 'rubocop-capybara'
  173. gem 'rubocop-factory_bot'
  174. gem 'rubocop-faker'
  175. gem 'rubocop-graphql'
  176. gem 'rubocop-inflector'
  177. gem 'rubocop-performance'
  178. gem 'rubocop-rails'
  179. gem 'rubocop-rspec'
  180. gem 'rubocop-rspec_rails'
  181. # generate random test data
  182. gem 'factory_bot_rails'
  183. gem 'faker'
  184. # mock http calls
  185. gem 'webmock'
  186. # record and replay TCP/HTTP transactions
  187. gem 'tcr', require: false
  188. gem 'vcr', require: false
  189. # handle deprecations in core and addons
  190. gem 'deprecation_toolkit'
  191. # image comparison in tests
  192. gem 'chunky_png'
  193. # Slack helper for testing
  194. gem 'slack-ruby-client', require: false
  195. # self-signed localhost certificates for puma / capybara
  196. gem 'localhost'
  197. # Keycloak admin tool for setting up SAML auth tests
  198. gem 'keycloak-admin', github: 'tschaefer/ruby-keycloak-admin', tag: 'v26.0.0', require: false
  199. # Debugging and profiling
  200. gem 'pry-doc' # This gem is very large, so don't include it in production.
  201. end
  202. # To permanently extend Zammad with additional gems, you can specify them in Gemfile.local.
  203. Dir['Gemfile.local*'].each do |file|
  204. eval_gemfile file
  205. end