From 95ecf8dd2622b92b94dc0369ffbe3a708aa48476 Mon Sep 17 00:00:00 2001 From: Robin Steiner Date: Mon, 13 May 2024 10:51:26 +0200 Subject: [PATCH] Add anonymous codes module --- Gemfile | 3 +- Gemfile.lock | 14 +- .../api/docs/directive/deprecated/index.html | 112 ++ .../api/docs/directive/include/index.html | 112 ++ .../static/api/docs/directive/index.html | 112 ++ .../static/api/docs/directive/skip/index.html | 112 ++ .../docs/enum/__directivelocation/index.html | 112 ++ .../api/docs/enum/__typekind/index.html | 112 ++ app/views/static/api/docs/enum/index.html | 112 ++ app/views/static/api/docs/index.html | 112 ++ .../input_object/assemblyfilter/index.html | 1161 ++++++++++++++++ .../input_object/categoryfilter/index.html | 112 ++ .../input_object/componentfilter/index.html | 112 ++ .../input_object/componentsort/index.html | 112 ++ .../geodatasourcefilter/index.html | 1191 ++++++++++++++++ .../input_object/geoencodedfilter/index.html | 1161 ++++++++++++++++ .../static/api/docs/input_object/index.html | 112 ++ .../participatoryprocessfilter/index.html | 118 ++ .../participatoryprocesssort/index.html | 112 ++ .../docs/input_object/postfilter/index.html | 112 ++ .../api/docs/input_object/postsort/index.html | 112 ++ .../input_object/processfilter/index.html | 1161 ++++++++++++++++ .../input_object/proposalfilter/index.html | 112 ++ .../docs/input_object/proposalsort/index.html | 112 ++ .../resourcetypefilter/index.html | 1161 ++++++++++++++++ .../docs/input_object/scopefilter/index.html | 1161 ++++++++++++++++ .../docs/input_object/timefilter/index.html | 1161 ++++++++++++++++ .../input_object/userentityfilter/index.html | 112 ++ .../input_object/userentitysort/index.html | 112 ++ .../amendableentityinterface/index.html | 112 ++ .../interface/amendableinterface/index.html | 112 ++ .../interface/attachableinterface/index.html | 112 ++ .../api/docs/interface/author/index.html | 112 ++ .../interface/authorableinterface/index.html | 112 ++ .../categoriescontainerinterface/index.html | 112 ++ .../categorizableinterface/index.html | 112 ++ .../coauthorableinterface/index.html | 112 ++ .../interface/commentableinterface/index.html | 112 ++ .../interface/componentinterface/index.html | 112 ++ .../interface/endorsableinterface/index.html | 112 ++ .../interface/fingerprintinterface/index.html | 112 ++ .../static/api/docs/interface/index.html | 112 ++ .../index.html | 112 ++ .../participatoryspaceinterface/index.html | 112 ++ .../index.html | 112 ++ .../questionnaireentityinterface/index.html | 112 ++ .../interface/scopableinterface/index.html | 112 ++ .../interface/servicesinterface/index.html | 112 ++ .../interface/timestampsinterface/index.html | 112 ++ .../interface/traceableinterface/index.html | 112 ++ .../api/docs/mutation/comment/index.html | 112 ++ .../api/docs/mutation/commentable/index.html | 112 ++ .../api/docs/object/__directive/index.html | 112 ++ .../api/docs/object/__enumvalue/index.html | 112 ++ .../static/api/docs/object/__field/index.html | 112 ++ .../api/docs/object/__inputvalue/index.html | 112 ++ .../api/docs/object/__schema/index.html | 112 ++ .../static/api/docs/object/__type/index.html | 112 ++ .../api/docs/object/accountability/index.html | 112 ++ .../api/docs/object/amendment/index.html | 112 ++ .../api/docs/object/answeroption/index.html | 112 ++ .../static/api/docs/object/area/index.html | 112 ++ .../api/docs/object/areatype/index.html | 112 ++ .../api/docs/object/assembliestype/index.html | 112 ++ .../api/docs/object/assembly/index.html | 112 ++ .../api/docs/object/assemblymember/index.html | 112 ++ .../api/docs/object/attachment/index.html | 112 ++ .../static/api/docs/object/blogs/index.html | 112 ++ .../static/api/docs/object/budget/index.html | 112 ++ .../docs/object/budgetconnection/index.html | 112 ++ .../api/docs/object/budgetedge/index.html | 112 ++ .../static/api/docs/object/budgets/index.html | 112 ++ .../api/docs/object/category/index.html | 112 ++ .../static/api/docs/object/comment/index.html | 112 ++ .../api/docs/object/commentable/index.html | 112 ++ .../object/commentablemutation/index.html | 112 ++ .../docs/object/commentmutation/index.html | 112 ++ .../api/docs/object/component/index.html | 112 ++ .../api/docs/object/conference/index.html | 112 ++ .../object/conferencemedialink/index.html | 112 ++ .../docs/object/conferencepartner/index.html | 112 ++ .../docs/object/conferencespeaker/index.html | 112 ++ .../api/docs/object/coordinates/index.html | 112 ++ .../static/api/docs/object/debate/index.html | 112 ++ .../docs/object/debateconnection/index.html | 112 ++ .../api/docs/object/debateedge/index.html | 112 ++ .../static/api/docs/object/debates/index.html | 112 ++ .../static/api/docs/object/decidim/index.html | 112 ++ .../api/docs/object/fingerprint/index.html | 112 ++ .../api/docs/object/geoconfig/index.html | 1175 ++++++++++++++++ .../api/docs/object/geocoordinates/index.html | 1167 ++++++++++++++++ .../api/docs/object/geodatasource/index.html | 1231 +++++++++++++++++ .../object/geodatasourceconnection/index.html | 1173 ++++++++++++++++ .../docs/object/geodatasourceedge/index.html | 1167 ++++++++++++++++ .../api/docs/object/geoscopeapi/index.html | 1183 ++++++++++++++++ .../api/docs/object/geoshapedata/index.html | 1170 ++++++++++++++++ .../api/docs/object/geoshapefile/index.html | 1185 ++++++++++++++++ .../api/docs/object/hashtagtype/index.html | 112 ++ app/views/static/api/docs/object/index.html | 112 ++ .../docs/object/localizedstring/index.html | 112 ++ .../static/api/docs/object/meeting/index.html | 112 ++ .../api/docs/object/meetingagenda/index.html | 112 ++ .../docs/object/meetingagendaitem/index.html | 112 ++ .../docs/object/meetingconnection/index.html | 112 ++ .../api/docs/object/meetingedge/index.html | 112 ++ .../api/docs/object/meetings/index.html | 112 ++ .../api/docs/object/meetingservice/index.html | 112 ++ .../static/api/docs/object/metric/index.html | 112 ++ .../api/docs/object/metrichistory/index.html | 112 ++ .../api/docs/object/organization/index.html | 112 ++ .../static/api/docs/object/page/index.html | 112 ++ .../api/docs/object/pageconnection/index.html | 112 ++ .../api/docs/object/pageedge/index.html | 112 ++ .../api/docs/object/pageinfo/index.html | 112 ++ .../static/api/docs/object/pages/index.html | 112 ++ .../object/participatoryprocess/index.html | 112 ++ .../participatoryprocessgroup/index.html | 112 ++ .../participatoryprocessstep/index.html | 112 ++ .../participatoryprocesstype/index.html | 112 ++ .../docs/object/participatoryspace/index.html | 112 ++ .../object/participatoryspacelink/index.html | 112 ++ .../static/api/docs/object/post/index.html | 112 ++ .../api/docs/object/postconnection/index.html | 112 ++ .../api/docs/object/postedge/index.html | 112 ++ .../static/api/docs/object/project/index.html | 112 ++ .../api/docs/object/proposal/index.html | 112 ++ .../docs/object/proposalconnection/index.html | 112 ++ .../api/docs/object/proposaledge/index.html | 112 ++ .../api/docs/object/proposals/index.html | 112 ++ .../api/docs/object/question/index.html | 112 ++ .../api/docs/object/questionnaire/index.html | 112 ++ .../static/api/docs/object/result/index.html | 112 ++ .../docs/object/resultconnection/index.html | 112 ++ .../api/docs/object/resultedge/index.html | 112 ++ .../static/api/docs/object/scope/index.html | 112 ++ .../static/api/docs/object/session/index.html | 112 ++ .../api/docs/object/sortition/index.html | 112 ++ .../object/sortitionconnection/index.html | 112 ++ .../api/docs/object/sortitionedge/index.html | 112 ++ .../api/docs/object/sortitions/index.html | 112 ++ .../api/docs/object/statistic/index.html | 112 ++ .../static/api/docs/object/status/index.html | 112 ++ .../static/api/docs/object/survey/index.html | 112 ++ .../docs/object/surveyconnection/index.html | 112 ++ .../api/docs/object/surveyedge/index.html | 112 ++ .../static/api/docs/object/surveys/index.html | 112 ++ .../api/docs/object/timelineentry/index.html | 112 ++ .../api/docs/object/traceversion/index.html | 112 ++ .../docs/object/translatedfield/index.html | 112 ++ .../static/api/docs/object/user/index.html | 112 ++ .../api/docs/object/usergroup/index.html | 112 ++ .../api/docs/operation/mutation/index.html | 112 ++ .../api/docs/operation/query/index.html | 264 ++++ .../static/api/docs/scalar/boolean/index.html | 112 ++ .../static/api/docs/scalar/date/index.html | 112 ++ .../api/docs/scalar/datetime/index.html | 112 ++ .../static/api/docs/scalar/float/index.html | 112 ++ .../static/api/docs/scalar/id/index.html | 112 ++ app/views/static/api/docs/scalar/index.html | 112 ++ .../static/api/docs/scalar/int/index.html | 112 ++ .../docs/scalar/iso8601datetime/index.html | 1153 +++++++++++++++ .../static/api/docs/scalar/json/index.html | 112 ++ .../static/api/docs/scalar/string/index.html | 112 ++ app/views/static/api/docs/union/index.html | 112 ++ ...us_codes_groups.decidim_anonymous_codes.rb | 19 + ...us_codes_tokens.decidim_anonymous_codes.rb | 15 + ...token_resources.decidim_anonymous_codes.rb | 12 + db/schema.rb | 38 +- package.json | 16 +- yarn.lock | 940 ++++++++++--- 170 files changed, 36095 insertions(+), 233 deletions(-) create mode 100644 app/views/static/api/docs/input_object/assemblyfilter/index.html create mode 100644 app/views/static/api/docs/input_object/geodatasourcefilter/index.html create mode 100644 app/views/static/api/docs/input_object/geoencodedfilter/index.html create mode 100644 app/views/static/api/docs/input_object/processfilter/index.html create mode 100644 app/views/static/api/docs/input_object/resourcetypefilter/index.html create mode 100644 app/views/static/api/docs/input_object/scopefilter/index.html create mode 100644 app/views/static/api/docs/input_object/timefilter/index.html create mode 100644 app/views/static/api/docs/object/geoconfig/index.html create mode 100644 app/views/static/api/docs/object/geocoordinates/index.html create mode 100644 app/views/static/api/docs/object/geodatasource/index.html create mode 100644 app/views/static/api/docs/object/geodatasourceconnection/index.html create mode 100644 app/views/static/api/docs/object/geodatasourceedge/index.html create mode 100644 app/views/static/api/docs/object/geoscopeapi/index.html create mode 100644 app/views/static/api/docs/object/geoshapedata/index.html create mode 100644 app/views/static/api/docs/object/geoshapefile/index.html create mode 100644 app/views/static/api/docs/scalar/iso8601datetime/index.html create mode 100644 db/migrate/20240513084814_create_decidim_anonymous_codes_groups.decidim_anonymous_codes.rb create mode 100644 db/migrate/20240513084815_create_decidim_anonymous_codes_tokens.decidim_anonymous_codes.rb create mode 100644 db/migrate/20240513084816_create_decidim_anonymous_codes_token_resources.decidim_anonymous_codes.rb diff --git a/Gemfile b/Gemfile index e471856f..fb02048c 100644 --- a/Gemfile +++ b/Gemfile @@ -15,11 +15,12 @@ gem 'decidim-proposals', DECIDIM_VERSION gem 'decidim-conferences', DECIDIM_VERSION gem 'decidim-templates', DECIDIM_VERSION -gem 'decidim-decidim_geo', github: 'octree-gva/decidim-module-geo', tag: "v0.2.1" +gem 'decidim-anonymous_codes', github: 'openpoke/decidim-module-anonymous_codes' gem 'decidim-anonymous_proposals', github: 'puzzle/decidim-module-anonymous_proposals', branch: 'release/0.27-stable' gem 'decidim-antivirus', github: 'mainio/decidim-module-antivirus', branch: 'release/0.27-stable' gem 'decidim-cleaner', github: 'puzzle/decidim-module-cleaner', branch: 'release/0.27-stable' gem 'decidim-decidim_awesome', github: 'decidim-ice/decidim-module-decidim_awesome' +gem 'decidim-decidim_geo', github: 'octree-gva/decidim-module-geo', tag: "v0.2.1" gem 'decidim-participatory_documents', github: 'openpoke/decidim-module-participatory-documents', tag: '0.2.2' gem 'decidim-question_captcha', github: 'OpenSourcePolitics/decidim-module-question_captcha', branch: 'release/0.27-stable' gem 'decidim-survey_multiple_answers', '~> 0.26.2' diff --git a/Gemfile.lock b/Gemfile.lock index 77199cb8..2bbc2f5a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -60,6 +60,17 @@ GIT rgeo-geojson (>= 1.0) rgeo-shapefile (>= 1.0) +GIT + remote: https://github.com/openpoke/decidim-module-anonymous_codes.git + revision: 1b7f6d8d73a3cb72d915445e006c8e2a88c692cb + specs: + decidim-anonymous_codes (1.0) + decidim-admin (>= 0.27.0, < 0.28) + decidim-core (>= 0.27.0, < 0.28) + decidim-forms (>= 0.27.0, < 0.28) + decidim-surveys (>= 0.27.0, < 0.28) + deface (>= 1.9.0) + GIT remote: https://github.com/openpoke/decidim-module-participatory-documents.git revision: 76957bf7bbceb3235eb912b64361ed4a4e521f8a @@ -1035,6 +1046,7 @@ DEPENDENCIES byebug dalli decidim (= 0.27.5) + decidim-anonymous_codes! decidim-anonymous_proposals! decidim-antivirus! decidim-cleaner! @@ -1072,4 +1084,4 @@ RUBY VERSION ruby 3.0.6p216 BUNDLED WITH - 2.5.6 + 2.5.5 diff --git a/app/views/static/api/docs/directive/deprecated/index.html b/app/views/static/api/docs/directive/deprecated/index.html index f4d4e0b4..c1b19f65 100644 --- a/app/views/static/api/docs/directive/deprecated/index.html +++ b/app/views/static/api/docs/directive/deprecated/index.html @@ -277,6 +277,62 @@

+
  • + + GeoConfig + +
  • + + +
  • + + GeoCoordinates + +
  • + + +
  • + + GeoDatasource + +
  • + + +
  • + + GeoDatasourceConnection + +
  • + + +
  • + + GeoDatasourceEdge + +
  • + + +
  • + + GeoScopeApi + +
  • + + +
  • + + GeoShapedata + +
  • + + +
  • + + GeoShapefile + +
  • + +
  • HashtagType @@ -893,6 +949,13 @@