decidim-conferences 0.31.0.rc2 → 0.31.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1df37c2fe2ccbd95c949ce3a71c7d23e6232909cc79f5dbea20d876ad89a8b56
4
- data.tar.gz: 0f5c28d8e47eb7c70ed89a629274caa377792c277701a51b9c889f3c3d5f5e39
3
+ metadata.gz: 12d601d1d4ac6ac98646d2e7cf93584efc71312d0169e7eabce1a29f631571dc
4
+ data.tar.gz: 633ac47110429e2aef332fe6e643cd59e9183cba1214af1e4d175772dea21175
5
5
  SHA512:
6
- metadata.gz: 62757781ea48023c676459dcede16b606e26b60466599ba420be669475394d22bd64a76aae486a5d3438651fffe7acff51189585514c2f50415070b189b2b71b
7
- data.tar.gz: d855ebe29a516c9e30acf7dbde01008839e1f05fc6234349e67b7a89cc86d7d4c318b6a9eac208bd14a1cd0f4bd30c4a94f66f7eb4dd71ab75a0a911f75d1160
6
+ metadata.gz: 10dab5af48b940908d4edafcb9230fa1121495d01caf70a134f26417aaf68583607d09fb74fbe6d16f21bf4ad3127fe8eb7380f39b201676e21c058b129678f2
7
+ data.tar.gz: 3e0d0a51873d1a3dbb5aa439a6d3d32a80843d07c564ae7befe8aa73d0524f622f2c62e0eece94ef2ba308f211883cc4f622465b4354b778c60fbdb191ae95fe
@@ -13,7 +13,7 @@
13
13
  @apply h-10 grid place-items-center border-b-2 border-tertiary text-center text-xl text-gray-2 font-semibold;
14
14
  }
15
15
 
16
- &-category {
16
+ &-taxonomy {
17
17
  @apply h-10 w-full bg-background-4 border-b-2 border-secondary text-center text-secondary font-semibold text-md truncate leading-10;
18
18
 
19
19
  &-container {
@@ -4,23 +4,23 @@
4
4
  <%= start_time.to_fs(:time) %> - <%= end_time.to_fs(:time) %>
5
5
  </div>
6
6
  <div>
7
- <% categories = meetings.map(&:category).uniq %>
7
+ <% taxonomies = meetings.map(&:taxonomies).uniq %>
8
8
  <% seed = SecureRandom.hex(3).to_s %>
9
- <% if categories.present? %>
10
- <ul class="conference__program-category-container">
11
- <% categories.each do |category| %>
9
+ <% if taxonomies.present? %>
10
+ <ul class="conference__program-taxonomy-container">
11
+ <% taxonomies.each do |taxonomy| %>
12
12
  <li>
13
- <div class="conference__program-category">
14
- <%= category.present? ? translated_attribute(category.name) : "other" %>
13
+ <div class="conference__program-taxonomy">
14
+ <%= taxonomy.first.present? ? translated_attribute(taxonomy.first.name) : t(".other_category") %>
15
15
  </div>
16
16
  </li>
17
17
  <% end %>
18
18
  </ul>
19
19
  <% end %>
20
20
 
21
- <% meetings.group_by(&:category).each do |categories_block| %>
22
- <div class="conference__program-category-content">
23
- <% categories_block.last.each do |meeting| %>
21
+ <% meetings.group_by(&:taxonomies).each do |taxonomies_block| %>
22
+ <div class="conference__program-taxonomy-content">
23
+ <% taxonomies_block.last.each do |meeting| %>
24
24
  <%= render partial: "program_meeting", locals: { meeting: } %>
25
25
  <% end %>
26
26
  </div>
@@ -443,6 +443,8 @@ ca-IT:
443
443
  no_slots_available: No hi ha places disponibles
444
444
  registration: Inscripció
445
445
  conference_program:
446
+ program_item:
447
+ other_category: Altre
446
448
  show:
447
449
  program: Programa
448
450
  conference_registration_mailer:
@@ -443,6 +443,8 @@ ca:
443
443
  no_slots_available: No hi ha places disponibles
444
444
  registration: Inscripció
445
445
  conference_program:
446
+ program_item:
447
+ other_category: Altre
446
448
  show:
447
449
  program: Programa
448
450
  conference_registration_mailer:
@@ -443,6 +443,8 @@ en:
443
443
  no_slots_available: No slots available
444
444
  registration: Registration
445
445
  conference_program:
446
+ program_item:
447
+ other_category: Other
446
448
  show:
447
449
  program: Program
448
450
  conference_registration_mailer:
@@ -443,6 +443,8 @@ es-MX:
443
443
  no_slots_available: No hay plazas disponibles
444
444
  registration: Inscripción
445
445
  conference_program:
446
+ program_item:
447
+ other_category: Otro
446
448
  show:
447
449
  program: Programa
448
450
  conference_registration_mailer:
@@ -443,6 +443,8 @@ es-PY:
443
443
  no_slots_available: No hay espacios disponibles
444
444
  registration: Registro
445
445
  conference_program:
446
+ program_item:
447
+ other_category: Otro
446
448
  show:
447
449
  program: Programa
448
450
  conference_registration_mailer:
@@ -443,6 +443,8 @@ es:
443
443
  no_slots_available: No hay plazas disponibles
444
444
  registration: Inscripción
445
445
  conference_program:
446
+ program_item:
447
+ other_category: Otro
446
448
  show:
447
449
  program: Programa
448
450
  conference_registration_mailer:
@@ -443,6 +443,8 @@ eu:
443
443
  no_slots_available: Ez dago plazarik
444
444
  registration: Izen-ematea
445
445
  conference_program:
446
+ program_item:
447
+ other_category: Beste bat
446
448
  show:
447
449
  program: Egitaraua
448
450
  conference_registration_mailer:
@@ -438,6 +438,8 @@ fr-CA:
438
438
  no_slots_available: Il ne reste plus de place
439
439
  registration: Inscription
440
440
  conference_program:
441
+ program_item:
442
+ other_category: Autre
441
443
  show:
442
444
  program: Programme
443
445
  conference_registration_mailer:
@@ -438,6 +438,8 @@ fr:
438
438
  no_slots_available: Il ne reste plus de place
439
439
  registration: Inscription
440
440
  conference_program:
441
+ program_item:
442
+ other_category: Autre
441
443
  show:
442
444
  program: Programme
443
445
  conference_registration_mailer:
@@ -439,6 +439,8 @@ ja:
439
439
  no_slots_available: 利用可能なスロットがありません
440
440
  registration: 登録
441
441
  conference_program:
442
+ program_item:
443
+ other_category: その他
442
444
  show:
443
445
  program: プログラム
444
446
  conference_registration_mailer:
@@ -428,6 +428,8 @@ sv:
428
428
  no_slots_available: Inga platser tillgängliga
429
429
  registration: Registrering
430
430
  conference_program:
431
+ program_item:
432
+ other_category: Övrigt
431
433
  show:
432
434
  program: Program
433
435
  conference_registration_mailer:
@@ -65,6 +65,12 @@ module Decidim
65
65
  Decidim.icons.register(name: "link-m", icon: "link-m", category: "system", description: "", engine: :conferences)
66
66
  end
67
67
 
68
+ initializer "decidim_conferences.data_migrate", after: "decidim_core.data_migrate" do
69
+ DataMigrate.configure do |config|
70
+ config.data_migrations_path << root.join("db/data").to_s
71
+ end
72
+ end
73
+
68
74
  initializer "decidim_conferences.add_cells_view_paths" do
69
75
  Cell::ViewModel.view_paths << File.expand_path("#{Decidim::Conferences::Engine.root}/app/cells")
70
76
  Cell::ViewModel.view_paths << File.expand_path("#{Decidim::Conferences::Engine.root}/app/views") # for partials
@@ -51,10 +51,8 @@ Decidim.register_participatory_space(:conferences) do |participatory_space|
51
51
  end
52
52
 
53
53
  participatory_space.exports :conferences do |export|
54
- export.collection do
55
- Decidim::Conference
56
- .public_spaces
57
- .includes(:taxonomies, :attachment_collections)
54
+ export.collection do |participatory_space, _user|
55
+ Decidim::Conference.public_spaces.includes(:taxonomies, :attachment_collections).where(id: participatory_space)
58
56
  end
59
57
 
60
58
  export.include_in_open_data = true
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-conferences version.
5
5
  module Conferences
6
6
  def self.version
7
- "0.31.0.rc2"
7
+ "0.31.0"
8
8
  end
9
9
  end
10
10
  end
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.31.0.rc2
4
+ version: 0.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Isaac Massot Gil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-10-28 00:00:00.000000000 Z
11
+ date: 2025-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-core
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.31.0.rc2
19
+ version: 0.31.0
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.31.0.rc2
26
+ version: 0.31.0
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.31.0.rc2
33
+ version: 0.31.0
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.31.0.rc2
40
+ version: 0.31.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: decidim-admin
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.31.0.rc2
47
+ version: 0.31.0
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.31.0.rc2
54
+ version: 0.31.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: decidim-dev
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 0.31.0.rc2
61
+ version: 0.31.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 0.31.0.rc2
68
+ version: 0.31.0
69
69
  description: Conferences component for decidim.
70
70
  email:
71
71
  - isaac.mg@coditramuntana.com