1 source "https://rubygems.org"
4 gem "rails", "~> 7.1.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
33 # Use autoprefixer to generate CSS prefixes
34 gem "autoprefixer-rails"
36 # Use image_optim to optimise images
37 gem "image_optim_rails"
39 # Use argon2 for password hashing
42 # Support brotli compression for assets
43 gem "sprockets-exporters_pack"
45 # Restore File.exists? for oauth gem
49 gem "actionpack-page_caching", ">= 1.2.0"
50 gem "activerecord-import"
51 gem "active_record_union"
52 gem "bootstrap", "~> 5.3.2"
53 gem "bootstrap_form", "~> 5.0"
56 gem "delayed_job_active_record"
59 gem "http_accept_language", "~> 2.1.1"
60 gem "i18n-js", "~> 3.9.2"
61 gem "oauth-plugin", ">= 0.5.1"
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"
68 gem "validates_email_format_of", ">= 1.5.1"
70 # Native OSM extensions
71 gem "quad_tile", "~> 1.0.1"
74 gem "rack-uri_sanitizer"
76 # Omniauth for authentication
77 gem "omniauth", "~> 2.0.2"
78 gem "omniauth-facebook"
80 gem "omniauth-google-oauth2", ">= 0.6.0"
81 gem "omniauth-mediawiki", ">= 0.0.4"
82 gem "omniauth-microsoft_graph"
84 gem "omniauth-rails_csrf_protection", "~> 1.0"
86 # Doorkeeper for OAuth2
89 gem "doorkeeper-openid_connect"
91 # Markdown formatting support
94 # For status transitions of Issues
97 # Load libxml support for XML parsing and generation
98 gem "libxml-ruby", ">= 2.0.5", :require => "libxml"
100 # Use for HTML sanitisation
104 # Load faraday for mockable HTTP client
107 # Load maxminddb for querying Maxmind GeoIP database
110 # Load rotp to generate TOTP tokens
113 # Load memcache client in case we are using it
114 gem "connection_pool"
118 # Load secure_headers for Content-Security-Policy support
121 # Load canonical-rails to generate canonical URLs
122 gem "canonical-rails"
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
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"
155 # Gems needed for running tests
158 gem "capybara", ">= 2.15"
159 gem "erb_lint", :require => false
160 gem "factory_bot_rails"
162 gem "minitest", "~> 5.1"
163 gem "minitest-focus", :require => false
165 gem "rails-controller-testing"
167 gem "rubocop-capybara"
168 gem "rubocop-factory_bot"
169 gem "rubocop-minitest"
170 gem "rubocop-performance"
173 gem "selenium-webdriver"
174 gem "simplecov", :require => false
175 gem "simplecov-lcov", :require => false
179 group :development, :test do