decidim-meetings 0.27.1 → 0.27.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of decidim-meetings might be problematic. Click here for more details.

Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/app/commands/decidim/meetings/admin/copy_meeting.rb +23 -4
  3. data/app/controllers/decidim/meetings/admin/meeting_copies_controller.rb +2 -2
  4. data/app/forms/decidim/meetings/admin/meeting_form.rb +5 -9
  5. data/app/views/decidim/meetings/admin/meeting_copies/new.html.erb +1 -1
  6. data/app/views/decidim/meetings/admin/meetings/_form.html.erb +1 -1
  7. data/config/locales/ar.yml +0 -6
  8. data/config/locales/bg.yml +0 -6
  9. data/config/locales/ca.yml +17 -10
  10. data/config/locales/cs.yml +15 -8
  11. data/config/locales/de.yml +12 -10
  12. data/config/locales/el.yml +0 -6
  13. data/config/locales/en.yml +17 -10
  14. data/config/locales/es-MX.yml +17 -10
  15. data/config/locales/es-PY.yml +17 -10
  16. data/config/locales/es.yml +17 -10
  17. data/config/locales/eu.yml +211 -155
  18. data/config/locales/fi-plain.yml +17 -10
  19. data/config/locales/fi.yml +17 -10
  20. data/config/locales/fr-CA.yml +16 -9
  21. data/config/locales/fr.yml +16 -9
  22. data/config/locales/ga-IE.yml +0 -4
  23. data/config/locales/gl.yml +0 -9
  24. data/config/locales/hu.yml +0 -10
  25. data/config/locales/id-ID.yml +0 -6
  26. data/config/locales/is-IS.yml +0 -2
  27. data/config/locales/it.yml +0 -7
  28. data/config/locales/ja.yml +17 -10
  29. data/config/locales/ka-GE.yml +1 -0
  30. data/config/locales/lb.yml +0 -6
  31. data/config/locales/lt.yml +0 -10
  32. data/config/locales/lv.yml +0 -6
  33. data/config/locales/nl.yml +0 -10
  34. data/config/locales/no.yml +0 -10
  35. data/config/locales/pl.yml +4 -6
  36. data/config/locales/pt-BR.yml +0 -6
  37. data/config/locales/pt.yml +0 -7
  38. data/config/locales/ro-RO.yml +5 -10
  39. data/config/locales/ru.yml +0 -6
  40. data/config/locales/sk.yml +0 -6
  41. data/config/locales/sl.yml +0 -3
  42. data/config/locales/sv.yml +11 -9
  43. data/config/locales/tr-TR.yml +0 -6
  44. data/config/locales/uk.yml +0 -6
  45. data/config/locales/zh-CN.yml +0 -6
  46. data/lib/decidim/meetings/engine.rb +1 -1
  47. data/lib/decidim/meetings/version.rb +1 -1
  48. metadata +16 -17
  49. data/app/forms/decidim/meetings/admin/meeting_copy_form.rb +0 -51
  50. data/app/views/decidim/meetings/admin/meeting_copies/_form.html.erb +0 -64
@@ -2,10 +2,6 @@
2
2
  pt-BR:
3
3
  activemodel:
4
4
  attributes:
5
- agenda:
6
- description: Descrição
7
- duration: Duração
8
- title: Título
9
5
  close_meeting:
10
6
  attendees_count: Número de Participantes
11
7
  attending_organizations: Lista de organizações que participaram
@@ -23,7 +19,6 @@ pt-BR:
23
19
  decidim_scope_id: Âmbito
24
20
  decidim_user_group_id: Grupo de usuários
25
21
  description: Descrição
26
- end_time: Fim do tempo
27
22
  location: Localização
28
23
  location_hints: Dicas de localização
29
24
  online_meeting_url: URL da reunião on-line
@@ -35,7 +30,6 @@ pt-BR:
35
30
  registration_terms: Termos de registro
36
31
  registration_url: URL de Registro
37
32
  registrations_enabled: Registos habilitados
38
- start_time: Hora de início
39
33
  title: Título
40
34
  transparent: Transparente
41
35
  type_of_meeting: Tipo
@@ -2,10 +2,6 @@
2
2
  pt:
3
3
  activemodel:
4
4
  attributes:
5
- agenda:
6
- description: Descrição
7
- duration: Duração
8
- title: Título
9
5
  close_meeting:
10
6
  attendees_count: Número de participantes
11
7
  attending_organizations: Lista de organizações que participaram
@@ -23,7 +19,6 @@ pt:
23
19
  decidim_scope_id: Âmbito
24
20
  decidim_user_group_id: Grupo de utilizadores
25
21
  description: Descrição
26
- end_time: Hora de fim
27
22
  id: IDENTIFICAÇÃO
28
23
  location: Localização
29
24
  location_hints: Dicas de localização
@@ -36,8 +31,6 @@ pt:
36
31
  registration_terms: Termos de registo
37
32
  registration_url: URL de registo
38
33
  registrations_enabled: Registos ativados
39
- show_embedded_iframe: Mostrar iframe embutido para este URL
40
- start_time: Hora de início
41
34
  title: Título
42
35
  transparent: Transparente
43
36
  type_of_meeting: Tipo
@@ -2,10 +2,6 @@
2
2
  ro:
3
3
  activemodel:
4
4
  attributes:
5
- agenda:
6
- description: Descriere
7
- duration: Durată
8
- title: Titlu
9
5
  close_meeting:
10
6
  attendees_count: Număr de participanți
11
7
  attending_organizations: Lista organizaţiilor care au participat
@@ -23,7 +19,6 @@ ro:
23
19
  decidim_scope_id: Domeniu de interes
24
20
  decidim_user_group_id: Grup de utilizatori
25
21
  description: Descriere
26
- end_time: Ora de încheiere
27
22
  id: ID
28
23
  location: Locaţie
29
24
  location_hints: Sugestii de localizare
@@ -36,11 +31,14 @@ ro:
36
31
  registration_terms: Termeni de înregistrare
37
32
  registration_url: URL înregistrare
38
33
  registrations_enabled: Înregistrări activate
39
- show_embedded_iframe: Arată iframe încorporat pentru acest URL
40
- start_time: Ora de începere
41
34
  title: Titlu
42
35
  transparent: Transparentă
43
36
  type_of_meeting: Tip
37
+ meeting_agenda:
38
+ title: Titlu
39
+ meeting_agenda_items:
40
+ duration: Durată
41
+ title: Titlu
44
42
  errors:
45
43
  models:
46
44
  meeting:
@@ -287,9 +285,6 @@ ro:
287
285
  edit:
288
286
  close: Închide
289
287
  title: Închide ședința
290
- meeting_copies:
291
- form:
292
- select_a_meeting_type: Te rugăm să selectezi un tip de ședință
293
288
  meetings:
294
289
  close:
295
290
  invalid: A apărut o problemă la închiderea acestei întâlniri
@@ -2,10 +2,6 @@
2
2
  ru:
3
3
  activemodel:
4
4
  attributes:
5
- agenda:
6
- description: Описание
7
- duration: Длительность
8
- title: Заголовок
9
5
  close_meeting:
10
6
  attendees_count: Количество участников
11
7
  attending_organizations: Список принявших участие организаций
@@ -19,7 +15,6 @@ ru:
19
15
  decidim_category_id: Категория
20
16
  decidim_scope_id: Охват
21
17
  description: Описание
22
- end_time: Время окончания
23
18
  location: Место
24
19
  location_hints: Как добраться
25
20
  organizer_id: Организация
@@ -27,7 +22,6 @@ ru:
27
22
  registration_form_enabled: Регистрационная форма включена
28
23
  registration_terms: Условия регистрации
29
24
  registrations_enabled: Регистрация включена
30
- start_time: Время начала
31
25
  title: Название
32
26
  transparent: Прозрачная
33
27
  errors:
@@ -2,10 +2,6 @@
2
2
  sk:
3
3
  activemodel:
4
4
  attributes:
5
- agenda:
6
- description: Popis
7
- duration: Čas trvania
8
- title: Názov
9
5
  close_meeting:
10
6
  attendees_count: Počet účastníkov
11
7
  attending_organizations: Zoznam organizácií, ktoré sa zúčastnili
@@ -19,7 +15,6 @@ sk:
19
15
  decidim_category_id: Kategória
20
16
  decidim_scope_id: Rozsah
21
17
  description: Popis
22
- end_time: Čas ukončenia
23
18
  location: Umiestnenie
24
19
  location_hints: Tipy pre umiestnenie
25
20
  organizer_id: Organizátor
@@ -27,7 +22,6 @@ sk:
27
22
  registration_form_enabled: Registračný formulár je povolený
28
23
  registration_terms: Podmienky registrácie
29
24
  registrations_enabled: Registrácia povolené
30
- start_time: Čas začatia
31
25
  title: Názov
32
26
  transparent: Transparentné
33
27
  errors:
@@ -1,9 +1,6 @@
1
1
  ---
2
2
  sl:
3
3
  activemodel:
4
- attributes:
5
- agenda:
6
- description: Opis
7
4
  models:
8
5
  decidim/meetings/create_meeting_event: Sestanek
9
6
  decidim:
@@ -2,10 +2,6 @@
2
2
  sv:
3
3
  activemodel:
4
4
  attributes:
5
- agenda:
6
- description: Beskrivning
7
- duration: Varaktighet
8
- title: Titel
9
5
  close_meeting:
10
6
  attendees_count: Antal deltagare
11
7
  attending_organizations: Lista över organisationer som deltog
@@ -36,11 +32,20 @@ sv:
36
32
  registration_terms: Registreringsvillkor
37
33
  registration_url: URL för anmälan
38
34
  registrations_enabled: Registreringar aktiverade
39
- show_embedded_iframe: Visa integrerad iframe för denna URL
40
- start_time: Starttid
41
35
  title: Titel
42
36
  transparent: Transparent
43
37
  type_of_meeting: Typ
38
+ meeting_agenda:
39
+ title: Titel
40
+ visible: Synlig
41
+ meeting_agenda_items:
42
+ duration: Varaktighet
43
+ title: Titel
44
+ meeting_registration_invite:
45
+ email: E-post
46
+ name: Namn
47
+ validate_registration_code:
48
+ code: Kod
44
49
  errors:
45
50
  models:
46
51
  meeting:
@@ -280,9 +285,6 @@ sv:
280
285
  edit:
281
286
  close: Stäng
282
287
  title: Stäng mötet
283
- meeting_copies:
284
- form:
285
- select_a_meeting_type: Välj mötestyp
286
288
  meetings:
287
289
  close:
288
290
  invalid: Det gick inte att stänga mötet
@@ -2,10 +2,6 @@
2
2
  tr:
3
3
  activemodel:
4
4
  attributes:
5
- agenda:
6
- description: Açıklama
7
- duration: süre
8
- title: Başlık
9
5
  close_meeting:
10
6
  attendees_count: Katılımcı sayısı
11
7
  attending_organizations: Katılan kuruluşların listesi
@@ -22,7 +18,6 @@ tr:
22
18
  decidim_scope_id: kapsam
23
19
  decidim_user_group_id: Kullanıcı grubu
24
20
  description: Açıklama
25
- end_time: Bitiş zamanı
26
21
  location: yer
27
22
  location_hints: Yer ipuçları
28
23
  online_meeting_url: Çevrimiçi Toplantı URL
@@ -33,7 +28,6 @@ tr:
33
28
  registration_terms: Kayıt şartları
34
29
  registration_url: Kayıt URL
35
30
  registrations_enabled: Kayıtlar etkinleştirildi
36
- start_time: Başlama zamanı
37
31
  title: Başlık
38
32
  transparent: Şeffaf
39
33
  type_of_meeting: Tür
@@ -2,10 +2,6 @@
2
2
  uk:
3
3
  activemodel:
4
4
  attributes:
5
- agenda:
6
- description: Опис
7
- duration: Тривалість
8
- title: Заголовок
9
5
  close_meeting:
10
6
  attendees_count: Кількість учасників
11
7
  attending_organizations: Перелік організацій, які брали участь
@@ -19,14 +15,12 @@ uk:
19
15
  decidim_category_id: Категорія
20
16
  decidim_scope_id: Обсяг
21
17
  description: Опис
22
- end_time: Час завершення
23
18
  location: Розташування
24
19
  location_hints: Як дістатися до цього місця
25
20
  organizer_id: Організатор
26
21
  private_meeting: Приватна зустріч
27
22
  registration_terms: Умови реєстрації
28
23
  registrations_enabled: Реєстрацію відкрито
29
- start_time: Час початку
30
24
  title: Назва
31
25
  transparent: Прозора
32
26
  errors:
@@ -2,10 +2,6 @@
2
2
  zh-CN:
3
3
  activemodel:
4
4
  attributes:
5
- agenda:
6
- description: 描述
7
- duration: 期限
8
- title: 标题
9
5
  close_meeting:
10
6
  attendees_count: 参与者人数
11
7
  attending_organizations: 与会组织名单
@@ -20,7 +16,6 @@ zh-CN:
20
16
  decidim_scope_id: 范围
21
17
  decidim_user_group_id: 用户组
22
18
  description: 描述
23
- end_time: 结束时间
24
19
  location: 地点
25
20
  location_hints: 位置提示
26
21
  organizer_gid: 创建为
@@ -29,7 +24,6 @@ zh-CN:
29
24
  registration_form_enabled: 注册表单已启用
30
25
  registration_terms: 注册条款
31
26
  registrations_enabled: 注册已启用
32
- start_time: 开始时间
33
27
  title: 标题
34
28
  transparent: 透明的
35
29
  errors:
@@ -57,7 +57,7 @@ module Decidim
57
57
  # meeting for the given participatory space.
58
58
  Decidim.view_hooks.register(:upcoming_meeting_for_card, priority: Decidim::ViewHooks::LOW_PRIORITY) do |view_context|
59
59
  published_components = Decidim::Component.where(participatory_space: view_context.current_participatory_space).published
60
- upcoming_meeting = Decidim::Meetings::Meeting.where(component: published_components).upcoming.order(:start_time, :end_time).first
60
+ upcoming_meeting = Decidim::Meetings::Meeting.where(component: published_components).published.upcoming.order(:start_time, :end_time).first
61
61
 
62
62
  next unless upcoming_meeting
63
63
 
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-meetings version.
5
5
  module Meetings
6
6
  def self.version
7
- "0.27.1"
7
+ "0.27.2"
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-meetings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.1
4
+ version: 0.27.2
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: decidim-core
@@ -18,28 +18,28 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.27.1
21
+ version: 0.27.2
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.27.1
28
+ version: 0.27.2
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: decidim-forms
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.27.1
35
+ version: 0.27.2
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.27.1
42
+ version: 0.27.2
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: icalendar
45
45
  requirement: !ruby/object:Gem::Requirement
@@ -60,56 +60,56 @@ dependencies:
60
60
  requirements:
61
61
  - - '='
62
62
  - !ruby/object:Gem::Version
63
- version: 0.27.1
63
+ version: 0.27.2
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.27.1
70
+ version: 0.27.2
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: decidim-assemblies
73
73
  requirement: !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - '='
76
76
  - !ruby/object:Gem::Version
77
- version: 0.27.1
77
+ version: 0.27.2
78
78
  type: :development
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - '='
83
83
  - !ruby/object:Gem::Version
84
- version: 0.27.1
84
+ version: 0.27.2
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: decidim-dev
87
87
  requirement: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - '='
90
90
  - !ruby/object:Gem::Version
91
- version: 0.27.1
91
+ version: 0.27.2
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.27.1
98
+ version: 0.27.2
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.27.1
105
+ version: 0.27.2
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.27.1
112
+ version: 0.27.2
113
113
  description: A meetings component for decidim's participatory spaces.
114
114
  email:
115
115
  - josepjaume@gmail.com
@@ -224,7 +224,6 @@ files:
224
224
  - app/forms/decidim/meetings/admin/close_meeting_form.rb
225
225
  - app/forms/decidim/meetings/admin/meeting_agenda_form.rb
226
226
  - app/forms/decidim/meetings/admin/meeting_agenda_items_form.rb
227
- - app/forms/decidim/meetings/admin/meeting_copy_form.rb
228
227
  - app/forms/decidim/meetings/admin/meeting_form.rb
229
228
  - app/forms/decidim/meetings/admin/meeting_registration_invite_form.rb
230
229
  - app/forms/decidim/meetings/admin/meeting_registrations_form.rb
@@ -322,7 +321,6 @@ files:
322
321
  - app/views/decidim/meetings/admin/meeting_closes/_form.html.erb
323
322
  - app/views/decidim/meetings/admin/meeting_closes/edit.html.erb
324
323
  - app/views/decidim/meetings/admin/meeting_closes/proposals_picker.html.erb
325
- - app/views/decidim/meetings/admin/meeting_copies/_form.html.erb
326
324
  - app/views/decidim/meetings/admin/meeting_copies/new.html.erb
327
325
  - app/views/decidim/meetings/admin/meetings/_form.html.erb
328
326
  - app/views/decidim/meetings/admin/meetings/_service.html.erb
@@ -419,6 +417,7 @@ files:
419
417
  - config/locales/is.yml
420
418
  - config/locales/it.yml
421
419
  - config/locales/ja.yml
420
+ - config/locales/ka-GE.yml
422
421
  - config/locales/ko-KR.yml
423
422
  - config/locales/ko.yml
424
423
  - config/locales/lb-LU.yml
@@ -559,7 +558,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
559
558
  - !ruby/object:Gem::Version
560
559
  version: '0'
561
560
  requirements: []
562
- rubygems_version: 3.2.22
561
+ rubygems_version: 3.3.7
563
562
  signing_key:
564
563
  specification_version: 4
565
564
  summary: Decidim meetings module
@@ -1,51 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Decidim
4
- module Meetings
5
- module Admin
6
- # A form object used to copy a meeting from the admin
7
- # dashboard.
8
- #
9
- class MeetingCopyForm < ::Decidim::Meetings::BaseMeetingForm
10
- include TranslatableAttributes
11
-
12
- translatable_attribute :title, String
13
- translatable_attribute :description, String
14
- translatable_attribute :location, String
15
- translatable_attribute :location_hints, String
16
-
17
- attribute :show_embedded_iframe, Boolean, default: false
18
- attribute :private_meeting, Boolean
19
- attribute :transparent, Boolean
20
- attribute :services, Array[MeetingServiceForm]
21
-
22
- mimic :meeting
23
-
24
- validates :online_meeting_url, url: true, if: ->(form) { form.online_meeting? || form.hybrid_meeting? }
25
- validates :title, translatable_presence: true
26
- validates :description, translatable_presence: true
27
- validates :location, translatable_presence: true, if: ->(form) { form.in_person_meeting? || form.hybrid_meeting? }
28
-
29
- def map_model(model)
30
- self.services = model.services.map do |service|
31
- MeetingServiceForm.new(service.attributes)
32
- end
33
- end
34
-
35
- def services_to_persist
36
- services.reject(&:deleted)
37
- end
38
-
39
- def number_of_services
40
- services.size
41
- end
42
-
43
- alias component current_component
44
-
45
- def questionnaire
46
- Decidim::Forms::Questionnaire.new
47
- end
48
- end
49
- end
50
- end
51
- end
@@ -1,64 +0,0 @@
1
- <div class="card" id="meetings">
2
- <div class="card-divider">
3
- <h2 class="card-title"><%= title %></h2>
4
- </div>
5
-
6
- <div class="card-section">
7
- <div class="row column hashtags__container">
8
- <%= form.translated :text_field, :title, autofocus: true, class: "js-hashtags", hashtaggable: true, value: @meeting.present? ? present(@meeting).title(all_locales: true) : @form.title.with_indifferent_access %>
9
- </div>
10
-
11
- <div class="row column hashtags__container">
12
- <%= form.translated :editor, :description, hashtaggable: true, value: @meeting.present? ? present(@meeting).description(all_locales: true) : @form.description.with_indifferent_access %>
13
- </div>
14
-
15
- <div class="row column">
16
- <%= form.select :type_of_meeting,
17
- @form.type_of_meeting_select,
18
- { include_blank: t(".select_a_meeting_type") },
19
- { multiple: false } %>
20
- </div>
21
-
22
- <div class="row column field" data-meeting-type="in_person">
23
- <%= form.geocoding_field :address %>
24
- </div>
25
-
26
- <div class="row column field" data-meeting-type="in_person">
27
- <%= form.translated :text_area, :location %>
28
- </div>
29
-
30
- <div class="row column">
31
- <%= form.translated :text_area, :location_hints %>
32
- </div>
33
-
34
- <div class="row column field" data-meeting-type="online">
35
- <%= form.text_field :online_meeting_url %>
36
- </div>
37
-
38
- <div class="row column field" data-meeting-type="online">
39
- <%= form.check_box :show_embedded_iframe %>
40
- </div>
41
-
42
- <div class="row">
43
- <div class="columns xlarge-6">
44
- <%= form.datetime_field :start_time %>
45
- </div>
46
-
47
- <div class="columns xlarge-6">
48
- <%= form.datetime_field :end_time %>
49
- </div>
50
- </div>
51
-
52
- <div class="row column" id="private_meeting">
53
- <%= form.check_box :private_meeting %>
54
- </div>
55
-
56
- <div class="row column" id="transparent">
57
- <%= form.check_box :transparent %>
58
- </div>
59
- </div>
60
- </div>
61
-
62
- <%= render "decidim/meetings/admin/meetings/services", form: form %>
63
-
64
- <%= javascript_pack_tag "decidim_meetings_admin" %>