decidim-participatory_processes 0.28.4 → 0.28.6
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/forms/decidim/participatory_processes/admin/participatory_process_form.rb +3 -3
- data/app/models/decidim/participatory_process.rb +1 -1
- data/app/permissions/decidim/participatory_processes/permissions.rb +7 -1
- data/app/presenters/decidim/participatory_processes/participatory_process_group_presenter.rb +1 -1
- data/app/presenters/decidim/participatory_processes/participatory_process_presenter.rb +1 -1
- data/config/locales/ar.yml +14 -1
- data/config/locales/bn-BD.yml +1 -0
- data/config/locales/bs-BA.yml +33 -0
- data/config/locales/ca-IT.yml +525 -0
- data/config/locales/ca.yml +4 -3
- data/config/locales/cs.yml +5 -4
- data/config/locales/de.yml +2 -1
- data/config/locales/el.yml +1 -1
- data/config/locales/en.yml +1 -0
- data/config/locales/es-MX.yml +4 -3
- data/config/locales/es-PY.yml +4 -3
- data/config/locales/es.yml +5 -4
- data/config/locales/eu.yml +108 -107
- data/config/locales/fi-plain.yml +2 -1
- data/config/locales/fi.yml +8 -7
- data/config/locales/fr-CA.yml +3 -2
- data/config/locales/fr.yml +3 -2
- data/config/locales/ga-IE.yml +10 -0
- data/config/locales/gl.yml +12 -1
- data/config/locales/hu.yml +1 -1
- data/config/locales/id-ID.yml +11 -1
- data/config/locales/is-IS.yml +14 -1
- data/config/locales/it.yml +27 -1
- data/config/locales/ja.yml +1 -0
- data/config/locales/lb.yml +12 -1
- data/config/locales/lv.yml +11 -1
- data/config/locales/nl.yml +11 -0
- data/config/locales/no.yml +2 -2
- data/config/locales/pt-BR.yml +9 -1
- data/config/locales/pt.yml +17 -0
- data/config/locales/ro-RO.yml +5 -0
- data/config/locales/ru.yml +14 -1
- data/config/locales/sk.yml +12 -2
- data/config/locales/sv.yml +10 -7
- data/config/locales/tr-TR.yml +12 -1
- data/config/locales/uk.yml +14 -1
- data/config/locales/zh-CN.yml +11 -1
- data/decidim-participatory_processes.gemspec +1 -1
- data/lib/decidim/participatory_processes/query_extensions.rb +26 -0
- data/lib/decidim/participatory_processes/version.rb +1 -1
- metadata +14 -11
data/config/locales/sv.yml
CHANGED
@@ -11,7 +11,7 @@ sv:
|
|
11
11
|
copy_steps: Kopiera steg
|
12
12
|
decidim_area_id: Område
|
13
13
|
description: Beskrivning
|
14
|
-
developer_group:
|
14
|
+
developer_group: Arrangör
|
15
15
|
document: Dokument
|
16
16
|
domain: Domän
|
17
17
|
end_date: Slutdatum
|
@@ -22,7 +22,7 @@ sv:
|
|
22
22
|
import_components: Importera komponenter
|
23
23
|
import_steps: Importera steg
|
24
24
|
local_area: Område
|
25
|
-
meta_scope:
|
25
|
+
meta_scope: Omfattning
|
26
26
|
participatory_process_group_id: Grupp av processer
|
27
27
|
participatory_process_type_id: Typ av processer
|
28
28
|
participatory_scope: Vad beslutas
|
@@ -45,12 +45,12 @@ sv:
|
|
45
45
|
weight: Position i listan
|
46
46
|
participatory_process_group:
|
47
47
|
description: Beskrivning
|
48
|
-
developer_group:
|
48
|
+
developer_group: Arrangör
|
49
49
|
group_url: Webbplats
|
50
50
|
hashtag: Hashtag
|
51
51
|
hero_image: Bild
|
52
52
|
local_area: Område
|
53
|
-
meta_scope:
|
53
|
+
meta_scope: Omfattning
|
54
54
|
participatory_process_ids: Relaterade processer
|
55
55
|
participatory_scope: Vad beslutas
|
56
56
|
participatory_structure: Hur fattas beslut
|
@@ -314,6 +314,7 @@ sv:
|
|
314
314
|
update: "%{user_name} uppdaterade deltagandeprocessen %{resource_name}"
|
315
315
|
participatory_process_group:
|
316
316
|
create: "%{user_name} skapade gruppen %{resource_name}"
|
317
|
+
unpublish: "%{user_name} avpublicerade gruppen av deltagandeprocesser %{resource_name}"
|
317
318
|
update: "%{user_name} uppdaterade gruppen %{resource_name}"
|
318
319
|
participatory_process_step:
|
319
320
|
activate: "%{user_name} aktiverade steget %{resource_name} i processen %{space_name}"
|
@@ -367,7 +368,7 @@ sv:
|
|
367
368
|
extra_data:
|
368
369
|
developer_group: Stödd av
|
369
370
|
name: Metadata
|
370
|
-
participatory_scope: Vad
|
371
|
+
participatory_scope: Vad beslutas
|
371
372
|
participatory_structure: Hur fattas beslut
|
372
373
|
target: Vem deltar
|
373
374
|
html:
|
@@ -449,6 +450,8 @@ sv:
|
|
449
450
|
name: Relaterade processer
|
450
451
|
index:
|
451
452
|
title: Deltagandeprocesser
|
453
|
+
last_activity:
|
454
|
+
new_participatory_process: 'Ny process:'
|
452
455
|
pages:
|
453
456
|
home:
|
454
457
|
highlighted_processes:
|
@@ -461,10 +464,10 @@ sv:
|
|
461
464
|
description:
|
462
465
|
area_name: Område
|
463
466
|
data: Data från processen
|
464
|
-
developer_group:
|
467
|
+
developer_group: Arrangör
|
465
468
|
local_area: Område
|
466
469
|
meta_scope: Indelning
|
467
|
-
participatory_scope: Vad
|
470
|
+
participatory_scope: Vad beslutas
|
468
471
|
participatory_structure: Hur fattas beslut
|
469
472
|
target: Vem deltar
|
470
473
|
title: Om processen
|
data/config/locales/tr-TR.yml
CHANGED
@@ -24,7 +24,7 @@ tr:
|
|
24
24
|
promoted: Tanıtılan
|
25
25
|
published_at: Yayınlandı
|
26
26
|
related_process_ids: İlgili süreçler
|
27
|
-
scope_id:
|
27
|
+
scope_id: Kapsam
|
28
28
|
scope_type_max_depth_id: Kapsam filtre derinliği
|
29
29
|
scopes_enabled: Kapsamlar etkin
|
30
30
|
short_description: Kısa Açıklama
|
@@ -56,6 +56,8 @@ tr:
|
|
56
56
|
short_description: Kısa Açıklama
|
57
57
|
start_date: Başlangıç tarihi
|
58
58
|
title: Başlık
|
59
|
+
participatory_process_type:
|
60
|
+
title: Başlık
|
59
61
|
participatory_process_user_role:
|
60
62
|
email: E-posta
|
61
63
|
name: isim
|
@@ -129,6 +131,10 @@ tr:
|
|
129
131
|
start_date: Başlangıç tarihi
|
130
132
|
title: Başlık
|
131
133
|
name: Katılımcı süreç adımı
|
134
|
+
participatory_process_type:
|
135
|
+
fields:
|
136
|
+
created_at: Düzenlendi
|
137
|
+
title: Başlık
|
132
138
|
participatory_process_user_role:
|
133
139
|
fields:
|
134
140
|
email: E-posta
|
@@ -201,6 +207,11 @@ tr:
|
|
201
207
|
update:
|
202
208
|
error: Bu katılımcı süreç adımı güncellenirken bir hata oluştu.
|
203
209
|
success: Katılımcı süreç adımı başarıyla güncellendi.
|
210
|
+
participatory_process_types:
|
211
|
+
edit:
|
212
|
+
update: Güncelleştirme
|
213
|
+
new:
|
214
|
+
create: yaratmak
|
204
215
|
participatory_process_user_roles:
|
205
216
|
create:
|
206
217
|
error: Bu katılımcı süreç için bir kullanıcı eklenirken bir hata oluştu.
|
data/config/locales/uk.yml
CHANGED
@@ -22,7 +22,6 @@ uk:
|
|
22
22
|
promoted: Висвітлено
|
23
23
|
published_at: 'Оприлюднено:'
|
24
24
|
related_process_ids: Супутні рухи
|
25
|
-
scope_id: Обсяг
|
26
25
|
scopes_enabled: Обсяги увімкнено
|
27
26
|
short_description: Стислий опис
|
28
27
|
show_statistics: Показувати статистику
|
@@ -41,6 +40,8 @@ uk:
|
|
41
40
|
short_description: Стислий опис
|
42
41
|
start_date: Дата початку
|
43
42
|
title: Назва
|
43
|
+
participatory_process_type:
|
44
|
+
title: Назва
|
44
45
|
participatory_process_user_role:
|
45
46
|
email: Адреса електронної пошти
|
46
47
|
name: Ім'я
|
@@ -111,6 +112,10 @@ uk:
|
|
111
112
|
start_date: Дата початку
|
112
113
|
title: Назва
|
113
114
|
name: Крок руху співучасті
|
115
|
+
participatory_process_type:
|
116
|
+
fields:
|
117
|
+
created_at: 'Додано:'
|
118
|
+
title: Назва
|
114
119
|
participatory_process_user_role:
|
115
120
|
fields:
|
116
121
|
email: Адреса електронної пошти
|
@@ -173,6 +178,11 @@ uk:
|
|
173
178
|
update:
|
174
179
|
error: При спробі оновити цей крок руху співучасті сталася помилка.
|
175
180
|
success: Крок руху співучасті успішно оновлено.
|
181
|
+
participatory_process_types:
|
182
|
+
edit:
|
183
|
+
update: Оновити
|
184
|
+
new:
|
185
|
+
create: Створити
|
176
186
|
participatory_process_user_roles:
|
177
187
|
create:
|
178
188
|
error: При спробі додати учасника в цей рух співучасті сталася помилка.
|
@@ -248,6 +258,9 @@ uk:
|
|
248
258
|
notification_title: Дати для кроку <a href="%{resource_path}">%{resource_title}</a> у <a href="%{participatory_space_url}">%{participatory_space_title}</a> були оновлені.
|
249
259
|
menu:
|
250
260
|
processes: Рухи
|
261
|
+
metrics:
|
262
|
+
participatory_processes:
|
263
|
+
title: Рухи співучасті
|
251
264
|
participatory_process_groups:
|
252
265
|
content_blocks:
|
253
266
|
stats:
|
data/config/locales/zh-CN.yml
CHANGED
@@ -24,7 +24,6 @@ zh-CN:
|
|
24
24
|
promoted: 已升级
|
25
25
|
published_at: 发布于
|
26
26
|
related_process_ids: 相关进程
|
27
|
-
scope_id: 范围
|
28
27
|
scope_type_max_depth_id: 范围过滤器深度:
|
29
28
|
scopes_enabled: 范围已启用
|
30
29
|
short_description: 简短描述
|
@@ -47,6 +46,8 @@ zh-CN:
|
|
47
46
|
short_description: 简短描述
|
48
47
|
start_date: 开始日期
|
49
48
|
title: 标题
|
49
|
+
participatory_process_type:
|
50
|
+
title: 标题
|
50
51
|
participatory_process_user_role:
|
51
52
|
email: 电子邮件地址
|
52
53
|
name: 名称
|
@@ -109,6 +110,10 @@ zh-CN:
|
|
109
110
|
start_date: 开始日期
|
110
111
|
title: 标题
|
111
112
|
name: 参与进程阶段
|
113
|
+
participatory_process_type:
|
114
|
+
fields:
|
115
|
+
created_at: 创建于
|
116
|
+
title: 标题
|
112
117
|
participatory_process_user_role:
|
113
118
|
fields:
|
114
119
|
email: 电子邮件地址
|
@@ -181,6 +186,11 @@ zh-CN:
|
|
181
186
|
update:
|
182
187
|
error: 在更新这一阶段的参与进程时遇到了问题。
|
183
188
|
success: 参与阶段更新成功。
|
189
|
+
participatory_process_types:
|
190
|
+
edit:
|
191
|
+
update: 更新
|
192
|
+
new:
|
193
|
+
create: 创建
|
184
194
|
participatory_process_user_roles:
|
185
195
|
create:
|
186
196
|
error: 在这个参与进程中增加参与者时遇到了问题。
|
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.version = Decidim::ParticipatoryProcesses.version
|
9
9
|
s.authors = ["Josep Jaume Rey Peroy", "Marc Riera Casals", "Oriol Gual Oliva"]
|
10
10
|
s.email = ["josepjaume@gmail.com", "mrc2407@gmail.com", "oriolgual@gmail.com"]
|
11
|
-
s.license = "AGPL-3.0"
|
11
|
+
s.license = "AGPL-3.0-or-later"
|
12
12
|
s.homepage = "https://decidim.org"
|
13
13
|
s.metadata = {
|
14
14
|
"bug_tracker_uri" => "https://github.com/decidim/decidim/issues",
|
@@ -11,6 +11,22 @@ module Decidim
|
|
11
11
|
#
|
12
12
|
# Returns nothing.
|
13
13
|
def self.included(type)
|
14
|
+
type.field :participatory_processes,
|
15
|
+
[Decidim::ParticipatoryProcesses::ParticipatoryProcessType],
|
16
|
+
null: true,
|
17
|
+
description: "Lists all participatory_processes" do
|
18
|
+
argument :filter, Decidim::ParticipatoryProcesses::ParticipatoryProcessInputFilter, "This argument lets you filter the results", required: false
|
19
|
+
argument :order, Decidim::ParticipatoryProcesses::ParticipatoryProcessInputSort, "This argument lets you order the results", required: false
|
20
|
+
end
|
21
|
+
|
22
|
+
type.field :participatory_process,
|
23
|
+
Decidim::ParticipatoryProcesses::ParticipatoryProcessType,
|
24
|
+
null: true,
|
25
|
+
description: "Finds a participatory_process" do
|
26
|
+
argument :id, GraphQL::Types::ID, "The ID of the participatory space", required: false
|
27
|
+
argument :slug, String, "The slug of the participatory process", required: false
|
28
|
+
end
|
29
|
+
|
14
30
|
type.field :participatory_process_groups, [ParticipatoryProcessGroupType],
|
15
31
|
null: false,
|
16
32
|
description: "Lists all participatory process groups"
|
@@ -30,6 +46,16 @@ module Decidim
|
|
30
46
|
end
|
31
47
|
end
|
32
48
|
|
49
|
+
def participatory_processes(filter: {}, order: {})
|
50
|
+
manifest = Decidim.participatory_space_manifests.select { |m| m.name == :participatory_processes }.first
|
51
|
+
Decidim::Core::ParticipatorySpaceListBase.new(manifest:).call(object, { filter:, order: }, context)
|
52
|
+
end
|
53
|
+
|
54
|
+
def participatory_process(id: nil, slug: nil)
|
55
|
+
manifest = Decidim.participatory_space_manifests.select { |m| m.name == :participatory_processes }.first
|
56
|
+
Decidim::Core::ParticipatorySpaceFinderBase.new(manifest:).call(object, { id:, slug: }, context)
|
57
|
+
end
|
58
|
+
|
33
59
|
def participatory_process_groups(*)
|
34
60
|
Decidim::ParticipatoryProcessGroup.where(
|
35
61
|
organization: context[:current_organization]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-participatory_processes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.28.
|
4
|
+
version: 0.28.6
|
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: decidim-core
|
@@ -18,56 +18,56 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.28.
|
21
|
+
version: 0.28.6
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.28.
|
28
|
+
version: 0.28.6
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: decidim-admin
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.28.
|
35
|
+
version: 0.28.6
|
36
36
|
type: :development
|
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.28.
|
42
|
+
version: 0.28.6
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: decidim-dev
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - '='
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.28.
|
49
|
+
version: 0.28.6
|
50
50
|
type: :development
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - '='
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 0.28.
|
56
|
+
version: 0.28.6
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: decidim-meetings
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - '='
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 0.28.
|
63
|
+
version: 0.28.6
|
64
64
|
type: :development
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - '='
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: 0.28.
|
70
|
+
version: 0.28.6
|
71
71
|
description: Participatory processes component for decidim.
|
72
72
|
email:
|
73
73
|
- josepjaume@gmail.com
|
@@ -289,6 +289,9 @@ files:
|
|
289
289
|
- config/locales/ar.yml
|
290
290
|
- config/locales/bg-BG.yml
|
291
291
|
- config/locales/bg.yml
|
292
|
+
- config/locales/bn-BD.yml
|
293
|
+
- config/locales/bs-BA.yml
|
294
|
+
- config/locales/ca-IT.yml
|
292
295
|
- config/locales/ca.yml
|
293
296
|
- config/locales/cs-CZ.yml
|
294
297
|
- config/locales/cs.yml
|
@@ -434,7 +437,7 @@ files:
|
|
434
437
|
- lib/tasks/decidim_participatory_processes.rake
|
435
438
|
homepage: https://decidim.org
|
436
439
|
licenses:
|
437
|
-
- AGPL-3.0
|
440
|
+
- AGPL-3.0-or-later
|
438
441
|
metadata:
|
439
442
|
bug_tracker_uri: https://github.com/decidim/decidim/issues
|
440
443
|
documentation_uri: https://docs.decidim.org/
|