decidim-conferences 0.22.0 → 0.23.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/cells/decidim/conferences/conference_m_cell.rb +4 -0
- data/app/cells/decidim/conferences/registration_type_cell.rb +2 -2
- data/app/commands/decidim/conferences/admin/create_partner.rb +9 -9
- data/app/commands/decidim/conferences/admin/update_conference.rb +10 -3
- data/app/forms/decidim/conferences/admin/conference_form.rb +5 -2
- data/app/forms/decidim/conferences/admin/conference_speaker_form.rb +12 -1
- data/app/forms/decidim/conferences/admin/diploma_form.rb +6 -2
- data/app/forms/decidim/conferences/admin/partner_form.rb +16 -1
- data/app/models/decidim/conference.rb +16 -1
- data/app/models/decidim/conference_speaker.rb +5 -2
- data/app/models/decidim/conferences/media_link.rb +3 -0
- data/app/models/decidim/conferences/partner.rb +5 -1
- data/app/models/decidim/conferences/registration_type.rb +3 -0
- data/app/presenters/decidim/conferences/admin_log/{conferences_presenter.rb → conference_presenter.rb} +2 -2
- data/app/presenters/decidim/conferences/admin_log/conference_registration_presenter.rb +2 -2
- data/app/presenters/decidim/conferences/admin_log/conference_speaker_presenter.rb +2 -2
- data/app/presenters/decidim/conferences/admin_log/{conferences_user_role_presenter.rb → conference_user_role_presenter.rb} +2 -2
- data/app/presenters/decidim/conferences/admin_log/media_link_presenter.rb +2 -2
- data/app/presenters/decidim/conferences/admin_log/partner_presenter.rb +2 -2
- data/app/presenters/decidim/conferences/admin_log/registration_type_presenter.rb +2 -2
- data/app/views/decidim/conferences/registration_types/index.html.erb +1 -1
- data/app/views/layouts/decidim/conference.html.erb +1 -0
- data/config/locales/am-ET.yml +1 -0
- data/config/locales/bg.yml +7 -0
- data/config/locales/ca.yml +1 -0
- data/config/locales/cs.yml +22 -21
- data/config/locales/da.yml +1 -0
- data/config/locales/de.yml +45 -44
- data/config/locales/en.yml +1 -0
- data/config/locales/eo.yml +1 -0
- data/config/locales/es-MX.yml +1 -0
- data/config/locales/es-PY.yml +2 -1
- data/config/locales/es.yml +2 -1
- data/config/locales/et.yml +1 -0
- data/config/locales/fi-plain.yml +2 -1
- data/config/locales/fi.yml +4 -3
- data/config/locales/fr-CA.yml +1 -0
- data/config/locales/fr.yml +4 -3
- data/config/locales/hr.yml +1 -0
- data/config/locales/hu.yml +1 -1
- data/config/locales/is.yml +1 -0
- data/config/locales/it.yml +1 -0
- data/config/locales/ja-JP.yml +107 -107
- data/config/locales/ja.yml +576 -0
- data/config/locales/ko-KR.yml +1 -0
- data/config/locales/ko.yml +1 -0
- data/config/locales/lt.yml +1 -0
- data/config/locales/{lv-LV.yml → lv.yml} +0 -0
- data/config/locales/mt.yml +1 -0
- data/config/locales/nl.yml +7 -6
- data/config/locales/no.yml +9 -0
- data/config/locales/om-ET.yml +1 -0
- data/config/locales/pl.yml +20 -19
- data/config/locales/si-LK.yml +1 -0
- data/config/locales/sl.yml +5 -0
- data/config/locales/so-SO.yml +1 -0
- data/config/locales/sv.yml +3 -2
- data/config/locales/sw-KE.yml +1 -0
- data/config/locales/ti-ER.yml +1 -0
- data/config/locales/tr-TR.yml +68 -58
- data/config/locales/vi-VN.yml +1 -0
- data/config/locales/vi.yml +1 -0
- data/config/locales/zh-CN.yml +576 -0
- data/config/locales/zh-TW.yml +1 -0
- data/lib/decidim/conferences/admin_engine.rb +1 -0
- data/lib/decidim/conferences/participatory_space.rb +11 -11
- data/lib/decidim/conferences/test/factories.rb +3 -3
- data/lib/decidim/conferences/version.rb +1 -1
- metadata +39 -18
@@ -0,0 +1 @@
|
|
1
|
+
zh-TW:
|
@@ -63,11 +63,11 @@ Decidim.register_participatory_space(:conferences) do |participatory_space|
|
|
63
63
|
description: Decidim::Faker::Localized.wrapped("<p>", "</p>") do
|
64
64
|
Decidim::Faker::Localized.paragraph(3)
|
65
65
|
end,
|
66
|
-
|
67
|
-
|
66
|
+
organization: organization,
|
67
|
+
hero_image: File.new(File.join(seeds_root, "city.jpeg")), # Keep after organization
|
68
|
+
banner_image: File.new(File.join(seeds_root, "city2.jpeg")), # Keep after organization
|
68
69
|
promoted: true,
|
69
70
|
published_at: 2.weeks.ago,
|
70
|
-
organization: organization,
|
71
71
|
objectives: Decidim::Faker::Localized.wrapped("<p>", "</p>") do
|
72
72
|
Decidim::Faker::Localized.paragraph(3)
|
73
73
|
end,
|
@@ -113,23 +113,23 @@ Decidim.register_participatory_space(:conferences) do |participatory_space|
|
|
113
113
|
Decidim::Attachment.create!(
|
114
114
|
title: Decidim::Faker::Localized.sentence(2),
|
115
115
|
description: Decidim::Faker::Localized.sentence(5),
|
116
|
-
file: File.new(File.join(seeds_root, "Exampledocument.pdf")),
|
117
116
|
attachment_collection: attachment_collection,
|
118
|
-
attached_to: conference
|
117
|
+
attached_to: conference,
|
118
|
+
file: File.new(File.join(seeds_root, "Exampledocument.pdf")) # Keep after attached_to
|
119
119
|
)
|
120
120
|
|
121
121
|
Decidim::Attachment.create!(
|
122
122
|
title: Decidim::Faker::Localized.sentence(2),
|
123
123
|
description: Decidim::Faker::Localized.sentence(5),
|
124
|
-
|
125
|
-
|
124
|
+
attached_to: conference,
|
125
|
+
file: File.new(File.join(seeds_root, "city.jpeg")) # Keep after attached_to
|
126
126
|
)
|
127
127
|
|
128
128
|
Decidim::Attachment.create!(
|
129
129
|
title: Decidim::Faker::Localized.sentence(2),
|
130
130
|
description: Decidim::Faker::Localized.sentence(5),
|
131
|
-
|
132
|
-
|
131
|
+
attached_to: conference,
|
132
|
+
file: File.new(File.join(seeds_root, "Exampledocument.pdf")) # Keep after attached_to
|
133
133
|
)
|
134
134
|
|
135
135
|
2.times do
|
@@ -164,8 +164,8 @@ Decidim.register_participatory_space(:conferences) do |participatory_space|
|
|
164
164
|
weight: Faker::Number.between(1, 10),
|
165
165
|
link: Faker::Internet.url,
|
166
166
|
partner_type: type,
|
167
|
-
|
168
|
-
|
167
|
+
conference: conference,
|
168
|
+
logo: File.new(File.join(seeds_root, "logo.png")) # Keep after conference
|
169
169
|
)
|
170
170
|
end
|
171
171
|
end
|
@@ -15,11 +15,11 @@ FactoryBot.define do
|
|
15
15
|
short_description { Decidim::Faker::Localized.wrapped("<p>", "</p>") { generate_localized_title } }
|
16
16
|
description { Decidim::Faker::Localized.wrapped("<p>", "</p>") { generate_localized_title } }
|
17
17
|
objectives { Decidim::Faker::Localized.wrapped("<p>", "</p>") { generate_localized_title } }
|
18
|
-
|
19
|
-
|
18
|
+
organization
|
19
|
+
hero_image { Decidim::Dev.test_file("city.jpeg", "image/jpeg") } # Keep after organization
|
20
|
+
banner_image { Decidim::Dev.test_file("city2.jpeg", "image/jpeg") } # Keep after organization
|
20
21
|
published_at { Time.current }
|
21
22
|
location { Faker::Lorem.sentence(3) }
|
22
|
-
organization
|
23
23
|
show_statistics { true }
|
24
24
|
start_date { 1.month.ago }
|
25
25
|
end_date { 1.month.ago + 3.days }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-conferences
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Isaac Massot Gil
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: decidim-core
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.23.3
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.23.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: decidim-meetings
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.23.3
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.23.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: wicked_pdf
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,28 +72,28 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.23.3
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.23.3
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: decidim-dev
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - '='
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
89
|
+
version: 0.23.3
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - '='
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
96
|
+
version: 0.23.3
|
97
97
|
description: Conferences component for decidim.
|
98
98
|
email:
|
99
99
|
- isaac.mg@coditramuntana.com
|
@@ -241,10 +241,10 @@ files:
|
|
241
241
|
- app/presenters/decidim/conference_meeting_presenter.rb
|
242
242
|
- app/presenters/decidim/conference_speaker_presenter.rb
|
243
243
|
- app/presenters/decidim/conferences/admin_log/conference_invite_presenter.rb
|
244
|
+
- app/presenters/decidim/conferences/admin_log/conference_presenter.rb
|
244
245
|
- app/presenters/decidim/conferences/admin_log/conference_registration_presenter.rb
|
245
246
|
- app/presenters/decidim/conferences/admin_log/conference_speaker_presenter.rb
|
246
|
-
- app/presenters/decidim/conferences/admin_log/
|
247
|
-
- app/presenters/decidim/conferences/admin_log/conferences_user_role_presenter.rb
|
247
|
+
- app/presenters/decidim/conferences/admin_log/conference_user_role_presenter.rb
|
248
248
|
- app/presenters/decidim/conferences/admin_log/media_link_presenter.rb
|
249
249
|
- app/presenters/decidim/conferences/admin_log/partner_presenter.rb
|
250
250
|
- app/presenters/decidim/conferences/admin_log/registration_type_presenter.rb
|
@@ -336,22 +336,27 @@ files:
|
|
336
336
|
- app/views/layouts/decidim/conference.html.erb
|
337
337
|
- app/views/layouts/decidim/diploma.html.erb
|
338
338
|
- config/initializers/wicked_pdf.rb
|
339
|
+
- config/locales/am-ET.yml
|
339
340
|
- config/locales/ar-SA.yml
|
340
341
|
- config/locales/ar.yml
|
341
342
|
- config/locales/bg-BG.yml
|
343
|
+
- config/locales/bg.yml
|
342
344
|
- config/locales/ca.yml
|
343
345
|
- config/locales/cs-CZ.yml
|
344
346
|
- config/locales/cs.yml
|
345
347
|
- config/locales/da-DK.yml
|
348
|
+
- config/locales/da.yml
|
346
349
|
- config/locales/de.yml
|
347
350
|
- config/locales/el-GR.yml
|
348
351
|
- config/locales/el.yml
|
349
352
|
- config/locales/en.yml
|
350
353
|
- config/locales/eo-UY.yml
|
354
|
+
- config/locales/eo.yml
|
351
355
|
- config/locales/es-MX.yml
|
352
356
|
- config/locales/es-PY.yml
|
353
357
|
- config/locales/es.yml
|
354
358
|
- config/locales/et-EE.yml
|
359
|
+
- config/locales/et.yml
|
355
360
|
- config/locales/eu.yml
|
356
361
|
- config/locales/fi-pl.yml
|
357
362
|
- config/locales/fi-plain.yml
|
@@ -361,28 +366,44 @@ files:
|
|
361
366
|
- config/locales/ga-IE.yml
|
362
367
|
- config/locales/gl.yml
|
363
368
|
- config/locales/hr-HR.yml
|
369
|
+
- config/locales/hr.yml
|
364
370
|
- config/locales/hu.yml
|
365
371
|
- config/locales/id-ID.yml
|
366
372
|
- config/locales/is-IS.yml
|
373
|
+
- config/locales/is.yml
|
367
374
|
- config/locales/it.yml
|
368
375
|
- config/locales/ja-JP.yml
|
376
|
+
- config/locales/ja.yml
|
377
|
+
- config/locales/ko-KR.yml
|
378
|
+
- config/locales/ko.yml
|
369
379
|
- config/locales/lt-LT.yml
|
370
|
-
- config/locales/
|
380
|
+
- config/locales/lt.yml
|
381
|
+
- config/locales/lv.yml
|
371
382
|
- config/locales/mt-MT.yml
|
383
|
+
- config/locales/mt.yml
|
372
384
|
- config/locales/nl.yml
|
373
385
|
- config/locales/no.yml
|
386
|
+
- config/locales/om-ET.yml
|
374
387
|
- config/locales/pl.yml
|
375
388
|
- config/locales/pt-BR.yml
|
376
389
|
- config/locales/pt.yml
|
377
390
|
- config/locales/ro-RO.yml
|
378
391
|
- config/locales/ru.yml
|
392
|
+
- config/locales/si-LK.yml
|
379
393
|
- config/locales/sk-SK.yml
|
380
394
|
- config/locales/sk.yml
|
381
395
|
- config/locales/sl.yml
|
396
|
+
- config/locales/so-SO.yml
|
382
397
|
- config/locales/sr-CS.yml
|
383
398
|
- config/locales/sv.yml
|
399
|
+
- config/locales/sw-KE.yml
|
400
|
+
- config/locales/ti-ER.yml
|
384
401
|
- config/locales/tr-TR.yml
|
385
402
|
- config/locales/uk.yml
|
403
|
+
- config/locales/vi-VN.yml
|
404
|
+
- config/locales/vi.yml
|
405
|
+
- config/locales/zh-CN.yml
|
406
|
+
- config/locales/zh-TW.yml
|
386
407
|
- db/migrate/20180626151505_add_conferences.rb
|
387
408
|
- db/migrate/20180626152015_add_conference_user_roles.rb
|
388
409
|
- db/migrate/20180702084256_add_conference_speakers.rb
|
@@ -415,7 +436,7 @@ homepage: https://github.com/decidim/decidim
|
|
415
436
|
licenses:
|
416
437
|
- AGPL-3.0
|
417
438
|
metadata: {}
|
418
|
-
post_install_message:
|
439
|
+
post_install_message:
|
419
440
|
rdoc_options: []
|
420
441
|
require_paths:
|
421
442
|
- lib
|
@@ -423,15 +444,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
423
444
|
requirements:
|
424
445
|
- - ">="
|
425
446
|
- !ruby/object:Gem::Version
|
426
|
-
version: '2.
|
447
|
+
version: '2.6'
|
427
448
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
428
449
|
requirements:
|
429
450
|
- - ">="
|
430
451
|
- !ruby/object:Gem::Version
|
431
452
|
version: '0'
|
432
453
|
requirements: []
|
433
|
-
rubygems_version: 3.
|
434
|
-
signing_key:
|
454
|
+
rubygems_version: 3.0.3
|
455
|
+
signing_key:
|
435
456
|
specification_version: 4
|
436
457
|
summary: Decidim conferences module
|
437
458
|
test_files: []
|