decidim-surveys 0.26.5 → 0.27.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -4
- data/app/commands/decidim/surveys/create_survey.rb +1 -1
- data/config/locales/am-ET.yml +1 -0
- data/config/locales/ar.yml +1 -0
- data/config/locales/bg.yml +1 -0
- data/config/locales/ca.yml +1 -0
- data/config/locales/cs.yml +1 -0
- data/config/locales/da.yml +1 -0
- data/config/locales/de.yml +1 -0
- data/config/locales/el.yml +1 -0
- data/config/locales/eo.yml +1 -0
- data/config/locales/es-MX.yml +1 -0
- data/config/locales/es-PY.yml +1 -0
- data/config/locales/es.yml +1 -0
- data/config/locales/et.yml +1 -0
- data/config/locales/eu.yml +1 -0
- data/config/locales/fi-plain.yml +1 -0
- data/config/locales/fi.yml +1 -0
- data/config/locales/fr-CA.yml +1 -0
- data/config/locales/fr.yml +1 -0
- data/config/locales/ga-IE.yml +1 -0
- data/config/locales/gl.yml +1 -0
- data/config/locales/hr.yml +1 -0
- data/config/locales/hu.yml +1 -0
- data/config/locales/id-ID.yml +1 -0
- data/config/locales/is-IS.yml +2 -1
- data/config/locales/it.yml +1 -0
- data/config/locales/ja.yml +1 -0
- data/config/locales/ko.yml +1 -0
- data/config/locales/lb.yml +1 -0
- data/config/locales/lt.yml +1 -71
- data/config/locales/lv.yml +1 -0
- data/config/locales/mt.yml +1 -0
- data/config/locales/nl.yml +1 -0
- data/config/locales/no.yml +1 -0
- data/config/locales/om-ET.yml +1 -0
- data/config/locales/pl.yml +1 -0
- data/config/locales/pt-BR.yml +2 -1
- data/config/locales/pt.yml +1 -0
- data/config/locales/ro-RO.yml +1 -1
- data/config/locales/ru.yml +1 -0
- data/config/locales/si-LK.yml +1 -0
- data/config/locales/sk.yml +1 -0
- data/config/locales/sl.yml +1 -0
- data/config/locales/so-SO.yml +1 -0
- data/config/locales/sr-CS.yml +1 -0
- data/config/locales/sv.yml +1 -1
- data/config/locales/sw-KE.yml +1 -0
- data/config/locales/ti-ER.yml +1 -0
- data/config/locales/tr-TR.yml +1 -0
- data/config/locales/uk.yml +1 -0
- data/config/locales/val-ES.yml +1 -0
- data/config/locales/vi.yml +1 -0
- data/config/locales/zh-CN.yml +1 -0
- data/config/locales/zh-TW.yml +1 -0
- data/lib/decidim/surveys/version.rb +1 -1
- metadata +18 -22
- data/config/locales/gn-PY.yml +0 -1
- data/config/locales/ka-GE.yml +0 -1
- data/config/locales/lo-LA.yml +0 -1
- data/config/locales/oc-FR.yml +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab399c6e817e3951d0f8e025343cef3cd6865302887138c6028fc06f4f84b532
|
4
|
+
data.tar.gz: f3d9638e0798e06e7cabbddde4d84364bb053d1d3c95017b0411937b91652157
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 293a9399c8645e3a68c3c0f9c827d7b67253b3781aedc8d23dc50e3dd65d85ebf619d1da07c507b02f76e46f25afe4b8b92b2d93b3623146f60e7f0360994129
|
7
|
+
data.tar.gz: b8acdbcd0eeee62752fd601e737fe3b461807f054e435d9d491b8aeab1e5a1f6b138180f5099a48f402944597625dea49f68aedf4f397344c3ad322c86fde422
|
data/README.md
CHANGED
@@ -22,10 +22,6 @@ This is on the default Decidim installation so you shouldn't change anything to
|
|
22
22
|
|
23
23
|
![Use survey](docs/screenshot02.png)
|
24
24
|
|
25
|
-
## Documentation
|
26
|
-
|
27
|
-
Read more about this component on [Admin Manual](https://docs.decidim.org/admin-manual/en/processess/#surveys).
|
28
|
-
|
29
25
|
## Contributing
|
30
26
|
|
31
27
|
See [Decidim](https://github.com/decidim/decidim).
|
@@ -4,7 +4,7 @@ module Decidim
|
|
4
4
|
module Surveys
|
5
5
|
# Command that gets called whenever a component's survey has to be created. It
|
6
6
|
# usually happens as a callback when the component itself is created.
|
7
|
-
class CreateSurvey <
|
7
|
+
class CreateSurvey < Decidim::Command
|
8
8
|
def initialize(component)
|
9
9
|
@component = component
|
10
10
|
end
|
data/config/locales/am-ET.yml
CHANGED
data/config/locales/ar.yml
CHANGED
data/config/locales/bg.yml
CHANGED
data/config/locales/ca.yml
CHANGED
data/config/locales/cs.yml
CHANGED
data/config/locales/da.yml
CHANGED
data/config/locales/de.yml
CHANGED
data/config/locales/el.yml
CHANGED
data/config/locales/eo.yml
CHANGED
data/config/locales/es-MX.yml
CHANGED
data/config/locales/es-PY.yml
CHANGED
data/config/locales/es.yml
CHANGED
data/config/locales/et.yml
CHANGED
data/config/locales/eu.yml
CHANGED
data/config/locales/fi-plain.yml
CHANGED
data/config/locales/fi.yml
CHANGED
data/config/locales/fr-CA.yml
CHANGED
data/config/locales/fr.yml
CHANGED
data/config/locales/ga-IE.yml
CHANGED
data/config/locales/gl.yml
CHANGED
data/config/locales/hr.yml
CHANGED
data/config/locales/hu.yml
CHANGED
data/config/locales/id-ID.yml
CHANGED
data/config/locales/is-IS.yml
CHANGED
data/config/locales/it.yml
CHANGED
data/config/locales/ja.yml
CHANGED
data/config/locales/ko.yml
CHANGED
data/config/locales/lb.yml
CHANGED
data/config/locales/lt.yml
CHANGED
@@ -1,72 +1,2 @@
|
|
1
|
+
---
|
1
2
|
lt:
|
2
|
-
activemodel:
|
3
|
-
models:
|
4
|
-
decidim/surveys/closed_survey_event: Apklausa pasibaigė
|
5
|
-
decidim/surveys/opened_survey_event: Apklausa prasidėjo
|
6
|
-
activerecord:
|
7
|
-
models:
|
8
|
-
decidim/surveys/survey:
|
9
|
-
one: Apklausa
|
10
|
-
few: Apklausos
|
11
|
-
many: Apklausos
|
12
|
-
other: Apklausos
|
13
|
-
decidim/surveys/survey_answer:
|
14
|
-
one: Atsakyti
|
15
|
-
few: Atsakymai
|
16
|
-
many: Atsakymai
|
17
|
-
other: Atsakymai
|
18
|
-
decidim:
|
19
|
-
components:
|
20
|
-
surveys:
|
21
|
-
actions:
|
22
|
-
answer: Atsakyti
|
23
|
-
name: Apklausa
|
24
|
-
settings:
|
25
|
-
global:
|
26
|
-
announcement: Pranešimas
|
27
|
-
clean_after_publish: Skelbiant apklausą, šalinti atsakymus
|
28
|
-
ends_at: Atsakymai priimami iki
|
29
|
-
ends_at_help: Jei nėra tikslios datos, palikite lauką tuščią
|
30
|
-
scope_id: Sritis
|
31
|
-
scopes_enabled: Sritys įjungtos
|
32
|
-
starts_at: Atsakymai priimami iš
|
33
|
-
starts_at_help: Jei nėra tikslios datos, palikite lauką tuščią
|
34
|
-
step:
|
35
|
-
allow_answers: Leisti atsakymus
|
36
|
-
allow_unregistered: Leisti neregistruotiems naudotojams atsakyti į apklausos klausimus
|
37
|
-
allow_unregistered_help: Jei aktyvu, prisijungimas nebus būtinas norint atsakyti į apklausą. Tai sukuria patogesnę aplinką atakoms ir nepatikimiems duomenims, tad naudokite šį funkcionalumą su atsarga. Atsižvelkite ir į tai, kad dalyvis galės atsakyti į apklausą kelis kartus.
|
38
|
-
announcement: Pranešimas
|
39
|
-
events:
|
40
|
-
surveys:
|
41
|
-
survey_closed:
|
42
|
-
email_intro: Apklausa %{resource_title} %{participatory_space_title} baigta.
|
43
|
-
email_outro: Šį pranešimą gavote dėl to, kad sekate %{participatory_space_title}. Jeigu nebenorite gauti pranešimų, spustelėkite ankstesnę nuorodą.
|
44
|
-
email_subject: Apklausa %{participatory_space_title} baigta
|
45
|
-
notification_title: Apklausa <a href="%{resource_path}">%{resource_title}</a> <a href="%{participatory_space_url}">%{participatory_space_title}</a> baigta.
|
46
|
-
survey_opened:
|
47
|
-
email_intro: 'Apklausa %{resource_title} %{participatory_space_title} dabar vyksta. Joje galite dalyvauti iš šio puslapio:'
|
48
|
-
email_outro: Šį pranešimą gavote dėl to, kad sekate %{participatory_space_title}. Jeigu nebenorite gauti pranešimų, spustelėkite ankstesnę nuorodą.
|
49
|
-
email_subject: Nauja apklausa %{participatory_space_title}
|
50
|
-
notification_title: Apklausa <a href="%{resource_path}">%{resource_title}</a> <a href="%{participatory_space_url}">%{participatory_space_title}</a> dabar vyksta.
|
51
|
-
metrics:
|
52
|
-
survey_answers:
|
53
|
-
description: Apklausų, į kurių klausimus atsakė dalyviai, skaičius
|
54
|
-
object: atsakymai į apklausų klausimus
|
55
|
-
title: Atsakymai į apklausų klausimus
|
56
|
-
statistics:
|
57
|
-
answers_count: Atsakymai
|
58
|
-
surveys:
|
59
|
-
admin:
|
60
|
-
exports:
|
61
|
-
survey_user_answers: Apklausos dalyvių atsakymai
|
62
|
-
surveys:
|
63
|
-
update:
|
64
|
-
invalid: Išsaugant šią apklausą iškilo problema.
|
65
|
-
success: Apklausa išsaugota.
|
66
|
-
last_activity:
|
67
|
-
new_survey_at_html: "<span>Nauja apklausa %{link}</span>"
|
68
|
-
surveys:
|
69
|
-
answer:
|
70
|
-
invalid: Atsakant į šios apklausos klausimus iškilo problema.
|
71
|
-
spam_detected: Atsakant į šios formos klausimus iškilo problema. Galbūt paskubėjote? Ar galite pabandyti dar kartą?
|
72
|
-
success: Į apklausos klausimus atsakyta.
|
data/config/locales/lv.yml
CHANGED
data/config/locales/mt.yml
CHANGED
data/config/locales/nl.yml
CHANGED
data/config/locales/no.yml
CHANGED
data/config/locales/om-ET.yml
CHANGED
data/config/locales/pl.yml
CHANGED
data/config/locales/pt-BR.yml
CHANGED
data/config/locales/pt.yml
CHANGED
data/config/locales/ro-RO.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
ro:
|
2
3
|
activemodel:
|
3
4
|
models:
|
@@ -32,7 +33,6 @@ ro:
|
|
32
33
|
step:
|
33
34
|
allow_answers: Permite răspunsuri
|
34
35
|
allow_unregistered: Permite utilizatorilor neînregistrați să răspundă la sondaj
|
35
|
-
allow_unregistered_help: Dacă este activ, nu va fi necesară nicio autentificare pentru a răspunde la chestionar. Acest lucru poate duce la date slabe sau nefiabile și va fi mai vulnerabil la atacuri automate. Utilizați cu prudență! Rețineți că un participant poate răspunde aceluiași sondaj de mai multe ori, utilizând diferite browsere sau funcția de "navigare privată" a browser-ului său web.
|
36
36
|
announcement: Anunţ
|
37
37
|
events:
|
38
38
|
surveys:
|
data/config/locales/ru.yml
CHANGED
data/config/locales/si-LK.yml
CHANGED
data/config/locales/sk.yml
CHANGED
data/config/locales/sl.yml
CHANGED
data/config/locales/so-SO.yml
CHANGED
data/config/locales/sr-CS.yml
CHANGED
data/config/locales/sv.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
sv:
|
2
3
|
activemodel:
|
3
4
|
models:
|
@@ -30,7 +31,6 @@ sv:
|
|
30
31
|
step:
|
31
32
|
allow_answers: Tillåt svar
|
32
33
|
allow_unregistered: Tillåt ej registrerade användare att besvara enkäten
|
33
|
-
allow_unregistered_help: Om valt krävs det ingen inloggning för att besvara enkäten. Detta kan leda till dåliga eller opålitliga data och det kommer att vara mer sårbart för automatiserade attacker. Använd med försiktighet! Det blir också möjligt för en deltagare att besvara enkäten flera gånger igenom att använda olika webbläsare eller surfa privat.
|
34
34
|
announcement: Meddelande
|
35
35
|
events:
|
36
36
|
surveys:
|
data/config/locales/sw-KE.yml
CHANGED
data/config/locales/ti-ER.yml
CHANGED
data/config/locales/tr-TR.yml
CHANGED
data/config/locales/uk.yml
CHANGED
data/config/locales/val-ES.yml
CHANGED
data/config/locales/vi.yml
CHANGED
data/config/locales/zh-CN.yml
CHANGED
data/config/locales/zh-TW.yml
CHANGED
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.27.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: 2022-06-27 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.27.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.27.0.rc1
|
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.27.0.rc1
|
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.27.0.rc1
|
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.27.0.rc1
|
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.27.0.rc1
|
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.27.0.rc1
|
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.27.0.rc1
|
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.27.0.rc1
|
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.27.0.rc1
|
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.27.0.rc1
|
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.27.0.rc1
|
99
99
|
description: A surveys component for decidim's participatory spaces.
|
100
100
|
email:
|
101
101
|
- josepjaume@gmail.com
|
@@ -159,7 +159,6 @@ files:
|
|
159
159
|
- config/locales/fr.yml
|
160
160
|
- config/locales/ga-IE.yml
|
161
161
|
- config/locales/gl.yml
|
162
|
-
- config/locales/gn-PY.yml
|
163
162
|
- config/locales/hr-HR.yml
|
164
163
|
- config/locales/hr.yml
|
165
164
|
- config/locales/hu.yml
|
@@ -168,12 +167,10 @@ files:
|
|
168
167
|
- config/locales/is.yml
|
169
168
|
- config/locales/it.yml
|
170
169
|
- config/locales/ja.yml
|
171
|
-
- config/locales/ka-GE.yml
|
172
170
|
- config/locales/ko-KR.yml
|
173
171
|
- config/locales/ko.yml
|
174
172
|
- config/locales/lb-LU.yml
|
175
173
|
- config/locales/lb.yml
|
176
|
-
- config/locales/lo-LA.yml
|
177
174
|
- config/locales/lt-LT.yml
|
178
175
|
- config/locales/lt.yml
|
179
176
|
- config/locales/lv.yml
|
@@ -181,7 +178,6 @@ files:
|
|
181
178
|
- config/locales/mt.yml
|
182
179
|
- config/locales/nl.yml
|
183
180
|
- config/locales/no.yml
|
184
|
-
- config/locales/oc-FR.yml
|
185
181
|
- config/locales/om-ET.yml
|
186
182
|
- config/locales/pl.yml
|
187
183
|
- config/locales/pt-BR.yml
|
@@ -249,14 +245,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
249
245
|
requirements:
|
250
246
|
- - ">="
|
251
247
|
- !ruby/object:Gem::Version
|
252
|
-
version: '
|
248
|
+
version: '3.0'
|
253
249
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
254
250
|
requirements:
|
255
|
-
- - "
|
251
|
+
- - ">"
|
256
252
|
- !ruby/object:Gem::Version
|
257
|
-
version:
|
253
|
+
version: 1.3.1
|
258
254
|
requirements: []
|
259
|
-
rubygems_version: 3.
|
255
|
+
rubygems_version: 3.2.22
|
260
256
|
signing_key:
|
261
257
|
specification_version: 4
|
262
258
|
summary: Decidim surveys module
|
data/config/locales/gn-PY.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
gn:
|
data/config/locales/ka-GE.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
ka:
|
data/config/locales/lo-LA.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
lo:
|
data/config/locales/oc-FR.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
oc:
|