1 source "https://rubygems.org"
4 gem "rails", "~> 7.1.0"
6 # Require json for multi_json
9 # Use postgres as the database
12 # Use SCSS for stylesheets
13 gem "dartsass-sprockets"
14 # Pin the dependentent sass-embedded to avoid deprecation warnings in bootstrap
15 gem "sass-embedded", "~> 1.64.0"
17 # Use Terser as compressor for JavaScript assets
20 # Use jquery as the JavaScript library
23 # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
24 gem "jbuilder", "~> 2.7"
26 # Reduces boot times through caching; required in config/boot.rb
27 gem "bootsnap", ">= 1.4.2", :require => false
29 # Use rtlcss for RTL conversion
32 # Use autoprefixer to generate CSS prefixes
33 gem "autoprefixer-rails"
35 # Use image_optim to optimise images
36 gem "image_optim_rails"
38 # Use argon2 for password hashing
41 # Support brotli compression for assets
42 gem "sprockets-exporters_pack"
44 # Restore File.exists? for oauth gem
48 gem "actionpack-page_caching", ">= 1.2.0"
49 gem "activerecord-import"
50 gem "active_record_union"
51 gem "bootstrap", "~> 5.3.2"
52 gem "bootstrap_form", "~> 5.0"
55 gem "delayed_job_active_record"
57 gem "http_accept_language", "~> 2.1.1"
58 gem "i18n-js", "~> 3.9.2"
59 gem "oauth-plugin", ">= 0.5.1"
60 gem "openstreetmap-deadlock_retry", ">= 1.3.1", :require => "deadlock_retry"
62 gem "rails-i18n", "~> 7.0.0"
63 gem "rinku", ">= 2.0.6", :require => "rails_rinku"
64 gem "strong_migrations"
65 gem "validates_email_format_of", ">= 1.5.1"
67 # Native OSM extensions
68 gem "quad_tile", "~> 1.0.1"
71 gem "rack-uri_sanitizer"
73 # Omniauth for authentication
74 gem "omniauth", "~> 2.0.2"
75 gem "omniauth-facebook"
77 gem "omniauth-google-oauth2", ">= 0.6.0"
78 gem "omniauth-mediawiki", ">= 0.0.4"
79 gem "omniauth-microsoft_graph"
81 gem "omniauth-rails_csrf_protection", "~> 1.0"
83 # Doorkeeper for OAuth2
86 gem "doorkeeper-openid_connect"
88 # Markdown formatting support
91 # For status transitions of Issues
94 # Load libxml support for XML parsing and generation
95 gem "libxml-ruby", ">= 2.0.5", :require => "libxml"
97 # Use for HTML sanitisation
101 # Load faraday for mockable HTTP client
104 # Load maxminddb for querying Maxmind GeoIP database
107 # Load rotp to generate TOTP tokens
110 # Load memcache client in case we are using it
111 gem "connection_pool"
115 # Load secure_headers for Content-Security-Policy support
118 # Load canonical-rails to generate canonical URLs
119 gem "canonical-rails"
121 # Used to generate logstash friendly log files
124 # Used to generate images for traces
127 gem "gd2-ffij", ">= 0.4.0"
130 # Used for browser detection
133 # Used for S3 object storage
136 # Used to resize user images
137 gem "image_processing"
139 # Gems useful for development
140 group :development do
142 gem "binding_of_caller"
143 gem "debug_inspector"
149 # Gems needed for running tests
152 gem "capybara", ">= 2.15"
153 gem "erb_lint", :require => false
154 gem "factory_bot_rails"
156 gem "minitest", "~> 5.1"
158 gem "rails-controller-testing"
160 gem "rubocop-capybara"
161 gem "rubocop-factory_bot"
162 gem "rubocop-minitest"
163 gem "rubocop-performance"
166 gem "selenium-webdriver"
167 gem "simplecov", :require => false
168 gem "simplecov-lcov", :require => false
172 group :development, :test do