decidim-comments 0.29.1 → 0.30.0.rc1
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/comments/comment/actions.erb +0 -8
- data/app/cells/decidim/comments/comment/show.erb +41 -5
- data/app/cells/decidim/comments/comment_cell.rb +44 -0
- data/app/cells/decidim/comments/comment_form/comment_as.erb +24 -6
- data/app/cells/decidim/comments/comment_form/opinion.erb +0 -4
- data/app/cells/decidim/comments/comment_form/show.erb +31 -29
- data/app/cells/decidim/comments/comment_form_cell.rb +7 -2
- data/app/cells/decidim/comments/comment_thread/show.erb +1 -1
- data/app/cells/decidim/comments/comments/add_comment.erb +12 -14
- data/app/cells/decidim/comments/comments/comments_in_single_column.erb +6 -0
- data/app/cells/decidim/comments/comments/order_control.erb +32 -9
- data/app/cells/decidim/comments/comments/show.erb +7 -7
- data/app/cells/decidim/comments/comments_cell.rb +56 -12
- data/app/cells/decidim/comments/two_columns_comments/column.erb +20 -0
- data/app/cells/decidim/comments/two_columns_comments/show.erb +11 -0
- data/app/cells/decidim/comments/two_columns_comments_cell.rb +86 -0
- data/app/forms/decidim/comments/comment_form.rb +14 -0
- data/app/models/decidim/comments/comment.rb +9 -7
- data/app/packs/entrypoints/decidim_comments.js +1 -0
- data/app/packs/src/decidim/comments/comments.component.js +151 -24
- data/app/packs/src/decidim/comments/comments.component.test.js +2 -1
- data/app/packs/src/decidim/comments/comments.js +95 -12
- data/app/packs/src/decidim/comments/comments_dropdown.js +57 -0
- data/app/packs/src/decidim/comments/comments_mobile_modal.js +46 -0
- data/app/packs/stylesheets/comments.scss +203 -50
- data/app/queries/decidim/comments/metrics/comment_participants_metric_measure.rb +1 -1
- data/app/queries/decidim/comments/metrics/comments_metric_manage.rb +22 -17
- data/app/views/decidim/comments/comments/create.js.erb +9 -1
- data/app/views/decidim/comments/comments/update.js.erb +6 -0
- data/config/locales/ar.yml +0 -1
- data/config/locales/bg.yml +0 -1
- data/config/locales/bn-BD.yml +1 -0
- data/config/locales/bs-BA.yml +15 -0
- data/config/locales/ca.yml +36 -3
- data/config/locales/cs.yml +37 -2
- data/config/locales/de.yml +36 -3
- data/config/locales/el.yml +0 -1
- data/config/locales/en.yml +35 -2
- data/config/locales/es-MX.yml +35 -2
- data/config/locales/es-PY.yml +35 -2
- data/config/locales/es.yml +36 -3
- data/config/locales/eu.yml +55 -19
- data/config/locales/fi-plain.yml +35 -2
- data/config/locales/fi.yml +39 -6
- data/config/locales/fr-CA.yml +8 -2
- data/config/locales/fr.yml +8 -2
- data/config/locales/gl.yml +0 -1
- data/config/locales/hu.yml +0 -1
- data/config/locales/id-ID.yml +0 -1
- data/config/locales/is-IS.yml +0 -1
- data/config/locales/it.yml +1 -1
- data/config/locales/ja.yml +34 -2
- data/config/locales/lb.yml +0 -1
- data/config/locales/lt.yml +0 -1
- data/config/locales/lv.yml +0 -1
- data/config/locales/nl.yml +0 -1
- data/config/locales/no.yml +0 -1
- data/config/locales/pl.yml +0 -2
- data/config/locales/pt-BR.yml +0 -1
- data/config/locales/pt.yml +0 -1
- data/config/locales/ro-RO.yml +1 -2
- data/config/locales/ru.yml +0 -1
- data/config/locales/sk.yml +0 -1
- data/config/locales/sv.yml +19 -2
- data/config/locales/tr-TR.yml +0 -1
- data/config/locales/uk.yml +0 -1
- data/config/locales/zh-CN.yml +0 -1
- data/config/locales/zh-TW.yml +0 -1
- data/decidim-comments.gemspec +2 -2
- data/lib/decidim/api/comment_mutation_type.rb +2 -2
- data/lib/decidim/api/comment_type.rb +25 -45
- data/lib/decidim/api/commentable_interface.rb +10 -16
- data/lib/decidim/api/commentable_mutation_type.rb +2 -3
- data/lib/decidim/comments/commentable.rb +11 -0
- data/lib/decidim/comments/commentable_with_component.rb +3 -1
- data/lib/decidim/comments/engine.rb +7 -1
- data/lib/decidim/comments/query_extensions.rb +1 -1
- data/lib/decidim/comments/test/factories.rb +9 -1
- data/lib/decidim/comments/test/shared_examples/comment_event.rb +1 -1
- data/lib/decidim/comments/test/shared_examples/comment_voted_event.rb +2 -2
- data/lib/decidim/comments/test/shared_examples/create_comment_context.rb +1 -1
- data/lib/decidim/comments/test/shared_examples/translatable_comment.rb +2 -2
- data/lib/decidim/comments/version.rb +1 -1
- metadata +19 -11
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-comments
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.30.0.rc1
|
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:
|
13
|
+
date: 2025-02-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: decidim-core
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.
|
21
|
+
version: 0.30.0.rc1
|
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.
|
28
|
+
version: 0.30.0.rc1
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: redcarpet
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,28 +52,28 @@ dependencies:
|
|
52
52
|
requirements:
|
53
53
|
- - '='
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.
|
55
|
+
version: 0.30.0.rc1
|
56
56
|
type: :development
|
57
57
|
prerelease: false
|
58
58
|
version_requirements: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
60
|
- - '='
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: 0.
|
62
|
+
version: 0.30.0.rc1
|
63
63
|
- !ruby/object:Gem::Dependency
|
64
64
|
name: decidim-dev
|
65
65
|
requirement: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - '='
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.
|
69
|
+
version: 0.30.0.rc1
|
70
70
|
type: :development
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - '='
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: 0.
|
76
|
+
version: 0.30.0.rc1
|
77
77
|
description: Pluggable comments system for some components.
|
78
78
|
email:
|
79
79
|
- josepjaume@gmail.com
|
@@ -105,6 +105,7 @@ files:
|
|
105
105
|
- app/cells/decidim/comments/comment_thread_cell.rb
|
106
106
|
- app/cells/decidim/comments/comments/add_comment.erb
|
107
107
|
- app/cells/decidim/comments/comments/blocked_comments_warning.erb
|
108
|
+
- app/cells/decidim/comments/comments/comments_in_single_column.erb
|
108
109
|
- app/cells/decidim/comments/comments/comments_loading.erb
|
109
110
|
- app/cells/decidim/comments/comments/order_control.erb
|
110
111
|
- app/cells/decidim/comments/comments/show.erb
|
@@ -113,6 +114,9 @@ files:
|
|
113
114
|
- app/cells/decidim/comments/comments_cell.rb
|
114
115
|
- app/cells/decidim/comments/edit_comment_modal_form/show.erb
|
115
116
|
- app/cells/decidim/comments/edit_comment_modal_form_cell.rb
|
117
|
+
- app/cells/decidim/comments/two_columns_comments/column.erb
|
118
|
+
- app/cells/decidim/comments/two_columns_comments/show.erb
|
119
|
+
- app/cells/decidim/comments/two_columns_comments_cell.rb
|
116
120
|
- app/commands/decidim/comments/create_comment.rb
|
117
121
|
- app/commands/decidim/comments/delete_comment.rb
|
118
122
|
- app/commands/decidim/comments/update_comment.rb
|
@@ -142,6 +146,8 @@ files:
|
|
142
146
|
- app/packs/src/decidim/comments/comments.component.test.js
|
143
147
|
- app/packs/src/decidim/comments/comments.component_for_testing.js
|
144
148
|
- app/packs/src/decidim/comments/comments.js
|
149
|
+
- app/packs/src/decidim/comments/comments_dropdown.js
|
150
|
+
- app/packs/src/decidim/comments/comments_mobile_modal.js
|
145
151
|
- app/packs/stylesheets/comments.scss
|
146
152
|
- app/permissions/decidim/comments/permissions.rb
|
147
153
|
- app/queries/decidim/comments/metrics/comment_participants_metric_measure.rb
|
@@ -173,6 +179,8 @@ files:
|
|
173
179
|
- config/locales/ar.yml
|
174
180
|
- config/locales/bg-BG.yml
|
175
181
|
- config/locales/bg.yml
|
182
|
+
- config/locales/bn-BD.yml
|
183
|
+
- config/locales/bs-BA.yml
|
176
184
|
- config/locales/ca.yml
|
177
185
|
- config/locales/cs-CZ.yml
|
178
186
|
- config/locales/cs.yml
|
@@ -299,7 +307,7 @@ files:
|
|
299
307
|
- lib/tasks/upgrade/decidim_comments.rake
|
300
308
|
homepage: https://decidim.org
|
301
309
|
licenses:
|
302
|
-
- AGPL-3.0
|
310
|
+
- AGPL-3.0-or-later
|
303
311
|
metadata:
|
304
312
|
bug_tracker_uri: https://github.com/decidim/decidim/issues
|
305
313
|
documentation_uri: https://docs.decidim.org/
|
@@ -314,14 +322,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
314
322
|
requirements:
|
315
323
|
- - "~>"
|
316
324
|
- !ruby/object:Gem::Version
|
317
|
-
version: 3.
|
325
|
+
version: 3.3.0
|
318
326
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
319
327
|
requirements:
|
320
328
|
- - ">="
|
321
329
|
- !ruby/object:Gem::Version
|
322
330
|
version: '0'
|
323
331
|
requirements: []
|
324
|
-
rubygems_version: 3.
|
332
|
+
rubygems_version: 3.5.11
|
325
333
|
signing_key:
|
326
334
|
specification_version: 4
|
327
335
|
summary: Decidim comments module
|