decidim-accountability 0.21.0 → 0.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/decidim/accountability/admin/accountability_admin.js.es6 +6 -42
- data/app/assets/stylesheets/decidim/accountability/accountability/_categories.scss +8 -1
- data/app/assets/stylesheets/decidim/accountability/accountability/_lines_breadcrumb.scss +8 -0
- data/app/assets/stylesheets/decidim/accountability/accountability/_results.scss +0 -3
- data/app/cells/decidim/accountability/highlighted_results_for_component/show.erb +3 -3
- data/app/cells/decidim/accountability/highlighted_results_for_component_cell.rb +1 -1
- data/app/commands/decidim/accountability/admin/create_imported_result.rb +106 -0
- data/app/commands/decidim/accountability/admin/update_imported_result.rb +110 -0
- data/app/controllers/decidim/accountability/admin/import_results_controller.rb +34 -0
- data/app/controllers/decidim/accountability/admin/results_controller.rb +2 -20
- data/app/controllers/decidim/accountability/versions_controller.rb +7 -8
- data/app/jobs/application_job.rb +4 -0
- data/app/jobs/decidim/accountability/admin/import_results_csv_job.rb +19 -0
- data/app/mailers/decidim/accountability/import_mailer.rb +26 -0
- data/app/queries/decidim/accountability/metrics/results_metric_manage.rb +2 -8
- data/app/services/decidim/accountability/results_csv_importer.rb +139 -0
- data/app/views/decidim/accountability/admin/import_results/new.html.erb +22 -0
- data/app/views/decidim/accountability/admin/results/_form.html.erb +1 -5
- data/app/views/decidim/accountability/admin/results/index.html.erb +1 -0
- data/app/views/decidim/accountability/admin/results/proposals_picker.html.erb +1 -0
- data/app/views/decidim/accountability/import_mailer/import.html.erb +25 -0
- data/app/views/decidim/accountability/results/_linked_results.html.erb +1 -1
- data/app/views/decidim/accountability/results/_results_leaf.html.erb +5 -5
- data/app/views/decidim/accountability/results/_results_parent.html.erb +2 -2
- data/app/views/decidim/accountability/results/_scope_filters.html.erb +16 -3
- data/app/views/decidim/accountability/results/_search.html.erb +3 -3
- data/app/views/decidim/accountability/results/_stats_box.html.erb +11 -4
- data/app/views/decidim/accountability/results/_timeline.html.erb +2 -2
- data/app/views/decidim/accountability/versions/index.html.erb +7 -25
- data/app/views/decidim/accountability/versions/show.html.erb +9 -31
- data/app/views/decidim/participatory_spaces/_result.html.erb +3 -3
- data/config/locales/ar.yml +1 -24
- data/config/locales/bg-BG.yml +220 -0
- data/config/locales/ca.yml +19 -22
- data/config/locales/cs.yml +44 -47
- data/config/locales/da-DK.yml +1 -0
- data/config/locales/de.yml +19 -22
- data/config/locales/el.yml +222 -0
- data/config/locales/en.yml +19 -22
- data/config/locales/es-MX.yml +19 -22
- data/config/locales/es-PY.yml +19 -22
- data/config/locales/es.yml +19 -22
- data/config/locales/et-EE.yml +1 -0
- data/config/locales/eu.yml +1 -24
- data/config/locales/fi-plain.yml +19 -22
- data/config/locales/fi.yml +32 -35
- data/config/locales/fr-CA.yml +222 -0
- data/config/locales/fr.yml +18 -22
- data/config/locales/ga-IE.yml +1 -0
- data/config/locales/gl.yml +1 -24
- data/config/locales/hr-HR.yml +1 -0
- data/config/locales/hu.yml +18 -22
- data/config/locales/id-ID.yml +1 -24
- data/config/locales/is-IS.yml +1 -21
- data/config/locales/it.yml +37 -40
- data/config/locales/ja-JP.yml +221 -0
- data/config/locales/lt-LT.yml +1 -0
- data/config/locales/lv-LV.yml +218 -0
- data/config/locales/mt-MT.yml +1 -0
- data/config/locales/nl.yml +18 -22
- data/config/locales/no.yml +25 -28
- data/config/locales/pl.yml +46 -49
- data/config/locales/pt-BR.yml +2 -25
- data/config/locales/pt.yml +59 -62
- data/config/locales/ro-RO.yml +223 -0
- data/config/locales/ru.yml +1 -24
- data/config/locales/sk-SK.yml +224 -0
- data/config/locales/sk.yml +207 -0
- data/config/locales/sl.yml +129 -0
- data/config/locales/sr-CS.yml +205 -0
- data/config/locales/sv.yml +21 -24
- data/config/locales/tr-TR.yml +1 -24
- data/config/locales/uk.yml +1 -21
- data/db/migrate/20200320105903_index_foreign_keys_in_decidim_accountability_results.rb +7 -0
- data/lib/decidim/accountability/admin_engine.rb +4 -3
- data/lib/decidim/accountability/version.rb +1 -1
- metadata +54 -24
- data/app/views/decidim/accountability/admin/results/_proposals.html.erb +0 -12
- data/app/views/decidim/accountability/versions/_version.html.erb +0 -20
data/config/locales/sv.yml
CHANGED
@@ -35,6 +35,7 @@ sv:
|
|
35
35
|
confirm_destroy: Vill du radera detta %{name}?
|
36
36
|
destroy: Radera
|
37
37
|
edit: Redigera
|
38
|
+
import_csv: Importera CSV
|
38
39
|
new: Ny %{name}
|
39
40
|
preview: Förhandsvisa
|
40
41
|
timeline_entries: Projektutveckling
|
@@ -42,6 +43,15 @@ sv:
|
|
42
43
|
admin:
|
43
44
|
exports:
|
44
45
|
results: Resultat
|
46
|
+
import_results:
|
47
|
+
new:
|
48
|
+
import: Importera
|
49
|
+
info: "<p>Vi rekommenderar att du följer dessa steg:</p><ol><li>Skapa statusar för de resultat som du vill lägga till (<a href='%{link_new_status}' target='_blank'>länk</a>)</li><li>Skapa minst ett resultat manuellt genom denna Admin panel (<a href='%{link_new_result}' target='_blank'>länk</a>) innan du använder Importera, för att ha en bättre förståelse för formatet och vad du behöver för att fylla i.</li><li>Ladda ner exporten med CSV-format (%{link_export_csv})</li><li>Gör ändringarna lokalt. Du kan bara ändra följande kolumner i CSV:</li></ol><ul><li><b>kategori/id:</b> ID för kategorin</li><li><b>omfattning/id:</b> ID för omfattningen</li><li><b>förälder/id:</b> ID för föräldern (för relaterade resultat). Valfri</li><li><b>title/I18N:</b> Titel på X språk</li><li><b>beskrivning/I18N:</b> Beskrivning på X språk</li><li><b>start_date:</b> datum när resultatet startar exekvering (format YYYY-MM-DD)</li><li><b>end_date:</b> datum när resultatet slutar exekvering (format YYYY-MM-DD)</li><li><b>status/id:</b> ID för status för detta resultat</li><li><b>fortskrider:</b> Procent (från 0 till 100) av exekveringen</li><li><b>förslag_ids:</b> internt ID för de relaterade förslagen (separerade med komma). Det konverteras automatiskt till <span class='attribute-name'>proposal_url</span></li></ul>"
|
50
|
+
link: länk
|
51
|
+
title: Importera resultat från CSV
|
52
|
+
imports:
|
53
|
+
create:
|
54
|
+
success: Filen har börjat importera. Du kommer att få ett e-postmeddelande inom de närmaste minuterna med resultatet av importen
|
45
55
|
models:
|
46
56
|
result:
|
47
57
|
name: Resultat
|
@@ -58,17 +68,11 @@ sv:
|
|
58
68
|
edit:
|
59
69
|
title: Redigera resultat
|
60
70
|
update: Uppdatera resultat
|
61
|
-
form:
|
62
|
-
add_proposal: Lägg till förslag
|
63
71
|
index:
|
64
72
|
title: Resultat
|
65
73
|
new:
|
66
74
|
create: Skapa resultat
|
67
75
|
title: Nytt resultat
|
68
|
-
proposals:
|
69
|
-
close: Stäng
|
70
|
-
current_selection: Aktuellt urval
|
71
|
-
select: Välj
|
72
76
|
update:
|
73
77
|
invalid: Det gick inte att uppdatera det här resultatet
|
74
78
|
success: Resultatet har uppdaterats
|
@@ -117,6 +121,13 @@ sv:
|
|
117
121
|
value_types:
|
118
122
|
parent_presenter:
|
119
123
|
not_found: 'Föräldraposten hittades inte i databasen (ID: %{id})'
|
124
|
+
import_mailer:
|
125
|
+
import:
|
126
|
+
errors: Fel
|
127
|
+
errors_present: Det gick inte att importera resultat
|
128
|
+
row_number: Rad
|
129
|
+
subject: Lyckad import av resultat
|
130
|
+
success: Lyckad import av resultat. Du kan granska resultaten i administrationsgränssnittet.
|
120
131
|
last_activity:
|
121
132
|
new_result_at_html: "<span>Nytt resultat på %{link}</span>"
|
122
133
|
models:
|
@@ -157,30 +168,16 @@ sv:
|
|
157
168
|
show:
|
158
169
|
stats:
|
159
170
|
attendees: Deltagare
|
160
|
-
|
171
|
+
back_to_resource: Gå tillbaka till resultatet
|
161
172
|
comments: Kommentarer
|
162
173
|
contributions: Bidrag
|
163
174
|
last_edited_by: Senast ändrad av
|
164
175
|
last_updated_at: Senast uppdaterad den
|
165
176
|
meetings: Möten
|
166
|
-
number_of_versions: Versioner
|
167
177
|
proposals: Förslag
|
168
|
-
|
169
|
-
version_author: Versionsförfattare
|
170
|
-
version_created_at: Version skapad
|
171
|
-
version_number: Versionsnummer
|
172
|
-
version_number_out_of_total: "%{current_version} av %{total_count}"
|
173
|
-
votes: Stöder
|
178
|
+
votes: Stöd
|
174
179
|
timeline:
|
175
180
|
title: Projektutveckling
|
176
|
-
versions:
|
177
|
-
index:
|
178
|
-
changes_at_title: Ändringar vid "%{title}"
|
179
|
-
title: Versioner
|
180
|
-
show:
|
181
|
-
changes_at_title: Ändringar vid "%{title}"
|
182
|
-
version:
|
183
|
-
version_index: Version %{index}
|
184
181
|
components:
|
185
182
|
accountability:
|
186
183
|
name: Ansvarsskyldighet
|
@@ -199,7 +196,7 @@ sv:
|
|
199
196
|
accountability:
|
200
197
|
proposal_linked:
|
201
198
|
email_intro: 'Förslaget "%{proposal_title}" har tagits med i ett resultat. Visa det från den här sidan:'
|
202
|
-
email_outro: Du har fått
|
199
|
+
email_outro: Du har fått det här meddelandet eftersom du följer "%{proposal_title}". Du kan sluta att ta emot meddelanden genom att följa föregående länk.
|
203
200
|
email_subject: En uppdatering till %{proposal_title}
|
204
201
|
notification_title: Förslaget <a href="%{proposal_path}">%{proposal_title}</a> har tagits med i resultatet <a href="%{resource_path}">%{resource_title}</a>.
|
205
202
|
result_progress_updated:
|
@@ -218,7 +215,7 @@ sv:
|
|
218
215
|
results: Resultat
|
219
216
|
participatory_spaces:
|
220
217
|
highlighted_results:
|
221
|
-
see_all:
|
218
|
+
see_all: Se alla resultat (%{count})
|
222
219
|
resource_links:
|
223
220
|
included_projects:
|
224
221
|
result_project: Projekt som ingår i detta resultat
|
data/config/locales/tr-TR.yml
CHANGED
@@ -58,17 +58,11 @@ tr:
|
|
58
58
|
edit:
|
59
59
|
title: Sonucu düzenle
|
60
60
|
update: Sonuç güncelle
|
61
|
-
form:
|
62
|
-
add_proposal: Teklif ekle
|
63
61
|
index:
|
64
62
|
title: Sonuçlar
|
65
63
|
new:
|
66
64
|
create: Sonuç oluştur
|
67
65
|
title: Yeni sonuç
|
68
|
-
proposals:
|
69
|
-
close: Kapat
|
70
|
-
current_selection: Şu anki seçim
|
71
|
-
select: seçmek
|
72
66
|
update:
|
73
67
|
invalid: Bu sonucu güncellerken bir sorun oluştu
|
74
68
|
success: Sonuç başarıyla güncellendi
|
@@ -157,30 +151,16 @@ tr:
|
|
157
151
|
show:
|
158
152
|
stats:
|
159
153
|
attendees: Katılımcılar
|
160
|
-
|
154
|
+
back_to_resource: Sonuca geri dön
|
161
155
|
comments: Yorumlar
|
162
156
|
contributions: Katılımlar
|
163
157
|
last_edited_by: Tarafından düzenlenmiş Son
|
164
158
|
last_updated_at: 'Son güncelleme tarihi:'
|
165
159
|
meetings: Toplantılar
|
166
|
-
number_of_versions: Sürümler
|
167
160
|
proposals: Teklif
|
168
|
-
show_all_versions: Tüm sürümleri göster
|
169
|
-
version_author: Sürüm yazarı
|
170
|
-
version_created_at: '''De oluşturulan sürüm'
|
171
|
-
version_number: Versiyon numarası
|
172
|
-
version_number_out_of_total: "%{current_version} üzerinden %{total_count}"
|
173
161
|
votes: Destekler
|
174
162
|
timeline:
|
175
163
|
title: Proje evrimi
|
176
|
-
versions:
|
177
|
-
index:
|
178
|
-
changes_at_title: '"%{title}" daki değişiklikler'
|
179
|
-
title: Sürümler
|
180
|
-
show:
|
181
|
-
changes_at_title: '"%{title}" daki değişiklikler'
|
182
|
-
version:
|
183
|
-
version_index: Sürüm %{index}
|
184
164
|
components:
|
185
165
|
accountability:
|
186
166
|
name: Hesap verebilirlik
|
@@ -216,9 +196,6 @@ tr:
|
|
216
196
|
participatory_process_groups:
|
217
197
|
highlighted_results:
|
218
198
|
results: Sonuçlar
|
219
|
-
participatory_spaces:
|
220
|
-
highlighted_results:
|
221
|
-
see_all: Tümünü gör (%{count})
|
222
199
|
resource_links:
|
223
200
|
included_projects:
|
224
201
|
result_project: Bu sonuca dahil edilen projeler
|
data/config/locales/uk.yml
CHANGED
@@ -59,17 +59,11 @@ uk:
|
|
59
59
|
edit:
|
60
60
|
title: Редагувати підсумки
|
61
61
|
update: Оновити підсумки
|
62
|
-
form:
|
63
|
-
add_proposal: Додати пропозицію
|
64
62
|
index:
|
65
63
|
title: Підсумки
|
66
64
|
new:
|
67
65
|
create: Створити підсумки
|
68
66
|
title: Додати підсумки
|
69
|
-
proposals:
|
70
|
-
close: Закрити
|
71
|
-
current_selection: Поточний вибір
|
72
|
-
select: Оберіть
|
73
67
|
update:
|
74
68
|
invalid: При спробі оновити ці підсумки сталася помилка
|
75
69
|
success: Підсумки успішно оновлено
|
@@ -158,30 +152,16 @@ uk:
|
|
158
152
|
show:
|
159
153
|
stats:
|
160
154
|
attendees: Учасники
|
161
|
-
|
155
|
+
back_to_resource: Повернутися до підсумків
|
162
156
|
comments: Коментарів
|
163
157
|
contributions: Внесені пропозиції
|
164
158
|
last_edited_by: Останній раз редагувалося
|
165
159
|
last_updated_at: Останній раз оновлювалося
|
166
160
|
meetings: Зустрічі
|
167
|
-
number_of_versions: Версії
|
168
161
|
proposals: Пропозиції
|
169
|
-
show_all_versions: Показати всі версії
|
170
|
-
version_author: Автор версії
|
171
|
-
version_created_at: 'Версію створено:'
|
172
|
-
version_number: Номер версії
|
173
|
-
version_number_out_of_total: "%{current_version} з %{total_count}"
|
174
162
|
votes: Підтримує
|
175
163
|
timeline:
|
176
164
|
title: Розвиток проекту
|
177
|
-
versions:
|
178
|
-
index:
|
179
|
-
changes_at_title: Зміни в "%{title}"
|
180
|
-
title: Версії
|
181
|
-
show:
|
182
|
-
changes_at_title: Зміни в "%{title}"
|
183
|
-
version:
|
184
|
-
version_index: Версія %{index}
|
185
165
|
components:
|
186
166
|
accountability:
|
187
167
|
name: Звітність
|
@@ -14,11 +14,12 @@ module Decidim
|
|
14
14
|
routes do
|
15
15
|
resources :statuses
|
16
16
|
resources :results, except: [:show] do
|
17
|
+
get :proposals_picker, on: :collection
|
18
|
+
|
17
19
|
resources :timeline_entries, except: [:show]
|
18
|
-
collection do
|
19
|
-
get :proposals
|
20
|
-
end
|
21
20
|
end
|
21
|
+
get :import_results, to: "import_results#new"
|
22
|
+
post :import_results, to: "import_results#create"
|
22
23
|
root to: "results#index"
|
23
24
|
end
|
24
25
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-accountability
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.22.0
|
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: 2020-
|
13
|
+
date: 2020-09-01 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: decidim-comments
|
@@ -18,42 +18,48 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.
|
21
|
+
version: 0.22.0
|
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.22.0
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: decidim-core
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
35
|
+
version: 0.22.0
|
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.22.0
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: kaminari
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: '1.
|
49
|
+
version: '1.2'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 1.2.1
|
50
53
|
type: :runtime
|
51
54
|
prerelease: false
|
52
55
|
version_requirements: !ruby/object:Gem::Requirement
|
53
56
|
requirements:
|
54
57
|
- - "~>"
|
55
58
|
- !ruby/object:Gem::Version
|
56
|
-
version: '1.
|
59
|
+
version: '1.2'
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 1.2.1
|
57
63
|
- !ruby/object:Gem::Dependency
|
58
64
|
name: searchlight
|
59
65
|
requirement: !ruby/object:Gem::Requirement
|
@@ -74,98 +80,98 @@ dependencies:
|
|
74
80
|
requirements:
|
75
81
|
- - '='
|
76
82
|
- !ruby/object:Gem::Version
|
77
|
-
version: 0.
|
83
|
+
version: 0.22.0
|
78
84
|
type: :development
|
79
85
|
prerelease: false
|
80
86
|
version_requirements: !ruby/object:Gem::Requirement
|
81
87
|
requirements:
|
82
88
|
- - '='
|
83
89
|
- !ruby/object:Gem::Version
|
84
|
-
version: 0.
|
90
|
+
version: 0.22.0
|
85
91
|
- !ruby/object:Gem::Dependency
|
86
92
|
name: decidim-assemblies
|
87
93
|
requirement: !ruby/object:Gem::Requirement
|
88
94
|
requirements:
|
89
95
|
- - '='
|
90
96
|
- !ruby/object:Gem::Version
|
91
|
-
version: 0.
|
97
|
+
version: 0.22.0
|
92
98
|
type: :development
|
93
99
|
prerelease: false
|
94
100
|
version_requirements: !ruby/object:Gem::Requirement
|
95
101
|
requirements:
|
96
102
|
- - '='
|
97
103
|
- !ruby/object:Gem::Version
|
98
|
-
version: 0.
|
104
|
+
version: 0.22.0
|
99
105
|
- !ruby/object:Gem::Dependency
|
100
106
|
name: decidim-comments
|
101
107
|
requirement: !ruby/object:Gem::Requirement
|
102
108
|
requirements:
|
103
109
|
- - '='
|
104
110
|
- !ruby/object:Gem::Version
|
105
|
-
version: 0.
|
111
|
+
version: 0.22.0
|
106
112
|
type: :development
|
107
113
|
prerelease: false
|
108
114
|
version_requirements: !ruby/object:Gem::Requirement
|
109
115
|
requirements:
|
110
116
|
- - '='
|
111
117
|
- !ruby/object:Gem::Version
|
112
|
-
version: 0.
|
118
|
+
version: 0.22.0
|
113
119
|
- !ruby/object:Gem::Dependency
|
114
120
|
name: decidim-dev
|
115
121
|
requirement: !ruby/object:Gem::Requirement
|
116
122
|
requirements:
|
117
123
|
- - '='
|
118
124
|
- !ruby/object:Gem::Version
|
119
|
-
version: 0.
|
125
|
+
version: 0.22.0
|
120
126
|
type: :development
|
121
127
|
prerelease: false
|
122
128
|
version_requirements: !ruby/object:Gem::Requirement
|
123
129
|
requirements:
|
124
130
|
- - '='
|
125
131
|
- !ruby/object:Gem::Version
|
126
|
-
version: 0.
|
132
|
+
version: 0.22.0
|
127
133
|
- !ruby/object:Gem::Dependency
|
128
134
|
name: decidim-meetings
|
129
135
|
requirement: !ruby/object:Gem::Requirement
|
130
136
|
requirements:
|
131
137
|
- - '='
|
132
138
|
- !ruby/object:Gem::Version
|
133
|
-
version: 0.
|
139
|
+
version: 0.22.0
|
134
140
|
type: :development
|
135
141
|
prerelease: false
|
136
142
|
version_requirements: !ruby/object:Gem::Requirement
|
137
143
|
requirements:
|
138
144
|
- - '='
|
139
145
|
- !ruby/object:Gem::Version
|
140
|
-
version: 0.
|
146
|
+
version: 0.22.0
|
141
147
|
- !ruby/object:Gem::Dependency
|
142
148
|
name: decidim-participatory_processes
|
143
149
|
requirement: !ruby/object:Gem::Requirement
|
144
150
|
requirements:
|
145
151
|
- - '='
|
146
152
|
- !ruby/object:Gem::Version
|
147
|
-
version: 0.
|
153
|
+
version: 0.22.0
|
148
154
|
type: :development
|
149
155
|
prerelease: false
|
150
156
|
version_requirements: !ruby/object:Gem::Requirement
|
151
157
|
requirements:
|
152
158
|
- - '='
|
153
159
|
- !ruby/object:Gem::Version
|
154
|
-
version: 0.
|
160
|
+
version: 0.22.0
|
155
161
|
- !ruby/object:Gem::Dependency
|
156
162
|
name: decidim-proposals
|
157
163
|
requirement: !ruby/object:Gem::Requirement
|
158
164
|
requirements:
|
159
165
|
- - '='
|
160
166
|
- !ruby/object:Gem::Version
|
161
|
-
version: 0.
|
167
|
+
version: 0.22.0
|
162
168
|
type: :development
|
163
169
|
prerelease: false
|
164
170
|
version_requirements: !ruby/object:Gem::Requirement
|
165
171
|
requirements:
|
166
172
|
- - '='
|
167
173
|
- !ruby/object:Gem::Version
|
168
|
-
version: 0.
|
174
|
+
version: 0.22.0
|
169
175
|
description: An accountability component for decidim's participatory spaces.
|
170
176
|
email:
|
171
177
|
- josepjaume@gmail.com
|
@@ -193,14 +199,17 @@ files:
|
|
193
199
|
- app/cells/decidim/accountability/highlighted_results_for_component/show.erb
|
194
200
|
- app/cells/decidim/accountability/highlighted_results_for_component_cell.rb
|
195
201
|
- app/cells/decidim/accountability/result_activity_cell.rb
|
202
|
+
- app/commands/decidim/accountability/admin/create_imported_result.rb
|
196
203
|
- app/commands/decidim/accountability/admin/create_result.rb
|
197
204
|
- app/commands/decidim/accountability/admin/create_status.rb
|
198
205
|
- app/commands/decidim/accountability/admin/create_timeline_entry.rb
|
199
206
|
- app/commands/decidim/accountability/admin/destroy_result.rb
|
207
|
+
- app/commands/decidim/accountability/admin/update_imported_result.rb
|
200
208
|
- app/commands/decidim/accountability/admin/update_result.rb
|
201
209
|
- app/commands/decidim/accountability/admin/update_status.rb
|
202
210
|
- app/commands/decidim/accountability/admin/update_timeline_entry.rb
|
203
211
|
- app/controllers/decidim/accountability/admin/application_controller.rb
|
212
|
+
- app/controllers/decidim/accountability/admin/import_results_controller.rb
|
204
213
|
- app/controllers/decidim/accountability/admin/results_controller.rb
|
205
214
|
- app/controllers/decidim/accountability/admin/statuses_controller.rb
|
206
215
|
- app/controllers/decidim/accountability/admin/timeline_entries_controller.rb
|
@@ -215,6 +224,9 @@ files:
|
|
215
224
|
- app/forms/decidim/accountability/admin/timeline_entry_form.rb
|
216
225
|
- app/helpers/decidim/accountability/application_helper.rb
|
217
226
|
- app/helpers/decidim/accountability/breadcrumb_helper.rb
|
227
|
+
- app/jobs/application_job.rb
|
228
|
+
- app/jobs/decidim/accountability/admin/import_results_csv_job.rb
|
229
|
+
- app/mailers/decidim/accountability/import_mailer.rb
|
218
230
|
- app/models/decidim/accountability/application_record.rb
|
219
231
|
- app/models/decidim/accountability/result.rb
|
220
232
|
- app/models/decidim/accountability/status.rb
|
@@ -228,15 +240,17 @@ files:
|
|
228
240
|
- app/services/decidim/accountability/result_search.rb
|
229
241
|
- app/services/decidim/accountability/result_stats_calculator.rb
|
230
242
|
- app/services/decidim/accountability/results_calculator.rb
|
243
|
+
- app/services/decidim/accountability/results_csv_importer.rb
|
231
244
|
- app/types/decidim/accountability/accountability_type.rb
|
232
245
|
- app/types/decidim/accountability/result_type.rb
|
233
246
|
- app/types/decidim/accountability/status_type.rb
|
234
247
|
- app/types/decidim/accountability/timeline_entry_type.rb
|
248
|
+
- app/views/decidim/accountability/admin/import_results/new.html.erb
|
235
249
|
- app/views/decidim/accountability/admin/results/_form.html.erb
|
236
|
-
- app/views/decidim/accountability/admin/results/_proposals.html.erb
|
237
250
|
- app/views/decidim/accountability/admin/results/edit.html.erb
|
238
251
|
- app/views/decidim/accountability/admin/results/index.html.erb
|
239
252
|
- app/views/decidim/accountability/admin/results/new.html.erb
|
253
|
+
- app/views/decidim/accountability/admin/results/proposals_picker.html.erb
|
240
254
|
- app/views/decidim/accountability/admin/shared/_subnav.html.erb
|
241
255
|
- app/views/decidim/accountability/admin/statuses/_form.html.erb
|
242
256
|
- app/views/decidim/accountability/admin/statuses/edit.html.erb
|
@@ -246,6 +260,7 @@ files:
|
|
246
260
|
- app/views/decidim/accountability/admin/timeline_entries/edit.html.erb
|
247
261
|
- app/views/decidim/accountability/admin/timeline_entries/index.html.erb
|
248
262
|
- app/views/decidim/accountability/admin/timeline_entries/new.html.erb
|
263
|
+
- app/views/decidim/accountability/import_mailer/import.html.erb
|
249
264
|
- app/views/decidim/accountability/result_widgets/show.html.erb
|
250
265
|
- app/views/decidim/accountability/results/_home_categories.html.erb
|
251
266
|
- app/views/decidim/accountability/results/_home_header.html.erb
|
@@ -264,7 +279,6 @@ files:
|
|
264
279
|
- app/views/decidim/accountability/results/index.html.erb
|
265
280
|
- app/views/decidim/accountability/results/index.js.erb
|
266
281
|
- app/views/decidim/accountability/results/show.html.erb
|
267
|
-
- app/views/decidim/accountability/versions/_version.html.erb
|
268
282
|
- app/views/decidim/accountability/versions/index.html.erb
|
269
283
|
- app/views/decidim/accountability/versions/show.html.erb
|
270
284
|
- app/views/decidim/participatory_processes/participatory_process_groups/_highlighted_results.html.erb
|
@@ -272,9 +286,11 @@ files:
|
|
272
286
|
- app/views/decidim/participatory_spaces/_result.html.erb
|
273
287
|
- config/locales/ar-SA.yml
|
274
288
|
- config/locales/ar.yml
|
289
|
+
- config/locales/bg-BG.yml
|
275
290
|
- config/locales/ca.yml
|
276
291
|
- config/locales/cs-CZ.yml
|
277
292
|
- config/locales/cs.yml
|
293
|
+
- config/locales/da-DK.yml
|
278
294
|
- config/locales/de.yml
|
279
295
|
- config/locales/el-GR.yml
|
280
296
|
- config/locales/el.yml
|
@@ -283,22 +299,35 @@ files:
|
|
283
299
|
- config/locales/es-MX.yml
|
284
300
|
- config/locales/es-PY.yml
|
285
301
|
- config/locales/es.yml
|
302
|
+
- config/locales/et-EE.yml
|
286
303
|
- config/locales/eu.yml
|
287
304
|
- config/locales/fi-pl.yml
|
288
305
|
- config/locales/fi-plain.yml
|
289
306
|
- config/locales/fi.yml
|
307
|
+
- config/locales/fr-CA.yml
|
290
308
|
- config/locales/fr.yml
|
309
|
+
- config/locales/ga-IE.yml
|
291
310
|
- config/locales/gl.yml
|
311
|
+
- config/locales/hr-HR.yml
|
292
312
|
- config/locales/hu.yml
|
293
313
|
- config/locales/id-ID.yml
|
294
314
|
- config/locales/is-IS.yml
|
295
315
|
- config/locales/it.yml
|
316
|
+
- config/locales/ja-JP.yml
|
317
|
+
- config/locales/lt-LT.yml
|
318
|
+
- config/locales/lv-LV.yml
|
319
|
+
- config/locales/mt-MT.yml
|
296
320
|
- config/locales/nl.yml
|
297
321
|
- config/locales/no.yml
|
298
322
|
- config/locales/pl.yml
|
299
323
|
- config/locales/pt-BR.yml
|
300
324
|
- config/locales/pt.yml
|
325
|
+
- config/locales/ro-RO.yml
|
301
326
|
- config/locales/ru.yml
|
327
|
+
- config/locales/sk-SK.yml
|
328
|
+
- config/locales/sk.yml
|
329
|
+
- config/locales/sl.yml
|
330
|
+
- config/locales/sr-CS.yml
|
302
331
|
- config/locales/sv.yml
|
303
332
|
- config/locales/tr-TR.yml
|
304
333
|
- config/locales/uk.yml
|
@@ -312,6 +341,7 @@ files:
|
|
312
341
|
- db/migrate/20180305133145_rename_features_to_components_at_accountability.rb
|
313
342
|
- db/migrate/20180508170210_add_weight_to_results.rb
|
314
343
|
- db/migrate/20180508170647_add_external_id_to_results.rb
|
344
|
+
- db/migrate/20200320105903_index_foreign_keys_in_decidim_accountability_results.rb
|
315
345
|
- lib/decidim/accountability.rb
|
316
346
|
- lib/decidim/accountability/admin.rb
|
317
347
|
- lib/decidim/accountability/admin_engine.rb
|