Gemfile 5.7 KB

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