decidim-admin 0.27.1 → 0.27.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of decidim-admin might be problematic. Click here for more details.

Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/app/commands/decidim/admin/publish_component.rb +1 -1
  3. data/app/commands/decidim/admin/unblock_user.rb +1 -1
  4. data/app/controllers/decidim/admin/block_user_controller.rb +3 -3
  5. data/app/controllers/decidim/admin/newsletter_templates_controller.rb +1 -1
  6. data/app/controllers/decidim/admin/newsletters_controller.rb +1 -1
  7. data/app/forms/decidim/admin/block_user_form.rb +2 -2
  8. data/app/helpers/decidim/admin/bulk_actions_helper.rb +1 -6
  9. data/app/models/decidim/admin/fake_newsletter.rb +20 -0
  10. data/app/packs/src/decidim/admin/draggable-list.js +1 -1
  11. data/app/permissions/decidim/admin/permissions.rb +32 -2
  12. data/app/views/decidim/admin/attachments/_form.html.erb +1 -1
  13. data/app/views/decidim/admin/imports/new.html.erb +1 -1
  14. data/app/views/decidim/admin/moderated_users/index.html.erb +1 -1
  15. data/app/views/decidim/admin/officializations/index.html.erb +14 -10
  16. data/app/views/decidim/admin/participatory_space_private_users_csv_imports/new.html.erb +1 -1
  17. data/app/views/decidim/admin/static_pages/_form.html.erb +1 -1
  18. data/app/views/decidim/admin/user_groups_csv_verifications/new.html.erb +1 -1
  19. data/config/locales/ar.yml +26 -16
  20. data/config/locales/ca.yml +22 -11
  21. data/config/locales/cs.yml +16 -4
  22. data/config/locales/de.yml +25 -8
  23. data/config/locales/el.yml +0 -5
  24. data/config/locales/en.yml +13 -2
  25. data/config/locales/es-MX.yml +17 -6
  26. data/config/locales/es-PY.yml +17 -6
  27. data/config/locales/es.yml +21 -10
  28. data/config/locales/eu.yml +34 -17
  29. data/config/locales/fa-IR.yml +1 -0
  30. data/config/locales/fi-plain.yml +15 -4
  31. data/config/locales/fi.yml +19 -8
  32. data/config/locales/fr-CA.yml +15 -4
  33. data/config/locales/fr.yml +15 -4
  34. data/config/locales/gl.yml +0 -5
  35. data/config/locales/hu.yml +44 -22
  36. data/config/locales/id-ID.yml +1 -3
  37. data/config/locales/is-IS.yml +4 -3
  38. data/config/locales/it.yml +1 -6
  39. data/config/locales/ja.yml +21 -9
  40. data/config/locales/ka-GE.yml +1 -0
  41. data/config/locales/kaa.yml +1 -0
  42. data/config/locales/lb.yml +0 -5
  43. data/config/locales/lt.yml +0 -5
  44. data/config/locales/lv.yml +1 -5
  45. data/config/locales/nl.yml +1 -6
  46. data/config/locales/no.yml +0 -5
  47. data/config/locales/pl.yml +0 -5
  48. data/config/locales/pt-BR.yml +1 -6
  49. data/config/locales/pt.yml +0 -5
  50. data/config/locales/ro-RO.yml +31 -15
  51. data/config/locales/ru.yml +4 -3
  52. data/config/locales/sk.yml +1 -5
  53. data/config/locales/sr-CS.yml +8 -4
  54. data/config/locales/sv.yml +23 -8
  55. data/config/locales/tr-TR.yml +2 -5
  56. data/config/locales/uk.yml +4 -3
  57. data/config/locales/zh-CN.yml +1 -5
  58. data/config/locales/zh-TW.yml +1100 -0
  59. data/lib/decidim/admin/test/manage_moderations_examples.rb +7 -1
  60. data/lib/decidim/admin/version.rb +1 -1
  61. metadata +11 -8
@@ -172,11 +172,17 @@ shared_examples "manage moderations" do
172
172
  end
173
173
 
174
174
  context "when listing hidden resources" do
175
- it "user can review them" do
175
+ before do
176
176
  within ".card-title" do
177
177
  click_link "Hidden"
178
178
  end
179
+ end
179
180
 
181
+ it "user can't unreport them" do
182
+ expect(page).not_to have_css(".action-icon--unreport")
183
+ end
184
+
185
+ it "user can review them" do
180
186
  hidden_moderations.each do |moderation|
181
187
  within "tr[data-id=\"#{moderation.id}\"]" do
182
188
  expect(page).to have_css("a[href='#{moderation.reportable.reported_content_url}']")
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-admin version.
5
5
  module Admin
6
6
  def self.version
7
- "0.27.1"
7
+ "0.27.3"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.1
4
+ version: 0.27.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-11-15 00:00:00.000000000 Z
13
+ date: 2023-05-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: active_link_to
@@ -32,14 +32,14 @@ dependencies:
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.27.1
35
+ version: 0.27.3
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 0.27.1
42
+ version: 0.27.3
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: devise
45
45
  requirement: !ruby/object:Gem::Requirement
@@ -88,28 +88,28 @@ dependencies:
88
88
  requirements:
89
89
  - - '='
90
90
  - !ruby/object:Gem::Version
91
- version: 0.27.1
91
+ version: 0.27.3
92
92
  type: :development
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
96
  - - '='
97
97
  - !ruby/object:Gem::Version
98
- version: 0.27.1
98
+ version: 0.27.3
99
99
  - !ruby/object:Gem::Dependency
100
100
  name: decidim-participatory_processes
101
101
  requirement: !ruby/object:Gem::Requirement
102
102
  requirements:
103
103
  - - '='
104
104
  - !ruby/object:Gem::Version
105
- version: 0.27.1
105
+ version: 0.27.3
106
106
  type: :development
107
107
  prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
109
109
  requirements:
110
110
  - - '='
111
111
  - !ruby/object:Gem::Version
112
- version: 0.27.1
112
+ version: 0.27.3
113
113
  description: Organization administration to manage a single organization.
114
114
  email:
115
115
  - josepjaume@gmail.com
@@ -603,6 +603,7 @@ files:
603
603
  - config/locales/et-EE.yml
604
604
  - config/locales/et.yml
605
605
  - config/locales/eu.yml
606
+ - config/locales/fa-IR.yml
606
607
  - config/locales/fi-pl.yml
607
608
  - config/locales/fi-plain.yml
608
609
  - config/locales/fi.yml
@@ -620,6 +621,8 @@ files:
620
621
  - config/locales/is.yml
621
622
  - config/locales/it.yml
622
623
  - config/locales/ja.yml
624
+ - config/locales/ka-GE.yml
625
+ - config/locales/kaa.yml
623
626
  - config/locales/ko-KR.yml
624
627
  - config/locales/ko.yml
625
628
  - config/locales/lb-LU.yml