decidim-admin 0.27.1 → 0.27.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


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

Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/app/commands/decidim/admin/unblock_user.rb +1 -1
  3. data/app/controllers/decidim/admin/block_user_controller.rb +3 -3
  4. data/app/controllers/decidim/admin/newsletter_templates_controller.rb +1 -1
  5. data/app/controllers/decidim/admin/newsletters_controller.rb +1 -1
  6. data/app/forms/decidim/admin/block_user_form.rb +2 -2
  7. data/app/helpers/decidim/admin/bulk_actions_helper.rb +1 -6
  8. data/app/models/decidim/admin/fake_newsletter.rb +20 -0
  9. data/app/permissions/decidim/admin/permissions.rb +18 -1
  10. data/app/views/decidim/admin/moderated_users/index.html.erb +1 -1
  11. data/config/locales/ar.yml +16 -11
  12. data/config/locales/ca.yml +16 -5
  13. data/config/locales/cs.yml +14 -2
  14. data/config/locales/de.yml +14 -3
  15. data/config/locales/en.yml +11 -0
  16. data/config/locales/es-MX.yml +13 -2
  17. data/config/locales/es-PY.yml +13 -2
  18. data/config/locales/es.yml +16 -5
  19. data/config/locales/eu.yml +32 -9
  20. data/config/locales/fi-plain.yml +13 -2
  21. data/config/locales/fi.yml +15 -4
  22. data/config/locales/fr-CA.yml +12 -1
  23. data/config/locales/fr.yml +12 -1
  24. data/config/locales/id-ID.yml +1 -1
  25. data/config/locales/is-IS.yml +4 -1
  26. data/config/locales/it.yml +1 -1
  27. data/config/locales/ja.yml +13 -1
  28. data/config/locales/ka-GE.yml +1 -0
  29. data/config/locales/lv.yml +1 -1
  30. data/config/locales/nl.yml +1 -1
  31. data/config/locales/pt-BR.yml +1 -1
  32. data/config/locales/ro-RO.yml +20 -4
  33. data/config/locales/ru.yml +4 -1
  34. data/config/locales/sk.yml +1 -1
  35. data/config/locales/sr-CS.yml +8 -0
  36. data/config/locales/sv.yml +24 -3
  37. data/config/locales/tr-TR.yml +2 -0
  38. data/config/locales/uk.yml +4 -1
  39. data/config/locales/zh-CN.yml +1 -1
  40. data/lib/decidim/admin/test/manage_moderations_examples.rb +7 -1
  41. data/lib/decidim/admin/version.rb +1 -1
  42. metadata +10 -9
@@ -15,17 +15,24 @@ ro:
15
15
  description: Descriere
16
16
  file: Fişier
17
17
  title: Numele fișierului sau al imaginii atașate
18
+ weight: Poziție
18
19
  attachment_collection:
19
20
  description: Descriere
20
21
  name: Nume
22
+ weight: Poziție
21
23
  category:
22
24
  description: Descriere
23
25
  name: Nume
24
26
  parent_id: Categoria mamă
27
+ weight: Poziție
25
28
  component:
26
29
  name: Nume
27
30
  published_at: Publicat în
28
- weight: Ordinea în poziționare
31
+ weight: Poziție
32
+ external_domain:
33
+ value: Valoare
34
+ help_section:
35
+ content: Conținut
29
36
  id: ID
30
37
  import:
31
38
  user_group_id: Creează importuri ca
@@ -93,6 +100,9 @@ ro:
93
100
  welcome_notification_body: Conținutul notificării de bun venit
94
101
  welcome_notification_subject: Subiectul notificării de bun venit
95
102
  youtube_handler: Responsabil YouTube
103
+ participatory_space_private_user:
104
+ email: E-mail
105
+ name: Nume
96
106
  scope:
97
107
  code: Cod
98
108
  name: Nume
@@ -114,12 +124,13 @@ ro:
114
124
  show_in_footer: Afișează în subsol
115
125
  slug: URL slug
116
126
  title: Titlu
117
- weight: Ordinea în poziționare
127
+ topic_id: Subiect
128
+ weight: Poziție
118
129
  static_page_topic:
119
130
  description: Descriere
120
131
  show_in_footer: Afișează în subsol
121
132
  title: Titlu
122
- weight: Ordinea în poziționare
133
+ weight: Poziție
123
134
  user_group_csv_verification:
124
135
  file: Fişier
125
136
  errors:
@@ -862,6 +873,10 @@ ro:
862
873
  reminders:
863
874
  create:
864
875
  error: A apărut o eroare la crearea de memento-uri.
876
+ success:
877
+ one: "I se va reaminti utilizatorului."
878
+ few: "Se va reaminti celor %{count} utilizatori."
879
+ other: "Se va reaminti celor %{count} utilizatori."
865
880
  new:
866
881
  submit: Trimite
867
882
  resource_permissions:
@@ -1070,6 +1085,7 @@ ro:
1070
1085
  hidden_at: Ascuns la
1071
1086
  participatory_space: Spațiu participativ
1072
1087
  report_count: Număr
1088
+ reportable_id: ID
1073
1089
  reportable_type: Tip
1074
1090
  reported_content_url: URL-ul conținutului raportat
1075
1091
  reports: Rapoarte
@@ -1086,7 +1102,7 @@ ro:
1086
1102
  decidim:
1087
1103
  admin:
1088
1104
  global_moderations:
1089
- title: Moderare globală
1105
+ title: Moderări globale
1090
1106
  newsletters:
1091
1107
  title: Buletine informative
1092
1108
  settings:
@@ -501,6 +501,9 @@ ru:
501
501
  edit:
502
502
  active_content_blocks: Блоки действующего содержимого
503
503
  inactive_content_blocks: Блоки недействующего содержимого
504
+ organization_homepage_content_blocks:
505
+ edit:
506
+ update: Обновить
504
507
  participatory_space_private_users:
505
508
  create:
506
509
  error: При попытке добавить частного участника в это пространство соучастия произошла ошибка.
@@ -632,10 +635,10 @@ ru:
632
635
  models:
633
636
  moderation:
634
637
  fields:
638
+ created_at: Дата создания
635
639
  hidden_at: 'Скрыто:'
636
640
  report_count: Количество
637
641
  reported_content_url: Веб-адрес обжалованного содержимого
638
- reports: Жалобы
639
642
  visit_url: Посетите веб-адрес
640
643
  errors:
641
644
  messages:
@@ -754,10 +754,10 @@ sk:
754
754
  models:
755
755
  moderation:
756
756
  fields:
757
+ created_at: Dátum vytvorenia
757
758
  hidden_at: Skryté
758
759
  report_count: Počet
759
760
  reported_content_url: Nahlásiť URL obsahu
760
- reports: Nahlásenia
761
761
  visit_url: Navštíviť URL
762
762
  errors:
763
763
  messages:
@@ -556,6 +556,9 @@ sr:
556
556
  images:
557
557
  preview: Pregled
558
558
  omnipresent_banner_appearance_title: Izmeni sveprisutni baner
559
+ organization_homepage_content_blocks:
560
+ edit:
561
+ update: Ažuriraj
559
562
  shared:
560
563
  gallery:
561
564
  add_images: Dodaj slike
@@ -570,3 +573,8 @@ sr:
570
573
  last_month: Poslednji mesec
571
574
  last_week: Poslednje nedelje
572
575
  no_users_count_statistics_yet: Još nema statistike o broju korisnika
576
+ moderations:
577
+ models:
578
+ moderation:
579
+ fields:
580
+ created_at: Datum kreiranja
@@ -15,17 +15,24 @@ sv:
15
15
  description: Beskrivning
16
16
  file: Fil
17
17
  title: Bilaga eller bildnamn
18
+ weight: Ordning
18
19
  attachment_collection:
19
20
  description: Beskrivning
20
21
  name: Namn
22
+ weight: Ordning
21
23
  category:
22
24
  description: Beskrivning
23
25
  name: Namn
24
26
  parent_id: Överordnad
27
+ weight: Ordning
25
28
  component:
26
29
  name: Namn
27
30
  published_at: Publicerad
28
- weight: Vikt
31
+ weight: Ordning
32
+ external_domain:
33
+ value: Värde
34
+ help_section:
35
+ content: Innehåll
29
36
  id: ID
30
37
  import:
31
38
  user_group_id: Skapa import som
@@ -93,6 +100,9 @@ sv:
93
100
  welcome_notification_body: Välkomstmeddelandets brödtext
94
101
  welcome_notification_subject: Välkomstmeddelandets ämnesrad
95
102
  youtube_handler: YouTube-hanterare
103
+ participatory_space_private_user:
104
+ email: E-post
105
+ name: Namn
96
106
  scope:
97
107
  code: Kod
98
108
  name: Namn
@@ -114,12 +124,13 @@ sv:
114
124
  show_in_footer: Visa i sidfoten
115
125
  slug: URL slug
116
126
  title: Titel
117
- weight: Vikt
127
+ topic_id: Ämne
128
+ weight: Ordning
118
129
  static_page_topic:
119
130
  description: Beskrivning
120
131
  show_in_footer: Visa i sidfoten
121
132
  title: Titel
122
- weight: Vikt
133
+ weight: Ordning
123
134
  user_group_csv_verification:
124
135
  file: Fil
125
136
  errors:
@@ -134,6 +145,14 @@ sv:
134
145
  allowed_file_content_types: Ogiltig bildfil
135
146
  official_img_header:
136
147
  allowed_file_content_types: Ogiltig bildfil
148
+ participatory_space_private_user_csv_import:
149
+ attributes:
150
+ file:
151
+ malformed: Fel format, läs igenom instruktionerna noga och se till att filen är UTF-8 kodad.
152
+ user_group_csv_verification:
153
+ attributes:
154
+ file:
155
+ malformed: Fel format, läs igenom instruktionerna noga och se till att filen är UTF-8 kodad.
137
156
  new_import:
138
157
  attributes:
139
158
  file:
@@ -185,6 +204,7 @@ sv:
185
204
  error: Ett fel inträffade när användarvillkoren för administratörer skulle godkännas.
186
205
  success: Du har godkänt användarvillkoren för administratörer.
187
206
  actions:
207
+ accept: Jag godkänner villkoren
188
208
  are_you_sure: Är du säker på att du vill avvisa administratörsvillkoren?
189
209
  refuse: Avvisa villkoren för administratörer
190
210
  title: Godkänn användarvillkoren
@@ -1056,6 +1076,7 @@ sv:
1056
1076
  moderation:
1057
1077
  fields:
1058
1078
  created_at: Skapandedatum
1079
+ deleted_resource: Borttagen resurs
1059
1080
  hidden_at: Dold
1060
1081
  participatory_space: Deltagarutrymme
1061
1082
  report_count: Antal
@@ -78,6 +78,8 @@ tr:
78
78
  welcome_notification_body: Karşılama bildirimi gövdesi
79
79
  welcome_notification_subject: Karşılama bildirimi konusu
80
80
  youtube_handler: YouTube işleyici
81
+ participatory_space_private_user:
82
+ name: Adı
81
83
  scope:
82
84
  code: kod
83
85
  name: isim
@@ -457,6 +457,9 @@ uk:
457
457
  edit:
458
458
  active_content_blocks: Блоки діючого вмісту
459
459
  inactive_content_blocks: Блоки недіючого вмісту
460
+ organization_homepage_content_blocks:
461
+ edit:
462
+ update: Оновити
460
463
  participatory_space_private_users:
461
464
  create:
462
465
  error: При спробі додати приватного учасника до цього простору співучасті сталася помилка.
@@ -578,10 +581,10 @@ uk:
578
581
  models:
579
582
  moderation:
580
583
  fields:
584
+ created_at: Дата створення
581
585
  hidden_at: 'Приховано:'
582
586
  report_count: Кількість
583
587
  reported_content_url: Веб-адреса оскарженого вмісту
584
- reports: Скарги
585
588
  visit_url: Відвідайте веб-адресу
586
589
  errors:
587
590
  messages:
@@ -797,10 +797,10 @@ zh-CN:
797
797
  models:
798
798
  moderation:
799
799
  fields:
800
+ created_at: 创建日期
800
801
  hidden_at: 隐藏于
801
802
  report_count: 计数
802
803
  reported_content_url: 报告的内容 URL
803
- reports: 报告
804
804
  visit_url: 访问 URL
805
805
  errors:
806
806
  messages:
@@ -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.2"
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.2
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-02-13 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.2
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.2
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.2
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.2
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.2
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.2
113
113
  description: Organization administration to manage a single organization.
114
114
  email:
115
115
  - josepjaume@gmail.com
@@ -620,6 +620,7 @@ files:
620
620
  - config/locales/is.yml
621
621
  - config/locales/it.yml
622
622
  - config/locales/ja.yml
623
+ - config/locales/ka-GE.yml
623
624
  - config/locales/ko-KR.yml
624
625
  - config/locales/ko.yml
625
626
  - config/locales/lb-LU.yml
@@ -713,7 +714,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
713
714
  - !ruby/object:Gem::Version
714
715
  version: '0'
715
716
  requirements: []
716
- rubygems_version: 3.2.22
717
+ rubygems_version: 3.3.7
717
718
  signing_key:
718
719
  specification_version: 4
719
720
  summary: Decidim organization administration