diff --git a/.gitignore b/.gitignore index c5009451..438fd6a8 100644 --- a/.gitignore +++ b/.gitignore @@ -30,4 +30,5 @@ tailwind.config.js node_modules/ npm_debug.log -.rubocop-* \ No newline at end of file +.rubocop-*/public/sw.js* +/public/sw.js* diff --git a/.ruby-version b/.ruby-version index a0891f56..2aa51319 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.3.4 +3.4.7 diff --git a/Gemfile.lock b/Gemfile.lock index 18c43b5b..5cb68c90 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,99 +1,103 @@ PATH remote: . specs: - decidim-term_customizer (0.31) - decidim-admin (~> 0.31.0) - decidim-core (~> 0.31.0) + decidim-term_customizer (0.32) + decidim-admin (~> 0.32.0) + decidim-core (~> 0.32.0) GEM remote: https://rubygems.org/ specs: - actioncable (7.2.3) - actionpack (= 7.2.3) - activesupport (= 7.2.3) + action_text-trix (2.1.19) + railties + actioncable (8.1.3) + actionpack (= 8.1.3) + activesupport (= 8.1.3) nio4r (~> 2.0) websocket-driver (>= 0.6.1) zeitwerk (~> 2.6) - actionmailbox (7.2.3) - actionpack (= 7.2.3) - activejob (= 7.2.3) - activerecord (= 7.2.3) - activestorage (= 7.2.3) - activesupport (= 7.2.3) + actionmailbox (8.1.3) + actionpack (= 8.1.3) + activejob (= 8.1.3) + activerecord (= 8.1.3) + activestorage (= 8.1.3) + activesupport (= 8.1.3) mail (>= 2.8.0) - actionmailer (7.2.3) - actionpack (= 7.2.3) - actionview (= 7.2.3) - activejob (= 7.2.3) - activesupport (= 7.2.3) + actionmailer (8.1.3) + actionpack (= 8.1.3) + actionview (= 8.1.3) + activejob (= 8.1.3) + activesupport (= 8.1.3) mail (>= 2.8.0) rails-dom-testing (~> 2.2) - actionpack (7.2.3) - actionview (= 7.2.3) - activesupport (= 7.2.3) - cgi + actionpack (8.1.3) + actionview (= 8.1.3) + activesupport (= 8.1.3) nokogiri (>= 1.8.5) - racc - rack (>= 2.2.4, < 3.3) + rack (>= 2.2.4) rack-session (>= 1.0.1) rack-test (>= 0.6.3) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) useragent (~> 0.16) - actiontext (7.2.3) - actionpack (= 7.2.3) - activerecord (= 7.2.3) - activestorage (= 7.2.3) - activesupport (= 7.2.3) + actiontext (8.1.3) + action_text-trix (~> 2.1.15) + actionpack (= 8.1.3) + activerecord (= 8.1.3) + activestorage (= 8.1.3) + activesupport (= 8.1.3) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (7.2.3) - activesupport (= 7.2.3) + actionview (8.1.3) + activesupport (= 8.1.3) builder (~> 3.1) - cgi erubi (~> 1.11) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) active_link_to (1.0.5) actionpack addressable - activejob (7.2.3) - activesupport (= 7.2.3) + activejob (8.1.3) + activesupport (= 8.1.3) globalid (>= 0.3.6) - activemodel (7.2.3) - activesupport (= 7.2.3) - activerecord (7.2.3) - activemodel (= 7.2.3) - activesupport (= 7.2.3) + activemodel (8.1.3) + activesupport (= 8.1.3) + activerecord (8.1.3) + activemodel (= 8.1.3) + activesupport (= 8.1.3) timeout (>= 0.4.0) - activestorage (7.2.3) - actionpack (= 7.2.3) - activejob (= 7.2.3) - activerecord (= 7.2.3) - activesupport (= 7.2.3) + activestorage (8.1.3) + actionpack (= 8.1.3) + activejob (= 8.1.3) + activerecord (= 8.1.3) + activesupport (= 8.1.3) marcel (~> 1.0) - activesupport (7.2.3) + activesupport (8.1.3) base64 - benchmark (>= 0.3) bigdecimal concurrent-ruby (~> 1.0, >= 1.3.1) connection_pool (>= 2.2.5) drb i18n (>= 1.6, < 2) + json logger (>= 1.4.2) minitest (>= 5.1) securerandom (>= 0.3) tzinfo (~> 2.0, >= 2.0.5) + uri (>= 0.13.1) acts_as_list (1.2.6) activerecord (>= 6.1) activesupport (>= 6.1) - addressable (2.8.7) - public_suffix (>= 2.0.2, < 7.0) + addressable (2.9.0) + public_suffix (>= 2.0.2, < 8.0) + anonymous_loader (0.1.3) + version_gem (~> 1.1, >= 1.1.14) ast (2.4.3) + auth-sanitizer (0.2.3) + version_gem (~> 1.1, >= 1.1.14) base64 (0.3.0) - batch-loader (2.0.5) - bcrypt (3.1.20) - benchmark (0.5.0) + batch-loader (2.0.6) + bcrypt (3.1.22) better_html (2.1.1) actionview (>= 6.0) activesupport (>= 6.0) @@ -101,13 +105,13 @@ GEM erubi (~> 1.4) parser (>= 2.4) smart_properties - bigdecimal (3.3.1) + bigdecimal (4.1.2) bindex (0.8.1) bootsnap (1.18.6) msgpack (~> 1.2) browser (6.2.0) builder (3.3.0) - bullet (8.0.8) + bullet (8.1.3) activesupport (>= 3.0.0) uniform_notifier (~> 1.11) byebug (11.1.3) @@ -131,79 +135,87 @@ GEM cells-rails (0.1.6) actionpack (>= 5.0) cells (>= 4.1.6, < 5.0.0) - cgi (0.5.0) + cgi (0.5.2) charlock_holmes (0.7.9) - chartkick (5.1.5) + chartkick (5.2.1) childprocess (5.1.0) logger (~> 1.5) chunky_png (1.4.0) cmdparse (3.0.7) - commonmarker (0.23.12) - concurrent-ruby (1.3.5) - connection_pool (2.5.4) + commonmarker (2.9.0) + rb_sys (~> 0.9) + commonmarker (2.9.0-aarch64-linux) + commonmarker (2.9.0-aarch64-linux-musl) + commonmarker (2.9.0-arm-linux) + commonmarker (2.9.0-arm64-darwin) + commonmarker (2.9.0-x86_64-darwin) + commonmarker (2.9.0-x86_64-linux) + commonmarker (2.9.0-x86_64-linux-musl) + concurrent-ruby (1.3.8) + connection_pool (3.0.2) crack (1.0.0) bigdecimal rexml - crass (1.0.6) - css_parser (1.21.1) + crass (1.0.7) + css_parser (3.0.0) addressable + ssrf_filter (~> 1.5) csv (3.3.5) dalli (2.7.11) data_migrate (11.3.1) activerecord (>= 6.1) railties (>= 6.1) - date (3.5.0) + date (3.5.1) date_validator (0.12.0) activemodel (>= 3) activesupport (>= 3) - decidim (0.31.0) - decidim-accountability (= 0.31.0) - decidim-admin (= 0.31.0) - decidim-api (= 0.31.0) - decidim-assemblies (= 0.31.0) - decidim-blogs (= 0.31.0) - decidim-budgets (= 0.31.0) - decidim-comments (= 0.31.0) - decidim-core (= 0.31.0) - decidim-debates (= 0.31.0) - decidim-forms (= 0.31.0) - decidim-generators (= 0.31.0) - decidim-meetings (= 0.31.0) - decidim-pages (= 0.31.0) - decidim-participatory_processes (= 0.31.0) - decidim-proposals (= 0.31.0) - decidim-sortitions (= 0.31.0) - decidim-surveys (= 0.31.0) - decidim-system (= 0.31.0) - decidim-verifications (= 0.31.0) - decidim-accountability (0.31.0) - decidim-comments (= 0.31.0) - decidim-core (= 0.31.0) - decidim-admin (0.31.0) + decidim (0.32.0) + decidim-accountability (= 0.32.0) + decidim-admin (= 0.32.0) + decidim-api (= 0.32.0) + decidim-assemblies (= 0.32.0) + decidim-blogs (= 0.32.0) + decidim-budgets (= 0.32.0) + decidim-comments (= 0.32.0) + decidim-core (= 0.32.0) + decidim-debates (= 0.32.0) + decidim-forms (= 0.32.0) + decidim-generators (= 0.32.0) + decidim-meetings (= 0.32.0) + decidim-pages (= 0.32.0) + decidim-participatory_processes (= 0.32.0) + decidim-proposals (= 0.32.0) + decidim-surveys (= 0.32.0) + decidim-system (= 0.32.0) + decidim-verifications (= 0.32.0) + decidim-accountability (0.32.0) + decidim-comments (= 0.32.0) + decidim-core (= 0.32.0) + decidim-admin (0.32.0) active_link_to (~> 1.0) - decidim-core (= 0.31.0) - devise (~> 4.7) + decidim-core (= 0.32.0) + devise (>= 4.7, < 6.0) devise-i18n (~> 1.2) devise_invitable (~> 2.0, >= 2.0.9) - decidim-api (0.31.0) - decidim-core (= 0.31.0) - devise-jwt (~> 0.12.1) - graphql (~> 2.4.0, >= 2.4.17) - graphql-docs (~> 5.0) - rack-cors (~> 1.0) - decidim-assemblies (0.31.0) - decidim-core (= 0.31.0) - decidim-blogs (0.31.0) - decidim-admin (= 0.31.0) - decidim-comments (= 0.31.0) - decidim-core (= 0.31.0) - decidim-budgets (0.31.0) - decidim-comments (= 0.31.0) - decidim-core (= 0.31.0) - decidim-comments (0.31.0) - decidim-core (= 0.31.0) + decidim-api (0.32.0) + decidim-core (= 0.32.0) + devise-jwt (>= 0.12.1, < 0.14.0) + graphql (>= 2.4.17, < 2.6) + graphql-docs (>= 5, < 7) + rack-cors (>= 1, < 4) + decidim-assemblies (0.32.0) + decidim-core (= 0.32.0) + decidim-blogs (0.32.0) + decidim-admin (= 0.32.0) + decidim-comments (= 0.32.0) + decidim-core (= 0.32.0) + decidim-budgets (0.32.0) + decidim-comments (= 0.32.0) + decidim-core (= 0.32.0) + decidim-comments (0.32.0) + decidim-core (= 0.32.0) redcarpet (~> 3.5, >= 3.5.1) - decidim-core (0.31.0) + decidim-core (0.32.0) active_link_to (~> 1.0) acts_as_list (~> 1.0) batch-loader (~> 2.0) @@ -211,151 +223,148 @@ GEM cells-erb (~> 0.1.0) cells-rails (~> 0.1.3) charlock_holmes (~> 0.7) - chartkick (~> 5.1.2) + chartkick (>= 5.1.2, < 5.3.0) concurrent-ruby (~> 1.3.0) + connection_pool (< 4) data_migrate (~> 11.3) date_validator (~> 0.12.0) - devise (~> 4.7) + devise (>= 4.7, < 6.0) devise-i18n (~> 1.2) diffy (~> 3.3) doorkeeper (~> 5.6, >= 5.6.6) - doorkeeper-i18n (~> 4.0) + doorkeeper-i18n (>= 4, < 6) file_validators (~> 3.0) fog-local (~> 0.6) geocoder (~> 1.8) hashdiff (>= 0.4.0, < 2.0.0) - hexapdf (~> 1.1.0) + hexapdf (>= 1.1, < 1.7) image_processing (~> 1.2) - invisible_captcha (~> 0.12) + invisible_captcha (>= 0.12, < 3.0) kaminari (~> 1.2, >= 1.2.1) loofah (~> 2.19, >= 2.19.1) mime-types (>= 1.16, < 4.0) - mini_magick (~> 4.9) net-smtp (~> 0.5.0) nokogiri (~> 1.16, >= 1.16.2) omniauth (~> 2.0) - omniauth-facebook (~> 5.0) + omniauth-facebook (>= 5, < 11) omniauth-google-oauth2 (~> 1.0) - omniauth-rails_csrf_protection (~> 1.0) + omniauth-rails_csrf_protection (>= 1, < 3) omniauth-twitter (~> 1.4) - paper_trail (~> 16.0) - paranoia (~> 3.0.0) - pg (~> 1.5.0, < 2) + paper_trail (~> 17.0) + paranoia (~> 3.1.0) + pg (>= 1.5, < 1.7) pg_search (~> 2.2) premailer-rails (~> 1.10) - rack (~> 2.2, >= 2.2.8.1) - rack-attack (~> 6.0) - rails (~> 7.2.0, >= 7.2.2.2) - rails-i18n (~> 7.0) - ransack (~> 4.2.0) - redis (~> 4.1) + rack (>= 3.2.4, < 4.0) + rack-attack (>= 6.7, < 6.9) + rails (~> 8.1.0) + rails-i18n (~> 8.1.0, < 8.2) + ransack (>= 4.2, < 4.5) + redis (>= 4.1, < 6.0) request_store (~> 1.7.0) - rqrcode (~> 2.2.0) + rqrcode (>= 2.2, < 3.3) + ruby-vips (~> 2.2) rubyXL (~> 3.4) rubyzip (~> 2.0) - shakapacker (~> 8.3.0) + shakapacker (~> 9.7.0) valid_email2 (~> 7.0) web-push (~> 3.0) wisper (~> 3.0) - decidim-debates (0.31.0) - decidim-comments (= 0.31.0) - decidim-core (= 0.31.0) - decidim-dev (0.31.0) - bullet (~> 8.0.0) - byebug (~> 11.0) + decidim-debates (0.32.0) + decidim-comments (= 0.32.0) + decidim-core (= 0.32.0) + decidim-dev (0.32.0) + bullet (~> 8.1.0) + byebug (>= 11, < 14) capybara (~> 3.39) - decidim-admin (= 0.31.0) - decidim-api (= 0.31.0) - decidim-comments (= 0.31.0) - decidim-core (= 0.31.0) - decidim-generators (= 0.31.0) - decidim-verifications (= 0.31.0) - erb_lint (~> 0.8.0) + decidim-admin (= 0.32.0) + decidim-api (= 0.32.0) + decidim-comments (= 0.32.0) + decidim-core (= 0.32.0) + decidim-generators (= 0.32.0) + decidim-verifications (= 0.32.0) + erb_lint (>= 0.8, < 0.10) factory_bot_rails (~> 6.2) faker (~> 3.2) i18n-tasks (~> 1.0) nokogiri (~> 1.16, >= 1.16.2) - parallel_tests (~> 4.2) - puma (~> 6.5) + parallel_tests (>= 4.2, < 6.0) + puma (>= 6.5, < 8.0) rails-controller-testing (~> 1.0) rspec (~> 3.12) rspec-cells (~> 0.3.7) rspec-html-matchers (~> 0.10) - rspec-rails (~> 6.0) + rspec-rails (>= 6, < 9) rspec-retry (~> 0.6.2) rspec_junit_formatter (~> 0.6.0) - rubocop (~> 1.78.0) + rubocop (>= 1.78, < 1.87) rubocop-capybara (~> 2.22.0, >= 2.22.1) - rubocop-factory_bot (~> 2.27.0) + rubocop-factory_bot (>= 2.27, < 2.29) rubocop-faker (~> 1.3, >= 1.3.0) rubocop-graphql (~> 1.5, >= 1.5.6) rubocop-performance (~> 1.25, >= 1.25.0) - rubocop-rails (~> 2.32.0, >= 2.32.0) + rubocop-rails (>= 2.32, < 2.35) rubocop-rspec (~> 3.0, >= 3.6.0) - rubocop-rspec_rails (~> 2.31.0) + rubocop-rspec_rails (>= 2.31, < 2.33) rubocop-rubycw (~> 0.2.0) + rubocop-yard (>= 1.0, < 1.2) selenium-webdriver (~> 4.9) simplecov (~> 0.22.0) - simplecov-cobertura (~> 2.1.0) + simplecov-cobertura (~> 3.1.0) spring (~> 4.0) spring-watcher-listen (~> 2.0) w3c_rspec_validators (~> 0.3.0) webmock (~> 3.18) wisper-rspec (~> 1.0) - decidim-forms (0.31.0) - decidim-core (= 0.31.0) - decidim-generators (0.31.0) - decidim-core (= 0.31.0) - decidim-initiatives (0.31.0) - decidim-admin (= 0.31.0) - decidim-comments (= 0.31.0) - decidim-core (= 0.31.0) - decidim-verifications (= 0.31.0) - decidim-meetings (0.31.0) - decidim-core (= 0.31.0) - decidim-forms (= 0.31.0) + decidim-forms (0.32.0) + decidim-core (= 0.32.0) + decidim-generators (0.32.0) + decidim-core (= 0.32.0) + decidim-initiatives (0.32.0) + decidim-admin (= 0.32.0) + decidim-comments (= 0.32.0) + decidim-core (= 0.32.0) + decidim-verifications (= 0.32.0) + decidim-meetings (0.32.0) + decidim-core (= 0.32.0) + decidim-forms (= 0.32.0) icalendar (~> 2.5) - decidim-pages (0.31.0) - decidim-core (= 0.31.0) - decidim-participatory_processes (0.31.0) - decidim-core (= 0.31.0) - decidim-proposals (0.31.0) - decidim-comments (= 0.31.0) - decidim-core (= 0.31.0) + decidim-pages (0.32.0) + decidim-core (= 0.32.0) + decidim-participatory_processes (0.32.0) + decidim-core (= 0.32.0) + decidim-proposals (0.32.0) + decidim-comments (= 0.32.0) + decidim-core (= 0.32.0) doc2text (~> 0.4.0, >= 0.4.8) redcarpet (~> 3.5, >= 3.5.1) - decidim-sortitions (0.31.0) - decidim-admin (= 0.31.0) - decidim-comments (= 0.31.0) - decidim-core (= 0.31.0) - decidim-proposals (= 0.31.0) - decidim-surveys (0.31.0) - decidim-core (= 0.31.0) - decidim-forms (= 0.31.0) - decidim-system (0.31.0) + decidim-surveys (0.32.0) + decidim-core (= 0.32.0) + decidim-forms (= 0.32.0) + decidim-system (0.32.0) active_link_to (~> 1.0) - decidim-core (= 0.31.0) - devise (~> 4.7) + decidim-core (= 0.32.0) + devise (>= 4.7, < 6.0) devise-i18n (~> 1.2) devise_invitable (~> 2.0, >= 2.0.9) - decidim-verifications (0.31.0) - decidim-core (= 0.31.0) + decidim-verifications (0.32.0) + decidim-core (= 0.32.0) declarative-builder (0.2.0) trailblazer-option (~> 0.1.0) declarative-option (0.1.0) - devise (4.9.4) + devise (5.0.4) bcrypt (~> 3.0) orm_adapter (~> 0.1) - railties (>= 4.1.0) + railties (>= 7.0) responders warden (~> 1.2.3) - devise-i18n (1.15.0) - devise (>= 4.9.0) + devise-i18n (1.16.0) + devise (>= 5.0.0) rails-i18n - devise-jwt (0.12.1) - devise (~> 4.0) + devise-jwt (0.13.0) + devise (>= 4.0.0, < 6.0.0) warden-jwt_auth (~> 0.10) - devise_invitable (2.0.11) + devise_invitable (2.0.12) actionmailer (>= 5.0) devise (>= 4.6) diff-lcs (1.6.2) @@ -364,21 +373,22 @@ GEM nokogiri (>= 1.18.2) rubyzip (~> 2.3.0) docile (1.4.1) - doorkeeper (5.8.2) + doorkeeper (5.9.3) railties (>= 5) - doorkeeper-i18n (4.0.1) + doorkeeper-i18n (5.2.9) + doorkeeper (>= 5.2) drb (2.2.3) - dry-auto_inject (1.1.0) + dry-auto_inject (1.2.1) dry-core (~> 1.1) zeitwerk (~> 2.6) - dry-configurable (1.3.0) - dry-core (~> 1.1) + dry-configurable (1.4.0) + dry-core (~> 1.0) zeitwerk (~> 2.6) - dry-core (1.1.0) + dry-core (1.2.0) concurrent-ruby (~> 1.0) logger zeitwerk (~> 2.6) - erb (6.0.0) + erb (6.0.6) erb_lint (0.8.0) activesupport better_html (>= 2.0.1) @@ -390,10 +400,8 @@ GEM temple erubi (1.13.1) escape_utils (1.3.0) - excon (1.3.1) + excon (1.6.0) logger - extended-markdown-filter (0.7.0) - html-pipeline (~> 2.9) factory_bot (6.5.4) activesupport (>= 6.1.0) factory_bot_rails (6.5.0) @@ -401,22 +409,22 @@ GEM railties (>= 6.1.0) faker (3.5.1) i18n (>= 1.8.11, < 2) - faraday (2.14.0) + faraday (2.14.3) faraday-net_http (>= 2.0, < 3.5) json logger - faraday-net_http (3.4.2) + faraday-net_http (3.4.4) net-http (~> 0.5) - ffi (1.17.2-aarch64-linux-gnu) - ffi (1.17.2-aarch64-linux-musl) - ffi (1.17.2-arm-linux-gnu) - ffi (1.17.2-arm-linux-musl) - ffi (1.17.2-arm64-darwin) - ffi (1.17.2-x86-linux-gnu) - ffi (1.17.2-x86-linux-musl) - ffi (1.17.2-x86_64-darwin) - ffi (1.17.2-x86_64-linux-gnu) - ffi (1.17.2-x86_64-linux-musl) + ffi (1.17.4-aarch64-linux-gnu) + ffi (1.17.4-aarch64-linux-musl) + ffi (1.17.4-arm-linux-gnu) + ffi (1.17.4-arm-linux-musl) + ffi (1.17.4-arm64-darwin) + ffi (1.17.4-x86-linux-gnu) + ffi (1.17.4-x86-linux-musl) + ffi (1.17.4-x86_64-darwin) + ffi (1.17.4-x86_64-linux-gnu) + ffi (1.17.4-x86_64-linux-musl) fiber-storage (1.0.1) file_validators (3.0.0) activemodel (>= 3.2) @@ -430,68 +438,68 @@ GEM fog-core (>= 1.27, < 3.0) formatador (1.2.3) reline - gemoji (3.0.1) + gemoji (4.1.0) geocoder (1.8.6) base64 (>= 0.1.0) csv (>= 3.0.0) geom2d (0.4.1) - globalid (1.3.0) + globalid (1.4.0) activesupport (>= 6.1) - google-protobuf (4.33.1) + google-protobuf (4.35.1) bigdecimal - rake (>= 13) - google-protobuf (4.33.1-aarch64-linux-gnu) + rake (~> 13.3) + google-protobuf (4.35.1-aarch64-linux-gnu) bigdecimal - rake (>= 13) - google-protobuf (4.33.1-aarch64-linux-musl) + rake (~> 13.3) + google-protobuf (4.35.1-aarch64-linux-musl) bigdecimal - rake (>= 13) - google-protobuf (4.33.1-arm64-darwin) + rake (~> 13.3) + google-protobuf (4.35.1-arm64-darwin) bigdecimal - rake (>= 13) - google-protobuf (4.33.1-x86-linux-gnu) + rake (~> 13.3) + google-protobuf (4.35.1-x86-linux-gnu) bigdecimal - rake (>= 13) - google-protobuf (4.33.1-x86-linux-musl) + rake (~> 13.3) + google-protobuf (4.35.1-x86-linux-musl) bigdecimal - rake (>= 13) - google-protobuf (4.33.1-x86_64-darwin) + rake (~> 13.3) + google-protobuf (4.35.1-x86_64-darwin) bigdecimal - rake (>= 13) - google-protobuf (4.33.1-x86_64-linux-gnu) + rake (~> 13.3) + google-protobuf (4.35.1-x86_64-linux-gnu) bigdecimal - rake (>= 13) - google-protobuf (4.33.1-x86_64-linux-musl) + rake (~> 13.3) + google-protobuf (4.35.1-x86_64-linux-musl) bigdecimal - rake (>= 13) - graphql (2.4.17) + rake (~> 13.3) + graphql (2.5.26) base64 fiber-storage logger - graphql-docs (5.2.0) - commonmarker (~> 0.23, >= 0.23.6) + graphql-docs (6.0.0) + commonmarker (~> 2.0) escape_utils (~> 1.2) - extended-markdown-filter (~> 0.4) - gemoji (~> 3.0) + gemoji (~> 4.0) graphql (~> 2.0) - html-pipeline (~> 2.14, >= 2.14.3) + html-pipeline (~> 3.0) logger (~> 1.6) ostruct (~> 0.6) sass-embedded (~> 1.58) hashdiff (1.2.1) - hashie (5.0.0) - hexapdf (1.1.1) + hashie (5.1.0) + logger + hexapdf (1.6.0) cmdparse (~> 3.0, >= 3.0.3) geom2d (~> 0.4, >= 0.4.1) openssl (>= 2.2.1) strscan (>= 3.1.2) highline (3.1.2) reline - html-pipeline (2.14.3) - activesupport (>= 2) - nokogiri (>= 1.4) + html-pipeline (3.2.4) + selma (~> 0.4) + zeitwerk (~> 2.5) htmlentities (4.4.2) - i18n (1.14.7) + i18n (1.15.2) concurrent-ruby (~> 1.0) i18n-tasks (1.0.15) activesupport (>= 4.0.2) @@ -504,7 +512,7 @@ GEM rainbow (>= 2.2.2, < 4.0) ruby-progressbar (~> 1.8, >= 1.8.1) terminal-table (>= 1.5.1) - icalendar (2.12.1) + icalendar (2.12.3) base64 ice_cube (~> 0.16) logger @@ -513,15 +521,16 @@ GEM image_processing (1.14.0) mini_magick (>= 4.9.5, < 6) ruby-vips (>= 2.0.17, < 3) - invisible_captcha (0.13.0) - rails (>= 3.2.0) - io-console (0.8.1) - irb (1.15.3) + invisible_captcha (2.3.0) + rails (>= 5.2) + io-console (0.8.2) + irb (1.18.0) pp (>= 0.6.0) + prism (>= 1.3.0) rdoc (>= 4.0.0) reline (>= 0.4.2) - json (2.16.0) - jwt (3.1.2) + json (2.21.1) + jwt (3.2.0) base64 kaminari (1.2.2) activesupport (>= 4.1.0) @@ -552,31 +561,34 @@ GEM rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) logger (1.7.0) - loofah (2.24.1) + loofah (2.25.2) crass (~> 1.0.2) nokogiri (>= 1.12.0) - mail (2.9.0) + mail (2.9.1) logger mini_mime (>= 0.1.1) net-imap net-pop net-smtp - marcel (1.1.0) + marcel (1.2.1) matrix (0.4.3) mime-types (3.7.0) logger mime-types-data (~> 3.2025, >= 3.2025.0507) - mime-types-data (3.2025.0924) - mini_magick (4.13.2) + mime-types-data (3.2026.0701) + mini_magick (5.3.2) + logger mini_mime (1.1.5) mini_portile2 (2.8.9) - minitest (5.26.2) + minitest (6.0.6) + drb (~> 2.0) + prism (~> 1.5) msgpack (1.8.0) - multi_xml (0.7.2) - bigdecimal (~> 3.1) - net-http (0.8.0) + multi_xml (0.9.1) + bigdecimal (>= 3.1, < 5) + net-http (0.9.1) uri (>= 0.11.1) - net-imap (0.5.12) + net-imap (0.6.4.1) date net-protocol net-pop (0.1.2) @@ -586,48 +598,55 @@ GEM net-smtp (0.5.1) net-protocol nio4r (2.7.5) - nokogiri (1.18.10) + nokogiri (1.19.4) mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.18.10-aarch64-linux-gnu) + nokogiri (1.19.4-aarch64-linux-gnu) racc (~> 1.4) - nokogiri (1.18.10-aarch64-linux-musl) + nokogiri (1.19.4-aarch64-linux-musl) racc (~> 1.4) - nokogiri (1.18.10-arm-linux-gnu) + nokogiri (1.19.4-arm-linux-gnu) racc (~> 1.4) - nokogiri (1.18.10-arm-linux-musl) + nokogiri (1.19.4-arm-linux-musl) racc (~> 1.4) - nokogiri (1.18.10-arm64-darwin) + nokogiri (1.19.4-arm64-darwin) racc (~> 1.4) - nokogiri (1.18.10-x86_64-darwin) + nokogiri (1.19.4-x86_64-darwin) racc (~> 1.4) - nokogiri (1.18.10-x86_64-linux-gnu) + nokogiri (1.19.4-x86_64-linux-gnu) racc (~> 1.4) - nokogiri (1.18.10-x86_64-linux-musl) + nokogiri (1.19.4-x86_64-linux-musl) racc (~> 1.4) - oauth (1.1.3) + oauth (1.1.8) + anonymous_loader (~> 0.1, >= 0.1.3) + auth-sanitizer (~> 0.2, >= 0.2.3) base64 (~> 0.1) - oauth-tty (~> 1.0, >= 1.0.6) - snaky_hash (~> 2.0) - version_gem (~> 1.1, >= 1.1.9) - oauth-tty (1.0.6) - version_gem (~> 1.1, >= 1.1.9) - oauth2 (2.0.18) + oauth-tty (~> 1.0, >= 1.0.13) + snaky_hash (~> 2.0, >= 2.0.7) + version_gem (~> 1.1, >= 1.1.14) + oauth-tty (1.0.13) + anonymous_loader (~> 0.1, >= 0.1.3) + auth-sanitizer (~> 0.2, >= 0.2.3) + version_gem (~> 1.1, >= 1.1.14) + oauth2 (2.0.25) + anonymous_loader (~> 0.1, >= 0.1.3) + auth-sanitizer (~> 0.2, >= 0.2.3) faraday (>= 0.17.3, < 4.0) jwt (>= 1.0, < 4.0) logger (~> 1.2) multi_xml (~> 0.5) rack (>= 1.2, < 4) - snaky_hash (~> 2.0, >= 2.0.3) - version_gem (~> 1.1, >= 1.1.9) + snaky_hash (~> 2.0, >= 2.0.7) + version_gem (~> 1.1, >= 1.1.14) omniauth (2.1.4) hashie (>= 3.4.6) logger rack (>= 2.2.3) rack-protection - omniauth-facebook (5.0.0) - omniauth-oauth2 (~> 1.2) - omniauth-google-oauth2 (1.2.1) + omniauth-facebook (10.0.0) + bigdecimal + omniauth-oauth2 (>= 1.2, < 3) + omniauth-google-oauth2 (1.2.2) jwt (>= 2.9.2) oauth2 (~> 2.0) omniauth (~> 2.0) @@ -636,37 +655,44 @@ GEM oauth omniauth (>= 1.0, < 3) rack (>= 1.6.2, < 4) - omniauth-oauth2 (1.8.0) - oauth2 (>= 1.4, < 3) + omniauth-oauth2 (1.9.0) + oauth2 (>= 2.0.2, < 3) omniauth (~> 2.0) - omniauth-rails_csrf_protection (1.0.2) + omniauth-rails_csrf_protection (2.0.1) actionpack (>= 4.2) omniauth (~> 2.0) - omniauth-twitter (1.4.0) - omniauth-oauth (~> 1.1) + omniauth-twitter (1.5.0) + cgi + omniauth-oauth (~> 1.2) rack - openssl (3.3.2) + openssl (4.0.2) orm_adapter (0.5.0) ostruct (0.6.3) package_json (0.2.0) - paper_trail (16.0.0) - activerecord (>= 6.1) + paper_trail (17.0.0) + activerecord (>= 7.1) request_store (~> 1.4) parallel (1.27.0) parallel_tests (4.10.1) parallel - paranoia (3.0.1) - activerecord (>= 6, < 8.1) + paranoia (3.1.0) + activerecord (>= 7, < 8.2) parser (3.3.8.0) ast (~> 2.4.1) racc - pg (1.5.9) + pg (1.6.3) + pg (1.6.3-aarch64-linux) + pg (1.6.3-aarch64-linux-musl) + pg (1.6.3-arm64-darwin) + pg (1.6.3-x86_64-darwin) + pg (1.6.3-x86_64-linux) + pg (1.6.3-x86_64-linux-musl) pg_search (2.3.7) activerecord (>= 6.1) activesupport (>= 6.1) - pp (0.6.3) + pp (0.6.4) prettyprint - premailer (1.27.0) + premailer (1.29.0) addressable css_parser (>= 1.19.0) htmlentities (>= 4.0.0) @@ -675,45 +701,44 @@ GEM net-smtp premailer (~> 1.7, >= 1.7.9) prettyprint (0.2.0) - prism (1.4.0) - psych (5.2.6) - date - stringio - public_suffix (6.0.2) + prism (1.9.0) + public_suffix (7.0.5) puma (6.6.0) nio4r (~> 2.0) racc (1.8.1) - rack (2.2.21) + rack (3.2.6) rack-attack (6.8.0) rack (>= 1.0, < 4) - rack-cors (1.1.1) - rack (>= 2.0.0) - rack-protection (3.2.0) + rack-cors (3.0.0) + logger + rack (>= 3.0.14) + rack-protection (4.2.1) base64 (>= 0.1.0) - rack (~> 2.2, >= 2.2.4) - rack-proxy (0.7.7) + logger (>= 1.6.0) + rack (>= 3.0.0, < 4) + rack-proxy (0.8.3) rack - rack-session (1.0.2) - rack (< 3) + rack-session (2.1.2) + base64 (>= 0.1.0) + rack (>= 3.0.0) rack-test (2.2.0) rack (>= 1.3) - rackup (1.0.1) - rack (< 3) - webrick - rails (7.2.3) - actioncable (= 7.2.3) - actionmailbox (= 7.2.3) - actionmailer (= 7.2.3) - actionpack (= 7.2.3) - actiontext (= 7.2.3) - actionview (= 7.2.3) - activejob (= 7.2.3) - activemodel (= 7.2.3) - activerecord (= 7.2.3) - activestorage (= 7.2.3) - activesupport (= 7.2.3) + rackup (2.3.1) + rack (>= 3) + rails (8.1.3) + actioncable (= 8.1.3) + actionmailbox (= 8.1.3) + actionmailer (= 8.1.3) + actionpack (= 8.1.3) + actiontext (= 8.1.3) + actionview (= 8.1.3) + activejob (= 8.1.3) + activemodel (= 8.1.3) + activerecord (= 8.1.3) + activestorage (= 8.1.3) + activesupport (= 8.1.3) bundler (>= 1.15.0) - railties (= 7.2.3) + railties (= 8.1.3) rails-controller-testing (1.0.5) actionpack (>= 5.0.1.rc1) actionview (>= 5.0.1.rc1) @@ -722,16 +747,15 @@ GEM activesupport (>= 5.0.0) minitest nokogiri (>= 1.6) - rails-html-sanitizer (1.6.2) - loofah (~> 2.21) + rails-html-sanitizer (1.7.1) + loofah (~> 2.25, >= 2.25.2) nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0) - rails-i18n (7.0.10) + rails-i18n (8.1.0) i18n (>= 0.7, < 2) - railties (>= 6.0.0, < 8) - railties (7.2.3) - actionpack (= 7.2.3) - activesupport (= 7.2.3) - cgi + railties (>= 8.0.0, < 9) + railties (8.1.3) + actionpack (= 8.1.3) + activesupport (= 8.1.3) irb (~> 1.13) rackup (>= 1.0.0) rake (>= 12.2) @@ -739,20 +763,31 @@ GEM tsort (>= 0.2) zeitwerk (~> 2.6) rainbow (3.1.1) - rake (13.3.1) - ransack (4.2.1) - activerecord (>= 6.1.5) - activesupport (>= 6.1.5) + rake (13.4.2) + rake-compiler-dock (1.12.0) + ransack (4.4.1) + activerecord (>= 7.2) + activesupport (>= 7.2) i18n rb-fsevent (0.11.2) rb-inotify (0.11.1) ffi (~> 1.0) - rdoc (6.15.1) + rb_sys (0.9.128) + rake-compiler-dock (= 1.12.0) + rbs (4.0.3) + logger + prism (>= 1.6.0) + tsort + rdoc (8.0.0) erb - psych (>= 4.0.0) + prism (>= 1.6.0) + rbs (>= 4.0.0) tsort redcarpet (3.6.1) - redis (4.8.1) + redis (5.4.1) + redis-client (>= 0.22.0) + redis-client (0.30.1) + connection_pool regexp_parser (2.10.0) reline (0.6.3) io-console (~> 0.5) @@ -762,10 +797,10 @@ GEM actionpack (>= 7.0) railties (>= 7.0) rexml (3.4.1) - rqrcode (2.2.0) + rqrcode (3.2.0) chunky_png (~> 1.0) - rqrcode_core (~> 1.0) - rqrcode_core (1.2.0) + rqrcode_core (~> 2.0) + rqrcode_core (2.1.0) rspec (3.13.1) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) @@ -844,32 +879,36 @@ GEM rubocop-rubycw (0.2.2) lint_roller (~> 1.1) rubocop (~> 1.72, >= 1.72.1) + rubocop-yard (1.1.0) + lint_roller + rubocop (~> 1.72) + yard ruby-progressbar (1.13.0) - ruby-vips (2.2.5) + ruby-vips (2.3.0) ffi (~> 1.12) logger rubyXL (3.4.33) nokogiri (>= 1.10.8) rubyzip (>= 1.3.0) rubyzip (2.3.2) - sass-embedded (1.94.2) + sass-embedded (1.101.0) google-protobuf (~> 4.31) rake (>= 13) - sass-embedded (1.94.2-aarch64-linux-gnu) + sass-embedded (1.101.0-aarch64-linux-gnu) google-protobuf (~> 4.31) - sass-embedded (1.94.2-aarch64-linux-musl) + sass-embedded (1.101.0-aarch64-linux-musl) google-protobuf (~> 4.31) - sass-embedded (1.94.2-arm-linux-gnueabihf) + sass-embedded (1.101.0-arm-linux-gnueabihf) google-protobuf (~> 4.31) - sass-embedded (1.94.2-arm-linux-musleabihf) + sass-embedded (1.101.0-arm-linux-musleabihf) google-protobuf (~> 4.31) - sass-embedded (1.94.2-arm64-darwin) + sass-embedded (1.101.0-arm64-darwin) google-protobuf (~> 4.31) - sass-embedded (1.94.2-x86_64-darwin) + sass-embedded (1.101.0-x86_64-darwin) google-protobuf (~> 4.31) - sass-embedded (1.94.2-x86_64-linux-gnu) + sass-embedded (1.101.0-x86_64-linux-gnu) google-protobuf (~> 4.31) - sass-embedded (1.94.2-x86_64-linux-musl) + sass-embedded (1.101.0-x86_64-linux-musl) google-protobuf (~> 4.31) securerandom (0.4.1) selenium-webdriver (4.34.0) @@ -878,8 +917,15 @@ GEM rexml (~> 3.2, >= 3.2.5) rubyzip (>= 1.2.2, < 3.0) websocket (~> 1.0) - semantic_range (3.1.0) - shakapacker (8.3.0) + selma (0.5.1) + rb_sys (~> 0.9) + selma (0.5.1-aarch64-linux) + selma (0.5.1-arm-linux) + selma (0.5.1-arm64-darwin) + selma (0.5.1-x86_64-darwin) + selma (0.5.1-x86_64-linux) + semantic_range (3.1.1) + shakapacker (9.7.0) activesupport (>= 5.2) package_json rack-proxy (>= 0.6.1) @@ -889,27 +935,27 @@ GEM docile (~> 1.1) simplecov-html (~> 0.11) simplecov_json_formatter (~> 0.1) - simplecov-cobertura (2.1.0) + simplecov-cobertura (3.1.2) rexml simplecov (~> 0.19) simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) smart_properties (1.17.0) - snaky_hash (2.0.3) + snaky_hash (2.0.7) hashie (>= 0.1.0, < 6) - version_gem (>= 1.1.8, < 3) + version_gem (~> 1.1, >= 1.1.14) spring (4.3.0) spring-watcher-listen (2.1.0) listen (>= 2.7, < 4.0) spring (>= 4) - stringio (3.1.8) - strscan (3.1.5) + ssrf_filter (1.5.0) + strscan (3.1.8) temple (0.10.4) terminal-table (4.0.0) unicode-display_width (>= 1.1.1, < 4) - thor (1.4.0) - tilt (2.6.1) - timeout (0.4.4) + thor (1.5.0) + tilt (2.8.0) + timeout (0.6.1) trailblazer-option (0.1.2) tsort (0.2.0) tzinfo (2.0.6) @@ -919,10 +965,10 @@ GEM uniform_notifier (1.17.0) uri (1.1.1) useragent (0.16.11) - valid_email2 (7.0.13) + valid_email2 (7.0.15) activemodel (>= 6.0) mail (~> 2.5) - version_gem (1.1.9) + version_gem (1.1.14) w3c_rspec_validators (0.3.0) rails rspec @@ -943,16 +989,15 @@ GEM activemodel (>= 6.0.0) bindex (>= 0.4.0) railties (>= 6.0.0) - web-push (3.0.2) + web-push (3.1.0) jwt (~> 3.0) - openssl (~> 3.0) + openssl (>= 3.0) webmock (3.25.1) addressable (>= 2.8.0) crack (>= 0.3.2) hashdiff (>= 0.4.0, < 2.0.0) - webrick (1.9.1) websocket (1.2.11) - websocket-driver (0.8.0) + websocket-driver (0.8.2) base64 websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) @@ -960,7 +1005,8 @@ GEM wisper-rspec (1.1.0) xpath (3.2.0) nokogiri (~> 1.8) - zeitwerk (2.7.3) + yard (0.9.45) + zeitwerk (2.8.2) PLATFORMS aarch64-linux @@ -981,11 +1027,11 @@ DEPENDENCIES bootsnap (~> 1.4) byebug (~> 11.0) dalli (~> 2.7, >= 2.7.10) - decidim (~> 0.31.0) - decidim-dev (~> 0.31.0) - decidim-initiatives (~> 0.31.0) - decidim-participatory_processes (~> 0.31.0) - decidim-proposals (~> 0.31.0) + decidim (~> 0.32.0) + decidim-dev (~> 0.32.0) + decidim-initiatives (~> 0.32.0) + decidim-participatory_processes (~> 0.32.0) + decidim-proposals (~> 0.32.0) decidim-term_customizer! faker (~> 3.2) letter_opener_web @@ -995,7 +1041,7 @@ DEPENDENCIES web-console (~> 4.2) RUBY VERSION - ruby 3.3.4p94 + ruby 3.4.7p58 BUNDLED WITH - 2.6.5 + 2.6.9 diff --git a/config/shakapacker.yml b/config/shakapacker.yml new file mode 100644 index 00000000..3834a916 --- /dev/null +++ b/config/shakapacker.yml @@ -0,0 +1,116 @@ +# File written by Decidim generator +# Note: You must restart bin/shakapacker-dev-server for changes to take effect + +default: &default + source_path: app/packs + source_entry_path: entrypoints + nested_entries: true + css_extract_ignore_order_warnings: false + + public_root_path: public + public_output_path: decidim-packs + cache_path: tmp/shakapacker + webpack_compile_output: true + extract_css: true + shakapacker_precompile: true + + additional_paths: + - node_modules + - app/packs + + # Reload manifest.json on all requests so we reload latest compiled packs + cache_manifest: false + + # Select JavaScript transpiler to use + # Available options: 'swc' (default, 20x faster), 'babel', 'esbuild', or 'none' + # Use 'none' when providing a completely custom webpack configuration + # Note: When using rspack, swc is used automatically regardless of this setting + javascript_transpiler: 'esbuild' + assets_bundler: "webpack" + + # Set to true to enable check for matching versions of shakapacker gem and NPM package - will raise an error if there is a mismatch or wildcard versioning is used + ensure_consistent_versioning: true + + # Select whether the compiler will use SHA digest ('digest' option) or most recent modified timestamp ('mtime') to determine freshness + compiler_strategy: digest + + # Select whether the compiler will always use a content hash and not just in production + # Do not use contentHash except for production for performance + # https://webpack.js.org/guides/build-performance/#avoid-production-specific-tooling + useContentHash: false + + # Utilizing webpack-subresource-integrity plugin, will generate integrity hashes for all entries in manifest.json + # https://github.com/waysact/webpack-subresource-integrity/tree/main/webpack-subresource-integrity + integrity: + enabled: false + # Which cryptographic function(s) to use, for generating the integrity hash(es). Default sha-384. Other possible values sha256, sha512 + hash_functions: [ "sha384" ] + # Default "anonymous". Other possible value "use-credentials" + # https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity#cross-origin_resource_sharing_and_subresource_integrity + cross_origin: "anonymous" + + # HTTP 103 Early Hints support for faster asset loading + # Sends Link headers to browsers so they can preload assets while Rails is rendering + # See docs/early_hints_new_api.md for setup instructions and requirements + # https://api.rubyonrails.org/classes/ActionDispatch/Request.html#method-i-send_early_hints + early_hints: + enabled: false + # css: "preload" # 'preload' | 'prefetch' | 'none' - default: 'preload' + # js: "preload" # 'preload' | 'prefetch' | 'none' - default: 'preload' + # debug: false # Output early hints info as HTML comments for troubleshooting + +development: + <<: *default + compile: true + compiler_strategy: mtime + # Compile test packs to decidim decidim-packs folder + + useContentHash: false + + # Reference: https://webpack.js.org/configuration/dev-server/ + dev_server: + host: localhost + # Notice that we use a different port (to prevent blocking the default one) as + # there will be at least two webpack servers running + port: 3035 + # Hot Module Replacement updates modules while the application is running without a full reload + hmr: false + # mini-css-extract-plugin is a required dependency in both cases. + inline_css: true + client: + # Should we show a full-screen overlay in the browser when there are compiler errors or warnings? + overlay: false + # May also be a string + # webSocketURL: + # hostname: "0.0.0.0" + # pathname: "/ws" + # port: 8080 + # Should we use gzip compression? + compress: true + # Disable live reloading for faster development experience + live_reload: false + # Note that apps that do not check the host are vulnerable to DNS rebinding attacks + allowed_hosts: "all" + pretty: true + headers: + 'Access-Control-Allow-Origin': '*' + static: + watch: + ignored: '**/node_modules/**' + +test: + <<: *default + compile: true + public_output_path: packs-test + +production: + <<: *default + + # Production depends on precompilation of packs prior to booting for performance. + compile: false + + # Use content hash for naming assets. Cannot be overridden by for production. + useContentHash: true + + # Cache manifest.json for performance + cache_manifest: true diff --git a/decidim-term_customizer.gemspec b/decidim-term_customizer.gemspec index 78b70169..3fe70f22 100644 --- a/decidim-term_customizer.gemspec +++ b/decidim-term_customizer.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |spec| spec.description = "Adds a UI to customize the terms and limit the customizations to specific places." spec.homepage = "https://github.com/mainio/decidim-module-term_customizer" spec.license = "AGPL-3.0" - spec.required_ruby_version = ">= 3.3.4" + spec.required_ruby_version = ">= 3.4.7" spec.files = Dir[ "{app,config,db,lib}/**/*", diff --git a/lib/decidim/term_customizer/version.rb b/lib/decidim/term_customizer/version.rb index 0a86778b..ce1df42d 100644 --- a/lib/decidim/term_customizer/version.rb +++ b/lib/decidim/term_customizer/version.rb @@ -2,7 +2,7 @@ module Decidim module TermCustomizer - VERSION = "0.31" - DECIDIM_VERSION = "~> 0.31.0" + VERSION = "0.32" + DECIDIM_VERSION = "~> 0.32.0" end end