decidim-comments 0.28.6 → 0.29.0.rc1
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 +4 -4
- data/app/cells/decidim/comments/comment/actions.erb +4 -3
- data/app/cells/decidim/comments/comment/deletion_data.erb +1 -1
- data/app/cells/decidim/comments/comment/show.erb +3 -3
- data/app/cells/decidim/comments/comment_cell.rb +0 -2
- data/app/cells/decidim/comments/comment_form/opinion.erb +4 -4
- data/app/cells/decidim/comments/comment_form_cell.rb +0 -2
- data/app/cells/decidim/comments/comment_metadata_cell.rb +1 -1
- data/app/cells/decidim/comments/comments_cell.rb +0 -3
- data/app/cells/decidim/comments/edit_comment_modal_form_cell.rb +0 -1
- data/app/commands/decidim/comments/create_comment.rb +6 -6
- data/app/commands/decidim/comments/update_comment.rb +3 -4
- data/app/controllers/decidim/comments/comments_controller.rb +5 -3
- data/app/helpers/decidim/comments/comment_cells_helper.rb +1 -1
- data/app/models/decidim/comments/comment.rb +1 -1
- data/app/models/decidim/comments/seed.rb +55 -5
- data/app/packs/entrypoints/decidim_comments.js +1 -1
- data/app/packs/src/decidim/comments/comments.component.js +8 -8
- data/app/packs/src/decidim/comments/comments.component.test.js +14 -14
- data/app/views/decidim/comments/comments/create.js.erb +2 -2
- data/app/views/decidim/comments/comments/delete.js.erb +5 -2
- data/app/views/decidim/comments/comments/update.js.erb +0 -6
- data/app/views/decidim/comments/votes/create.js.erb +1 -1
- data/config/locales/bg.yml +0 -1
- data/config/locales/ca.yml +2 -2
- data/config/locales/cs.yml +0 -6
- data/config/locales/de.yml +1 -2
- data/config/locales/en.yml +1 -1
- data/config/locales/es-MX.yml +1 -1
- data/config/locales/es-PY.yml +1 -1
- data/config/locales/es.yml +2 -2
- data/config/locales/eu.yml +37 -40
- data/config/locales/fi-plain.yml +1 -1
- data/config/locales/fi.yml +10 -10
- data/config/locales/fr-CA.yml +1 -1
- data/config/locales/fr.yml +1 -1
- data/config/locales/ja.yml +1 -1
- data/config/locales/lt.yml +1 -1
- data/config/locales/pl.yml +2 -2
- data/config/locales/pt-BR.yml +0 -3
- data/config/locales/ro-RO.yml +60 -68
- data/config/locales/sv.yml +24 -42
- data/config/locales/tr-TR.yml +1 -2
- data/db/seeds.rb +1 -0
- data/decidim-comments.gemspec +2 -2
- data/lib/decidim/api/comment_type.rb +0 -13
- data/lib/decidim/api/commentable_interface.rb +1 -7
- data/lib/decidim/api/commentable_mutation_type.rb +2 -1
- data/lib/decidim/comments/commentable.rb +2 -2
- data/lib/decidim/comments/commentable_with_component.rb +1 -3
- data/lib/decidim/comments/query_extensions.rb +1 -1
- data/lib/decidim/comments/test/factories.rb +1 -1
- data/lib/decidim/comments/test/shared_examples/create_comment_context.rb +3 -2
- data/lib/decidim/comments/version.rb +1 -1
- data/lib/tasks/upgrade/decidim_comments.rake +28 -0
- metadata +14 -17
- data/config/locales/bn-BD.yml +0 -1
- data/config/locales/bs-BA.yml +0 -15
- data/config/locales/ca-IT.yml +0 -176
- data/lib/tasks/decidim_comments.rake +0 -26
data/config/locales/sv.yml
CHANGED
@@ -4,7 +4,7 @@ sv:
|
|
4
4
|
models:
|
5
5
|
decidim/comments/comment_by_followed_user_event: Kommentar
|
6
6
|
decidim/comments/comment_created_event: Kommentar
|
7
|
-
decidim/comments/comment_upvoted_event:
|
7
|
+
decidim/comments/comment_upvoted_event: Kommentar uppröstad
|
8
8
|
decidim/comments/reply_created_event: Svar till en kommentar
|
9
9
|
decidim/comments/user_group_mentioned_event: Nämn
|
10
10
|
decidim/comments/user_mentioned_event: Nämn
|
@@ -21,63 +21,49 @@ sv:
|
|
21
21
|
admin:
|
22
22
|
shared:
|
23
23
|
availability_fields:
|
24
|
-
enabled:
|
25
|
-
end_time: Kommentarer aktiverade till
|
24
|
+
enabled: Kommentarer aktiverade
|
25
|
+
end_time: Kommentarer aktiverade till
|
26
26
|
start_time: Kommentarer aktiverade från och med
|
27
27
|
comments:
|
28
28
|
create:
|
29
29
|
error: Det gick inte att skapa kommentaren.
|
30
|
-
delete:
|
31
|
-
error: Kommentaren kunde inte tas bort.
|
32
30
|
update:
|
33
31
|
error: Det gick inte att uppdatera kommentaren.
|
34
32
|
comments_title: Kommentar
|
35
|
-
last_activity:
|
36
|
-
new_comment: 'Ny kommentar:'
|
37
33
|
votes:
|
38
34
|
create:
|
39
35
|
error: Det gick inte att rösta om kommentaren.
|
40
36
|
components:
|
41
37
|
add_comment_form:
|
42
|
-
account_message: <a href="%{sign_in_url}">Logga in med ditt konto</a> eller <a href="%{sign_up_url}">registrera dig</a> för att lämna en kommentar.
|
43
38
|
form:
|
44
39
|
body:
|
45
40
|
label: Kommentera
|
46
41
|
placeholder: Vad tycker du om detta?
|
47
|
-
form_error: Texten är obligatorisk och får inte vara längre än %{length} tecken.
|
48
42
|
submit_reply: Publicera svar
|
49
|
-
submit_root_comment: Publicera kommentar
|
50
43
|
user_group_id:
|
51
44
|
label: Kommentera som
|
52
45
|
opinion:
|
53
|
-
label: Din åsikt om
|
46
|
+
label: Din åsikt om detta ämne
|
54
47
|
negative: Negativ
|
55
|
-
negative_selected: Din åsikt om
|
48
|
+
negative_selected: Din åsikt om detta ämne är negativ
|
56
49
|
neutral: Neutral
|
57
|
-
neutral_selected: Din åsikt om
|
50
|
+
neutral_selected: Din åsikt om detta ämne är neutral
|
58
51
|
positive: Positiv
|
59
|
-
positive_selected: Din åsikt om
|
52
|
+
positive_selected: Din åsikt om detta ämne är positiv
|
60
53
|
remaining_characters: "%{count} tecken kvar"
|
61
54
|
remaining_characters_1: "%{count} tecken kvar"
|
62
|
-
title:
|
55
|
+
title: Lägg till din kommentar
|
63
56
|
comment:
|
64
57
|
alignment:
|
65
58
|
against: Mot
|
66
59
|
in_favor: För
|
67
|
-
|
68
|
-
comment_label: Kommentar %{comment_id}
|
69
|
-
comment_label_reply: Kommentar %{comment_id} (svar på kommentar %{parent_comment_id})
|
70
|
-
confirm_destroy: Är du säker på att du vill ta bort kommentaren?
|
71
|
-
controls_label: Kontroller för kommentarer
|
60
|
+
confirm_destroy: Är du säker på att du vill ta bort denna kommentar?
|
72
61
|
delete: Radera
|
73
|
-
deleted_at: Kommentar borttagen %{date}
|
62
|
+
deleted_at: Kommentar borttagen den %{date}
|
74
63
|
deleted_user: Raderad deltagare
|
75
64
|
edit: Redigera
|
76
65
|
edited: Redigerad
|
77
|
-
|
78
|
-
one: Dölj svar
|
79
|
-
other: Dölj %{count} svar
|
80
|
-
moderated_at: Kommentar modererad %{date}
|
66
|
+
moderated_at: Kommentar modererad den %{date}
|
81
67
|
reply: Svara
|
82
68
|
report:
|
83
69
|
action: Rapportera
|
@@ -86,9 +72,8 @@ sv:
|
|
86
72
|
description: Är detta innehåll olämpligt?
|
87
73
|
details: Ytterligare kommentarer
|
88
74
|
reasons:
|
89
|
-
|
90
|
-
|
91
|
-
spam: Innehåller clickbait, reklam, bedrägerier eller botar.
|
75
|
+
offensive: Innehåller rasism, sexism, skällsord, personliga attacker, dödshot, uppmaningar att begå självmord eller någon form av hatpropaganda.
|
76
|
+
spam: Innehåller clickbait, reklam, bedrägerier eller skriptrobotar.
|
92
77
|
title: Rapportera olämpligt innehåll
|
93
78
|
show_replies:
|
94
79
|
one: Visa svar
|
@@ -98,7 +83,7 @@ sv:
|
|
98
83
|
order:
|
99
84
|
best_rated: Bästa betyg
|
100
85
|
most_discussed: Mest diskuterade
|
101
|
-
older:
|
86
|
+
older: Äldre
|
102
87
|
recent: Senaste
|
103
88
|
title: 'Sortera efter:'
|
104
89
|
comments:
|
@@ -110,16 +95,16 @@ sv:
|
|
110
95
|
single_comment_warning: <a href="%{url}">Visa alla kommentarer</a>
|
111
96
|
single_comment_warning_title: Du visar en enda kommentar
|
112
97
|
title:
|
113
|
-
one: "%{count}
|
98
|
+
one: "%{count} kommentarer"
|
114
99
|
other: "%{count} kommentarer"
|
115
100
|
down_vote_button:
|
116
|
-
text: Jag
|
101
|
+
text: Jag håller inte med om denna kommentar
|
117
102
|
edit_comment_modal_form:
|
118
103
|
close: Stäng
|
119
104
|
form:
|
120
105
|
body:
|
121
106
|
label: Kommentar
|
122
|
-
placeholder: Vad tycker du?
|
107
|
+
placeholder: Vad tycker du om detta?
|
123
108
|
submit: Skicka
|
124
109
|
title: Redigera din kommentar
|
125
110
|
up_vote_button:
|
@@ -132,7 +117,7 @@ sv:
|
|
132
117
|
email_subject: Det finns en ny kommentar av %{author_name} i %{resource_title}
|
133
118
|
notification_title: Det finns en ny kommentar av <a href="%{author_path}">%{author_name} %{author_nickname}</a> i <a href="%{resource_path}">%{resource_title}</a>.
|
134
119
|
comment_by_followed_user_group:
|
135
|
-
email_intro: 'Gruppen %{author_name} har lämnat en kommentar i %{resource_title}. Du kan läsa den
|
120
|
+
email_intro: 'Gruppen %{author_name} har lämnat en kommentar i %{resource_title}. Du kan läsa den på denna sida:'
|
136
121
|
email_outro: Du har fått det här meddelandet eftersom du följer %{author_name}. Du kan sluta följa den här gruppen från dess profilsida.
|
137
122
|
email_subject: Det finns en ny kommentar av %{author_name} i %{resource_title}
|
138
123
|
notification_title: Det finns en ny kommentar av <a href="%{author_path}">%{author_name} %{author_nickname}</a> i <a href="%{resource_path}">%{resource_title}</a>.
|
@@ -144,13 +129,13 @@ sv:
|
|
144
129
|
comment_downvoted:
|
145
130
|
email_intro: Din kommentar i "%{resource_title}" har blivit nedröstad. Den har nu totalt %{upvotes} uppröster och %{downvotes} nedröster.
|
146
131
|
email_outro: Du har fått det här meddelandet eftersom du är författare till denna kommentar.
|
147
|
-
email_subject: Din kommentar
|
148
|
-
notification_title: Din <a href="%{resource_path}">kommentar</a>
|
132
|
+
email_subject: Din kommentar i "%{resource_title}" har nedröstats.
|
133
|
+
notification_title: Din <a href="%{resource_path}">kommentar</a> i "%{resource_title}" har nedröstats. Den har nu totalt %{upvotes} uppröster och %{downvotes} nedröster.
|
149
134
|
comment_upvoted:
|
150
|
-
email_intro: Din kommentar i "%{resource_title}" har
|
151
|
-
email_outro: Du har fått det här meddelandet eftersom du är författare till
|
152
|
-
email_subject: Din kommentar
|
153
|
-
notification_title: Din <a href="%{resource_path}">kommentar</a>
|
135
|
+
email_intro: Din kommentar i "%{resource_title}" har uppröstats. Den har nu totalt %{upvotes} uppröster och %{downvotes} nedröster.
|
136
|
+
email_outro: Du har fått det här meddelandet eftersom du är författare till denna kommentar.
|
137
|
+
email_subject: Din kommentar i "%{resource_title}" har uppröstats.
|
138
|
+
notification_title: Din <a href="%{resource_path}">kommentar</a> i "%{resource_title}" har uppröstats. Den har nu totalt %{upvotes} uppröster och %{downvotes} nedröster.
|
154
139
|
reply_created:
|
155
140
|
email_intro: "%{author_name} har svarat din kommentar i %{resource_title}. Du kan läsa den på den här sidan:"
|
156
141
|
email_outro: Du har fått denna notis eftersom din kommentar blev besvarad.
|
@@ -171,6 +156,3 @@ sv:
|
|
171
156
|
description: Antal kommentarer från deltagare
|
172
157
|
object: kommentarer
|
173
158
|
title: Kommentarer
|
174
|
-
errors:
|
175
|
-
messages:
|
176
|
-
cannot_have_comments: kan inte ha kommentarer
|
data/config/locales/tr-TR.yml
CHANGED
@@ -25,7 +25,6 @@ tr:
|
|
25
25
|
error: Yorum oylanırken bir sorun oluştu.
|
26
26
|
components:
|
27
27
|
add_comment_form:
|
28
|
-
account_message: <a href="%{sign_in_url}">Hesabınızla giriş yapın</a> veya yorumunuzu eklemek için <a href="%{sign_up_url}">kaydolun</a>.
|
29
28
|
form:
|
30
29
|
body:
|
31
30
|
label: Yorum
|
@@ -86,7 +85,7 @@ tr:
|
|
86
85
|
comment_by_followed_user_group:
|
87
86
|
email_intro: '%{author_name} grubu %{resource_title} alanında bir yorum bıraktı. Bu sayfada okuyabilirsiniz:'
|
88
87
|
email_outro: Bu bildirimi %{author_name} adlı yazarı takip ettiğiniz için aldınız. Bu grubu profil sayfasından takip etmeyi bırakabilirsiniz.
|
89
|
-
email_subject: '%{author_name} %{resource_title} alanında yeni bir yorum yaptı'
|
88
|
+
email_subject: '%{author_name}, %{resource_title} alanında yeni bir yorum yaptı'
|
90
89
|
notification_title: <a href="%{resource_path}">%{resource_title} </a> içinde <a href="%{author_path}">%{author_name} %{author_nickname} </a> tarafından yeni bir yorum var.
|
91
90
|
comment_created:
|
92
91
|
email_intro: "%{resource_title} alanında yorum yapıldı. Bu sayfadaki yorumu okuyabilirsiniz:"
|
data/db/seeds.rb
CHANGED
data/decidim-comments.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.version = Decidim::Comments.version
|
11
11
|
s.authors = ["Josep Jaume Rey Peroy", "Marc Riera Casals", "Oriol Gual Oliva"]
|
12
12
|
s.email = ["josepjaume@gmail.com", "mrc2407@gmail.com", "oriolgual@gmail.com"]
|
13
|
-
s.license = "AGPL-3.0
|
13
|
+
s.license = "AGPL-3.0"
|
14
14
|
s.homepage = "https://decidim.org"
|
15
15
|
s.metadata = {
|
16
16
|
"bug_tracker_uri" => "https://github.com/decidim/decidim/issues",
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
"homepage_uri" => "https://decidim.org",
|
20
20
|
"source_code_uri" => "https://github.com/decidim/decidim"
|
21
21
|
}
|
22
|
-
s.required_ruby_version = "~> 3.
|
22
|
+
s.required_ruby_version = "~> 3.2.0"
|
23
23
|
|
24
24
|
s.name = "decidim-comments"
|
25
25
|
s.summary = "Decidim comments module"
|
@@ -84,19 +84,6 @@ module Decidim
|
|
84
84
|
def user_allowed_to_comment
|
85
85
|
object.root_commentable.commentable? && object.root_commentable.user_allowed_to_comment?(context[:current_user])
|
86
86
|
end
|
87
|
-
|
88
|
-
def self.authorized?(object, context)
|
89
|
-
chain = []
|
90
|
-
if object.respond_to?(:commentable) && !object.commentable.is_a?(Decidim::Comments::Comment)
|
91
|
-
chain.unshift(allowed_to?(:read, object.commentable, object.commentable,
|
92
|
-
context))
|
93
|
-
end
|
94
|
-
|
95
|
-
chain.unshift(!object.hidden?)
|
96
|
-
chain.unshift(!object.deleted?)
|
97
|
-
|
98
|
-
super && chain.all?
|
99
|
-
end
|
100
87
|
end
|
101
88
|
end
|
102
89
|
end
|
@@ -17,7 +17,7 @@ module Decidim
|
|
17
17
|
|
18
18
|
field :comments_have_votes, GraphQL::Types::Boolean, "Whether the object comments have votes or not", method: :comments_have_votes?, null: false
|
19
19
|
|
20
|
-
field :comments, [Decidim::Comments::CommentType
|
20
|
+
field :comments, [Decidim::Comments::CommentType], null: false do
|
21
21
|
argument :order_by, GraphQL::Types::String, "Order the comments", required: false
|
22
22
|
argument :single_comment_id, GraphQL::Types::String, "ID of the single comment to look at", required: false
|
23
23
|
end
|
@@ -45,12 +45,6 @@ module Decidim
|
|
45
45
|
def user_allowed_to_comment
|
46
46
|
object.commentable? && object.user_allowed_to_comment?(context[:current_user])
|
47
47
|
end
|
48
|
-
|
49
|
-
definition_methods do
|
50
|
-
def resolve_type(object, _context)
|
51
|
-
GraphQL::Types.const_get("#{object.class.name}Type")
|
52
|
-
end
|
53
|
-
end
|
54
48
|
end
|
55
49
|
end
|
56
50
|
end
|
@@ -17,9 +17,10 @@ module Decidim
|
|
17
17
|
params = { "comment" => { "body" => body, "alignment" => alignment, "user_group_id" => user_group_id, "commentable" => object } }
|
18
18
|
form = Decidim::Comments::CommentForm.from_params(params).with_context(
|
19
19
|
current_organization: context[:current_organization],
|
20
|
+
current_user: context[:current_user],
|
20
21
|
current_component: object.component
|
21
22
|
)
|
22
|
-
Decidim::Comments::CreateComment.call(form
|
23
|
+
Decidim::Comments::CreateComment.call(form) do
|
23
24
|
on(:ok) do |comment|
|
24
25
|
return comment
|
25
26
|
end
|
@@ -28,7 +28,7 @@ module Decidim
|
|
28
28
|
false
|
29
29
|
end
|
30
30
|
|
31
|
-
# Public: Whether the object's comments can have
|
31
|
+
# Public: Whether the object's comments can have votes or not. It enables the
|
32
32
|
# upvote and downvote buttons for comments.
|
33
33
|
def comments_have_votes?
|
34
34
|
false
|
@@ -58,7 +58,7 @@ module Decidim
|
|
58
58
|
end
|
59
59
|
|
60
60
|
# Public: Updates the comments counter cache. We have to do it these
|
61
|
-
# way in order to properly calculate the
|
61
|
+
# way in order to properly calculate the counter with hidden
|
62
62
|
# comments.
|
63
63
|
#
|
64
64
|
# rubocop:disable Rails/SkipsModelValidations
|
@@ -9,7 +9,6 @@ module Decidim
|
|
9
9
|
module CommentableWithComponent
|
10
10
|
extend ActiveSupport::Concern
|
11
11
|
include Decidim::Comments::Commentable
|
12
|
-
include Decidim::UserRoleChecker
|
13
12
|
|
14
13
|
included do
|
15
14
|
# Public: Overrides the `commentable?` Commentable concern method.
|
@@ -24,8 +23,7 @@ module Decidim
|
|
24
23
|
|
25
24
|
# Public: Whether the object can have new comments or not.
|
26
25
|
def user_allowed_to_comment?(user)
|
27
|
-
return
|
28
|
-
return false unless can_participate?(user)
|
26
|
+
return unless can_participate?(user)
|
29
27
|
|
30
28
|
ActionAuthorizer.new(user, "comment", component, self).authorize.ok?
|
31
29
|
end
|
@@ -11,7 +11,7 @@ module Decidim
|
|
11
11
|
#
|
12
12
|
# Returns nothing.
|
13
13
|
def self.included(type)
|
14
|
-
type.field :commentable,
|
14
|
+
type.field :commentable, CommentableType, null: false do
|
15
15
|
argument :id, GraphQL::Types::String, "The commentable's ID", required: true
|
16
16
|
argument :type, GraphQL::Types::String, "The commentable's class name. i.e. `Decidim::ParticipatoryProcess`", required: true
|
17
17
|
argument :locale, GraphQL::Types::String, "The locale for which to get the comments text", required: true
|
@@ -8,7 +8,7 @@ FactoryBot.define do
|
|
8
8
|
skip_injection { false }
|
9
9
|
end
|
10
10
|
author { build(:user, organization: commentable.organization, skip_injection:) }
|
11
|
-
commentable { build(:dummy_resource,
|
11
|
+
commentable { build(:dummy_resource, skip_injection:) }
|
12
12
|
root_commentable { commentable }
|
13
13
|
body { Decidim::Faker::Localized.paragraph }
|
14
14
|
participatory_space { commentable.try(:participatory_space) }
|
@@ -6,6 +6,7 @@ RSpec.shared_context "when creating a comment" do
|
|
6
6
|
let(:component) { create(:component, participatory_space: participatory_process) }
|
7
7
|
let(:user) { create(:user, organization:) }
|
8
8
|
let(:author) { create(:user, organization:) }
|
9
|
+
let(:current_user) { author }
|
9
10
|
let(:dummy_resource) { create :dummy_resource, component: }
|
10
11
|
let(:commentable) { dummy_resource }
|
11
12
|
let(:body) { Faker::Lorem.paragraph }
|
@@ -25,8 +26,8 @@ RSpec.shared_context "when creating a comment" do
|
|
25
26
|
Decidim::Comments::CommentForm.from_params(
|
26
27
|
form_params
|
27
28
|
).with_context(
|
28
|
-
current_organization: organization
|
29
|
+
current_organization: organization, current_user:
|
29
30
|
)
|
30
31
|
end
|
31
|
-
let(:command) { described_class.new(form
|
32
|
+
let(:command) { described_class.new(form) }
|
32
33
|
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
namespace :decidim_comments do
|
4
|
+
namespace :upgrade do
|
5
|
+
desc "Adds participatory_process_id to comments if they are associated with a participatory process"
|
6
|
+
task participatory_process_in_comments: :environment do
|
7
|
+
puts "Updating comments..."
|
8
|
+
ok = errors = 0
|
9
|
+
|
10
|
+
log = ActiveSupport::Logger.new(Rails.root.join("log/update_participatory_process_in_comments.log"))
|
11
|
+
Decidim::Comments::Comment.where(participatory_space: nil).find_each do |c|
|
12
|
+
c.participatory_space = if c.root_commentable.is_a?(Decidim::Participable)
|
13
|
+
c.root_commentable
|
14
|
+
else
|
15
|
+
c.commentable.try(:participatory_space)
|
16
|
+
end
|
17
|
+
c.save(validate: false)
|
18
|
+
ok += 1
|
19
|
+
rescue StandardError => e
|
20
|
+
errors += 1
|
21
|
+
log.info "Error updating comment ##{c.id}: #{e.message}"
|
22
|
+
end
|
23
|
+
|
24
|
+
puts "#{ok} comments updated."
|
25
|
+
puts "#{errors} errors found. Check the file 'log/update_participatory_process_in_comments.log' for more information." if errors.positive?
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
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.29.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: 2024-07-16 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.29.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.29.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.29.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.29.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.29.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.29.0.rc1
|
77
77
|
description: Pluggable comments system for some components.
|
78
78
|
email:
|
79
79
|
- josepjaume@gmail.com
|
@@ -173,9 +173,6 @@ files:
|
|
173
173
|
- config/locales/ar.yml
|
174
174
|
- config/locales/bg-BG.yml
|
175
175
|
- config/locales/bg.yml
|
176
|
-
- config/locales/bn-BD.yml
|
177
|
-
- config/locales/bs-BA.yml
|
178
|
-
- config/locales/ca-IT.yml
|
179
176
|
- config/locales/ca.yml
|
180
177
|
- config/locales/cs-CZ.yml
|
181
178
|
- config/locales/cs.yml
|
@@ -299,10 +296,10 @@ files:
|
|
299
296
|
- lib/decidim/comments/test/shared_examples/has_comments_availability_attributes.rb
|
300
297
|
- lib/decidim/comments/test/shared_examples/translatable_comment.rb
|
301
298
|
- lib/decidim/comments/version.rb
|
302
|
-
- lib/tasks/decidim_comments.rake
|
299
|
+
- lib/tasks/upgrade/decidim_comments.rake
|
303
300
|
homepage: https://decidim.org
|
304
301
|
licenses:
|
305
|
-
- AGPL-3.0
|
302
|
+
- AGPL-3.0
|
306
303
|
metadata:
|
307
304
|
bug_tracker_uri: https://github.com/decidim/decidim/issues
|
308
305
|
documentation_uri: https://docs.decidim.org/
|
@@ -317,14 +314,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
317
314
|
requirements:
|
318
315
|
- - "~>"
|
319
316
|
- !ruby/object:Gem::Version
|
320
|
-
version: 3.
|
317
|
+
version: 3.2.0
|
321
318
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
322
319
|
requirements:
|
323
|
-
- - "
|
320
|
+
- - ">"
|
324
321
|
- !ruby/object:Gem::Version
|
325
|
-
version:
|
322
|
+
version: 1.3.1
|
326
323
|
requirements: []
|
327
|
-
rubygems_version: 3.
|
324
|
+
rubygems_version: 3.4.10
|
328
325
|
signing_key:
|
329
326
|
specification_version: 4
|
330
327
|
summary: Decidim comments module
|
data/config/locales/bn-BD.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
bn:
|
data/config/locales/bs-BA.yml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
bs:
|
3
|
-
decidim:
|
4
|
-
components:
|
5
|
-
comments:
|
6
|
-
comment_details_title: Detalji o komentaru
|
7
|
-
single_comment_warning_title: Vidite samo jedan komentar
|
8
|
-
events:
|
9
|
-
comments:
|
10
|
-
comment_by_followed_user_group:
|
11
|
-
email_intro: 'Grupa %{author_name} je ostavila komentar na %{resource_title}. Možete ga pročitati na ovoj strani:'
|
12
|
-
user_group_mentioned:
|
13
|
-
email_intro: Grupa kojoj pripadate je pomenuta
|
14
|
-
email_outro: Dobili ste ovo obaveštenje jer ste član grupe %{group_name} koja je pomenuta u %{resource_title}.
|
15
|
-
email_subject: Pomenuti ste u %{resource_title} kao član grupe %{group_name}
|