decidim-admin 0.26.4 → 0.26.5

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 (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 +15 -4
  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 +15 -4
  19. data/config/locales/eu.yml +30 -11
  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 +16 -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 +16 -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 +9 -8
@@ -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: При попытке добавить частного участника в это пространство соучастия произошла ошибка.
@@ -634,10 +637,10 @@ ru:
634
637
  models:
635
638
  moderation:
636
639
  fields:
640
+ created_at: Дата создания
637
641
  hidden_at: 'Скрыто:'
638
642
  report_count: Количество
639
643
  reported_content_url: Веб-адрес обжалованного содержимого
640
- reports: Жалобы
641
644
  visit_url: Посетите веб-адрес
642
645
  errors:
643
646
  messages:
@@ -756,10 +756,10 @@ sk:
756
756
  models:
757
757
  moderation:
758
758
  fields:
759
+ created_at: Dátum vytvorenia
759
760
  hidden_at: Skryté
760
761
  report_count: Počet
761
762
  reported_content_url: Nahlásiť URL obsahu
762
- reports: Nahlásenia
763
763
  visit_url: Navštíviť URL
764
764
  errors:
765
765
  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
@@ -571,3 +574,8 @@ sr:
571
574
  last_month: Poslednji mesec
572
575
  last_week: Poslednje nedelje
573
576
  no_users_count_statistics_yet: Još nema statistike o broju korisnika
577
+ moderations:
578
+ models:
579
+ moderation:
580
+ fields:
581
+ created_at: Datum kreiranja
@@ -14,17 +14,24 @@ sv:
14
14
  description: Beskrivning
15
15
  file: Fil
16
16
  title: Bilaga eller bildnamn
17
+ weight: Ordning
17
18
  attachment_collection:
18
19
  description: Beskrivning
19
20
  name: Namn
21
+ weight: Ordning
20
22
  category:
21
23
  description: Beskrivning
22
24
  name: Namn
23
25
  parent_id: Överordnad
26
+ weight: Ordning
24
27
  component:
25
28
  name: Namn
26
29
  published_at: Publicerad
27
- weight: Vikt
30
+ weight: Ordning
31
+ external_domain:
32
+ value: Värde
33
+ help_section:
34
+ content: Innehåll
28
35
  id: ID
29
36
  import:
30
37
  user_group_id: Skapa import som
@@ -92,6 +99,9 @@ sv:
92
99
  welcome_notification_body: Välkomstmeddelandets brödtext
93
100
  welcome_notification_subject: Välkomstmeddelandets ämnesrad
94
101
  youtube_handler: YouTube-hanterare
102
+ participatory_space_private_user:
103
+ email: E-post
104
+ name: Namn
95
105
  scope:
96
106
  code: Kod
97
107
  name: Namn
@@ -113,12 +123,13 @@ sv:
113
123
  show_in_footer: Visa i sidfoten
114
124
  slug: URL slug
115
125
  title: Titel
116
- weight: Vikt
126
+ topic_id: Ämne
127
+ weight: Ordning
117
128
  static_page_topic:
118
129
  description: Beskrivning
119
130
  show_in_footer: Visa i sidfoten
120
131
  title: Titel
121
- weight: Vikt
132
+ weight: Ordning
122
133
  user_group_csv_verification:
123
134
  file: Fil
124
135
  errors:
@@ -184,6 +195,7 @@ sv:
184
195
  error: Ett fel inträffade när användarvillkoren för administratörer skulle godkännas.
185
196
  success: Du har godkänt användarvillkoren för administratörer.
186
197
  actions:
198
+ accept: Jag godkänner villkoren
187
199
  are_you_sure: Är du säker på att du vill avvisa administratörsvillkoren?
188
200
  refuse: Avvisa villkoren för administratörer
189
201
  title: Godkänn användarvillkoren
@@ -1038,6 +1050,7 @@ sv:
1038
1050
  moderation:
1039
1051
  fields:
1040
1052
  created_at: Skapandedatum
1053
+ deleted_resource: Borttagen resurs
1041
1054
  hidden_at: Dold
1042
1055
  participatory_space: Deltagarutrymme
1043
1056
  report_count: Antal
@@ -77,6 +77,8 @@ tr:
77
77
  welcome_notification_body: Karşılama bildirimi gövdesi
78
78
  welcome_notification_subject: Karşılama bildirimi konusu
79
79
  youtube_handler: YouTube işleyici
80
+ participatory_space_private_user:
81
+ name: Adı
80
82
  scope:
81
83
  code: kod
82
84
  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: При спробі додати приватного учасника до цього простору співучасті сталася помилка.
@@ -579,10 +582,10 @@ uk:
579
582
  models:
580
583
  moderation:
581
584
  fields:
585
+ created_at: Дата створення
582
586
  hidden_at: 'Приховано:'
583
587
  report_count: Кількість
584
588
  reported_content_url: Веб-адреса оскарженого вмісту
585
- reports: Скарги
586
589
  visit_url: Відвідайте веб-адресу
587
590
  errors:
588
591
  messages:
@@ -799,10 +799,10 @@ zh-CN:
799
799
  models:
800
800
  moderation:
801
801
  fields:
802
+ created_at: 创建日期
802
803
  hidden_at: 隐藏于
803
804
  report_count: 计数
804
805
  reported_content_url: 报告的内容 URL
805
- reports: 报告
806
806
  visit_url: 访问 URL
807
807
  errors:
808
808
  messages:
@@ -146,11 +146,17 @@ shared_examples "manage moderations" do
146
146
  end
147
147
 
148
148
  context "when listing hidden resources" do
149
- it "user can review them" do
149
+ before do
150
150
  within ".card-title" do
151
151
  click_link "Hidden"
152
152
  end
153
+ end
153
154
 
155
+ it "user can't unreport them" do
156
+ expect(page).not_to have_css(".action-icon--unreport")
157
+ end
158
+
159
+ it "user can review them" do
154
160
  hidden_moderations.each do |moderation|
155
161
  within "tr[data-id=\"#{moderation.id}\"]" do
156
162
  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.26.4"
7
+ "0.26.5"
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.26.4
4
+ version: 0.26.5
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.26.4
35
+ version: 0.26.5
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.26.4
42
+ version: 0.26.5
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.26.4
91
+ version: 0.26.5
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.26.4
98
+ version: 0.26.5
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.26.4
105
+ version: 0.26.5
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.26.4
112
+ version: 0.26.5
113
113
  description: Organization administration to manage a single organization.
114
114
  email:
115
115
  - josepjaume@gmail.com
@@ -614,6 +614,7 @@ files:
614
614
  - config/locales/is.yml
615
615
  - config/locales/it.yml
616
616
  - config/locales/ja.yml
617
+ - config/locales/ka-GE.yml
617
618
  - config/locales/ko-KR.yml
618
619
  - config/locales/ko.yml
619
620
  - config/locales/lb-LU.yml