decidim-meetings 0.29.0.rc3 → 0.29.0.rc4
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/meetings/meeting_l_cell.rb +0 -4
- data/app/helpers/decidim/meetings/application_helper.rb +5 -1
- data/app/presenters/decidim/meetings/meeting_presenter.rb +2 -5
- data/app/views/decidim/meetings/meetings/_meeting_minutes.html.erb +1 -1
- data/lib/decidim/meetings/version.rb +1 -1
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 138d1388379cbfc6a8babe15845b3fe36e41deb27b94a11d6aca614be8f3868d
|
4
|
+
data.tar.gz: b05db559a7ce9ee5bd3c076ee073058d9738da7348fa9b028b934d8057a4c412
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be00719b4a7f032fa5d23aef1f861b740b9cefb6307fef8a759c3d68b5d886776b9f989362e4516d9daec0a276dc3a0fdd51bbf08f321eb9629012b5b5bfa865
|
7
|
+
data.tar.gz: 04b34d704c88bcb2c9e5f04bcf95e9dddc08dc980c76a72f5aa42a287d372c7af24c76f70aecda00d0716f84974d2b4bcba6169ac76e5742f7d9add815c17231
|
@@ -59,7 +59,11 @@ module Decidim
|
|
59
59
|
|
60
60
|
# If the content is safe, HTML tags are sanitized, otherwise, they are stripped.
|
61
61
|
def render_meeting_body(meeting)
|
62
|
-
|
62
|
+
render_meeting_sanitize_field(meeting, :description)
|
63
|
+
end
|
64
|
+
|
65
|
+
def render_meeting_sanitize_field(meeting, field)
|
66
|
+
sanitized = render_sanitized_content(meeting, field)
|
63
67
|
if safe_content?
|
64
68
|
Decidim::ContentProcessor.render_without_format(sanitized).html_safe
|
65
69
|
else
|
@@ -64,13 +64,10 @@ module Decidim
|
|
64
64
|
end
|
65
65
|
end
|
66
66
|
|
67
|
-
def closing_report(links: false, all_locales: false)
|
67
|
+
def closing_report(links: false, extras: false, strip_tags: false, all_locales: false)
|
68
68
|
return unless meeting
|
69
69
|
|
70
|
-
|
71
|
-
renderer = Decidim::ContentRenderers::HashtagRenderer.new(sanitized(content))
|
72
|
-
renderer.render(links:).html_safe
|
73
|
-
end
|
70
|
+
content_handle_locale(meeting.closing_report, all_locales, extras, links, strip_tags)
|
74
71
|
end
|
75
72
|
|
76
73
|
def registration_email_custom_content(links: false, all_locales: false)
|
@@ -5,7 +5,7 @@
|
|
5
5
|
</div>
|
6
6
|
|
7
7
|
<div class="meeting__agenda-item">
|
8
|
-
<div class="meeting__agenda-item__description editor-content mb-4"><%=
|
8
|
+
<div class="meeting__agenda-item__description editor-content mb-4"><%= render_meeting_sanitize_field(meeting, :closing_report) %></div>
|
9
9
|
|
10
10
|
<% if meeting.video_url.presence %>
|
11
11
|
<div class="flex items-center gap-2 mt-2">
|
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.29.0.
|
4
|
+
version: 0.29.0.rc4
|
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: 2024-07-
|
13
|
+
date: 2024-07-30 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.29.0.
|
21
|
+
version: 0.29.0.rc4
|
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.29.0.
|
28
|
+
version: 0.29.0.rc4
|
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.29.0.
|
35
|
+
version: 0.29.0.rc4
|
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.29.0.
|
42
|
+
version: 0.29.0.rc4
|
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.29.0.
|
63
|
+
version: 0.29.0.rc4
|
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.29.0.
|
70
|
+
version: 0.29.0.rc4
|
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.29.0.
|
77
|
+
version: 0.29.0.rc4
|
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.29.0.
|
84
|
+
version: 0.29.0.rc4
|
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.29.0.
|
91
|
+
version: 0.29.0.rc4
|
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.29.0.
|
98
|
+
version: 0.29.0.rc4
|
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.29.0.
|
105
|
+
version: 0.29.0.rc4
|
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.29.0.
|
112
|
+
version: 0.29.0.rc4
|
113
113
|
description: A meetings component for decidim's participatory spaces.
|
114
114
|
email:
|
115
115
|
- josepjaume@gmail.com
|