decidim-surveys 0.27.5 → 0.28.0.rc4
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 +17 -16
- 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/locales/ar.yml +0 -2
- data/config/locales/ca.yml +7 -2
- data/config/locales/cs.yml +7 -2
- data/config/locales/de.yml +7 -2
- data/config/locales/el.yml +2 -2
- data/config/locales/en.yml +7 -2
- data/config/locales/es-MX.yml +7 -2
- data/config/locales/es-PY.yml +7 -2
- data/config/locales/es.yml +7 -2
- data/config/locales/eu.yml +7 -2
- data/config/locales/fi-plain.yml +7 -2
- data/config/locales/fi.yml +7 -2
- data/config/locales/fr-CA.yml +5 -2
- data/config/locales/fr.yml +7 -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 -5
- 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 -4
- 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/sv.yml +0 -3
- 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 +29 -22
- data/app/packs/stylesheets/decidim/surveys/_surveys.scss +0 -67
- data/config/environment.rb +0 -3
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.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: 2023-12-
|
13
|
+
date: 2023-12-11 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.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.
|
28
|
+
version: 0.28.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.
|
35
|
+
version: 0.28.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.
|
42
|
+
version: 0.28.0.rc4
|
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.rc4
|
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.rc4
|
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.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.
|
70
|
+
version: 0.28.0.rc4
|
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.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.
|
84
|
+
version: 0.28.0.rc4
|
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.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.
|
98
|
+
version: 0.28.0.rc4
|
99
99
|
description: A surveys component for decidim's participatory spaces.
|
100
100
|
email:
|
101
101
|
- josepjaume@gmail.com
|
@@ -118,9 +118,9 @@ 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
|
@@ -128,9 +128,10 @@ files:
|
|
128
128
|
- app/serializers/decidim/surveys/data_importer.rb
|
129
129
|
- app/serializers/decidim/surveys/data_serializer.rb
|
130
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
|
131
133
|
- app/views/decidim/surveys/surveys/no_permission.html.erb
|
132
134
|
- config/assets.rb
|
133
|
-
- config/environment.rb
|
134
135
|
- config/locales/am-ET.yml
|
135
136
|
- config/locales/ar-SA.yml
|
136
137
|
- config/locales/ar.yml
|
@@ -240,13 +241,19 @@ files:
|
|
240
241
|
- lib/decidim/surveys/api.rb
|
241
242
|
- lib/decidim/surveys/component.rb
|
242
243
|
- lib/decidim/surveys/engine.rb
|
244
|
+
- lib/decidim/surveys/seeds.rb
|
243
245
|
- lib/decidim/surveys/test/factories.rb
|
244
246
|
- lib/decidim/surveys/version.rb
|
245
247
|
- lib/tasks/decidim_surveys_tasks.rake
|
246
|
-
homepage: https://
|
248
|
+
homepage: https://decidim.org
|
247
249
|
licenses:
|
248
250
|
- AGPL-3.0
|
249
|
-
metadata:
|
251
|
+
metadata:
|
252
|
+
bug_tracker_uri: https://github.com/decidim/decidim/issues
|
253
|
+
documentation_uri: https://docs.decidim.org/
|
254
|
+
funding_uri: https://opencollective.com/decidim
|
255
|
+
homepage_uri: https://decidim.org
|
256
|
+
source_code_uri: https://github.com/decidim/decidim
|
250
257
|
post_install_message:
|
251
258
|
rdoc_options: []
|
252
259
|
require_paths:
|
@@ -255,14 +262,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
255
262
|
requirements:
|
256
263
|
- - ">="
|
257
264
|
- !ruby/object:Gem::Version
|
258
|
-
version: '3.
|
265
|
+
version: '3.1'
|
259
266
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
260
267
|
requirements:
|
261
|
-
- - "
|
268
|
+
- - ">"
|
262
269
|
- !ruby/object:Gem::Version
|
263
|
-
version:
|
270
|
+
version: 1.3.1
|
264
271
|
requirements: []
|
265
|
-
rubygems_version: 3.4.
|
272
|
+
rubygems_version: 3.4.20
|
266
273
|
signing_key:
|
267
274
|
specification_version: 4
|
268
275
|
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
|
-
}
|
data/config/environment.rb
DELETED