decidim-sortitions 0.21.0 → 0.23.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/decidim/sortitions/icon.svg +1 -3
- data/app/assets/stylesheets/decidim/sortitions/_sortitions.scss +1 -1
- data/app/cells/decidim/sortitions/sortition_m/data.erb +3 -3
- data/app/cells/decidim/sortitions/sortition_m/footer.erb +1 -1
- data/app/controllers/decidim/sortitions/{sortition_widgets_controller.rb → widgets_controller.rb} +2 -2
- data/app/helpers/decidim/sortitions/sortitions_helper.rb +1 -0
- data/app/models/decidim/sortitions/sortition.rb +3 -0
- data/app/presenters/decidim/sortitions/admin_log/sortition_presenter.rb +2 -2
- data/app/queries/decidim/sortitions/admin/participatory_space_proposals.rb +5 -1
- data/app/services/decidim/sortitions/sortition_search.rb +1 -18
- data/app/views/decidim/sortitions/admin/sortitions/_form.html.erb +1 -1
- data/app/views/decidim/sortitions/admin/sortitions/confirm_destroy.html.erb +1 -1
- data/app/views/decidim/sortitions/admin/sortitions/edit.html.erb +1 -1
- data/app/views/decidim/sortitions/admin/sortitions/index.html.erb +1 -1
- data/app/views/decidim/sortitions/admin/sortitions/show.html.erb +1 -1
- data/app/views/decidim/sortitions/sortition_widgets/show.html.erb +1 -1
- data/app/views/decidim/sortitions/sortitions/_filters.html.erb +16 -8
- data/app/views/decidim/sortitions/sortitions/_linked_sortitions.html.erb +1 -1
- data/app/views/decidim/sortitions/sortitions/index.html.erb +4 -4
- data/app/views/decidim/sortitions/sortitions/show.html.erb +11 -3
- data/config/locales/am-ET.yml +1 -0
- data/config/locales/bg-BG.yml +7 -0
- data/config/locales/bg.yml +7 -0
- data/config/locales/ca.yml +2 -0
- data/config/locales/cs.yml +65 -63
- data/config/locales/da-DK.yml +1 -0
- data/config/locales/da.yml +1 -0
- data/config/locales/de.yml +7 -5
- data/config/locales/el.yml +151 -0
- data/config/locales/en.yml +2 -0
- data/config/locales/eo.yml +1 -0
- data/config/locales/es-MX.yml +2 -0
- data/config/locales/es-PY.yml +2 -0
- data/config/locales/es.yml +2 -0
- data/config/locales/et-EE.yml +1 -0
- data/config/locales/et.yml +1 -0
- data/config/locales/fi-plain.yml +2 -0
- data/config/locales/fi.yml +5 -3
- data/config/locales/fr-CA.yml +153 -0
- data/config/locales/fr.yml +2 -0
- data/config/locales/ga-IE.yml +1 -0
- data/config/locales/gl.yml +2 -0
- data/config/locales/hr-HR.yml +1 -0
- data/config/locales/hr.yml +1 -0
- data/config/locales/hu.yml +1 -0
- data/config/locales/is.yml +122 -0
- data/config/locales/it.yml +26 -24
- data/config/locales/ja-JP.yml +147 -0
- data/config/locales/ja.yml +147 -0
- data/config/locales/ko-KR.yml +1 -0
- data/config/locales/ko.yml +1 -0
- data/config/locales/lt-LT.yml +1 -0
- data/config/locales/lt.yml +1 -0
- data/config/locales/lv.yml +158 -0
- data/config/locales/mt-MT.yml +1 -0
- data/config/locales/mt.yml +1 -0
- data/config/locales/nl.yml +2 -0
- data/config/locales/om-ET.yml +1 -0
- data/config/locales/pl.yml +78 -76
- data/config/locales/pt-BR.yml +1 -1
- data/config/locales/pt.yml +55 -53
- data/config/locales/ro-RO.yml +159 -0
- data/config/locales/si-LK.yml +1 -0
- data/config/locales/sk-SK.yml +164 -0
- data/config/locales/sk.yml +164 -0
- data/config/locales/sl.yml +5 -0
- data/config/locales/so-SO.yml +1 -0
- data/config/locales/sr-CS.yml +6 -0
- data/config/locales/sv.yml +3 -1
- data/config/locales/sw-KE.yml +1 -0
- data/config/locales/ti-ER.yml +1 -0
- data/config/locales/tr-TR.yml +41 -39
- data/config/locales/vi-VN.yml +1 -0
- data/config/locales/vi.yml +1 -0
- data/config/locales/zh-CN.yml +147 -0
- data/config/locales/zh-TW.yml +1 -0
- data/db/migrate/20200320105926_index_foreign_keys_in_decidim_sortitions_sortitions.rb +7 -0
- data/db/migrate/20200827154036_add_commentable_counter_cache_to_sortitions.rb +9 -0
- data/lib/decidim/sortitions/component.rb +1 -0
- data/lib/decidim/sortitions/engine.rb +1 -1
- data/lib/decidim/sortitions/version.rb +1 -1
- metadata +56 -18
@@ -0,0 +1 @@
|
|
1
|
+
zh-TW:
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
class AddCommentableCounterCacheToSortitions < ActiveRecord::Migration[5.2]
|
4
|
+
def change
|
5
|
+
add_column :decidim_sortitions_sortitions, :comments_count, :integer, null: false, default: 0, index: true
|
6
|
+
Decidim::Sortitions::Sortition.reset_column_information
|
7
|
+
Decidim::Sortitions::Sortition.find_each(&:update_comments_count)
|
8
|
+
end
|
9
|
+
end
|
@@ -17,6 +17,7 @@ Decidim.register_component(:sortitions) do |component|
|
|
17
17
|
|
18
18
|
component.settings(:global) do |settings|
|
19
19
|
settings.attribute :comments_enabled, type: :boolean, default: true
|
20
|
+
settings.attribute :comments_max_length, type: :integer, required: false
|
20
21
|
end
|
21
22
|
|
22
23
|
# Register an optional resource that can be referenced from other resources.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-sortitions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Salvador Perez Garcia
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: decidim-admin
|
@@ -16,70 +16,70 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.23.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.23.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: decidim-comments
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.23.2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.23.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: decidim-core
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.23.2
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 0.23.2
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: decidim-proposals
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.23.2
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
68
|
+
version: 0.23.2
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: decidim-dev
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.23.2
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.23.2
|
83
83
|
description: This module makes possible to select amont a set of proposal by sortition
|
84
84
|
email:
|
85
85
|
- jsperezg@gmail.com
|
@@ -103,8 +103,8 @@ files:
|
|
103
103
|
- app/controllers/decidim/sortitions/admin/application_controller.rb
|
104
104
|
- app/controllers/decidim/sortitions/admin/sortitions_controller.rb
|
105
105
|
- app/controllers/decidim/sortitions/application_controller.rb
|
106
|
-
- app/controllers/decidim/sortitions/sortition_widgets_controller.rb
|
107
106
|
- app/controllers/decidim/sortitions/sortitions_controller.rb
|
107
|
+
- app/controllers/decidim/sortitions/widgets_controller.rb
|
108
108
|
- app/events/decidim/sortitions/create_sortition_event.rb
|
109
109
|
- app/forms/decidim/sortitions/admin/destroy_sortition_form.rb
|
110
110
|
- app/forms/decidim/sortitions/admin/edit_sortition_form.rb
|
@@ -146,38 +146,74 @@ files:
|
|
146
146
|
- app/views/decidim/sortitions/sortitions/index.html.erb
|
147
147
|
- app/views/decidim/sortitions/sortitions/index.js.erb
|
148
148
|
- app/views/decidim/sortitions/sortitions/show.html.erb
|
149
|
+
- config/locales/am-ET.yml
|
149
150
|
- config/locales/ar-SA.yml
|
150
151
|
- config/locales/ar.yml
|
152
|
+
- config/locales/bg-BG.yml
|
153
|
+
- config/locales/bg.yml
|
151
154
|
- config/locales/ca.yml
|
152
155
|
- config/locales/cs-CZ.yml
|
153
156
|
- config/locales/cs.yml
|
157
|
+
- config/locales/da-DK.yml
|
158
|
+
- config/locales/da.yml
|
154
159
|
- config/locales/de.yml
|
155
160
|
- config/locales/el-GR.yml
|
156
161
|
- config/locales/el.yml
|
157
162
|
- config/locales/en.yml
|
158
163
|
- config/locales/eo-UY.yml
|
164
|
+
- config/locales/eo.yml
|
159
165
|
- config/locales/es-MX.yml
|
160
166
|
- config/locales/es-PY.yml
|
161
167
|
- config/locales/es.yml
|
168
|
+
- config/locales/et-EE.yml
|
169
|
+
- config/locales/et.yml
|
162
170
|
- config/locales/eu.yml
|
163
171
|
- config/locales/fi-pl.yml
|
164
172
|
- config/locales/fi-plain.yml
|
165
173
|
- config/locales/fi.yml
|
174
|
+
- config/locales/fr-CA.yml
|
166
175
|
- config/locales/fr.yml
|
176
|
+
- config/locales/ga-IE.yml
|
167
177
|
- config/locales/gl.yml
|
178
|
+
- config/locales/hr-HR.yml
|
179
|
+
- config/locales/hr.yml
|
168
180
|
- config/locales/hu.yml
|
169
181
|
- config/locales/id-ID.yml
|
170
182
|
- config/locales/is-IS.yml
|
183
|
+
- config/locales/is.yml
|
171
184
|
- config/locales/it.yml
|
185
|
+
- config/locales/ja-JP.yml
|
186
|
+
- config/locales/ja.yml
|
187
|
+
- config/locales/ko-KR.yml
|
188
|
+
- config/locales/ko.yml
|
189
|
+
- config/locales/lt-LT.yml
|
190
|
+
- config/locales/lt.yml
|
191
|
+
- config/locales/lv.yml
|
192
|
+
- config/locales/mt-MT.yml
|
193
|
+
- config/locales/mt.yml
|
172
194
|
- config/locales/nl.yml
|
173
195
|
- config/locales/no.yml
|
196
|
+
- config/locales/om-ET.yml
|
174
197
|
- config/locales/pl.yml
|
175
198
|
- config/locales/pt-BR.yml
|
176
199
|
- config/locales/pt.yml
|
200
|
+
- config/locales/ro-RO.yml
|
177
201
|
- config/locales/ru.yml
|
202
|
+
- config/locales/si-LK.yml
|
203
|
+
- config/locales/sk-SK.yml
|
204
|
+
- config/locales/sk.yml
|
205
|
+
- config/locales/sl.yml
|
206
|
+
- config/locales/so-SO.yml
|
207
|
+
- config/locales/sr-CS.yml
|
178
208
|
- config/locales/sv.yml
|
209
|
+
- config/locales/sw-KE.yml
|
210
|
+
- config/locales/ti-ER.yml
|
179
211
|
- config/locales/tr-TR.yml
|
180
212
|
- config/locales/uk.yml
|
213
|
+
- config/locales/vi-VN.yml
|
214
|
+
- config/locales/vi.yml
|
215
|
+
- config/locales/zh-CN.yml
|
216
|
+
- config/locales/zh-TW.yml
|
181
217
|
- db/migrate/20171215161358_create_decidim_module_sortitions_sortitions.rb
|
182
218
|
- db/migrate/20171220164658_add_witnesses_to_sortitions.rb
|
183
219
|
- db/migrate/20171220164744_add_additional_info_to_sortitions.rb
|
@@ -192,6 +228,8 @@ files:
|
|
192
228
|
- db/migrate/20180322082150_fix_sortitions_feature.rb
|
193
229
|
- db/migrate/20180322085145_fix_sortitions_proposal_feature.rb
|
194
230
|
- db/migrate/20181017110803_make_sortitions_authors_polymorphic.rb
|
231
|
+
- db/migrate/20200320105926_index_foreign_keys_in_decidim_sortitions_sortitions.rb
|
232
|
+
- db/migrate/20200827154036_add_commentable_counter_cache_to_sortitions.rb
|
195
233
|
- lib/decidim/sortitions.rb
|
196
234
|
- lib/decidim/sortitions/admin.rb
|
197
235
|
- lib/decidim/sortitions/admin_engine.rb
|
@@ -203,7 +241,7 @@ homepage: https://github.com/decidim/decidim
|
|
203
241
|
licenses:
|
204
242
|
- AGPL-3.0
|
205
243
|
metadata: {}
|
206
|
-
post_install_message:
|
244
|
+
post_install_message:
|
207
245
|
rdoc_options: []
|
208
246
|
require_paths:
|
209
247
|
- lib
|
@@ -211,15 +249,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
211
249
|
requirements:
|
212
250
|
- - ">="
|
213
251
|
- !ruby/object:Gem::Version
|
214
|
-
version: '2.
|
252
|
+
version: '2.6'
|
215
253
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
216
254
|
requirements:
|
217
255
|
- - ">="
|
218
256
|
- !ruby/object:Gem::Version
|
219
257
|
version: '0'
|
220
258
|
requirements: []
|
221
|
-
rubygems_version: 3.
|
222
|
-
signing_key:
|
259
|
+
rubygems_version: 3.0.3
|
260
|
+
signing_key:
|
223
261
|
specification_version: 4
|
224
262
|
summary: Decidim sortitions module
|
225
263
|
test_files: []
|