1 source "https://rubygems.org"
4 gem "rails", "~> 7.2.0"
7 # Require json for multi_json
10 # Use postgres as the database
13 # Use SCSS for stylesheets
14 gem "dartsass-sprockets"
15 # Pin the dependentent sass-embedded to avoid deprecation warnings in bootstrap
16 gem "sass-embedded", "~> 1.64.0"
18 # Use Terser as compressor for JavaScript assets
21 # Use jquery as the JavaScript library
24 # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
25 gem "jbuilder", "~> 2.7"
27 # Reduces boot times through caching; required in config/boot.rb
28 gem "bootsnap", ">= 1.4.2", :require => false
30 # Use rtlcss for RTL conversion
31 gem "mini_racer", "~> 0.9.0"
34 # Use autoprefixer to generate CSS prefixes
35 gem "autoprefixer-rails"
37 # Use image_optim to optimise images
38 gem "image_optim_rails"
40 # Use argon2 for password hashing
43 # Support brotli compression for assets
44 gem "sprockets-exporters_pack"
46 # Restore File.exists? for oauth gem
50 gem "actionpack-page_caching", ">= 1.2.0"
51 gem "activerecord-import"
52 gem "active_record_union"
53 gem "bootstrap", "~> 5.3.2"
54 gem "bootstrap_form", "~> 5.0"
57 gem "delayed_job_active_record"
60 gem "http_accept_language", "~> 2.1.1"
61 gem "i18n-js", "~> 3.9.2"
62 gem "openstreetmap-deadlock_retry", ">= 1.3.1", :require => "deadlock_retry"
64 gem "rails-i18n", "~> 7.0.0"
66 gem "rinku", ">= 2.0.6", :require => "rails_rinku"
67 gem "strong_migrations", "< 2.0.0"
68 gem "validates_email_format_of", ">= 1.5.1"
70 # Native OSM extensions
71 gem "quad_tile", "~> 1.0.1"
74 gem "addressable", "~> 2.8"
75 gem "rack-uri_sanitizer"
77 # Omniauth for authentication
79 gem "omniauth", "~> 2.0.2"
80 gem "omniauth-facebook"
82 gem "omniauth-google-oauth2", ">= 0.6.0"
83 gem "omniauth-mediawiki", ">= 0.0.4"
84 gem "omniauth-microsoft_graph"
86 gem "omniauth-rails_csrf_protection", "~> 1.0"
88 # Doorkeeper for OAuth2
91 gem "doorkeeper-openid_connect"
93 # Markdown formatting support
96 # For status transitions of Issues
99 # Load libxml support for XML parsing and generation
100 gem "libxml-ruby", ">= 2.0.5", :require => "libxml"
102 # Use for HTML sanitisation
106 # Load faraday for mockable HTTP client
109 # Load maxminddb for querying Maxmind GeoIP database
112 # Load rotp to generate TOTP tokens
115 # Load memcache client in case we are using it
116 gem "connection_pool"
120 # Load canonical-rails to generate canonical URLs
121 # Use unreleased version for rails 7.2.1+ compatibility
122 gem "canonical-rails", :github => "jumph4x/canonical-rails", :ref => "fbc1c88c"
124 # Used to generate logstash friendly log files
127 # Used to generate images for traces
130 gem "gd2-ffij", ">= 0.4.0"
133 # Used for browser detection
134 gem "browser", "< 6" # for ruby 3.1 support
136 # Used for S3 object storage
139 # Used to resize user images
140 gem "image_processing"
142 # Used to validate widths
143 gem "unicode-display_width"
145 # Gems useful for development
146 group :development do
148 gem "binding_of_caller"
149 gem "debug_inspector"
156 # Gems needed for running tests
159 gem "capybara", ">= 2.15"
160 gem "erb_lint", :require => false
161 gem "factory_bot_rails"
163 gem "minitest", "~> 5.1"
164 gem "minitest-focus", :require => false
166 gem "rails-controller-testing"
168 gem "rubocop-capybara"
169 gem "rubocop-factory_bot"
170 gem "rubocop-minitest"
171 gem "rubocop-performance"
174 gem "selenium-webdriver"
175 gem "simplecov", :require => false
176 gem "simplecov-lcov", :require => false
180 group :development, :test do
183 # See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
184 gem "debug", :require => "debug/prelude"