decidim-elections 0.26.2 → 0.26.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/cells/decidim/votings/content_blocks/highlighted_votings/show.erb +1 -1
- data/app/cells/decidim/votings/content_blocks/highlighted_votings_cell.rb +1 -0
- data/app/cells/decidim/votings/content_blocks/landing_page/description/show.erb +1 -1
- data/app/cells/decidim/votings/content_blocks/landing_page/header/show.erb +2 -2
- data/app/commands/decidim/elections/admin/create_question.rb +0 -1
- data/app/commands/decidim/elections/admin/import_proposals_to_elections.rb +4 -1
- data/app/commands/decidim/elections/admin/setup_election.rb +3 -1
- data/app/commands/decidim/elections/admin/update_question.rb +0 -1
- data/app/controllers/decidim/elections/elections_controller.rb +2 -2
- data/app/controllers/decidim/votings/admin/imports_controller.rb +14 -0
- data/app/controllers/decidim/votings/votings_controller.rb +2 -2
- data/app/forms/decidim/elections/admin/question_form.rb +0 -2
- data/app/forms/decidim/elections/admin/setup_form.rb +43 -0
- data/app/models/decidim/elections/election.rb +2 -2
- data/app/models/decidim/elections/question.rb +1 -1
- data/app/packs/src/decidim/elections/admin/pending_action.js +2 -0
- data/app/packs/src/decidim/elections/admin/trustees_process.js +2 -0
- data/app/packs/src/decidim/elections/broken_promises_handler.js +11 -0
- data/app/packs/src/decidim/elections/trustee/key_ceremony.js +3 -0
- data/app/packs/src/decidim/elections/trustee/tally.js +3 -0
- data/app/packs/src/decidim/elections/voter/casting-vote.js +3 -0
- data/app/packs/src/decidim/elections/voter/setup-vote.js +9 -0
- data/app/packs/src/decidim/votings/in-person-vote.js +3 -0
- data/app/permissions/decidim/votings/admin/permissions.rb +4 -1
- data/app/views/decidim/elections/admin/questions/_form.html.erb +0 -4
- data/app/views/decidim/elections/admin/steps/_create_election.html.erb +14 -1
- data/app/views/decidim/elections/admin/steps/index.html.erb +2 -0
- data/app/views/decidim/elections/shared/_broken_promises_modal.html.erb +33 -0
- data/app/views/decidim/elections/trustee_zone/elections/show.html.erb +3 -0
- data/app/views/decidim/elections/votes/_server_error_modal.html.erb +28 -0
- data/app/views/decidim/elections/votes/_show_casting.html.erb +2 -0
- data/app/views/decidim/elections/votes/new.html.erb +3 -0
- data/app/views/decidim/votings/polling_officer_zone/in_person_votes/new.html.erb +2 -0
- data/app/views/decidim/votings/polling_officer_zone/in_person_votes/show.html.erb +2 -0
- data/app/views/decidim/votings/votings/_promoted_voting.html.erb +1 -1
- data/config/locales/ar.yml +0 -2
- data/config/locales/ca.yml +21 -2
- data/config/locales/cs.yml +25 -6
- data/config/locales/de.yml +33 -3
- data/config/locales/el.yml +0 -1
- data/config/locales/en.yml +21 -2
- data/config/locales/es-MX.yml +21 -2
- data/config/locales/es-PY.yml +21 -2
- data/config/locales/es.yml +21 -2
- data/config/locales/eu.yml +6 -2
- data/config/locales/fi-plain.yml +21 -2
- data/config/locales/fi.yml +21 -2
- data/config/locales/fr-CA.yml +22 -3
- data/config/locales/fr.yml +21 -2
- data/config/locales/ga-IE.yml +3 -0
- data/config/locales/gl.yml +2 -1
- data/config/locales/gn-PY.yml +1 -0
- data/config/locales/hu.yml +6 -1
- data/config/locales/it.yml +2 -2
- data/config/locales/ja.yml +21 -2
- data/config/locales/lo-LA.yml +1 -0
- data/config/locales/lt.yml +1423 -0
- data/config/locales/lv.yml +0 -1
- data/config/locales/nl.yml +2 -2
- data/config/locales/no.yml +3 -2
- data/config/locales/oc-FR.yml +1 -0
- data/config/locales/pl.yml +7 -2
- data/config/locales/pt-BR.yml +2 -2
- data/config/locales/pt.yml +2 -2
- data/config/locales/ro-RO.yml +2 -2
- data/config/locales/sv.yml +52 -1
- data/config/locales/tr-TR.yml +3 -1
- data/config/locales/zh-CN.yml +3 -1
- data/db/migrate/20220615102642_remove_description_from_elections_questions.rb +7 -0
- data/lib/decidim/api/election_question_type.rb +0 -1
- data/lib/decidim/elections/component.rb +0 -12
- data/lib/decidim/elections/test/factories.rb +0 -1
- data/lib/decidim/elections/version.rb +1 -1
- data/lib/decidim/votings/admin_engine.rb +3 -0
- metadata +20 -12
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-elections
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.26.
|
4
|
+
version: 0.26.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leonardo Diez
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-
|
12
|
+
date: 2022-11-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: decidim-bulletin_board
|
@@ -59,42 +59,42 @@ dependencies:
|
|
59
59
|
requirements:
|
60
60
|
- - '='
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: 0.26.
|
62
|
+
version: 0.26.4
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - '='
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.26.
|
69
|
+
version: 0.26.4
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: decidim-forms
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - '='
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: 0.26.
|
76
|
+
version: 0.26.4
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - '='
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: 0.26.
|
83
|
+
version: 0.26.4
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: decidim-proposals
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
88
|
- - '='
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version: 0.26.
|
90
|
+
version: 0.26.4
|
91
91
|
type: :runtime
|
92
92
|
prerelease: false
|
93
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
95
|
- - '='
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: 0.26.
|
97
|
+
version: 0.26.4
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
99
|
name: rack-attack
|
100
100
|
requirement: !ruby/object:Gem::Requirement
|
@@ -115,28 +115,28 @@ dependencies:
|
|
115
115
|
requirements:
|
116
116
|
- - '='
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version: 0.26.
|
118
|
+
version: 0.26.4
|
119
119
|
type: :development
|
120
120
|
prerelease: false
|
121
121
|
version_requirements: !ruby/object:Gem::Requirement
|
122
122
|
requirements:
|
123
123
|
- - '='
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version: 0.26.
|
125
|
+
version: 0.26.4
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
127
|
name: decidim-dev
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
129
129
|
requirements:
|
130
130
|
- - '='
|
131
131
|
- !ruby/object:Gem::Version
|
132
|
-
version: 0.26.
|
132
|
+
version: 0.26.4
|
133
133
|
type: :development
|
134
134
|
prerelease: false
|
135
135
|
version_requirements: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
137
|
- - '='
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version: 0.26.
|
139
|
+
version: 0.26.4
|
140
140
|
description: The Elections module adds elections to any participatory space.
|
141
141
|
email:
|
142
142
|
- leo@codegram.com
|
@@ -288,6 +288,7 @@ files:
|
|
288
288
|
- app/controllers/decidim/votings/admin/ballot_styles_controller.rb
|
289
289
|
- app/controllers/decidim/votings/admin/component_permissions_controller.rb
|
290
290
|
- app/controllers/decidim/votings/admin/components_controller.rb
|
291
|
+
- app/controllers/decidim/votings/admin/imports_controller.rb
|
291
292
|
- app/controllers/decidim/votings/admin/monitoring_committee_election_results_controller.rb
|
292
293
|
- app/controllers/decidim/votings/admin/monitoring_committee_members_controller.rb
|
293
294
|
- app/controllers/decidim/votings/admin/monitoring_committee_polling_station_closures_controller.rb
|
@@ -418,6 +419,7 @@ files:
|
|
418
419
|
- app/packs/src/decidim/elections/admin/pending_action.js
|
419
420
|
- app/packs/src/decidim/elections/admin/trustees_process.js
|
420
421
|
- app/packs/src/decidim/elections/admin/vote_statistics.js
|
422
|
+
- app/packs/src/decidim/elections/broken_promises_handler.js
|
421
423
|
- app/packs/src/decidim/elections/election_log.js
|
422
424
|
- app/packs/src/decidim/elections/onboarding.js
|
423
425
|
- app/packs/src/decidim/elections/trustee/key_ceremony.js
|
@@ -539,6 +541,7 @@ files:
|
|
539
541
|
- app/views/decidim/elections/elections/index.html.erb
|
540
542
|
- app/views/decidim/elections/elections/index.js.erb
|
541
543
|
- app/views/decidim/elections/elections/show.html.erb
|
544
|
+
- app/views/decidim/elections/shared/_broken_promises_modal.html.erb
|
542
545
|
- app/views/decidim/elections/trustee_mailer/notification.html.erb
|
543
546
|
- app/views/decidim/elections/trustee_zone/elections/_backup_modal.html.erb
|
544
547
|
- app/views/decidim/elections/trustee_zone/elections/_key_ceremony_steps.html.erb
|
@@ -556,6 +559,7 @@ files:
|
|
556
559
|
- app/views/decidim/elections/votes/_new_question.html.erb
|
557
560
|
- app/views/decidim/elections/votes/_new_question_modal.html.erb
|
558
561
|
- app/views/decidim/elections/votes/_onboarding_modal.html.erb
|
562
|
+
- app/views/decidim/elections/votes/_server_error_modal.html.erb
|
559
563
|
- app/views/decidim/elections/votes/_show_casted.html.erb
|
560
564
|
- app/views/decidim/elections/votes/_show_casting.html.erb
|
561
565
|
- app/views/decidim/elections/votes/_show_failed.html.erb
|
@@ -667,6 +671,7 @@ files:
|
|
667
671
|
- config/locales/fr.yml
|
668
672
|
- config/locales/ga-IE.yml
|
669
673
|
- config/locales/gl.yml
|
674
|
+
- config/locales/gn-PY.yml
|
670
675
|
- config/locales/hr-HR.yml
|
671
676
|
- config/locales/hr.yml
|
672
677
|
- config/locales/hu.yml
|
@@ -679,6 +684,7 @@ files:
|
|
679
684
|
- config/locales/ko.yml
|
680
685
|
- config/locales/lb-LU.yml
|
681
686
|
- config/locales/lb.yml
|
687
|
+
- config/locales/lo-LA.yml
|
682
688
|
- config/locales/lt-LT.yml
|
683
689
|
- config/locales/lt.yml
|
684
690
|
- config/locales/lv.yml
|
@@ -686,6 +692,7 @@ files:
|
|
686
692
|
- config/locales/mt.yml
|
687
693
|
- config/locales/nl.yml
|
688
694
|
- config/locales/no.yml
|
695
|
+
- config/locales/oc-FR.yml
|
689
696
|
- config/locales/om-ET.yml
|
690
697
|
- config/locales/pl.yml
|
691
698
|
- config/locales/pt-BR.yml
|
@@ -751,6 +758,7 @@ files:
|
|
751
758
|
- db/migrate/20210422124826_add_verifiable_results_to_decidim_elections_election.rb
|
752
759
|
- db/migrate/20210426072845_add_signed_at_to_polling_station_closure.rb
|
753
760
|
- db/migrate/20210427131742_add_validated_at_to_votings_polling_station_closures.rb
|
761
|
+
- db/migrate/20220615102642_remove_description_from_elections_questions.rb
|
754
762
|
- db/seeds/Exampledocument.pdf
|
755
763
|
- db/seeds/city.jpeg
|
756
764
|
- db/seeds/city2.jpeg
|