Gemfile 6.1 KB

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