+
+ oneOfRequires that exactly one field must be supplied and that field must not be null
.
+
+ Locations-
+
- INPUT_OBJECT +
diff --git a/.github/workflows/decidim_ci.yml b/.github/workflows/decidim_ci.yml index fb1e820..3575b9a 100644 --- a/.github/workflows/decidim_ci.yml +++ b/.github/workflows/decidim_ci.yml @@ -2,8 +2,8 @@ name: "[CI] Decidim" on: [push] env: - RUBY_VERSION: 3.0.2 - NODE_VERSION: 16.9.1 + RUBY_VERSION: 3.1.1 + NODE_VERSION: 18.17.1 jobs: tests: diff --git a/.gitignore b/.gitignore index ead6557..daf9afd 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,4 @@ storage/ yarn-debug.log* yarn-error.log +tailwind.config.js diff --git a/.node-version b/.node-version index 06e7515..4a1f488 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -16.9.1 +18.17.1 diff --git a/.ruby-version b/.ruby-version index b502146..94ff29c 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.0.2 +3.1.1 diff --git a/Gemfile b/Gemfile index 779c3d6..f72b147 100644 --- a/Gemfile +++ b/Gemfile @@ -4,14 +4,13 @@ source "https://rubygems.org" ruby RUBY_VERSION -#DECIDIM_VERSION = { github: "decidim/decidim", branch: "release/0.26-stable" } -DECIDIM_VERSION = "0.27.3" +# DECIDIM_VERSION = { github: "decidim/decidim", branch: "release/0.26-stable" } +DECIDIM_VERSION = "0.28.0.rc4" gem "decidim", DECIDIM_VERSION gem "decidim-initiatives", DECIDIM_VERSION -gem "decidim-consultations", DECIDIM_VERSION gem "decidim-conferences", DECIDIM_VERSION -gem "decidim-term_customizer", { git: "https://github.com/mainio/decidim-module-term_customizer", branch: "develop" } +# gem "decidim-term_customizer", { git: "https://github.com/mainio/decidim-module-term_customizer", branch: "develop" } gem "omniauth-decidim", "0.2.1" diff --git a/Gemfile.lock b/Gemfile.lock index fa30372..d315251 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,49 +1,40 @@ -GIT - remote: https://github.com/mainio/decidim-module-term_customizer - revision: 211c3e2e96f96a1d32310d98e364df66d3f38f69 - branch: develop - specs: - decidim-term_customizer (0.27.0) - decidim-admin (~> 0.27.0.rc2) - decidim-core (~> 0.27.0.rc2) - GEM remote: https://rubygems.org/ specs: - actioncable (6.1.7.4) - actionpack (= 6.1.7.4) - activesupport (= 6.1.7.4) + actioncable (6.1.7.6) + actionpack (= 6.1.7.6) + activesupport (= 6.1.7.6) nio4r (~> 2.0) websocket-driver (>= 0.6.1) - actionmailbox (6.1.7.4) - actionpack (= 6.1.7.4) - activejob (= 6.1.7.4) - activerecord (= 6.1.7.4) - activestorage (= 6.1.7.4) - activesupport (= 6.1.7.4) + actionmailbox (6.1.7.6) + actionpack (= 6.1.7.6) + activejob (= 6.1.7.6) + activerecord (= 6.1.7.6) + activestorage (= 6.1.7.6) + activesupport (= 6.1.7.6) mail (>= 2.7.1) - actionmailer (6.1.7.4) - actionpack (= 6.1.7.4) - actionview (= 6.1.7.4) - activejob (= 6.1.7.4) - activesupport (= 6.1.7.4) + actionmailer (6.1.7.6) + actionpack (= 6.1.7.6) + actionview (= 6.1.7.6) + activejob (= 6.1.7.6) + activesupport (= 6.1.7.6) mail (~> 2.5, >= 2.5.4) rails-dom-testing (~> 2.0) - actionpack (6.1.7.4) - actionview (= 6.1.7.4) - activesupport (= 6.1.7.4) + actionpack (6.1.7.6) + actionview (= 6.1.7.6) + activesupport (= 6.1.7.6) rack (~> 2.0, >= 2.0.9) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.2.0) - actiontext (6.1.7.4) - actionpack (= 6.1.7.4) - activerecord (= 6.1.7.4) - activestorage (= 6.1.7.4) - activesupport (= 6.1.7.4) + actiontext (6.1.7.6) + actionpack (= 6.1.7.6) + activerecord (= 6.1.7.6) + activestorage (= 6.1.7.6) + activesupport (= 6.1.7.6) nokogiri (>= 1.8.5) - actionview (6.1.7.4) - activesupport (= 6.1.7.4) + actionview (6.1.7.6) + activesupport (= 6.1.7.6) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) @@ -51,30 +42,30 @@ GEM active_link_to (1.0.5) actionpack addressable - activejob (6.1.7.4) - activesupport (= 6.1.7.4) + activejob (6.1.7.6) + activesupport (= 6.1.7.6) globalid (>= 0.3.6) - activemodel (6.1.7.4) - activesupport (= 6.1.7.4) - activerecord (6.1.7.4) - activemodel (= 6.1.7.4) - activesupport (= 6.1.7.4) - activestorage (6.1.7.4) - actionpack (= 6.1.7.4) - activejob (= 6.1.7.4) - activerecord (= 6.1.7.4) - activesupport (= 6.1.7.4) + activemodel (6.1.7.6) + activesupport (= 6.1.7.6) + activerecord (6.1.7.6) + activemodel (= 6.1.7.6) + activesupport (= 6.1.7.6) + activestorage (6.1.7.6) + actionpack (= 6.1.7.6) + activejob (= 6.1.7.6) + activerecord (= 6.1.7.6) + activesupport (= 6.1.7.6) marcel (~> 1.0) mini_mime (>= 1.1.0) - activesupport (6.1.7.4) + activesupport (6.1.7.6) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) zeitwerk (~> 2.3) - acts_as_list (0.9.19) - activerecord (>= 3.0) - addressable (2.8.4) + acts_as_list (1.1.0) + activerecord (>= 4.2) + addressable (2.8.5) public_suffix (>= 2.0.2, < 6.0) ast (2.4.2) aws-eventstream (1.2.0) @@ -93,33 +84,25 @@ GEM aws-sigv4 (~> 1.4) aws-sigv4 (1.5.1) aws-eventstream (~> 1, >= 1.0.2) - axe-core-api (4.7.0) - dumb_delegator - virtus - axe-core-rspec (4.1.0) - axe-core-api - dumb_delegator - virtus - axiom-types (0.1.1) - descendants_tracker (~> 0.0.4) - ice_nine (~> 0.11.0) - thread_safe (~> 0.3, >= 0.3.1) barnes (0.0.9) multi_json (~> 1) statsd-ruby (~> 1.1) + base64 (0.2.0) batch-loader (1.5.0) - bcrypt (3.1.19) - better_html (1.0.16) - actionview (>= 4.0) - activesupport (>= 4.0) + bcrypt (3.1.20) + better_html (2.0.2) + actionview (>= 6.0) + activesupport (>= 6.0) ast (~> 2.0) erubi (~> 1.4) - html_tokenizer (~> 0.0.6) parser (>= 2.4) smart_properties bindex (0.8.1) browser (2.7.1) builder (3.2.4) + bullet (7.1.4) + activesupport (>= 3.0.0) + uniform_notifier (~> 1.11) byebug (11.1.3) capybara (3.39.2) addressable @@ -130,7 +113,7 @@ GEM rack-test (>= 0.6.3) regexp_parser (>= 1.5, < 3.0) xpath (~> 3.2) - carrierwave (2.2.4) + carrierwave (2.2.5) activemodel (>= 5.0.0) activesupport (>= 5.0.0) addressable (~> 2.6) @@ -150,93 +133,75 @@ GEM actionpack (>= 5.0) cells (>= 4.1.6, < 5.0.0) charlock_holmes (0.7.7) - chef-utils (18.2.7) - concurrent-ruby - childprocess (4.1.0) - coercible (1.0.0) - descendants_tracker (~> 0.0.1) - coffee-rails (5.0.0) - coffee-script (>= 2.2.0) - railties (>= 5.2.0) - coffee-script (2.4.1) - coffee-script-source - execjs - coffee-script-source (1.12.2) - colorize (0.8.1) - commonmarker (0.23.9) + cmdparse (3.0.7) + commonmarker (0.23.10) concurrent-ruby (1.2.2) connection_pool (2.3.0) crack (0.4.5) rexml crass (1.0.6) - css_parser (1.14.0) + css_parser (1.16.0) addressable dalli (3.2.2) - date (3.3.3) + date (3.3.4) date_validator (0.12.0) activemodel (>= 3) activesupport (>= 3) - db-query-matchers (0.10.0) - activesupport (>= 4.0, < 7) - rspec (~> 3.0) - decidim (0.27.3) - decidim-accountability (= 0.27.3) - decidim-admin (= 0.27.3) - decidim-api (= 0.27.3) - decidim-assemblies (= 0.27.3) - decidim-blogs (= 0.27.3) - decidim-budgets (= 0.27.3) - decidim-comments (= 0.27.3) - decidim-core (= 0.27.3) - decidim-debates (= 0.27.3) - decidim-forms (= 0.27.3) - decidim-generators (= 0.27.3) - decidim-meetings (= 0.27.3) - decidim-pages (= 0.27.3) - decidim-participatory_processes (= 0.27.3) - decidim-proposals (= 0.27.3) - decidim-sortitions (= 0.27.3) - decidim-surveys (= 0.27.3) - decidim-system (= 0.27.3) - decidim-templates (= 0.27.3) - decidim-verifications (= 0.27.3) - decidim-accountability (0.27.3) - decidim-comments (= 0.27.3) - decidim-core (= 0.27.3) - decidim-admin (0.27.3) + decidim (0.28.0.rc4) + decidim-accountability (= 0.28.0.rc4) + decidim-admin (= 0.28.0.rc4) + decidim-api (= 0.28.0.rc4) + decidim-assemblies (= 0.28.0.rc4) + decidim-blogs (= 0.28.0.rc4) + decidim-budgets (= 0.28.0.rc4) + decidim-comments (= 0.28.0.rc4) + decidim-core (= 0.28.0.rc4) + decidim-debates (= 0.28.0.rc4) + decidim-forms (= 0.28.0.rc4) + decidim-generators (= 0.28.0.rc4) + decidim-meetings (= 0.28.0.rc4) + decidim-pages (= 0.28.0.rc4) + decidim-participatory_processes (= 0.28.0.rc4) + decidim-proposals (= 0.28.0.rc4) + decidim-sortitions (= 0.28.0.rc4) + decidim-surveys (= 0.28.0.rc4) + decidim-system (= 0.28.0.rc4) + decidim-templates (= 0.28.0.rc4) + decidim-verifications (= 0.28.0.rc4) + decidim-accountability (0.28.0.rc4) + decidim-comments (= 0.28.0.rc4) + decidim-core (= 0.28.0.rc4) + decidim-admin (0.28.0.rc4) active_link_to (~> 1.0) - decidim-core (= 0.27.3) + decidim-core (= 0.28.0.rc4) devise (~> 4.7) devise-i18n (~> 1.2) - devise_invitable (~> 2.0) - decidim-api (0.27.3) - graphql (~> 1.12, < 1.13) - graphql-docs (~> 2.1.0) + devise_invitable (~> 2.0, >= 2.0.9) + decidim-api (0.28.0.rc4) + commonmarker (~> 0.23.0, >= 0.23.9) + graphql (~> 2.0.0) + graphql-docs (~> 3.0.1) rack-cors (~> 1.0) - decidim-assemblies (0.27.3) - decidim-core (= 0.27.3) - decidim-blogs (0.27.3) - decidim-admin (= 0.27.3) - decidim-comments (= 0.27.3) - decidim-core (= 0.27.3) - decidim-budgets (0.27.3) - decidim-comments (= 0.27.3) - decidim-core (= 0.27.3) - decidim-comments (0.27.3) - decidim-core (= 0.27.3) + decidim-assemblies (0.28.0.rc4) + decidim-core (= 0.28.0.rc4) + decidim-blogs (0.28.0.rc4) + decidim-admin (= 0.28.0.rc4) + decidim-comments (= 0.28.0.rc4) + decidim-core (= 0.28.0.rc4) + decidim-budgets (0.28.0.rc4) + decidim-comments (= 0.28.0.rc4) + decidim-core (= 0.28.0.rc4) + decidim-comments (0.28.0.rc4) + decidim-core (= 0.28.0.rc4) redcarpet (~> 3.5, >= 3.5.1) - decidim-conferences (0.27.3) - decidim-core (= 0.27.3) - decidim-meetings (= 0.27.3) - wicked_pdf (~> 2.1) + decidim-conferences (0.28.0.rc4) + decidim-core (= 0.28.0.rc4) + decidim-meetings (= 0.28.0.rc4) + wicked_pdf (~> 2.7) wkhtmltopdf-binary (~> 0.12) - decidim-consultations (0.27.3) - decidim-admin (= 0.27.3) - decidim-comments (= 0.27.3) - decidim-core (= 0.27.3) - decidim-core (0.27.3) + decidim-core (0.28.0.rc4) active_link_to (~> 1.0) - acts_as_list (~> 0.9) + acts_as_list (~> 1.0) batch-loader (~> 1.2) browser (~> 2.7) carrierwave (~> 2.2.1) @@ -244,11 +209,11 @@ GEM cells-rails (~> 0.1.3) charlock_holmes (~> 0.7) date_validator (~> 0.12.0) - decidim-api (= 0.27.3) + decidim-api (= 0.28.0.rc4) devise (~> 4.7) - devise-i18n (~> 1.2) + devise-i18n (~> 1.2, < 1.11.1) diffy (~> 3.3) - doorkeeper (~> 5.1) + doorkeeper (~> 5.6, >= 5.6.6) doorkeeper-i18n (~> 4.0) file_validators (~> 3.0) fog-local (~> 0.6) @@ -257,120 +222,118 @@ GEM hashdiff (>= 0.4.0, < 2.0.0) invisible_captcha (~> 0.12) kaminari (~> 1.2, >= 1.2.1) - loofah (~> 2.3.1) + loofah (~> 2.19, >= 2.19.1) mime-types (>= 1.16, < 4.0) mini_magick (~> 4.9) mustache (~> 1.1.0) + net-smtp (~> 0.3.1) omniauth (~> 2.0) omniauth-facebook (~> 5.0) omniauth-google-oauth2 (~> 1.0) omniauth-rails_csrf_protection (~> 1.0) omniauth-twitter (~> 1.4) paper_trail (~> 12.0) - pg (~> 1.1.4, < 2) + pg (~> 1.4.0, < 2) pg_search (~> 2.2) premailer-rails (~> 1.10) - rack (~> 2.2, >= 2.2.3) + psych (~> 4.0) + rack (~> 2.2, >= 2.2.6.4) rack-attack (~> 6.0) - rails (~> 6.1.0) + rails (~> 6.1.7, >= 6.1.7.4) rails-i18n (~> 6.0) - ransack (~> 2.4.1) + ransack (~> 3.2.1) redis (~> 4.1) request_store (~> 1.5.0) rubyXL (~> 3.4) rubyzip (~> 2.0) seven_zip_ruby (~> 1.3) - social-share-button (~> 1.2, >= 1.2.1) - valid_email2 (~> 2.1) - webpacker (= 6.0.0.rc.5) - webpush (~> 1.1) + shakapacker (~> 7.1.0) + valid_email2 (~> 4.0) + web-push (~> 3.0) wisper (~> 2.0) - decidim-debates (0.27.3) - decidim-comments (= 0.27.3) - decidim-core (= 0.27.3) - decidim-dev (0.27.3) - axe-core-rspec (~> 4.1.0) + decidim-debates (0.28.0.rc4) + decidim-comments (= 0.28.0.rc4) + decidim-core (= 0.28.0.rc4) + decidim-dev (0.28.0.rc4) + bullet (~> 7.0) byebug (~> 11.0) - capybara (~> 3.24) - db-query-matchers (~> 0.10.0) - decidim (= 0.27.3) - erb_lint (~> 0.0.35) - factory_bot_rails (~> 4.8) - i18n-tasks (~> 0.9.18) - mdl (~> 0.5) - nokogiri (~> 1.13) - parallel_tests (~> 3.7) - puma (~> 5.0) + capybara (~> 3.39) + decidim (= 0.28.0.rc4) + erb_lint (~> 0.4.0) + factory_bot_rails (~> 6.2) + faker (~> 3.2) + i18n-tasks (~> 1.0) + nokogiri (~> 1.14, >= 1.14.3) + parallel_tests (~> 4.2) + puma (~> 6.2, >= 6.3.1) rails-controller-testing (~> 1.0) + rspec (~> 3.12) rspec-cells (~> 0.3.7) - rspec-html-matchers (~> 0.9.1) - rspec-rails (~> 4.0) + rspec-html-matchers (~> 0.10) + rspec-rails (~> 6.0) rspec-retry (~> 0.6.2) - rspec_junit_formatter (~> 0.3.0) - rubocop (~> 1.28.0) - rubocop-rails (~> 2.14) - rubocop-rspec (~> 2.10) - selenium-webdriver (~> 4.1.0) - simplecov (~> 0.21.0) + rspec_junit_formatter (~> 0.6.0) + rubocop (~> 1.50.0) + rubocop-faker (~> 1.1) + rubocop-rails (~> 2.19) + rubocop-rspec (~> 2.20) + selenium-webdriver (~> 4.9) + simplecov (~> 0.22.0) simplecov-cobertura (~> 2.1.0) w3c_rspec_validators (~> 0.3.0) - webmock (~> 3.6) + webmock (~> 3.18) wisper-rspec (~> 1.0) - decidim-forms (0.27.3) - decidim-core (= 0.27.3) + decidim-forms (0.28.0.rc4) + decidim-core (= 0.28.0.rc4) wicked_pdf (~> 2.1) wkhtmltopdf-binary (~> 0.12) - decidim-generators (0.27.3) - decidim-core (= 0.27.3) - decidim-initiatives (0.27.3) - decidim-admin (= 0.27.3) - decidim-comments (= 0.27.3) - decidim-core (= 0.27.3) - decidim-verifications (= 0.27.3) - origami (~> 2.1) - rexml (~> 3.2.5) - wicked (~> 1.3) + decidim-generators (0.28.0.rc4) + decidim-core (= 0.28.0.rc4) + decidim-initiatives (0.28.0.rc4) + decidim-admin (= 0.28.0.rc4) + decidim-comments (= 0.28.0.rc4) + decidim-core (= 0.28.0.rc4) + decidim-verifications (= 0.28.0.rc4) + hexapdf (~> 0.32.0) wicked_pdf (~> 2.1) wkhtmltopdf-binary (~> 0.12) - decidim-meetings (0.27.3) - decidim-core (= 0.27.3) - decidim-forms (= 0.27.3) + decidim-meetings (0.28.0.rc4) + decidim-core (= 0.28.0.rc4) + decidim-forms (= 0.28.0.rc4) icalendar (~> 2.5) - decidim-pages (0.27.3) - decidim-core (= 0.27.3) - decidim-participatory_processes (0.27.3) - decidim-core (= 0.27.3) - decidim-proposals (0.27.3) - decidim-comments (= 0.27.3) - decidim-core (= 0.27.3) - doc2text (~> 0.4.5) + decidim-pages (0.28.0.rc4) + decidim-core (= 0.28.0.rc4) + decidim-participatory_processes (0.28.0.rc4) + decidim-core (= 0.28.0.rc4) + decidim-proposals (0.28.0.rc4) + decidim-comments (= 0.28.0.rc4) + decidim-core (= 0.28.0.rc4) + doc2text (~> 0.4.6) redcarpet (~> 3.5, >= 3.5.1) - decidim-sortitions (0.27.3) - decidim-admin (= 0.27.3) - decidim-comments (= 0.27.3) - decidim-core (= 0.27.3) - decidim-proposals (= 0.27.3) - decidim-surveys (0.27.3) - decidim-core (= 0.27.3) - decidim-forms (= 0.27.3) - decidim-templates (= 0.27.3) - decidim-system (0.27.3) + decidim-sortitions (0.28.0.rc4) + decidim-admin (= 0.28.0.rc4) + decidim-comments (= 0.28.0.rc4) + decidim-core (= 0.28.0.rc4) + decidim-proposals (= 0.28.0.rc4) + decidim-surveys (0.28.0.rc4) + decidim-core (= 0.28.0.rc4) + decidim-forms (= 0.28.0.rc4) + decidim-templates (= 0.28.0.rc4) + decidim-system (0.28.0.rc4) active_link_to (~> 1.0) - decidim-core (= 0.27.3) + decidim-core (= 0.28.0.rc4) devise (~> 4.7) devise-i18n (~> 1.2) - devise_invitable (~> 2.0) - decidim-templates (0.27.3) - decidim-core (= 0.27.3) - decidim-forms (= 0.27.3) - decidim-verifications (0.27.3) - decidim-core (= 0.27.3) + devise_invitable (~> 2.0, >= 2.0.9) + decidim-templates (0.28.0.rc4) + decidim-core (= 0.28.0.rc4) + decidim-forms (= 0.28.0.rc4) + decidim-verifications (0.28.0.rc4) + decidim-core (= 0.28.0.rc4) declarative-builder (0.1.0) declarative-option (< 0.2.0) declarative-option (0.1.0) - descendants_tracker (0.0.4) - thread_safe (~> 0.3, >= 0.3.1) - devise (4.9.2) + devise (4.9.3) bcrypt (~> 3.0) orm_adapter (~> 0.1) railties (>= 4.1.0) @@ -378,7 +341,7 @@ GEM warden (~> 1.2.3) devise-i18n (1.11.0) devise (>= 4.9.0) - devise_invitable (2.0.8) + devise_invitable (2.0.9) actionmailer (>= 5.0) devise (>= 4.6) diff-lcs (1.5.0) @@ -387,14 +350,12 @@ GEM nokogiri (>= 1.13.2, < 1.15.0) rubyzip (~> 2.3.0) docile (1.4.0) - doorkeeper (5.6.6) + doorkeeper (5.6.8) railties (>= 5) doorkeeper-i18n (4.0.1) - dumb_delegator (1.0.0) - erb_lint (0.0.37) + erb_lint (0.4.0) activesupport - better_html (~> 1.0.7) - html_tokenizer + better_html (>= 2.0.1) parser (>= 2.7.1.4) rainbow rubocop @@ -402,23 +363,23 @@ GEM erbse (0.1.4) temple erubi (1.12.0) - escape_utils (1.3.0) - excon (0.100.0) - execjs (2.8.1) + escape_utils (1.2.2) + excon (0.105.0) extended-markdown-filter (0.7.0) html-pipeline (~> 2.9) - factory_bot (4.11.1) - activesupport (>= 3.0.0) - factory_bot_rails (4.11.1) - factory_bot (~> 4.11.1) - railties (>= 3.0.0) - faker (2.23.0) + factory_bot (6.4.2) + activesupport (>= 5.0.0) + factory_bot_rails (6.4.2) + factory_bot (~> 6.4) + railties (>= 5.0.0) + faker (3.2.2) i18n (>= 1.8.11, < 2) - faraday (2.7.9) + faraday (2.7.12) + base64 faraday-net_http (>= 2.0, < 3.1) ruby2_keywords (>= 0.0.4) faraday-net_http (3.0.2) - ffi (1.15.5) + ffi (1.16.3) file_validators (3.0.0) activemodel (>= 3.2) mime-types (>= 1.0) @@ -447,49 +408,52 @@ GEM railties (>= 4.1, < 7.1) gemoji (3.0.1) geocoder (1.8.2) - globalid (1.1.0) - activesupport (>= 5.0) - graphql (1.12.24) - graphql-docs (2.1.0) + geom2d (0.4.1) + globalid (1.2.1) + activesupport (>= 6.1) + graphql (2.0.27) + graphql-docs (3.0.1) commonmarker (~> 0.16) - escape_utils (~> 1.2) + escape_utils (~> 1.2.2) extended-markdown-filter (~> 0.4) gemoji (~> 3.0) - graphql (~> 1.12) + graphql (~> 2.0) html-pipeline (~> 2.9) sass (~> 3.4) hashdiff (1.0.1) hashie (5.0.0) + hexapdf (0.32.2) + cmdparse (~> 3.0, >= 3.0.3) + geom2d (~> 0.3) + openssl (>= 2.2.1) highline (2.1.0) - hkdf (0.3.0) html-pipeline (2.14.3) activesupport (>= 2) nokogiri (>= 1.4) - html_tokenizer (0.0.7) htmlentities (4.3.4) i18n (1.14.1) concurrent-ruby (~> 1.0) - i18n-tasks (0.9.37) + i18n-tasks (1.0.13) activesupport (>= 4.0.2) ast (>= 2.1.0) + better_html (>= 1.0, < 3.0) erubi highline (>= 2.0.0) i18n - parser (>= 2.2.3.0) + parser (>= 3.2.2.1) rails-i18n rainbow (>= 2.2.2, < 4.0) terminal-table (>= 1.5.1) - icalendar (2.8.0) + icalendar (2.10.1) ice_cube (~> 0.16) ice_cube (0.16.4) - ice_nine (0.11.2) image_processing (1.12.2) mini_magick (>= 4.9.5, < 5) ruby-vips (>= 2.0.17, < 3) invisible_captcha (0.13.0) rails (>= 3.2.0) jmespath (1.6.1) - json (2.6.3) + json (2.7.1) jwt (2.7.1) kaminari (1.2.2) activesupport (>= 4.1.0) @@ -503,10 +467,6 @@ GEM activerecord kaminari-core (= 1.2.2) kaminari-core (1.2.2) - kramdown (2.4.0) - rexml - kramdown-parser-gfm (1.1.0) - kramdown (~> 2.0) launchy (2.5.0) addressable (~> 2.7) letter_opener (1.8.1) @@ -524,9 +484,9 @@ GEM activesupport (>= 4) railties (>= 4) request_store (~> 1.0) - loofah (2.3.1) + loofah (2.22.0) crass (~> 1.0.2) - nokogiri (>= 1.5.9) + nokogiri (>= 1.12.0) mail (2.8.1) mini_mime (>= 0.1.1) net-imap @@ -534,38 +494,27 @@ GEM net-smtp marcel (1.0.2) matrix (0.4.2) - mdl (0.12.0) - kramdown (~> 2.3) - kramdown-parser-gfm (~> 1.1) - mixlib-cli (~> 2.1, >= 2.1.1) - mixlib-config (>= 2.2.1, < 4) - mixlib-shellout method_source (1.0.0) - mime-types (3.4.1) + mime-types (3.5.1) mime-types-data (~> 3.2015) - mime-types-data (3.2023.0218.1) + mime-types-data (3.2023.1003) mini_magick (4.12.0) - mini_mime (1.1.2) - mini_portile2 (2.8.2) - minitest (5.18.1) - mixlib-cli (2.1.8) - mixlib-config (3.0.27) - tomlrb - mixlib-shellout (3.2.7) - chef-utils + mini_mime (1.1.5) + mini_portile2 (2.8.5) + minitest (5.20.0) multi_json (1.15.0) multi_xml (0.6.0) mustache (1.1.1) - net-imap (0.3.6) + net-imap (0.4.7) date net-protocol net-pop (0.1.2) net-protocol - net-protocol (0.2.1) + net-protocol (0.2.2) timeout net-smtp (0.3.3) net-protocol - nio4r (2.5.9) + nio4r (2.7.0) nokogiri (1.14.5) mini_portile2 (~> 2.8.0) racc (~> 1.4) @@ -608,18 +557,18 @@ GEM omniauth-twitter (1.4.0) omniauth-oauth (~> 1.1) rack - origami (2.1.0) - colorize (~> 0.7) + openssl (3.2.0) orm_adapter (0.5.0) paper_trail (12.3.0) activerecord (>= 5.2) request_store (~> 1.1) parallel (1.23.0) - parallel_tests (3.13.0) + parallel_tests (4.3.0) parallel - parser (3.1.2.1) + parser (3.2.2.4) ast (~> 2.4.1) - pg (1.1.4) + racc + pg (1.4.6) pg_search (2.3.6) activerecord (>= 5.2) activesupport (>= 5.2) @@ -631,124 +580,138 @@ GEM actionmailer (>= 3) net-smtp premailer (~> 1.7, >= 1.7.9) - public_suffix (5.0.1) - puma (5.6.5) + psych (4.0.6) + stringio + public_suffix (5.0.4) + puma (6.4.0) nio4r (~> 2.0) - racc (1.7.1) - rack (2.2.7) - rack-attack (6.6.1) - rack (>= 1.0, < 3) + racc (1.7.3) + rack (2.2.8) + rack-attack (6.7.0) + rack (>= 1.0, < 4) rack-cors (1.1.1) rack (>= 2.0.0) - rack-protection (3.0.6) - rack - rack-proxy (0.7.6) + rack-protection (3.1.0) + rack (~> 2.2, >= 2.2.4) + rack-proxy (0.7.7) rack rack-test (2.1.0) rack (>= 1.3) - rails (6.1.7.4) - actioncable (= 6.1.7.4) - actionmailbox (= 6.1.7.4) - actionmailer (= 6.1.7.4) - actionpack (= 6.1.7.4) - actiontext (= 6.1.7.4) - actionview (= 6.1.7.4) - activejob (= 6.1.7.4) - activemodel (= 6.1.7.4) - activerecord (= 6.1.7.4) - activestorage (= 6.1.7.4) - activesupport (= 6.1.7.4) + rails (6.1.7.6) + actioncable (= 6.1.7.6) + actionmailbox (= 6.1.7.6) + actionmailer (= 6.1.7.6) + actionpack (= 6.1.7.6) + actiontext (= 6.1.7.6) + actionview (= 6.1.7.6) + activejob (= 6.1.7.6) + activemodel (= 6.1.7.6) + activerecord (= 6.1.7.6) + activestorage (= 6.1.7.6) + activesupport (= 6.1.7.6) bundler (>= 1.15.0) - railties (= 6.1.7.4) + railties (= 6.1.7.6) sprockets-rails (>= 2.0.0) rails-controller-testing (1.0.5) actionpack (>= 5.0.1.rc1) actionview (>= 5.0.1.rc1) activesupport (>= 5.0.1.rc1) - rails-dom-testing (2.1.1) + rails-dom-testing (2.2.0) activesupport (>= 5.0.0) minitest nokogiri (>= 1.6) - rails-html-sanitizer (1.4.3) - loofah (~> 2.3) + rails-html-sanitizer (1.6.0) + loofah (~> 2.21) + nokogiri (~> 1.14) rails-i18n (6.0.0) i18n (>= 0.7, < 2) railties (>= 6.0.0, < 7) rails_autoscale_agent (0.12.0) - railties (6.1.7.4) - actionpack (= 6.1.7.4) - activesupport (= 6.1.7.4) + railties (6.1.7.6) + actionpack (= 6.1.7.6) + activesupport (= 6.1.7.6) method_source rake (>= 12.2) thor (~> 1.0) rainbow (3.1.1) - rake (13.0.6) - ransack (2.4.2) - activerecord (>= 5.2.4) - activesupport (>= 5.2.4) + rake (13.1.0) + ransack (3.2.1) + activerecord (>= 6.1.5) + activesupport (>= 6.1.5) i18n rb-fsevent (0.11.2) rb-inotify (0.10.1) ffi (~> 1.0) redcarpet (3.6.0) redis (4.7.1) - regexp_parser (2.8.1) + regexp_parser (2.8.3) request_store (1.5.1) rack (>= 1.4) - responders (3.1.0) + responders (3.1.1) actionpack (>= 5.2) railties (>= 5.2) rexml (3.2.5) - rspec (3.11.0) - rspec-core (~> 3.11.0) - rspec-expectations (~> 3.11.0) - rspec-mocks (~> 3.11.0) + rspec (3.12.0) + rspec-core (~> 3.12.0) + rspec-expectations (~> 3.12.0) + rspec-mocks (~> 3.12.0) rspec-cells (0.3.8) cells (>= 4.0.0, < 6.0.0) rspec-rails (>= 3.0.0, < 6.1.0) - rspec-core (3.11.0) - rspec-support (~> 3.11.0) - rspec-expectations (3.11.1) + rspec-core (3.12.2) + rspec-support (~> 3.12.0) + rspec-expectations (3.12.3) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.11.0) - rspec-html-matchers (0.9.4) + rspec-support (~> 3.12.0) + rspec-html-matchers (0.10.0) nokogiri (~> 1) - rspec (>= 3.0.0.a, < 4) - rspec-mocks (3.11.1) + rspec (>= 3.0.0.a) + rspec-mocks (3.12.6) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.11.0) - rspec-rails (4.1.2) - actionpack (>= 4.2) - activesupport (>= 4.2) - railties (>= 4.2) - rspec-core (~> 3.10) - rspec-expectations (~> 3.10) - rspec-mocks (~> 3.10) - rspec-support (~> 3.10) + rspec-support (~> 3.12.0) + rspec-rails (6.0.4) + actionpack (>= 6.1) + activesupport (>= 6.1) + railties (>= 6.1) + rspec-core (~> 3.12) + rspec-expectations (~> 3.12) + rspec-mocks (~> 3.12) + rspec-support (~> 3.12) rspec-retry (0.6.2) rspec-core (> 3.3) - rspec-support (3.11.1) - rspec_junit_formatter (0.3.0) + rspec-support (3.12.1) + rspec_junit_formatter (0.6.0) rspec-core (>= 2, < 4, != 2.12.0) - rubocop (1.28.2) + rubocop (1.50.2) + json (~> 2.3) parallel (~> 1.10) - parser (>= 3.1.0.0) + parser (>= 3.2.0.0) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) - rexml - rubocop-ast (>= 1.17.0, < 2.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.28.0, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 3.0) - rubocop-ast (1.24.1) - parser (>= 3.1.1.0) - rubocop-rails (2.15.2) + unicode-display_width (>= 2.4.0, < 3.0) + rubocop-ast (1.30.0) + parser (>= 3.2.1.0) + rubocop-capybara (2.19.0) + rubocop (~> 1.41) + rubocop-factory_bot (2.24.0) + rubocop (~> 1.33) + rubocop-faker (1.1.0) + faker (>= 2.12.0) + rubocop (>= 0.82.0) + rubocop-rails (2.22.2) activesupport (>= 4.2.0) rack (>= 1.1) - rubocop (>= 1.7.0, < 2.0) - rubocop-rspec (2.11.1) - rubocop (~> 1.19) + rubocop (>= 1.33.0, < 2.0) + rubocop-ast (>= 1.30.0, < 2.0) + rubocop-rspec (2.25.0) + rubocop (~> 1.40) + rubocop-capybara (~> 2.17) + rubocop-factory_bot (~> 2.22) ruby-progressbar (1.13.0) - ruby-vips (2.1.4) + ruby-vips (2.2.0) ffi (~> 1.12) ruby2_keywords (0.0.5) rubyXL (3.4.25) @@ -761,23 +724,28 @@ GEM sass-listen (4.0.0) rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) - scout_apm (5.3.1) + scout_apm (5.3.5) parser - selenium-webdriver (4.1.0) - childprocess (>= 0.5, < 5.0) + selenium-webdriver (4.16.0) rexml (~> 3.2, >= 3.2.5) - rubyzip (>= 1.2.2) + rubyzip (>= 1.2.2, < 3.0) + websocket (~> 1.0) semantic_range (3.0.0) sendgrid-ruby (6.6.2) ruby_http_client (~> 3.4) sentry-raven (3.1.2) faraday (>= 1.0) seven_zip_ruby (1.3.0) + shakapacker (7.1.0) + activesupport (>= 5.2) + rack-proxy (>= 0.6.1) + railties (>= 5.2) + semantic_range (>= 2.3.0) sidekiq (6.5.6) connection_pool (>= 2.2.5) rack (~> 2.0) redis (>= 4.5.0, < 5) - simplecov (0.21.2) + simplecov (0.22.0) docile (~> 1.1) simplecov-html (~> 0.11) simplecov_json_formatter (~> 0.1) @@ -790,41 +758,35 @@ GEM snaky_hash (2.0.1) hashie version_gem (~> 1.1, >= 1.1.1) - social-share-button (1.2.4) - coffee-rails spring (2.1.1) spring-watcher-listen (2.0.1) listen (>= 2.7, < 4.0) spring (>= 1.2, < 3.0) - sprockets (4.2.0) + sprockets (4.2.1) concurrent-ruby (~> 1.0) rack (>= 2.2.4, < 4) sprockets-rails (3.4.2) actionpack (>= 5.2) activesupport (>= 5.2) sprockets (>= 3.0.0) - ssrf_filter (1.1.1) + ssrf_filter (1.1.2) statsd-ruby (1.5.0) - temple (0.10.2) + stringio (3.1.0) + temple (0.10.3) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) - thor (1.2.2) - thread_safe (0.3.6) - tilt (2.2.0) - timeout (0.4.0) - tomlrb (2.0.3) + thor (1.3.0) + tilt (2.3.0) + timeout (0.4.1) tzinfo (2.0.6) concurrent-ruby (~> 1.0) uber (0.1.0) - unicode-display_width (2.4.2) - valid_email2 (2.3.1) + unicode-display_width (2.5.0) + uniform_notifier (1.16.0) + valid_email2 (4.0.6) activemodel (>= 3.2) mail (~> 2.5) version_gem (1.1.3) - virtus (2.0.0) - axiom-types (~> 0.1) - coercible (~> 1.0) - descendants_tracker (~> 0.0, >= 0.0.3) w3c_rspec_validators (0.3.0) rails rspec @@ -840,31 +802,25 @@ GEM activemodel (>= 6.0.0) bindex (>= 0.4.0) railties (>= 6.0.0) - webmock (3.18.1) + web-push (3.0.1) + jwt (~> 2.0) + openssl (~> 3.0) + webmock (3.19.1) addressable (>= 2.8.0) crack (>= 0.3.2) hashdiff (>= 0.4.0, < 2.0.0) - webpacker (6.0.0.rc.5) - activesupport (>= 5.2) - rack-proxy (>= 0.6.1) - railties (>= 5.2) - semantic_range (>= 2.3.0) - webpush (1.1.0) - hkdf (~> 0.2) - jwt (~> 2.0) - websocket-driver (0.7.5) + websocket (1.2.10) + websocket-driver (0.7.6) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) - wicked (1.4.0) - railties (>= 3.0.7) - wicked_pdf (2.6.3) + wicked_pdf (2.7.0) activesupport wisper (2.0.1) wisper-rspec (1.1.0) wkhtmltopdf-binary (0.12.6.6) xpath (3.2.0) nokogiri (~> 1.8) - zeitwerk (2.6.8) + zeitwerk (2.6.12) PLATFORMS ruby @@ -874,12 +830,10 @@ DEPENDENCIES barnes byebug dalli - decidim (= 0.27.3) - decidim-conferences (= 0.27.3) - decidim-consultations (= 0.27.3) - decidim-dev (= 0.27.3) - decidim-initiatives (= 0.27.3) - decidim-term_customizer! + decidim (= 0.28.0.rc4) + decidim-conferences (= 0.28.0.rc4) + decidim-dev (= 0.28.0.rc4) + decidim-initiatives (= 0.28.0.rc4) excon (>= 0.71.0) faker fog-aws @@ -902,7 +856,7 @@ DEPENDENCIES web-console RUBY VERSION - ruby 3.0.2p107 + ruby 3.1.1p18 BUNDLED WITH 2.3.17 diff --git a/Procfile.dev b/Procfile.dev new file mode 100644 index 0000000..01fcc9f --- /dev/null +++ b/Procfile.dev @@ -0,0 +1,2 @@ +web: bin/rails server -b 0.0.0.0 -p 3000 +shakapacker: bin/shakapacker-dev-server diff --git a/app/helpers/decidim/menu_helper.rb b/app/helpers/decidim/menu_helper.rb deleted file mode 100644 index 99a3b9b..0000000 --- a/app/helpers/decidim/menu_helper.rb +++ /dev/null @@ -1,33 +0,0 @@ -# frozen_string_literal: true - -module Decidim - # Override helper to manage menus in layout - module MenuHelper - # Public: Returns the main menu presenter object - # - # We override this from the Decidim standard, so we can present the Metadecidim menu for the - # Decidim organization in the Multitenant - def main_menu - menu_name = current_organization.name == "Metadecidim" ? :metadecidim_menu : :menu - - @main_menu ||= ::Decidim::MenuPresenter.new( - menu_name, - self, - element_class: "main-nav__link", - active_class: "main-nav__link--active", - label: t("layouts.decidim.header.main_menu") - ) - end - - # Public: Returns the user menu presenter object - def user_menu - @user_menu ||= ::Decidim::InlineMenuPresenter.new( - :user_menu, - self, - element_class: "tabs-title", - active_class: "is-active", - label: t("layouts.decidim.user_menu.title") - ) - end - end -end diff --git a/app/packs/stylesheets/decidim/_decidim-settings.scss b/app/packs/stylesheets/decidim/_decidim-settings.scss deleted file mode 100644 index 405f903..0000000 --- a/app/packs/stylesheets/decidim/_decidim-settings.scss +++ /dev/null @@ -1,9 +0,0 @@ -// This is a file that can be overridden by the application in order to override -// some of the Foundation/Decidim SCSS settings and variables after the default -// settings have been loaded. -// -// To override styles use decidim_application.scss -// -// By default this is empty. - -@import "stylesheets/decidim/metadecidim-theme/variables"; \ No newline at end of file diff --git a/app/packs/stylesheets/decidim/decidim_application.scss b/app/packs/stylesheets/decidim/decidim_application.scss deleted file mode 100644 index 18fce23..0000000 --- a/app/packs/stylesheets/decidim/decidim_application.scss +++ /dev/null @@ -1,11 +0,0 @@ -// This is a file that can be overridden by the application in order to override styles -// Notice that this file is included at the very end of the stylesheets packs to have -// more priority -// -// To override CSS variables or Foundation settings use _decidim-settings.scss -// -// By default this is empty. -@import "stylesheets/decidim/metadecidim-theme/css-variables"; -@import "stylesheets/decidim/metadecidim-theme/fonts"; -@import "stylesheets/decidim/metadecidim-theme/typography"; -@import "stylesheets/decidim/metadecidim-theme/navbar"; diff --git a/app/packs/stylesheets/decidim/metadecidim-theme/_css-variables.scss b/app/packs/stylesheets/decidim/metadecidim-theme/_css-variables.scss deleted file mode 100644 index 686f7d2..0000000 --- a/app/packs/stylesheets/decidim/metadecidim-theme/_css-variables.scss +++ /dev/null @@ -1,12 +0,0 @@ -//Overwrite Admin custom colors with our theme -html:root { - --primary: #{$primary}; - --secondary: #{$secondary}; - --success: #{$success}; - --warning: #{$warning}; - --alert: #{$alert}; - // --proposals: #{$proposals}; - // --actions: #{$actions}; - // --debates: #{$debates}; - // --meetings: #{$meetings}; -} diff --git a/app/packs/stylesheets/decidim/metadecidim-theme/_fonts.scss b/app/packs/stylesheets/decidim/metadecidim-theme/_fonts.scss deleted file mode 100644 index 81581cf..0000000 --- a/app/packs/stylesheets/decidim/metadecidim-theme/_fonts.scss +++ /dev/null @@ -1,37 +0,0 @@ -@font-face { - font-family: 'Barlow'; - src: - url(fonts/barlow-regular.woff2) format('woff2'), - url(fonts/barlow-regular.woff) format('woff'); - font-weight: 400; - font-style: normal; -} - -@font-face { - font-family: 'Barlow'; - src: - url(fonts/barlow-semibold.woff2) format('woff2'), - url(fonts/barlow-semibold.woff) format('woff'); - font-weight: 600; - font-style: normal; -} - - -@font-face { - font-family: 'Barlow'; - src: - url(fonts/barlow-extrabold.woff2) format('woff2'), - url(fonts/barlow-extrabold.woff) format('woff'); - font-weight: 800; - font-style: normal; -} - - -@font-face { - font-family: 'Barlow'; - src: - url(fonts/barlow-extrabold.woff2) format('woff2'), - url(fonts/barlow-extrabold.woff) format('woff'); - font-weight: 900; //File original: 800. Using 900 to match the default styles - font-style: normal; -} \ No newline at end of file diff --git a/app/packs/stylesheets/decidim/metadecidim-theme/_navbar.scss b/app/packs/stylesheets/decidim/metadecidim-theme/_navbar.scss deleted file mode 100644 index f4c552b..0000000 --- a/app/packs/stylesheets/decidim/metadecidim-theme/_navbar.scss +++ /dev/null @@ -1,20 +0,0 @@ -.main-nav__link a { - @include breakpoint(medium) { - padding: 0.75em 1em; - font-size: .9rem; - } - - @include breakpoint(large) { - font-size: 1rem; - } -} - -.topbar__search { - @include breakpoint(medium) { - max-width: 120px; - } - - @include breakpoint(large) { - max-width: 220px; - } -} diff --git a/app/packs/stylesheets/decidim/metadecidim-theme/_typography.scss b/app/packs/stylesheets/decidim/metadecidim-theme/_typography.scss deleted file mode 100644 index c2e5d98..0000000 --- a/app/packs/stylesheets/decidim/metadecidim-theme/_typography.scss +++ /dev/null @@ -1,9 +0,0 @@ -body, -h1, .h1, -h2, .h2, -h3, .h3, -h4, .h4, -h5, .h5, -h6, .h6 { - font-family: "Barlow", Helvetica, Arial, sans-serif !important; -} \ No newline at end of file diff --git a/app/packs/stylesheets/decidim/metadecidim-theme/_variables.scss b/app/packs/stylesheets/decidim/metadecidim-theme/_variables.scss deleted file mode 100644 index 7882d11..0000000 --- a/app/packs/stylesheets/decidim/metadecidim-theme/_variables.scss +++ /dev/null @@ -1,10 +0,0 @@ -$primary: #ff3333; -$secondary: #268CBF; -$success: #23E84A; -$warning: #E89823; -$alert: darken($primary, 20); - -// $proposals: #238FF7; -// $actions: #57D685; -// $debates: #FA6C96; -// $meetings: #FABC6C; diff --git a/app/views/static/api/docs/directive/deprecated/index.html b/app/views/static/api/docs/directive/deprecated/index.html index e9c6a4f..ddf5c7b 100644 --- a/app/views/static/api/docs/directive/deprecated/index.html +++ b/app/views/static/api/docs/directive/deprecated/index.html @@ -221,20 +221,6 @@
Requires that exactly one field must be supplied and that field must not be null
.
Location adjacent to an input object field definition.
+Location adjacent to a variable definition.
Boolean
)
+ String
)
+ String
)
+ Boolean!
)
+ ID!
)
- The Component's unique ID
-TranslatedField!
)
- The name of this component.
-Int!
)
- The weight of the component
-ParticipatorySpace!
)
- The participatory space in which this component belongs to.
-Result
)
ID!
)
+ The Component's unique ID
+TranslatedField!
)
+ The name of this component.
+Int!
)
+ The weight of the component
+ParticipatorySpace!
)
+ The participatory space in which this component belongs to.
+TranslatedField!
)
- The graphql_name of this participatory space.
-String!
)
- The participatory space class name. i.e. Decidim::ParticipatoryProcess
-[ComponentInterface!]
)
- Lists the components this space contains.
-Argument | -Type | -Description | -
---|---|---|
filter |
-
- ComponentFilter
- |
-
- Provides several methods to filter the results - |
-
order |
-
- ComponentSort
- |
-
- Provides several methods to order the results - |
-
[Statistic]
)
- [Attachment]!
)
- This object's attachments
-[ParticipatorySpaceLink!]!
)
- Lists all linked participatory spaces in a polymorphic way
-[Category]!
)
- Categories for this space
-Argument | -Type | -Description | -
---|---|---|
filter |
-
- CategoryFilter
- |
-
- Provides several methods to filter the results - |
-
TranslatedField
)
Childrens of this assembly
[Category]!
)
+ Categories for this space
+Argument | +Type | +Description | +
---|---|---|
filter |
+
+ CategoryFilter
+ |
+
+ Provides several methods to filter the results + |
+
[ParticipatorySpaceLink!]!
)
+ Lists all linked participatory spaces in a polymorphic way
+[Attachment]!
)
+ This object's attachments
+TranslatedField!
)
+ The graphql_name of this participatory space.
+String!
)
+ The participatory space class name. i.e. Decidim::ParticipatoryProcess
+ParticipatorySpaceManifest!
)
+ The manifest information for the participatory space.
+[ComponentInterface!]
)
+ Lists the components this space contains.
+Argument | +Type | +Description | +
---|---|---|
filter |
+
+ ComponentFilter
+ |
+
+ Provides several methods to filter the results + |
+
order |
+
+ ComponentSort
+ |
+
+ Provides several methods to order the results + |
+
[Statistic]
)
+ TranslatedField!
)
- The graphql_name of this participatory space.
-String!
)
- The participatory space class name. i.e. Decidim::ParticipatoryProcess
-[ComponentInterface!]
)
- Lists the components this space contains.
-Argument | -Type | -Description | -
---|---|---|
filter |
-
- ComponentFilter
- |
-
- Provides several methods to filter the results - |
-
order |
-
- ComponentSort
- |
-
- Provides several methods to order the results - |
-
[Statistic]
)
- [ParticipatorySpaceLink!]!
)
- Lists all linked participatory spaces in a polymorphic way
-Scope
)
- The object's scope
-[Attachment]!
)
- This object's attachments
-[Category]!
)
- Categories for this space
-Argument | -Type | -Description | -
---|---|---|
filter |
-
- CategoryFilter
- |
-
- Provides several methods to filter the results - |
-
String!
)
The participatory process group in which this process belong to
[Category]!
)
+ Categories for this space
+Argument | +Type | +Description | +
---|---|---|
filter |
+
+ CategoryFilter
+ |
+
+ Provides several methods to filter the results + |
+
[Attachment]!
)
+ This object's attachments
+Scope
)
+ The object's scope
+[ParticipatorySpaceLink!]!
)
+ Lists all linked participatory spaces in a polymorphic way
+TranslatedField!
)
+ The graphql_name of this participatory space.
+String!
)
+ The participatory space class name. i.e. Decidim::ParticipatoryProcess
+ParticipatorySpaceManifest!
)
+ The manifest information for the participatory space.
+[ComponentInterface!]
)
+ Lists the components this space contains.
+Argument | +Type | +Description | +
---|---|---|
filter |
+
+ ComponentFilter
+ |
+
+ Provides several methods to filter the results + |
+
order |
+
+ ComponentSort
+ |
+
+ Provides several methods to order the results + |
+
[Statistic]
)
+ Date
)
+ endDate (DateTime
)
This step's end date
The participatory space class name. i.e. Decidim::ParticipatoryProcess
ParticipatorySpaceManifest!
)
+ The manifest information for the participatory space.
+[ComponentInterface!]
)
A consultation
-A participatory manifest
ID!
)
- The participatory space's unique ID
-TranslatedField!
)
- The graphql_name of this participatory space.
-String!
)
- The participatory space class name. i.e. Decidim::ParticipatoryProcess
-[ComponentInterface!]
)
- Lists the components this space contains.
-Argument | -Type | -Description | -
---|---|---|
filter |
-
- ComponentFilter
- |
-
- Provides several methods to filter the results - |
-
order |
-
- ComponentSort
- |
-
- Provides several methods to order the results - |
-
[Statistic]
)
- TranslatedField
)
- The subtitle of this consultation
-TranslatedField
)
- The description of this consultation
-String!
)
- Slug of this consultation
-DateTime!
)
- The time this consultation was created
-DateTime!
)
- The time this consultation was updated
-DateTime!
)
+ name (String!
)
The time this consultation was published
+The name of the manifest
String
)
- The introductory video url for this consultation
-String
)
- The introductory image for this consultation
-The banner image for this consultation
-Scope
)
- This is the highlighted scope of this consultation
-Date
)
- Start date of the voting for this consultation
-Date
)
- End date of the voting for this consultation
-Date
)
- Date when the results have been published
-[ConsultationQuestion]
)
+ humanName (QuantifiableTranslatedField!
)
The human readable name for the manifest
TranslatedField
)
+ The title for this post
+TranslatedField
)
+ The body of this post
+DateTime!
)
+ The time this page was published
+DateTime
)
+ The date and time this object was created
+DateTime
)
+ The date and time this object was updated
+[Author]!
)
+ The endorsements of this object.
+Int
)
+ The total amount of endorsements the object has received
+Int!
)
+ Total number of versions
+[TraceVersion]!
)
+ This object's versions
+The resource author
+[Attachment]!
)
+ This object's attachments
+String!
)
Check if the current user can comment
[Attachment]!
)
- This object's attachments
-The resource author
-Int!
)
- Total number of versions
-[TraceVersion]!
)
- This object's versions
-[Author]!
)
- The endorsements of this object.
-Int
)
- The total amount of endorsements the object has received
-DateTime
)
- The date and time this object was created
-DateTime
)
- The date and time this object was updated
-TranslatedField
)
- The title for this post
-TranslatedField
)
- The body of this post
-String!
)
- The commentable's class name. i.e. Decidim::ParticipatoryProcess
Boolean!
)
+ title (TranslatedField
)
Whether the object can have new comments or not
+The title for this title
Boolean!
)
+ body (TranslatedField
)
Whether the object comments have alignment or not
+The description for this body
Boolean!
)
+ address (String
)
Whether the object comments have votes or not
+The physical address (location) of this proposal
[Comment!]!
)
+ coordinates (Coordinates
)
Int!
)
+ reference (String
)
The number of comments in all levels this resource holds
+This proposal's unique reference
Boolean!
)
+ state (String
)
Check if the commentable has comments
+The answer status in which proposal is in
Boolean!
)
+ answer (TranslatedField
)
Check if the current user can comment
+The answer feedback for the status for this proposal
DateTime
)
The total amount of co-authors that contributed to the entity. Note that this field may include also non-user authors like meetings or the organization
+The date and time this proposal was answered
DateTime
)
The resource author. Note that this can be null on official proposals or meeting-proposals
+The date and time this proposal was published
String
)
The resource co-authors. Include only users or groups of users
+If it is a participatory text, the level indicates the type of paragraph
Category
)
+ position (Int
)
The object's category
+Position of this proposal in the participatory text
Scope
)
+ official (Boolean
)
The object's scope
+Whether this proposal is official or not
[Attachment]!
)
+ createdInMeeting (Boolean
)
This object's attachments
+Whether this proposal comes from a meeting or not
Fingerprint!
)
+ meeting (Meeting
)
This object's fingerprint
+If the proposal comes from a meeting, the related meeting
[Amendment]!
)
+ voteCount (Int
)
This object's amendments
+The total amount of votes the proposal has received
Int!
)
+ createdAt (DateTime
)
Total number of versions
+The date and time this object was created
[TraceVersion]!
)
+ updatedAt (DateTime
)
This object's versions
+The date and time this object was updated
DateTime
)
+ versionsCount (Int!
)
The date and time this object was created
+Total number of versions
DateTime
)
+ versions ([TraceVersion]!
)
The date and time this object was updated
+This object's versions
TranslatedField
)
+ amendments ([Amendment]!
)
The title for this title
+This object's amendments
TranslatedField
)
+ fingerprint (Fingerprint!
)
The description for this body
+This object's fingerprint
String
)
+ attachments ([Attachment]!
)
The physical address (location) of this proposal
+This object's attachments
Coordinates
)
+ scope (Scope
)
Physical coordinates for this proposal
+The object's scope
String
)
+ category (Category
)
This proposal's unique reference
+The object's category
String
)
+
The answer status in which proposal is in
+The total amount of co-authors that contributed to the entity. Note that this field may include also non-user authors like meetings or the organization
TranslatedField
)
+
The answer feedback for the status for this proposal
+The resource author. Note that this can be null on official proposals or meeting-proposals
DateTime
)
+
The date and time this proposal was answered
+The resource co-authors. Include only users or groups of users
DateTime
)
+ type (String!
)
The date and time this proposal was published
+The commentable's class name. i.e. Decidim::ParticipatoryProcess
String
)
+ acceptsNewComments (Boolean!
)
If it is a participatory text, the level indicates the type of paragraph
+Whether the object can have new comments or not
Int
)
+ commentsHaveAlignment (Boolean!
)
Position of this proposal in the participatory text
+Whether the object comments have alignment or not
Boolean
)
+ commentsHaveVotes (Boolean!
)
Whether this proposal is official or not
+Whether the object comments have votes or not
Boolean
)
+ comments ([Comment!]!
)
Meeting
)
+ totalCommentsCount (Int!
)
If the proposal comes from a meeting, the related meeting
+The number of comments in all levels this resource holds
Int
)
+ hasComments (Boolean!
)
The total amount of votes the proposal has received
+Check if the commentable has comments
+Boolean!
)
+ Check if the current user can comment
String!
)
+ badge (String!
)
If the user making the request is logged in, it will return whether this recipient accepts a conversation or not. It will return false for non-logged requests.
+A badge for the user group
The user group's profile url
String!
)
- A badge for the user group
-String!
)
Whether the user group's has been deleted or not
String!
)
+ A badge for the user group
+[User]!
)
Every GraphQL schema has a root type for both queries and mutations. The query type defines GraphQL operations that retrieve data from the server.
Commentable!
)
- Argument | -Type | -Description | -
---|---|---|
id |
-
- String!
- |
-
- The commentable's ID - |
-
type |
-
- String!
- |
-
- The commentable's class name. i.e. |
-
locale |
-
- String!
- |
-
- The locale for which to get the comments text - |
-
toggleTranslations |
-
- Boolean!
- |
-
- Whether the user asked to toggle the machine translations or not. - |
-
[ParticipatoryProcess!]
)
ParticipatoryProcessFilter
This argument let's you filter the results
+This argument lets you filter the results
ParticipatoryProcessSort
This argument let's you order the results
+This argument lets you order the results
ParticipatoryProcessFilter
This argument let's you filter the results
+This argument lets you filter the results
ParticipatoryProcessSort
This argument let's you order the results
+This argument lets you order the results
Assembly
)
Finds a assembly
+Finds an assembly