decidim-admin 0.29.1 → 0.29.3
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.
- checksums.yaml +4 -4
- data/app/commands/decidim/admin/block_user.rb +1 -0
- data/app/commands/decidim/admin/unhide_resource.rb +1 -0
- data/app/controllers/decidim/admin/block_user_controller.rb +1 -1
- data/app/controllers/decidim/admin/conflicts_controller.rb +1 -1
- data/app/controllers/decidim/admin/impersonations_controller.rb +1 -0
- data/app/controllers/decidim/admin/moderations_controller.rb +8 -3
- data/app/controllers/decidim/admin/newsletters_controller.rb +2 -1
- data/app/controllers/decidim/admin/organization_controller.rb +1 -1
- data/app/forms/decidim/admin/help_section_form.rb +1 -1
- data/app/forms/decidim/admin/impersonate_user_form.rb +5 -0
- data/app/forms/decidim/admin/organization_appearance_form.rb +2 -2
- data/app/forms/decidim/admin/organization_form.rb +2 -2
- data/app/forms/decidim/admin/static_page_form.rb +1 -1
- data/app/forms/decidim/admin/transfer_user_form.rb +15 -0
- data/app/packs/src/decidim/admin/newsletters.js +18 -9
- data/app/packs/stylesheets/decidim/admin/_moderations.scss +8 -0
- data/app/permissions/decidim/admin/permissions.rb +8 -0
- data/app/queries/decidim/admin/newsletter_recipients.rb +9 -5
- data/app/views/decidim/admin/conflicts/edit.html.erb +21 -11
- data/app/views/decidim/admin/moderated_users/index.html.erb +2 -2
- data/app/views/decidim/admin/moderations/index.html.erb +5 -1
- data/app/views/decidim/admin/newsletter_templates/index.html.erb +0 -1
- data/app/views/decidim/admin/shared/landing_page_content_blocks/edit.html.erb +1 -1
- data/config/locales/ar.yml +62 -6
- data/config/locales/bg.yml +2 -2
- data/config/locales/bn-BD.yml +1 -0
- data/config/locales/bs-BA.yml +526 -0
- data/config/locales/ca-IT.yml +1161 -0
- data/config/locales/ca.yml +16 -6
- data/config/locales/cs.yml +11 -1
- data/config/locales/de.yml +19 -9
- data/config/locales/el.yml +4 -2
- data/config/locales/en.yml +10 -0
- data/config/locales/eo.yml +1 -0
- data/config/locales/es-MX.yml +15 -5
- data/config/locales/es-PY.yml +15 -5
- data/config/locales/es.yml +13 -3
- data/config/locales/eu.yml +170 -148
- data/config/locales/fi-plain.yml +15 -7
- data/config/locales/fi.yml +32 -24
- data/config/locales/fr-CA.yml +14 -4
- data/config/locales/fr.yml +13 -3
- data/config/locales/ga-IE.yml +1 -6
- data/config/locales/gl.yml +6 -3
- data/config/locales/he-IL.yml +6 -0
- data/config/locales/hu.yml +6 -6
- data/config/locales/id-ID.yml +9 -5
- data/config/locales/is-IS.yml +13 -6
- data/config/locales/it.yml +184 -6
- data/config/locales/ja.yml +17 -7
- data/config/locales/kaa.yml +5 -3
- data/config/locales/ko.yml +11 -3
- data/config/locales/lb.yml +10 -7
- data/config/locales/lt.yml +2 -0
- data/config/locales/lv.yml +6 -4
- data/config/locales/nl.yml +7 -4
- data/config/locales/no.yml +6 -3
- data/config/locales/pl.yml +4 -4
- data/config/locales/pt-BR.yml +2 -2
- data/config/locales/pt.yml +11 -4
- data/config/locales/ro-RO.yml +10 -5
- data/config/locales/ru.yml +8 -8
- data/config/locales/sk.yml +7 -7
- data/config/locales/sl.yml +7 -2
- data/config/locales/sq-AL.yml +13 -6
- data/config/locales/sr-CS.yml +6 -5
- data/config/locales/sv.yml +14 -6
- data/config/locales/th-TH.yml +14 -0
- data/config/locales/tr-TR.yml +7 -8
- data/config/locales/uk.yml +5 -7
- data/config/locales/zh-CN.yml +3 -10
- data/config/locales/zh-TW.yml +2 -0
- data/config/routes.rb +1 -1
- data/decidim-admin.gemspec +1 -1
- data/lib/decidim/admin/engine.rb +1 -0
- data/lib/decidim/admin/test/manage_hide_content_examples.rb +4 -3
- data/lib/decidim/admin/test/manage_moderations_examples.rb +1 -1
- data/lib/decidim/admin/version.rb +1 -1
- metadata +12 -9
data/config/locales/th-TH.yml
CHANGED
@@ -97,3 +97,17 @@ th:
|
|
97
97
|
success: ทำลายพื้นที่สำเร็จ
|
98
98
|
edit:
|
99
99
|
title: แก้ไขพื้นที่
|
100
|
+
categories:
|
101
|
+
edit:
|
102
|
+
update: อัปเดต
|
103
|
+
filters:
|
104
|
+
scope_id_eq:
|
105
|
+
label: ขอบเขต
|
106
|
+
models:
|
107
|
+
user_group:
|
108
|
+
fields:
|
109
|
+
name: ชื่อ
|
110
|
+
resources:
|
111
|
+
index:
|
112
|
+
headers:
|
113
|
+
scope: ขอบเขต
|
data/config/locales/tr-TR.yml
CHANGED
@@ -427,7 +427,7 @@ tr:
|
|
427
427
|
plural: Çoğul
|
428
428
|
share_token:
|
429
429
|
fields:
|
430
|
-
created_at:
|
430
|
+
created_at: Düzenlendi
|
431
431
|
expires_at: Süre sonu
|
432
432
|
last_used_at: Son kullanıldığı zaman
|
433
433
|
times_used: Kullanım Sayısı
|
@@ -452,7 +452,8 @@ tr:
|
|
452
452
|
actions: Eylemler
|
453
453
|
created_at: Düzenlendi
|
454
454
|
document_number: Belge Numarası
|
455
|
-
name:
|
455
|
+
name: Adı
|
456
|
+
nickname: Takma ad
|
456
457
|
phone: Telefon
|
457
458
|
state: Belirtmek, bildirmek
|
458
459
|
users_count: Kullanıcılar
|
@@ -532,7 +533,7 @@ tr:
|
|
532
533
|
confirm_deliver: Bu bülteni sunmak istediğinizden emin misiniz? Bu işlem geri alınamaz.
|
533
534
|
deliver: Bülten sunun
|
534
535
|
followers_help: Listede seçili herhangi bir katılımcı süreci takip eden bütün onaylanmış kullanıcılara haber bülteni gönderir.
|
535
|
-
none:
|
536
|
+
none: Yok
|
536
537
|
participants_help: Listede seçili herhangi bir katılımcı sürece katılmış olan bütün onaylanmış kullanıcılara haber bülteni gönderir.
|
537
538
|
recipients_count: Bu haber bülteni <strong id='recipients_count'>%{count}</strong> kullanıcıya gönderilecektir.
|
538
539
|
scopes_help: Hesaplarındaki 'İlgi Alanlarım' ayarlarında etkinleştirilmiş herhangi bir seçili kapsam bulunan kullanıcılara haber bülteni gönderir.
|
@@ -618,6 +619,8 @@ tr:
|
|
618
619
|
title: Yeni Katılımcı Uzay özel kullanıcısı.
|
619
620
|
participatory_space_private_users_csv_imports:
|
620
621
|
new:
|
622
|
+
csv_upload:
|
623
|
+
title: CSV dosyanızı yükleyin
|
621
624
|
upload: Yükle
|
622
625
|
resource_permissions:
|
623
626
|
edit:
|
@@ -735,16 +738,12 @@ tr:
|
|
735
738
|
invalid: Bu kullanıcı grubunu doğrularken bir hata oluştu.
|
736
739
|
user_groups:
|
737
740
|
index:
|
738
|
-
state:
|
739
|
-
pending: kadar
|
740
|
-
rejected: Reddedilen
|
741
|
-
verified: Doğrulanmış
|
742
741
|
verify_via_csv: CSV ile doğrulayın
|
743
742
|
user_groups_csv_verifications:
|
744
743
|
new:
|
745
744
|
explanation: CSV dosyanızı yükleyin. Dosyanın ilk sütunundaki kullanıcı gruplarının resmi e-postalarının, başlıksız olarak olması gerekir. Sadece e-postalarını onaylayan ve CSV dosyasında görünen bir e-postaya sahip olan kullanıcı grupları doğrulanacaktır.
|
746
745
|
title: CSV dosyanızı yükleyin
|
747
|
-
upload:
|
746
|
+
upload: Yükle
|
748
747
|
users:
|
749
748
|
create:
|
750
749
|
error: Bu kullanıcıyı davet ederken bir hata oluştu.
|
data/config/locales/uk.yml
CHANGED
@@ -326,6 +326,9 @@ uk:
|
|
326
326
|
fields:
|
327
327
|
name: Ім'я
|
328
328
|
plural: Множина
|
329
|
+
share_token:
|
330
|
+
fields:
|
331
|
+
created_at: 'Створено:'
|
329
332
|
static_page:
|
330
333
|
fields:
|
331
334
|
created_at: 'Створено:'
|
@@ -345,7 +348,8 @@ uk:
|
|
345
348
|
actions: Дії
|
346
349
|
created_at: 'Створено:'
|
347
350
|
document_number: Номер документа
|
348
|
-
name:
|
351
|
+
name: Назва
|
352
|
+
nickname: Псевдонім
|
349
353
|
phone: Телефон
|
350
354
|
state: Стан
|
351
355
|
users_count: Кількість учасників
|
@@ -499,12 +503,6 @@ uk:
|
|
499
503
|
invalid: При відхиленні цього гурту учасників сталася помилка.
|
500
504
|
verify:
|
501
505
|
invalid: При підтвердженні цього гурту учасників сталася помилка.
|
502
|
-
user_groups:
|
503
|
-
index:
|
504
|
-
state:
|
505
|
-
pending: Очікує на розгляд
|
506
|
-
rejected: Відхилено
|
507
|
-
verified: Перевірено
|
508
506
|
users:
|
509
507
|
create:
|
510
508
|
error: Під час запрошення цього учасника сталася помилка.
|
data/config/locales/zh-CN.yml
CHANGED
@@ -275,8 +275,6 @@ zh-CN:
|
|
275
275
|
values:
|
276
276
|
'false': 已发布
|
277
277
|
'true': 未发布
|
278
|
-
scope_id_eq:
|
279
|
-
label: 范围
|
280
278
|
search_label: 搜索
|
281
279
|
search_placeholder:
|
282
280
|
name_or_nickname_or_email_cont: 通过电子邮件、名称或昵称搜索 %{collection}。
|
@@ -423,6 +421,7 @@ zh-CN:
|
|
423
421
|
created_at: 创建于
|
424
422
|
document_number: 文档编号
|
425
423
|
name: 名称
|
424
|
+
nickname: 昵称
|
426
425
|
phone: 电话
|
427
426
|
state: 状态
|
428
427
|
users_count: 参与者数量
|
@@ -554,6 +553,8 @@ zh-CN:
|
|
554
553
|
title: 新的参与性空间活动私人参与者。
|
555
554
|
participatory_space_private_users_csv_imports:
|
556
555
|
new:
|
556
|
+
csv_upload:
|
557
|
+
title: 上传您的 CSV 文件
|
557
558
|
upload: 上传
|
558
559
|
resource_permissions:
|
559
560
|
edit:
|
@@ -561,10 +562,6 @@ zh-CN:
|
|
561
562
|
title: 编辑权限
|
562
563
|
update:
|
563
564
|
success: 权限更新成功。
|
564
|
-
resources:
|
565
|
-
index:
|
566
|
-
headers:
|
567
|
-
scope: 范围
|
568
565
|
scope_types:
|
569
566
|
create:
|
570
567
|
error: 创建新的范围类型时出现问题。
|
@@ -667,10 +664,6 @@ zh-CN:
|
|
667
664
|
invalid: 验证此组时出现问题。
|
668
665
|
user_groups:
|
669
666
|
index:
|
670
|
-
state:
|
671
|
-
pending: 待定
|
672
|
-
rejected: 已拒绝
|
673
|
-
verified: 已验证
|
674
667
|
verify_via_csv: 通过CSV验证
|
675
668
|
user_groups_csv_verifications:
|
676
669
|
new:
|
data/config/locales/zh-TW.yml
CHANGED
data/config/routes.rb
CHANGED
data/decidim-admin.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.version = Decidim::Admin.version
|
11
11
|
s.authors = ["Josep Jaume Rey Peroy", "Marc Riera Casals", "Oriol Gual Oliva"]
|
12
12
|
s.email = ["josepjaume@gmail.com", "mrc2407@gmail.com", "oriolgual@gmail.com"]
|
13
|
-
s.license = "AGPL-3.0"
|
13
|
+
s.license = "AGPL-3.0-or-later"
|
14
14
|
s.homepage = "https://decidim.org"
|
15
15
|
s.metadata = {
|
16
16
|
"bug_tracker_uri" => "https://github.com/decidim/decidim/issues",
|
data/lib/decidim/admin/engine.rb
CHANGED
@@ -26,6 +26,7 @@ module Decidim
|
|
26
26
|
end
|
27
27
|
|
28
28
|
initializer "decidim_admin.register_icons" do |_app|
|
29
|
+
Decidim.icons.register(name: "lock-2-line", icon: "lock-2-line", category: "system", description: "Block user icon", engine: :admin)
|
29
30
|
Decidim.icons.register(name: "layout-masonry-line", icon: "layout-masonry-line", category: "system", description: "", engine: :admin)
|
30
31
|
Decidim.icons.register(name: "service-line", icon: "service-line", category: "system", description: "", engine: :admin)
|
31
32
|
Decidim.icons.register(name: "fullscreen-line", icon: "fullscreen-line", category: "system", description: "", engine: :admin)
|
@@ -21,14 +21,14 @@ shared_examples "hideable resource during block" do
|
|
21
21
|
within ".profile__actions-secondary", match: :first do
|
22
22
|
click_on(I18n.t("decidim.shared.flag_modal.report"))
|
23
23
|
end
|
24
|
-
within ".flag-modal" do
|
24
|
+
within ".flag-user-modal" do
|
25
25
|
find(:css, "input[name='report[block]']").set(true)
|
26
26
|
end
|
27
27
|
content.reload
|
28
28
|
end
|
29
29
|
|
30
30
|
it "chooses to hide content" do
|
31
|
-
within ".flag-modal" do
|
31
|
+
within ".flag-user-modal" do
|
32
32
|
find(:css, "input[name='report[hide]']").set(true)
|
33
33
|
end
|
34
34
|
click_on I18n.t("decidim.shared.flag_user_modal.block")
|
@@ -43,7 +43,8 @@ shared_examples "hideable resource during block" do
|
|
43
43
|
end
|
44
44
|
|
45
45
|
it "chooses to hide content" do
|
46
|
-
within ".flag-modal" do
|
46
|
+
within ".flag-user-modal" do
|
47
|
+
expect(page).to have_content("Report inappropriate participant")
|
47
48
|
find(:css, "input[name='report[hide]']").set(true)
|
48
49
|
end
|
49
50
|
click_on I18n.t("decidim.shared.flag_user_modal.block")
|
@@ -194,7 +194,7 @@ shared_examples "manage moderations" do
|
|
194
194
|
it "user can review them" do
|
195
195
|
hidden_moderations.each do |moderation|
|
196
196
|
within "tr[data-id=\"#{moderation.id}\"]" do
|
197
|
-
expect(page).to have_css("a[href='#{moderation.reportable.reported_content_url}']")
|
197
|
+
expect(page).to have_css("a[href='#{moderation.reload.reportable.reported_content_url}']")
|
198
198
|
end
|
199
199
|
end
|
200
200
|
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.29.
|
4
|
+
version: 0.29.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:
|
13
|
+
date: 2025-04-29 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.29.
|
35
|
+
version: 0.29.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.29.
|
42
|
+
version: 0.29.3
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: devise
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,28 +94,28 @@ dependencies:
|
|
94
94
|
requirements:
|
95
95
|
- - '='
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: 0.29.
|
97
|
+
version: 0.29.3
|
98
98
|
type: :development
|
99
99
|
prerelease: false
|
100
100
|
version_requirements: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
102
|
- - '='
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: 0.29.
|
104
|
+
version: 0.29.3
|
105
105
|
- !ruby/object:Gem::Dependency
|
106
106
|
name: decidim-participatory_processes
|
107
107
|
requirement: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
109
|
- - '='
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version: 0.29.
|
111
|
+
version: 0.29.3
|
112
112
|
type: :development
|
113
113
|
prerelease: false
|
114
114
|
version_requirements: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
116
|
- - '='
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version: 0.29.
|
118
|
+
version: 0.29.3
|
119
119
|
description: Organization administration to manage a single organization.
|
120
120
|
email:
|
121
121
|
- josepjaume@gmail.com
|
@@ -562,6 +562,9 @@ files:
|
|
562
562
|
- config/locales/ar.yml
|
563
563
|
- config/locales/bg-BG.yml
|
564
564
|
- config/locales/bg.yml
|
565
|
+
- config/locales/bn-BD.yml
|
566
|
+
- config/locales/bs-BA.yml
|
567
|
+
- config/locales/ca-IT.yml
|
565
568
|
- config/locales/ca.yml
|
566
569
|
- config/locales/cs-CZ.yml
|
567
570
|
- config/locales/cs.yml
|
@@ -692,7 +695,7 @@ files:
|
|
692
695
|
- lib/decidim/admin/version.rb
|
693
696
|
homepage: https://decidim.org
|
694
697
|
licenses:
|
695
|
-
- AGPL-3.0
|
698
|
+
- AGPL-3.0-or-later
|
696
699
|
metadata:
|
697
700
|
bug_tracker_uri: https://github.com/decidim/decidim/issues
|
698
701
|
documentation_uri: https://docs.decidim.org/
|