decidim-elections 0.25.1 → 0.26.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/elections/election_m_cell.rb +1 -1
  3. data/app/cells/decidim/votings/content_blocks/highlighted_votings_cell.rb +12 -0
  4. data/app/cells/decidim/votings/content_blocks/landing_page/description_cell.rb +1 -1
  5. data/app/cells/decidim/votings/voting_m_cell.rb +1 -1
  6. data/app/commands/decidim/elections/admin/add_user_as_trustee.rb +1 -1
  7. data/app/commands/decidim/elections/admin/report_missing_trustee.rb +68 -0
  8. data/app/commands/decidim/elections/admin/setup_election.rb +1 -1
  9. data/app/commands/decidim/elections/admin/start_tally.rb +1 -1
  10. data/app/commands/decidim/votings/admin/create_ballot_style.rb +8 -5
  11. data/app/commands/decidim/votings/admin/destroy_ballot_style.rb +11 -3
  12. data/app/commands/decidim/votings/admin/update_ballot_style.rb +6 -1
  13. data/app/commands/decidim/votings/census/admin/create_dataset.rb +13 -5
  14. data/app/controllers/concerns/decidim/monitoring_committee_polling_station_closures/admin/filterable.rb +1 -1
  15. data/app/controllers/concerns/decidim/polling_stations/admin/filterable.rb +1 -1
  16. data/app/controllers/decidim/elections/admin/steps_controller.rb +26 -7
  17. data/app/controllers/decidim/votings/admin/ballot_styles_controller.rb +1 -1
  18. data/app/forms/decidim/elections/admin/action_form.rb +4 -0
  19. data/app/forms/decidim/elections/admin/report_missing_trustee_form.rb +22 -0
  20. data/app/forms/decidim/elections/admin/setup_form.rb +4 -0
  21. data/app/models/decidim/elections/action.rb +1 -1
  22. data/app/models/decidim/elections/trustee.rb +4 -0
  23. data/app/models/decidim/votings/ballot_style.rb +6 -0
  24. data/app/models/decidim/votings/census/dataset.rb +2 -0
  25. data/app/models/decidim/votings/monitoring_committee_member.rb +6 -0
  26. data/app/models/decidim/votings/polling_officer.rb +5 -0
  27. data/app/models/decidim/votings/polling_station.rb +6 -0
  28. data/app/packs/entrypoints/decidim_elections_admin_trustees_process.js +1 -0
  29. data/app/packs/src/decidim/elections/admin/pending_action.js +1 -1
  30. data/app/packs/src/decidim/elections/admin/trustees_process.js +125 -0
  31. data/app/packs/src/decidim/elections/election_log.js +89 -73
  32. data/app/packs/src/decidim/elections/trustee/key_ceremony.js +3 -3
  33. data/app/packs/src/decidim/elections/trustee/tally.js +3 -3
  34. data/app/packs/src/decidim/elections/trustee/trustee_zone.js +29 -18
  35. data/app/packs/src/decidim/elections/voter/casting-vote.js +1 -1
  36. data/app/packs/src/decidim/elections/voter/setup-vote.js +5 -5
  37. data/app/packs/src/decidim/elections/voter/verify-vote.js +1 -1
  38. data/app/packs/src/decidim/votings/in-person-vote.js +1 -1
  39. data/app/presenters/decidim/elections/admin_log/election_presenter.rb +34 -9
  40. data/app/presenters/decidim/elections/admin_log/trustee_presenter.rb +50 -0
  41. data/app/presenters/decidim/elections/trustee_presenter.rb +5 -1
  42. data/app/presenters/decidim/votings/admin_log/ballot_style_presenter.rb +35 -0
  43. data/app/presenters/decidim/votings/admin_log/monitoring_committee_member_presenter.rb +50 -0
  44. data/app/presenters/decidim/votings/admin_log/polling_officer_presenter.rb +50 -0
  45. data/app/presenters/decidim/votings/admin_log/polling_station_presenter.rb +29 -0
  46. data/app/presenters/decidim/votings/admin_log/voting_presenter.rb +1 -1
  47. data/app/presenters/decidim/votings/census/admin_log/dataset_presenter.rb +7 -6
  48. data/app/services/decidim/votings/voting_search.rb +2 -2
  49. data/app/views/decidim/elections/admin/steps/_create_election.html.erb +3 -3
  50. data/app/views/decidim/elections/admin/steps/_key_ceremony.html.erb +44 -9
  51. data/app/views/decidim/elections/admin/steps/_tally.html.erb +60 -10
  52. data/app/views/decidim/elections/admin/steps/index.html.erb +17 -15
  53. data/app/views/decidim/elections/elections/_filters_small_view.html.erb +3 -3
  54. data/app/views/decidim/elections/elections/election_log.html.erb +1 -1
  55. data/app/views/decidim/elections/elections/show.html.erb +1 -1
  56. data/app/views/decidim/elections/trustee_zone/elections/show.html.erb +1 -1
  57. data/app/views/decidim/elections/trustee_zone/trustees/show.html.erb +1 -1
  58. data/app/views/decidim/elections/votes/_onboarding_modal.html.erb +1 -1
  59. data/app/views/decidim/elections/votes/_show_casted.html.erb +1 -1
  60. data/app/views/decidim/elections/votes/_show_casting.html.erb +1 -1
  61. data/app/views/decidim/elections/votes/new.html.erb +3 -3
  62. data/app/views/decidim/elections/votes/verify.html.erb +1 -1
  63. data/app/views/decidim/votings/admin/votings/index.html.erb +1 -1
  64. data/app/views/decidim/votings/polling_officer_zone/closures/_modal_ballots_count_error.html.erb +3 -2
  65. data/app/views/decidim/votings/polling_officer_zone/closures/_modal_ballots_results_count_error.html.erb +3 -2
  66. data/app/views/decidim/votings/polling_officer_zone/closures/_sign_form.html.erb +4 -3
  67. data/app/views/decidim/votings/polling_officer_zone/closures/edit.html.erb +1 -1
  68. data/app/views/decidim/votings/polling_officer_zone/closures/new.html.erb +1 -1
  69. data/app/views/decidim/votings/polling_officer_zone/in_person_votes/new.html.erb +1 -1
  70. data/app/views/decidim/votings/polling_officer_zone/in_person_votes/show.html.erb +1 -1
  71. data/app/views/decidim/votings/votings/_filters_small_view.html.erb +3 -3
  72. data/app/views/decidim/votings/votings/_promoted_voting.html.erb +1 -1
  73. data/config/assets.rb +1 -0
  74. data/config/locales/ar.yml +12 -0
  75. data/config/locales/ca.yml +45 -11
  76. data/config/locales/cs.yml +41 -11
  77. data/config/locales/de.yml +0 -13
  78. data/config/locales/en.yml +41 -11
  79. data/config/locales/es-MX.yml +45 -11
  80. data/config/locales/es-PY.yml +45 -11
  81. data/config/locales/es.yml +45 -11
  82. data/config/locales/eu.yml +23 -11
  83. data/config/locales/fi-plain.yml +41 -11
  84. data/config/locales/fi.yml +41 -11
  85. data/config/locales/fr-CA.yml +408 -11
  86. data/config/locales/fr.yml +457 -60
  87. data/config/locales/ga-IE.yml +0 -4
  88. data/config/locales/gl.yml +19 -3
  89. data/config/locales/hu.yml +108 -0
  90. data/config/locales/it.yml +33 -11
  91. data/config/locales/ja.yml +381 -17
  92. data/config/locales/lb-LU.yml +24 -0
  93. data/config/locales/nl.yml +232 -7
  94. data/config/locales/no.yml +498 -1
  95. data/config/locales/pl.yml +6 -11
  96. data/config/locales/pt-BR.yml +1 -14
  97. data/config/locales/pt.yml +40 -9
  98. data/config/locales/ro-RO.yml +57 -12
  99. data/config/locales/sv.yml +104 -6
  100. data/config/locales/tr-TR.yml +4 -9
  101. data/config/locales/val-ES.yml +1 -0
  102. data/config/locales/zh-CN.yml +0 -5
  103. data/lib/decidim/elections/component.rb +2 -1
  104. data/lib/decidim/elections/test/factories.rb +2 -2
  105. data/lib/decidim/elections/version.rb +1 -1
  106. metadata +32 -22
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-meetings version.
5
5
  module Elections
6
6
  def self.version
7
- "0.25.1"
7
+ "0.26.0"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-elections
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.1
4
+ version: 0.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leonardo Diez
8
8
  - Agustí B.R.
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-11-02 00:00:00.000000000 Z
12
+ date: 2022-02-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: decidim-bulletin_board
@@ -17,84 +17,84 @@ dependencies:
17
17
  requirements:
18
18
  - - '='
19
19
  - !ruby/object:Gem::Version
20
- version: 0.21.2
20
+ version: 0.22.3
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - '='
26
26
  - !ruby/object:Gem::Version
27
- version: 0.21.2
27
+ version: 0.22.3
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: voting_schemes-dummy
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - '='
33
33
  - !ruby/object:Gem::Version
34
- version: 0.21.2
34
+ version: 0.22.3
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - '='
40
40
  - !ruby/object:Gem::Version
41
- version: 0.21.2
41
+ version: 0.22.3
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: voting_schemes-electionguard
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - '='
47
47
  - !ruby/object:Gem::Version
48
- version: 0.21.2
48
+ version: 0.22.3
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - '='
54
54
  - !ruby/object:Gem::Version
55
- version: 0.21.2
55
+ version: 0.22.3
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: decidim-core
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - '='
61
61
  - !ruby/object:Gem::Version
62
- version: 0.25.1
62
+ version: 0.26.0
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.25.1
69
+ version: 0.26.0
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.25.1
76
+ version: 0.26.0
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.25.1
83
+ version: 0.26.0
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.25.1
90
+ version: 0.26.0
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.25.1
97
+ version: 0.26.0
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.25.1
118
+ version: 0.26.0
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.25.1
125
+ version: 0.26.0
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.25.1
132
+ version: 0.26.0
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.25.1
139
+ version: 0.26.0
140
140
  description: The Elections module adds elections to any participatory space.
141
141
  email:
142
142
  - leo@codegram.com
@@ -211,6 +211,7 @@ files:
211
211
  - app/commands/decidim/elections/admin/publish_election.rb
212
212
  - app/commands/decidim/elections/admin/publish_results.rb
213
213
  - app/commands/decidim/elections/admin/remove_trustee_from_participatory_space.rb
214
+ - app/commands/decidim/elections/admin/report_missing_trustee.rb
214
215
  - app/commands/decidim/elections/admin/setup_election.rb
215
216
  - app/commands/decidim/elections/admin/start_key_ceremony.rb
216
217
  - app/commands/decidim/elections/admin/start_tally.rb
@@ -316,6 +317,7 @@ files:
316
317
  - app/forms/decidim/elections/admin/answer_import_proposals_form.rb
317
318
  - app/forms/decidim/elections/admin/election_form.rb
318
319
  - app/forms/decidim/elections/admin/question_form.rb
320
+ - app/forms/decidim/elections/admin/report_missing_trustee_form.rb
319
321
  - app/forms/decidim/elections/admin/setup_form.rb
320
322
  - app/forms/decidim/elections/admin/trustees_participatory_space_form.rb
321
323
  - app/forms/decidim/elections/admin/vote_period_form.rb
@@ -383,6 +385,7 @@ files:
383
385
  - app/models/decidim/votings/voting.rb
384
386
  - app/packs/entrypoints/decidim_elections.js
385
387
  - app/packs/entrypoints/decidim_elections_admin_pending_action.js
388
+ - app/packs/entrypoints/decidim_elections_admin_trustees_process.js
386
389
  - app/packs/entrypoints/decidim_elections_admin_vote_statistics.js
387
390
  - app/packs/entrypoints/decidim_elections_election_log.js
388
391
  - app/packs/entrypoints/decidim_elections_onboarding.js
@@ -412,6 +415,7 @@ files:
412
415
  - app/packs/images/decidim/elections/decidim_elections.svg
413
416
  - app/packs/images/decidim/votings/decidim_votings.svg
414
417
  - app/packs/src/decidim/elections/admin/pending_action.js
418
+ - app/packs/src/decidim/elections/admin/trustees_process.js
415
419
  - app/packs/src/decidim/elections/admin/vote_statistics.js
416
420
  - app/packs/src/decidim/elections/election_log.js
417
421
  - app/packs/src/decidim/elections/onboarding.js
@@ -454,8 +458,13 @@ files:
454
458
  - app/permissions/decidim/votings/permissions.rb
455
459
  - app/permissions/decidim/votings/polling_officer_zone/permissions.rb
456
460
  - app/presenters/decidim/elections/admin_log/election_presenter.rb
461
+ - app/presenters/decidim/elections/admin_log/trustee_presenter.rb
457
462
  - app/presenters/decidim/elections/election_presenter.rb
458
463
  - app/presenters/decidim/elections/trustee_presenter.rb
464
+ - app/presenters/decidim/votings/admin_log/ballot_style_presenter.rb
465
+ - app/presenters/decidim/votings/admin_log/monitoring_committee_member_presenter.rb
466
+ - app/presenters/decidim/votings/admin_log/polling_officer_presenter.rb
467
+ - app/presenters/decidim/votings/admin_log/polling_station_presenter.rb
459
468
  - app/presenters/decidim/votings/admin_log/voting_presenter.rb
460
469
  - app/presenters/decidim/votings/census/admin_log/dataset_presenter.rb
461
470
  - app/presenters/decidim/votings/polling_station_presenter.rb
@@ -691,6 +700,7 @@ files:
691
700
  - config/locales/ti-ER.yml
692
701
  - config/locales/tr-TR.yml
693
702
  - config/locales/uk.yml
703
+ - config/locales/val-ES.yml
694
704
  - config/locales/vi-VN.yml
695
705
  - config/locales/vi.yml
696
706
  - config/locales/zh-CN.yml
@@ -786,7 +796,7 @@ homepage: https://github.com/decidim/decidim-elections
786
796
  licenses:
787
797
  - AGPL-3.0
788
798
  metadata: {}
789
- post_install_message:
799
+ post_install_message:
790
800
  rdoc_options: []
791
801
  require_paths:
792
802
  - lib
@@ -801,8 +811,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
801
811
  - !ruby/object:Gem::Version
802
812
  version: '0'
803
813
  requirements: []
804
- rubygems_version: 3.1.2
805
- signing_key:
814
+ rubygems_version: 3.1.6
815
+ signing_key:
806
816
  specification_version: 4
807
817
  summary: A decidim elections module (votings space and elections component)
808
818
  test_files: []