decidim-surveys 0.27.4 → 0.28.0.rc5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/cells/decidim/surveys/survey_activity_cell.rb +1 -4
- data/app/controllers/decidim/surveys/admin/surveys_controller.rb +7 -1
- data/app/controllers/decidim/surveys/surveys_controller.rb +3 -1
- data/app/helpers/decidim/surveys/survey_helper.rb +1 -3
- data/app/jobs/decidim/surveys/clean_survey_answers_job.rb +1 -1
- data/app/jobs/decidim/surveys/settings_change_job.rb +2 -2
- data/app/mailers/decidim/surveys/survey_confirmation_mailer.rb +39 -0
- data/app/serializers/decidim/surveys/data_serializer.rb +1 -1
- data/app/views/decidim/surveys/admin/component/_actions.html.erb +44 -0
- data/app/views/decidim/surveys/admin/surveys/edit.html.erb +40 -0
- data/app/views/decidim/surveys/survey_confirmation_mailer/confirmation.html.erb +3 -0
- data/app/views/decidim/surveys/surveys/no_permission.html.erb +1 -1
- data/config/assets.rb +0 -1
- data/config/environment.rb +3 -0
- data/config/locales/ar.yml +0 -2
- data/config/locales/ca.yml +10 -2
- data/config/locales/cs.yml +10 -2
- data/config/locales/de.yml +10 -2
- data/config/locales/el.yml +2 -2
- data/config/locales/en.yml +10 -2
- data/config/locales/es-MX.yml +10 -2
- data/config/locales/es-PY.yml +10 -2
- data/config/locales/es.yml +10 -2
- data/config/locales/eu.yml +15 -7
- data/config/locales/fi-plain.yml +10 -2
- data/config/locales/fi.yml +10 -2
- data/config/locales/fr-CA.yml +8 -2
- data/config/locales/fr.yml +10 -2
- data/config/locales/gl.yml +0 -3
- data/config/locales/hu.yml +0 -3
- data/config/locales/id-ID.yml +0 -2
- data/config/locales/it.yml +0 -3
- data/config/locales/ja.yml +2 -2
- data/config/locales/lb.yml +0 -3
- data/config/locales/lt.yml +2 -2
- data/config/locales/lv.yml +0 -3
- data/config/locales/nl.yml +0 -3
- data/config/locales/no.yml +0 -3
- data/config/locales/pl.yml +0 -3
- data/config/locales/pt-BR.yml +0 -3
- data/config/locales/pt.yml +0 -3
- data/config/locales/ro-RO.yml +2 -2
- data/config/locales/sk.yml +0 -3
- data/config/locales/sq-AL.yml +1 -0
- data/config/locales/sv.yml +0 -3
- data/config/locales/th-TH.yml +1 -0
- data/config/locales/tr-TR.yml +0 -3
- data/config/locales/zh-CN.yml +0 -3
- data/config/locales/zh-TW.yml +2 -2
- data/db/migrate/20200609090533_check_legacy_tables.rb +5 -5
- data/lib/decidim/surveys/admin_engine.rb +1 -1
- data/lib/decidim/surveys/component.rb +6 -89
- data/lib/decidim/surveys/engine.rb +19 -1
- data/lib/decidim/surveys/seeds.rb +103 -0
- data/lib/decidim/surveys/test/factories.rb +1 -0
- data/lib/decidim/surveys/version.rb +1 -1
- data/lib/tasks/decidim_surveys_tasks.rake +4 -4
- metadata +32 -21
- data/app/packs/stylesheets/decidim/surveys/_surveys.scss +0 -67
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-surveys
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.28.0.rc5
|
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: 2023-
|
13
|
+
date: 2023-12-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: decidim-core
|
@@ -18,84 +18,84 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.
|
21
|
+
version: 0.28.0.rc5
|
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.28.0.rc5
|
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.
|
35
|
+
version: 0.28.0.rc5
|
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.
|
42
|
+
version: 0.28.0.rc5
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: decidim-templates
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - '='
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.
|
49
|
+
version: 0.28.0.rc5
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - '='
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 0.
|
56
|
+
version: 0.28.0.rc5
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: decidim-admin
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - '='
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 0.
|
63
|
+
version: 0.28.0.rc5
|
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.
|
70
|
+
version: 0.28.0.rc5
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: decidim-dev
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
75
|
- - '='
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 0.
|
77
|
+
version: 0.28.0.rc5
|
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.
|
84
|
+
version: 0.28.0.rc5
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
86
|
name: decidim-participatory_processes
|
87
87
|
requirement: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
89
|
- - '='
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version: 0.
|
91
|
+
version: 0.28.0.rc5
|
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.
|
98
|
+
version: 0.28.0.rc5
|
99
99
|
description: A surveys component for decidim's participatory spaces.
|
100
100
|
email:
|
101
101
|
- josepjaume@gmail.com
|
@@ -118,15 +118,18 @@ files:
|
|
118
118
|
- app/helpers/decidim/surveys/survey_helper.rb
|
119
119
|
- app/jobs/decidim/surveys/clean_survey_answers_job.rb
|
120
120
|
- app/jobs/decidim/surveys/settings_change_job.rb
|
121
|
+
- app/mailers/decidim/surveys/survey_confirmation_mailer.rb
|
121
122
|
- app/models/decidim/surveys/application_record.rb
|
122
123
|
- app/models/decidim/surveys/survey.rb
|
123
|
-
- app/packs/stylesheets/decidim/surveys/_surveys.scss
|
124
124
|
- app/permissions/decidim/surveys/admin/permissions.rb
|
125
125
|
- app/permissions/decidim/surveys/permissions.rb
|
126
126
|
- app/queries/decidim/surveys/metrics/answers_metric_manage.rb
|
127
127
|
- app/queries/decidim/surveys/metrics/survey_participants_metric_measure.rb
|
128
128
|
- app/serializers/decidim/surveys/data_importer.rb
|
129
129
|
- app/serializers/decidim/surveys/data_serializer.rb
|
130
|
+
- app/views/decidim/surveys/admin/component/_actions.html.erb
|
131
|
+
- app/views/decidim/surveys/admin/surveys/edit.html.erb
|
132
|
+
- app/views/decidim/surveys/survey_confirmation_mailer/confirmation.html.erb
|
130
133
|
- app/views/decidim/surveys/surveys/no_permission.html.erb
|
131
134
|
- config/assets.rb
|
132
135
|
- config/environment.rb
|
@@ -196,9 +199,11 @@ files:
|
|
196
199
|
- config/locales/sk.yml
|
197
200
|
- config/locales/sl.yml
|
198
201
|
- config/locales/so-SO.yml
|
202
|
+
- config/locales/sq-AL.yml
|
199
203
|
- config/locales/sr-CS.yml
|
200
204
|
- config/locales/sv.yml
|
201
205
|
- config/locales/sw-KE.yml
|
206
|
+
- config/locales/th-TH.yml
|
202
207
|
- config/locales/ti-ER.yml
|
203
208
|
- config/locales/tr-TR.yml
|
204
209
|
- config/locales/uk.yml
|
@@ -237,13 +242,19 @@ files:
|
|
237
242
|
- lib/decidim/surveys/api.rb
|
238
243
|
- lib/decidim/surveys/component.rb
|
239
244
|
- lib/decidim/surveys/engine.rb
|
245
|
+
- lib/decidim/surveys/seeds.rb
|
240
246
|
- lib/decidim/surveys/test/factories.rb
|
241
247
|
- lib/decidim/surveys/version.rb
|
242
248
|
- lib/tasks/decidim_surveys_tasks.rake
|
243
|
-
homepage: https://
|
249
|
+
homepage: https://decidim.org
|
244
250
|
licenses:
|
245
251
|
- AGPL-3.0
|
246
|
-
metadata:
|
252
|
+
metadata:
|
253
|
+
bug_tracker_uri: https://github.com/decidim/decidim/issues
|
254
|
+
documentation_uri: https://docs.decidim.org/
|
255
|
+
funding_uri: https://opencollective.com/decidim
|
256
|
+
homepage_uri: https://decidim.org
|
257
|
+
source_code_uri: https://github.com/decidim/decidim
|
247
258
|
post_install_message:
|
248
259
|
rdoc_options: []
|
249
260
|
require_paths:
|
@@ -252,14 +263,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
252
263
|
requirements:
|
253
264
|
- - ">="
|
254
265
|
- !ruby/object:Gem::Version
|
255
|
-
version: '3.
|
266
|
+
version: '3.1'
|
256
267
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
257
268
|
requirements:
|
258
|
-
- - "
|
269
|
+
- - ">"
|
259
270
|
- !ruby/object:Gem::Version
|
260
|
-
version:
|
271
|
+
version: 1.3.1
|
261
272
|
requirements: []
|
262
|
-
rubygems_version: 3.
|
273
|
+
rubygems_version: 3.4.22
|
263
274
|
signing_key:
|
264
275
|
specification_version: 4
|
265
276
|
summary: Decidim surveys module
|
@@ -1,67 +0,0 @@
|
|
1
|
-
@import "stylesheets/decidim/forms/forms";
|
2
|
-
|
3
|
-
.answer-questionnaire{
|
4
|
-
label{
|
5
|
-
font-size: inherit;
|
6
|
-
}
|
7
|
-
|
8
|
-
.radio-button-collection,
|
9
|
-
.check-box-collection,
|
10
|
-
.sortable-check-box-collection{
|
11
|
-
margin: 0 0 1rem;
|
12
|
-
}
|
13
|
-
|
14
|
-
.tos-agreement{
|
15
|
-
margin: 1rem 0 0;
|
16
|
-
|
17
|
-
.help-text{
|
18
|
-
margin: .2rem 0 0;
|
19
|
-
}
|
20
|
-
}
|
21
|
-
|
22
|
-
.questionnaire-question{
|
23
|
-
font-weight: 600;
|
24
|
-
line-height: 1.4;
|
25
|
-
margin-bottom: .3em;
|
26
|
-
}
|
27
|
-
|
28
|
-
.questionnaire-title_and_description{
|
29
|
-
font-size: 2rem;
|
30
|
-
font-weight: 600;
|
31
|
-
padding-left: 1rem;
|
32
|
-
line-height: 1.4;
|
33
|
-
margin-bottom: .3em;
|
34
|
-
}
|
35
|
-
|
36
|
-
.help-title_and_description{
|
37
|
-
padding-left: 1rem;
|
38
|
-
margin-bottom: 2rem;
|
39
|
-
|
40
|
-
.ql-video{
|
41
|
-
margin: .5em auto;
|
42
|
-
}
|
43
|
-
}
|
44
|
-
|
45
|
-
.help-text{
|
46
|
-
margin-top: .5em;
|
47
|
-
|
48
|
-
.ql-video{
|
49
|
-
margin: .5em auto;
|
50
|
-
}
|
51
|
-
}
|
52
|
-
|
53
|
-
.last-sorted{
|
54
|
-
margin-bottom: 1rem;
|
55
|
-
}
|
56
|
-
|
57
|
-
&__steps{
|
58
|
-
font-size: .8rem;
|
59
|
-
}
|
60
|
-
|
61
|
-
&__submit{
|
62
|
-
display: flex;
|
63
|
-
align-items: baseline;
|
64
|
-
justify-content: space-between;
|
65
|
-
margin-top: 2rem;
|
66
|
-
}
|
67
|
-
}
|