decidim-meetings 0.25.0 → 0.26.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/meetings/content_blocks/highlighted_meetings/heading.erb +1 -1
  3. data/app/cells/decidim/meetings/content_blocks/highlighted_meetings_cell.rb +1 -1
  4. data/app/cells/decidim/meetings/content_blocks/{upcoming_events → upcoming_meetings}/show.erb +6 -6
  5. data/app/cells/decidim/meetings/content_blocks/{upcoming_events_cell.rb → upcoming_meetings_cell.rb} +11 -10
  6. data/app/cells/decidim/meetings/highlighted_meetings_for_component_cell.rb +1 -1
  7. data/app/cells/decidim/meetings/join_meeting_button_cell.rb +1 -1
  8. data/app/cells/decidim/meetings/meeting_list_item_cell.rb +10 -0
  9. data/app/cells/decidim/meetings/meeting_m_cell.rb +48 -0
  10. data/app/cells/decidim/meetings/meeting_s_cell.rb +22 -0
  11. data/app/cells/decidim/meetings/meetings_map_cell.rb +6 -0
  12. data/app/cells/decidim/meetings/online_meeting_cell.rb +23 -8
  13. data/app/cells/decidim/meetings/online_meeting_link/show.erb +2 -2
  14. data/app/cells/decidim/meetings/online_meeting_link_cell.rb +1 -5
  15. data/app/cells/decidim/meetings/public_participants_list_cell.rb +1 -0
  16. data/app/cells/decidim/meetings/question_responses_cell.rb +1 -1
  17. data/app/commands/decidim/meetings/admin/create_meeting.rb +11 -1
  18. data/app/commands/decidim/meetings/admin/publish_meeting.rb +3 -1
  19. data/app/commands/decidim/meetings/admin/update_meeting.rb +8 -2
  20. data/app/commands/decidim/meetings/create_meeting.rb +14 -2
  21. data/app/commands/decidim/meetings/update_meeting.rb +5 -2
  22. data/app/commands/decidim/meetings/withdraw_meeting.rb +39 -0
  23. data/app/controllers/concerns/decidim/meetings/filterable.rb +33 -0
  24. data/app/controllers/decidim/meetings/directory/application_controller.rb +16 -0
  25. data/app/controllers/decidim/meetings/directory/meetings_controller.rb +31 -20
  26. data/app/controllers/decidim/meetings/live_events_controller.rb +7 -1
  27. data/app/controllers/decidim/meetings/meetings_controller.rb +19 -17
  28. data/app/events/decidim/meetings/close_meeting_event.rb +1 -3
  29. data/app/events/decidim/meetings/create_meeting_event.rb +2 -4
  30. data/app/events/decidim/meetings/meeting_event.rb +37 -0
  31. data/app/events/decidim/meetings/meeting_registrations_enabled_event.rb +1 -3
  32. data/app/events/decidim/meetings/meeting_registrations_over_percentage_event.rb +2 -4
  33. data/app/events/decidim/meetings/registration_code_validated_event.rb +2 -4
  34. data/app/events/decidim/meetings/upcoming_meeting_event.rb +1 -3
  35. data/app/events/decidim/meetings/update_meeting_event.rb +1 -3
  36. data/app/forms/decidim/meetings/admin/close_meeting_form.rb +1 -1
  37. data/app/forms/decidim/meetings/admin/meeting_copy_form.rb +4 -13
  38. data/app/forms/decidim/meetings/admin/meeting_form.rb +34 -46
  39. data/app/forms/decidim/meetings/base_meeting_form.rb +59 -0
  40. data/app/forms/decidim/meetings/close_meeting_form.rb +6 -6
  41. data/app/forms/decidim/meetings/meeting_form.rb +30 -46
  42. data/app/helpers/decidim/meetings/application_helper.rb +13 -1
  43. data/app/helpers/decidim/meetings/directory/application_helper.rb +150 -0
  44. data/app/helpers/decidim/meetings/meeting_cells_helper.rb +4 -1
  45. data/app/helpers/decidim/meetings/meetings_helper.rb +3 -0
  46. data/app/models/decidim/meetings/meeting.rb +54 -2
  47. data/app/packs/src/decidim/meetings/admin/meetings_form.js +27 -11
  48. data/app/packs/src/decidim/meetings/meetings_form.js +19 -0
  49. data/app/packs/src/decidim/meetings/meetings_polls.js +31 -26
  50. data/app/permissions/decidim/meetings/permissions.rb +9 -1
  51. data/app/presenters/decidim/meetings/meeting_edition_presenter.rb +14 -0
  52. data/app/presenters/decidim/meetings/meeting_presenter.rb +13 -6
  53. data/app/services/decidim/meetings/directory/meeting_search.rb +53 -0
  54. data/app/services/decidim/meetings/meeting_iframe_embedder.rb +1 -1
  55. data/app/services/decidim/meetings/meeting_search.rb +15 -2
  56. data/app/views/decidim/meetings/admin/meeting_copies/_form.html.erb +16 -1
  57. data/app/views/decidim/meetings/admin/meeting_copies/new.html.erb +1 -1
  58. data/app/views/decidim/meetings/admin/meetings/_form.html.erb +15 -3
  59. data/app/views/decidim/meetings/directory/meetings/_filters.html.erb +34 -0
  60. data/app/views/decidim/meetings/directory/meetings/index.html.erb +1 -18
  61. data/app/views/decidim/meetings/meetings/_filters.html.erb +2 -0
  62. data/app/views/decidim/meetings/meetings/_filters_small_view.html.erb +3 -3
  63. data/app/views/decidim/meetings/meetings/_form.html.erb +14 -3
  64. data/app/views/decidim/meetings/meetings/_linked_meetings.html.erb +1 -1
  65. data/app/views/decidim/meetings/meetings/_meetings.html.erb +18 -0
  66. data/app/views/decidim/meetings/meetings/index.html.erb +1 -0
  67. data/app/views/decidim/meetings/meetings/show.html.erb +12 -13
  68. data/config/locales/ar.yml +2 -9
  69. data/config/locales/ca.yml +44 -16
  70. data/config/locales/cs.yml +41 -13
  71. data/config/locales/de.yml +56 -9
  72. data/config/locales/el.yml +2 -9
  73. data/config/locales/en.yml +41 -13
  74. data/config/locales/es-MX.yml +40 -12
  75. data/config/locales/es-PY.yml +41 -13
  76. data/config/locales/es.yml +41 -13
  77. data/config/locales/eu.yml +27 -13
  78. data/config/locales/fi-plain.yml +41 -13
  79. data/config/locales/fi.yml +41 -13
  80. data/config/locales/fr-CA.yml +48 -13
  81. data/config/locales/fr.yml +70 -35
  82. data/config/locales/ga-IE.yml +2 -7
  83. data/config/locales/gl.yml +28 -9
  84. data/config/locales/hu.yml +2 -9
  85. data/config/locales/id-ID.yml +2 -9
  86. data/config/locales/it.yml +4 -16
  87. data/config/locales/ja.yml +45 -17
  88. data/config/locales/lb-LU.yml +210 -0
  89. data/config/locales/lb.yml +2 -11
  90. data/config/locales/lv.yml +2 -9
  91. data/config/locales/nl.yml +33 -9
  92. data/config/locales/no.yml +2 -9
  93. data/config/locales/pl.yml +17 -12
  94. data/config/locales/pt-BR.yml +3 -10
  95. data/config/locales/pt.yml +2 -15
  96. data/config/locales/ro-RO.yml +194 -100
  97. data/config/locales/ru.yml +0 -8
  98. data/config/locales/sk.yml +2 -9
  99. data/config/locales/sl.yml +0 -3
  100. data/config/locales/sv.yml +83 -9
  101. data/config/locales/tr-TR.yml +3 -10
  102. data/config/locales/val-ES.yml +1 -0
  103. data/config/locales/zh-CN.yml +2 -9
  104. data/db/migrate/20210519133705_add_comments_availability_columns_to_meetings_table.rb +14 -0
  105. data/db/migrate/20210727085318_add_state_field_to_meeting.rb +7 -0
  106. data/db/migrate/20210903143040_add_iframe_access_level_to_decidim_meetings.rb +7 -0
  107. data/db/migrate/20210922140454_transform_show_embedded_iframe_column.rb +15 -0
  108. data/db/migrate/20210928095036_rename_upcoming_events_content_block_to_upcoming_meetings.rb +13 -0
  109. data/lib/decidim/api/meeting_type.rb +2 -1
  110. data/lib/decidim/meetings/component.rb +15 -6
  111. data/lib/decidim/meetings/directory_engine.rb +3 -3
  112. data/lib/decidim/meetings/engine.rb +8 -1
  113. data/lib/decidim/meetings/meeting_serializer.rb +2 -2
  114. data/lib/decidim/meetings/test/factories.rb +24 -3
  115. data/lib/decidim/meetings/test/notifications_handling.rb +39 -0
  116. data/lib/decidim/meetings/test/translated_event.rb +22 -0
  117. data/lib/decidim/meetings/version.rb +1 -1
  118. data/lib/decidim/meetings.rb +5 -0
  119. metadata +39 -22
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-meetings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.26.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
8
8
  - Marc Riera Casals
9
9
  - Oriol Gual Oliva
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-10-07 00:00:00.000000000 Z
13
+ date: 2022-02-02 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.25.0
21
+ version: 0.26.0.rc2
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.25.0
28
+ version: 0.26.0.rc2
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.25.0
35
+ version: 0.26.0.rc2
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.25.0
42
+ version: 0.26.0.rc2
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.25.0
63
+ version: 0.26.0.rc2
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.25.0
70
+ version: 0.26.0.rc2
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.25.0
77
+ version: 0.26.0.rc2
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.25.0
84
+ version: 0.26.0.rc2
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.25.0
91
+ version: 0.26.0.rc2
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.25.0
98
+ version: 0.26.0.rc2
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.25.0
105
+ version: 0.26.0.rc2
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.25.0
112
+ version: 0.26.0.rc2
113
113
  description: A meetings component for decidim's participatory spaces.
114
114
  email:
115
115
  - josepjaume@gmail.com
@@ -124,8 +124,8 @@ files:
124
124
  - app/cells/decidim/meetings/content_blocks/highlighted_meetings/elements.erb
125
125
  - app/cells/decidim/meetings/content_blocks/highlighted_meetings/heading.erb
126
126
  - app/cells/decidim/meetings/content_blocks/highlighted_meetings_cell.rb
127
- - app/cells/decidim/meetings/content_blocks/upcoming_events/show.erb
128
- - app/cells/decidim/meetings/content_blocks/upcoming_events_cell.rb
127
+ - app/cells/decidim/meetings/content_blocks/upcoming_meetings/show.erb
128
+ - app/cells/decidim/meetings/content_blocks/upcoming_meetings_cell.rb
129
129
  - app/cells/decidim/meetings/highlighted_meetings/show.erb
130
130
  - app/cells/decidim/meetings/highlighted_meetings_cell.rb
131
131
  - app/cells/decidim/meetings/highlighted_meetings_for_component/show.erb
@@ -184,7 +184,9 @@ files:
184
184
  - app/commands/decidim/meetings/join_meeting.rb
185
185
  - app/commands/decidim/meetings/leave_meeting.rb
186
186
  - app/commands/decidim/meetings/update_meeting.rb
187
+ - app/commands/decidim/meetings/withdraw_meeting.rb
187
188
  - app/controllers/concerns/decidim/meetings/admin/filterable.rb
189
+ - app/controllers/concerns/decidim/meetings/filterable.rb
188
190
  - app/controllers/concerns/decidim/meetings/polls_resources.rb
189
191
  - app/controllers/decidim/meetings/admin/agenda_controller.rb
190
192
  - app/controllers/decidim/meetings/admin/application_controller.rb
@@ -199,6 +201,7 @@ files:
199
201
  - app/controllers/decidim/meetings/admin/registrations_controller.rb
200
202
  - app/controllers/decidim/meetings/application_controller.rb
201
203
  - app/controllers/decidim/meetings/calendars_controller.rb
204
+ - app/controllers/decidim/meetings/directory/application_controller.rb
202
205
  - app/controllers/decidim/meetings/directory/meetings_controller.rb
203
206
  - app/controllers/decidim/meetings/live_events_controller.rb
204
207
  - app/controllers/decidim/meetings/meeting_closes_controller.rb
@@ -210,6 +213,7 @@ files:
210
213
  - app/controllers/decidim/meetings/widgets_controller.rb
211
214
  - app/events/decidim/meetings/close_meeting_event.rb
212
215
  - app/events/decidim/meetings/create_meeting_event.rb
216
+ - app/events/decidim/meetings/meeting_event.rb
213
217
  - app/events/decidim/meetings/meeting_registration_notification_event.rb
214
218
  - app/events/decidim/meetings/meeting_registrations_enabled_event.rb
215
219
  - app/events/decidim/meetings/meeting_registrations_over_percentage_event.rb
@@ -230,12 +234,14 @@ files:
230
234
  - app/forms/decidim/meetings/admin/validate_registration_code_form.rb
231
235
  - app/forms/decidim/meetings/answer_choice_form.rb
232
236
  - app/forms/decidim/meetings/answer_form.rb
237
+ - app/forms/decidim/meetings/base_meeting_form.rb
233
238
  - app/forms/decidim/meetings/close_meeting_form.rb
234
239
  - app/forms/decidim/meetings/join_meeting_form.rb
235
240
  - app/forms/decidim/meetings/meeting_form.rb
236
241
  - app/helpers/decidim/meetings/admin/application_helper.rb
237
242
  - app/helpers/decidim/meetings/admin/filterable_helper.rb
238
243
  - app/helpers/decidim/meetings/application_helper.rb
244
+ - app/helpers/decidim/meetings/directory/application_helper.rb
239
245
  - app/helpers/decidim/meetings/map_helper.rb
240
246
  - app/helpers/decidim/meetings/meeting_cells_helper.rb
241
247
  - app/helpers/decidim/meetings/meetings_helper.rb
@@ -277,6 +283,7 @@ files:
277
283
  - app/presenters/decidim/meetings/admin_log/value_types/meeting_title_description_presenter.rb
278
284
  - app/presenters/decidim/meetings/invite_presenter.rb
279
285
  - app/presenters/decidim/meetings/log/resource_presenter.rb
286
+ - app/presenters/decidim/meetings/meeting_edition_presenter.rb
280
287
  - app/presenters/decidim/meetings/meeting_presenter.rb
281
288
  - app/presenters/decidim/meetings/official_author_presenter.rb
282
289
  - app/queries/decidim/meetings/admin/invites.rb
@@ -294,6 +301,7 @@ files:
294
301
  - app/services/decidim/meetings/calendar/organization_calendar.rb
295
302
  - app/services/decidim/meetings/calendar_renderer.rb
296
303
  - app/services/decidim/meetings/diff_renderer.rb
304
+ - app/services/decidim/meetings/directory/meeting_search.rb
297
305
  - app/services/decidim/meetings/meeting_iframe_embedder.rb
298
306
  - app/services/decidim/meetings/meeting_search.rb
299
307
  - app/views/decidim/meetings/_calendar_modal.html.erb
@@ -326,6 +334,7 @@ files:
326
334
  - app/views/decidim/meetings/admin/poll/edit.html.erb
327
335
  - app/views/decidim/meetings/admin/registrations/_form.html.erb
328
336
  - app/views/decidim/meetings/admin/registrations/edit.html.erb
337
+ - app/views/decidim/meetings/directory/meetings/_filters.html.erb
329
338
  - app/views/decidim/meetings/directory/meetings/_meetings.html.erb
330
339
  - app/views/decidim/meetings/directory/meetings/index.html.erb
331
340
  - app/views/decidim/meetings/directory/meetings/index.js.erb
@@ -433,6 +442,7 @@ files:
433
442
  - config/locales/ti-ER.yml
434
443
  - config/locales/tr-TR.yml
435
444
  - config/locales/uk.yml
445
+ - config/locales/val-ES.yml
436
446
  - config/locales/vi-VN.yml
437
447
  - config/locales/vi.yml
438
448
  - config/locales/zh-CN.yml
@@ -480,6 +490,7 @@ files:
480
490
  - db/migrate/20210512055802_create_decidim_meetings_polls.rb
481
491
  - db/migrate/20210512100333_drop_decidim_meetings_minutes_table.rb
482
492
  - db/migrate/20210518133236_merge_minutes_with_closing_report_in_meetings_table.rb
493
+ - db/migrate/20210519133705_add_comments_availability_columns_to_meetings_table.rb
483
494
  - db/migrate/20210520084247_create_decidim_meetings_questionnaires.rb
484
495
  - db/migrate/20210520084253_create_decidim_meetings_questions.rb
485
496
  - db/migrate/20210520084321_create_decidim_meetings_answers.rb
@@ -487,6 +498,10 @@ files:
487
498
  - db/migrate/20210520084337_create_decidim_meetings_answer_choices.rb
488
499
  - db/migrate/20210520134834_add_status_to_meetings_questions.rb
489
500
  - db/migrate/20210602040614_add_setting_embed_iframe_to_meetings.rb
501
+ - db/migrate/20210727085318_add_state_field_to_meeting.rb
502
+ - db/migrate/20210903143040_add_iframe_access_level_to_decidim_meetings.rb
503
+ - db/migrate/20210922140454_transform_show_embedded_iframe_column.rb
504
+ - db/migrate/20210928095036_rename_upcoming_events_content_block_to_upcoming_meetings.rb
490
505
  - lib/decidim/api/agenda_item_type.rb
491
506
  - lib/decidim/api/agenda_type.rb
492
507
  - lib/decidim/api/linked_resources_interface.rb
@@ -510,6 +525,8 @@ files:
510
525
  - lib/decidim/meetings/seeds/Exampledocument.pdf
511
526
  - lib/decidim/meetings/seeds/city.jpeg
512
527
  - lib/decidim/meetings/test/factories.rb
528
+ - lib/decidim/meetings/test/notifications_handling.rb
529
+ - lib/decidim/meetings/test/translated_event.rb
513
530
  - lib/decidim/meetings/user_answers_serializer.rb
514
531
  - lib/decidim/meetings/version.rb
515
532
  - lib/tasks/decidim_meetings.rake
@@ -517,7 +534,7 @@ homepage: https://github.com/decidim/decidim
517
534
  licenses:
518
535
  - AGPL-3.0
519
536
  metadata: {}
520
- post_install_message:
537
+ post_install_message:
521
538
  rdoc_options: []
522
539
  require_paths:
523
540
  - lib
@@ -528,12 +545,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
528
545
  version: '2.7'
529
546
  required_rubygems_version: !ruby/object:Gem::Requirement
530
547
  requirements:
531
- - - ">="
548
+ - - ">"
532
549
  - !ruby/object:Gem::Version
533
- version: '0'
550
+ version: 1.3.1
534
551
  requirements: []
535
- rubygems_version: 3.1.2
536
- signing_key:
552
+ rubygems_version: 3.1.6
553
+ signing_key:
537
554
  specification_version: 4
538
555
  summary: Decidim meetings module
539
556
  test_files: []