decidim-accountability 0.1.2 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -21
  3. data/app/assets/javascripts/decidim/accountability/accountability.js.es6 +3 -3
  4. data/app/assets/javascripts/decidim/accountability/admin/accountability_admin.js +3 -2
  5. data/app/assets/stylesheets/decidim/accountability/accountability/_categories.scss +13 -13
  6. data/app/assets/stylesheets/decidim/accountability/accountability/_lines_breadcrumb.scss +5 -5
  7. data/app/assets/stylesheets/decidim/accountability/accountability/_results.scss +5 -5
  8. data/app/commands/decidim/accountability/admin/create_result.rb +0 -1
  9. data/app/commands/decidim/accountability/admin/update_result.rb +0 -5
  10. data/app/controllers/decidim/accountability/application_controller.rb +1 -1
  11. data/app/controllers/decidim/accountability/results_controller.rb +1 -12
  12. data/app/forms/decidim/accountability/admin/result_form.rb +0 -11
  13. data/app/helpers/decidim/accountability/application_helper.rb +8 -6
  14. data/app/models/decidim/accountability/result.rb +3 -10
  15. data/app/services/decidim/accountability/result_search.rb +6 -3
  16. data/app/services/decidim/accountability/result_stats_calculator.rb +2 -6
  17. data/app/services/decidim/accountability/results_calculator.rb +1 -1
  18. data/app/views/decidim/accountability/admin/results/_form.html.erb +0 -4
  19. data/app/views/decidim/accountability/admin/results/index.html.erb +5 -2
  20. data/app/views/decidim/accountability/admin/shared/_extra.html.erb +1 -0
  21. data/app/views/decidim/accountability/admin/shared/_subnav.html.erb +1 -3
  22. data/app/views/decidim/accountability/results/_home_categories.html.erb +15 -9
  23. data/app/views/decidim/accountability/results/_home_header.html.erb +12 -13
  24. data/app/views/decidim/accountability/results/_linked_results.html.erb +1 -1
  25. data/app/views/decidim/accountability/results/_results_leaf.html.erb +5 -3
  26. data/app/views/decidim/accountability/results/_results_parent.html.erb +5 -3
  27. data/app/views/decidim/accountability/results/_show_leaf.html.erb +14 -14
  28. data/app/views/decidim/accountability/results/_show_parent.html.erb +1 -1
  29. data/config/locales/ca.yml +9 -41
  30. data/config/locales/en.yml +8 -40
  31. data/config/locales/es.yml +9 -41
  32. data/config/locales/eu.yml +99 -21
  33. data/config/locales/fi.yml +101 -21
  34. data/config/locales/fr.yml +157 -0
  35. data/config/locales/it.yml +157 -0
  36. data/config/locales/nl.yml +157 -0
  37. data/config/locales/pl.yml +158 -0
  38. data/config/locales/ru.yml +159 -0
  39. data/config/locales/uk.yml +159 -0
  40. data/db/migrate/20170426104125_create_accountability_results.rb +0 -1
  41. data/db/migrate/20170508104902_add_description_and_progress_to_statuses.rb +2 -0
  42. data/db/migrate/20170623094200_migrate_accountability_results_category.rb +2 -0
  43. data/db/migrate/20170623144902_add_children_counter_cache_to_results.rb +2 -0
  44. data/db/migrate/20170928073905_migrate_old_results.rb +53 -0
  45. data/lib/decidim/accountability.rb +2 -1
  46. data/lib/decidim/accountability/admin_engine.rb +0 -2
  47. data/lib/decidim/accountability/{list_engine.rb → engine.rb} +1 -2
  48. data/lib/decidim/accountability/feature.rb +53 -19
  49. data/lib/decidim/accountability/result_serializer.rb +66 -0
  50. data/lib/decidim/accountability/test/factories.rb +16 -16
  51. data/lib/decidim/accountability/version.rb +10 -0
  52. metadata +111 -53
  53. data/app/commands/decidim/accountability/admin/update_template_texts.rb +0 -47
  54. data/app/controllers/decidim/accountability/admin/imports_controller.rb +0 -30
  55. data/app/controllers/decidim/accountability/admin/template_texts_controller.rb +0 -38
  56. data/app/forms/decidim/accountability/admin/template_texts_form.rb +0 -19
  57. data/app/models/decidim/accountability/template_texts.rb +0 -17
  58. data/app/services/decidim/accountability/csv_exporter.rb +0 -77
  59. data/app/services/decidim/accountability/csv_importer.rb +0 -106
  60. data/app/views/decidim/accountability/admin/imports/new.html.erb +0 -47
  61. data/app/views/decidim/accountability/admin/template_texts/_form.html.erb +0 -30
  62. data/app/views/decidim/accountability/admin/template_texts/edit.html.erb +0 -8
  63. data/app/views/decidim/accountability/results/_tags.html.erb +0 -10
  64. data/config/i18n-tasks.yml +0 -10
  65. data/db/migrate/20170508161109_create_template_texts.rb +0 -14
  66. data/db/migrate/20170606102902_add_index_to_accountability_results_on_external_id.rb +0 -5
@@ -3,7 +3,7 @@
3
3
  require_dependency "decidim/features/namer"
4
4
 
5
5
  Decidim.register_feature(:accountability) do |feature|
6
- feature.engine = Decidim::Accountability::ListEngine
6
+ feature.engine = Decidim::Accountability::Engine
7
7
  feature.admin_engine = Decidim::Accountability::AdminEngine
8
8
  feature.icon = "decidim/accountability/icon.svg"
9
9
  feature.stylesheet = "decidim/accountability/accountability"
@@ -19,36 +19,70 @@ Decidim.register_feature(:accountability) do |feature|
19
19
 
20
20
  feature.settings(:global) do |settings|
21
21
  settings.attribute :comments_enabled, type: :boolean, default: true
22
+ settings.attribute :intro, type: :text, translated: true, editor: true
23
+ settings.attribute :categories_label, type: :string, translated: true, editor: true
24
+ settings.attribute :subcategories_label, type: :string, translated: true, editor: true
25
+ settings.attribute :heading_parent_level_results, type: :string, translated: true, editor: true
26
+ settings.attribute :heading_leaf_level_results, type: :string, translated: true, editor: true
22
27
  end
23
28
 
24
29
  feature.settings(:step) do |settings|
25
30
  settings.attribute :comments_blocked, type: :boolean, default: false
26
31
  end
27
32
 
28
- feature.seeds do
29
- Decidim::ParticipatoryProcess.all.each do |process|
30
- next unless process.steps.any?
33
+ feature.exports :results do |exports|
34
+ exports.collection do |feature_instance|
35
+ Decidim::Accountability::Result
36
+ .where(feature: feature_instance)
37
+ .includes(:category, feature: { participatory_space: :organization })
38
+ end
39
+
40
+ exports.serializer Decidim::Accountability::ResultSerializer
41
+ end
31
42
 
32
- feature = Decidim::Feature.create!(
33
- name: Decidim::Features::Namer.new(process.organization.available_locales, :accountability).i18n_name,
34
- manifest_name: :accountability,
35
- published_at: Time.current,
36
- participatory_space: process
43
+ feature.seeds do |participatory_space|
44
+ feature = Decidim::Feature.create!(
45
+ name: Decidim::Features::Namer.new(participatory_space.organization.available_locales, :accountability).i18n_name,
46
+ manifest_name: :accountability,
47
+ published_at: Time.current,
48
+ participatory_space: participatory_space,
49
+ settings: {
50
+ intro: Decidim::Faker::Localized.wrapped("<p>", "</p>") { Decidim::Faker::Localized.sentence(4) },
51
+ categories_label: Decidim::Faker::Localized.word,
52
+ subcategories_label: Decidim::Faker::Localized.word,
53
+ heading_parent_level_results: Decidim::Faker::Localized.word,
54
+ heading_leaf_level_results: Decidim::Faker::Localized.word
55
+ }
56
+ )
57
+
58
+ 5.times do |i|
59
+ Decidim::Accountability::Status.create!(
60
+ feature: feature,
61
+ name: Decidim::Faker::Localized.word,
62
+ key: "status_#{i}"
37
63
  )
64
+ end
38
65
 
39
- 5.times do |i|
40
- Decidim::Accountability::Status.create!(
41
- feature: feature,
42
- name: Decidim::Faker::Localized.word,
43
- key: "status_#{i}"
66
+ 3.times do
67
+ parent_category = participatory_space.categories.sample
68
+ categories = [parent_category]
69
+
70
+ 2.times do
71
+ categories << Decidim::Category.create!(
72
+ name: Decidim::Faker::Localized.sentence(5),
73
+ description: Decidim::Faker::Localized.wrapped("<p>", "</p>") do
74
+ Decidim::Faker::Localized.paragraph(3)
75
+ end,
76
+ parent: parent_category,
77
+ participatory_space: participatory_space
44
78
  )
45
79
  end
46
80
 
47
- 3.times do
81
+ categories.each do |category|
48
82
  result = Decidim::Accountability::Result.create!(
49
83
  feature: feature,
50
- scope: process.organization.scopes.sample,
51
- category: process.categories.sample,
84
+ scope: participatory_space.organization.scopes.sample,
85
+ category: category,
52
86
  title: Decidim::Faker::Localized.sentence(2),
53
87
  description: Decidim::Faker::Localized.wrapped("<p>", "</p>") do
54
88
  Decidim::Faker::Localized.paragraph(3)
@@ -61,8 +95,8 @@ Decidim.register_feature(:accountability) do |feature|
61
95
  child_result = Decidim::Accountability::Result.create!(
62
96
  feature: feature,
63
97
  parent: result,
64
- start_date: Date.today,
65
- end_date: Date.today + 10,
98
+ start_date: Time.zone.today,
99
+ end_date: Time.zone.today + 10,
66
100
  status: Decidim::Accountability::Status.all.sample,
67
101
  progress: rand(1..100),
68
102
  title: Decidim::Faker::Localized.sentence(2),
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Decidim
4
+ module Accountability
5
+ # This class serializes a Result so can be exported to CSV, JSON or other
6
+ # formats.
7
+ class ResultSerializer < Decidim::Exporters::Serializer
8
+ include Decidim::ResourceHelper
9
+
10
+ # Public: Initializes the serializer with a result.
11
+ def initialize(result)
12
+ @result = result
13
+ end
14
+
15
+ # Public: Exports a hash with the serialized data for this result.
16
+ def serialize
17
+ {
18
+ id: result.id,
19
+ category: {
20
+ id: result.category.try(:id),
21
+ name: result.category.try(:name)
22
+ },
23
+ scope: {
24
+ id: result.scope.try(:id),
25
+ name: result.scope.try(:name)
26
+ },
27
+ parent: {
28
+ id: result.parent.try(:id)
29
+ },
30
+ title: result.title,
31
+ description: result.description,
32
+ start_date: result.start_date,
33
+ end_date: result.end_date,
34
+ status: {
35
+ id: result.status.try(:id),
36
+ key: result.status.try(:key),
37
+ name: result.status.try(:name)
38
+ },
39
+ progress: result.progress,
40
+ created_at: result.created_at,
41
+ url: url,
42
+ feature: { id: feature.id },
43
+ proposal_urls: proposals
44
+ }
45
+ end
46
+
47
+ private
48
+
49
+ attr_reader :result
50
+
51
+ def feature
52
+ result.feature
53
+ end
54
+
55
+ def proposals
56
+ result.linked_resources(:proposals, "included_proposals").map do |proposal|
57
+ Decidim::ResourceLocatorPresenter.new(proposal).url
58
+ end
59
+ end
60
+
61
+ def url
62
+ Decidim::ResourceLocatorPresenter.new(result).url
63
+ end
64
+ end
65
+ end
66
+ end
@@ -8,37 +8,37 @@ FactoryGirl.define do
8
8
  name { Decidim::Features::Namer.new(participatory_space.organization.available_locales, :accountability).i18n_name }
9
9
  manifest_name :accountability
10
10
  participatory_space { create(:participatory_process, :with_steps, organization: organization) }
11
+ settings do
12
+ {
13
+ intro: Decidim::Faker::Localized.wrapped("<p>", "</p>") { Decidim::Faker::Localized.sentence(4) },
14
+ categories_label: Decidim::Faker::Localized.word,
15
+ subcategories_label: Decidim::Faker::Localized.word,
16
+ heading_parent_level_results: Decidim::Faker::Localized.word,
17
+ heading_leaf_level_results: Decidim::Faker::Localized.word
18
+ }
19
+ end
11
20
  end
12
21
 
13
- factory :accountability_template_texts, class: Decidim::Accountability::TemplateTexts do
14
- feature { build(:feature, manifest_name: "accountability") }
15
- intro { Decidim::Faker::Localized.wrapped("<p>", "</p>") { Decidim::Faker::Localized.sentence(4) } }
16
- categories_label { Decidim::Faker::Localized.word }
17
- subcategories_label { Decidim::Faker::Localized.word }
18
- heading_parent_level_results { Decidim::Faker::Localized.word }
19
- heading_leaf_level_results { Decidim::Faker::Localized.word }
20
- end
21
-
22
- factory :accountability_status, class: Decidim::Accountability::Status do
23
- feature { build(:feature, manifest_name: "accountability") }
22
+ factory :status, class: Decidim::Accountability::Status do
23
+ feature { create(:accountability_feature) }
24
24
  sequence(:key) { |n| "status_#{n}" }
25
25
  name { Decidim::Faker::Localized.word }
26
26
  description { Decidim::Faker::Localized.sentence(3) }
27
27
  progress { rand(1..100) }
28
28
  end
29
29
 
30
- factory :accountability_result, class: Decidim::Accountability::Result do
31
- feature { build(:feature, manifest_name: "accountability") }
30
+ factory :result, class: Decidim::Accountability::Result do
31
+ feature { create(:accountability_feature) }
32
32
  title { Decidim::Faker::Localized.sentence(3) }
33
33
  description { Decidim::Faker::Localized.wrapped("<p>", "</p>") { Decidim::Faker::Localized.sentence(4) } }
34
34
  start_date { "12/7/2017" }
35
35
  end_date { "30/9/2017" }
36
- status { create :accountability_status, feature: feature }
36
+ status { create :status, feature: feature }
37
37
  progress { rand(1..100) }
38
38
  end
39
39
 
40
- factory :accountability_timeline_entry, class: Decidim::Accountability::TimelineEntry do
41
- result { build(:accountability_result) }
40
+ factory :timeline_entry, class: Decidim::Accountability::TimelineEntry do
41
+ result { create(:result) }
42
42
  entry_date { "12/7/2017" }
43
43
  description { Decidim::Faker::Localized.sentence(2) }
44
44
  end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Decidim
4
+ # This holds decidim-accountability version.
5
+ module Accountability
6
+ def self.version
7
+ "0.7.0"
8
+ end
9
+ end
10
+ end
metadata CHANGED
@@ -1,111 +1,173 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-accountability
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
- - Amaia Castro
8
7
  - Josep Jaume Rey Peroy
9
8
  - Marc Riera Casals
10
9
  - Oriol Gual Oliva
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2017-09-20 00:00:00.000000000 Z
13
+ date: 2017-10-25 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: decidim-core
18
17
  requirement: !ruby/object:Gem::Requirement
19
18
  requirements:
20
- - - ">="
19
+ - - '='
21
20
  - !ruby/object:Gem::Version
22
- version: 0.6.0
23
- - - "<="
21
+ version: 0.7.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - '='
24
27
  - !ruby/object:Gem::Version
25
- version: 0.8.0
28
+ version: 0.7.0
29
+ - !ruby/object:Gem::Dependency
30
+ name: decidim-comments
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - '='
34
+ - !ruby/object:Gem::Version
35
+ version: 0.7.0
26
36
  type: :runtime
27
37
  prerelease: false
28
38
  version_requirements: !ruby/object:Gem::Requirement
29
39
  requirements:
30
- - - ">="
40
+ - - '='
31
41
  - !ruby/object:Gem::Version
32
- version: 0.6.0
33
- - - "<="
42
+ version: 0.7.0
43
+ - !ruby/object:Gem::Dependency
44
+ name: searchlight
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
34
48
  - !ruby/object:Gem::Version
35
- version: 0.8.0
49
+ version: 4.1.0
50
+ type: :runtime
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - "~>"
55
+ - !ruby/object:Gem::Version
56
+ version: 4.1.0
36
57
  - !ruby/object:Gem::Dependency
37
- name: decidim-comments
58
+ name: kaminari
38
59
  requirement: !ruby/object:Gem::Requirement
39
60
  requirements:
40
- - - ">="
61
+ - - "~>"
41
62
  - !ruby/object:Gem::Version
42
- version: '0'
63
+ version: 1.0.1
43
64
  type: :runtime
44
65
  prerelease: false
45
66
  version_requirements: !ruby/object:Gem::Requirement
46
67
  requirements:
47
- - - ">="
68
+ - - "~>"
48
69
  - !ruby/object:Gem::Version
49
- version: '0'
70
+ version: 1.0.1
50
71
  - !ruby/object:Gem::Dependency
51
72
  name: decidim-dev
52
73
  requirement: !ruby/object:Gem::Requirement
53
74
  requirements:
54
- - - ">="
75
+ - - '='
55
76
  - !ruby/object:Gem::Version
56
- version: '0'
77
+ version: 0.7.0
57
78
  type: :development
58
79
  prerelease: false
59
80
  version_requirements: !ruby/object:Gem::Requirement
60
81
  requirements:
61
- - - ">="
82
+ - - '='
62
83
  - !ruby/object:Gem::Version
63
- version: '0'
84
+ version: 0.7.0
64
85
  - !ruby/object:Gem::Dependency
65
- name: decidim-comments
86
+ name: decidim-admin
66
87
  requirement: !ruby/object:Gem::Requirement
67
88
  requirements:
68
- - - ">="
89
+ - - '='
69
90
  - !ruby/object:Gem::Version
70
- version: '0'
91
+ version: 0.7.0
71
92
  type: :development
72
93
  prerelease: false
73
94
  version_requirements: !ruby/object:Gem::Requirement
74
95
  requirements:
75
- - - ">="
96
+ - - '='
76
97
  - !ruby/object:Gem::Version
77
- version: '0'
98
+ version: 0.7.0
78
99
  - !ruby/object:Gem::Dependency
79
- name: decidim-meetings
100
+ name: decidim-participatory_processes
80
101
  requirement: !ruby/object:Gem::Requirement
81
102
  requirements:
82
- - - ">="
103
+ - - '='
83
104
  - !ruby/object:Gem::Version
84
- version: '0'
105
+ version: 0.7.0
85
106
  type: :development
86
107
  prerelease: false
87
108
  version_requirements: !ruby/object:Gem::Requirement
88
109
  requirements:
89
- - - ">="
110
+ - - '='
90
111
  - !ruby/object:Gem::Version
91
- version: '0'
112
+ version: 0.7.0
113
+ - !ruby/object:Gem::Dependency
114
+ name: decidim-assemblies
115
+ requirement: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - '='
118
+ - !ruby/object:Gem::Version
119
+ version: 0.7.0
120
+ type: :development
121
+ prerelease: false
122
+ version_requirements: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - '='
125
+ - !ruby/object:Gem::Version
126
+ version: 0.7.0
127
+ - !ruby/object:Gem::Dependency
128
+ name: decidim-comments
129
+ requirement: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - '='
132
+ - !ruby/object:Gem::Version
133
+ version: 0.7.0
134
+ type: :development
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - '='
139
+ - !ruby/object:Gem::Version
140
+ version: 0.7.0
92
141
  - !ruby/object:Gem::Dependency
93
142
  name: decidim-proposals
94
143
  requirement: !ruby/object:Gem::Requirement
95
144
  requirements:
96
- - - ">="
145
+ - - '='
146
+ - !ruby/object:Gem::Version
147
+ version: 0.7.0
148
+ type: :development
149
+ prerelease: false
150
+ version_requirements: !ruby/object:Gem::Requirement
151
+ requirements:
152
+ - - '='
153
+ - !ruby/object:Gem::Version
154
+ version: 0.7.0
155
+ - !ruby/object:Gem::Dependency
156
+ name: decidim-meetings
157
+ requirement: !ruby/object:Gem::Requirement
158
+ requirements:
159
+ - - '='
97
160
  - !ruby/object:Gem::Version
98
- version: '0'
161
+ version: 0.7.0
99
162
  type: :development
100
163
  prerelease: false
101
164
  version_requirements: !ruby/object:Gem::Requirement
102
165
  requirements:
103
- - - ">="
166
+ - - '='
104
167
  - !ruby/object:Gem::Version
105
- version: '0'
168
+ version: 0.7.0
106
169
  description: An accountability component for decidim's participatory processes.
107
170
  email:
108
- - amaia.castro@gmail.com
109
171
  - josepjaume@gmail.com
110
172
  - mrc2407@gmail.com
111
173
  - oriolgual@gmail.com
@@ -130,44 +192,35 @@ files:
130
192
  - app/commands/decidim/accountability/admin/create_timeline_entry.rb
131
193
  - app/commands/decidim/accountability/admin/update_result.rb
132
194
  - app/commands/decidim/accountability/admin/update_status.rb
133
- - app/commands/decidim/accountability/admin/update_template_texts.rb
134
195
  - app/commands/decidim/accountability/admin/update_timeline_entry.rb
135
196
  - app/controllers/decidim/accountability/admin/application_controller.rb
136
- - app/controllers/decidim/accountability/admin/imports_controller.rb
137
197
  - app/controllers/decidim/accountability/admin/results_controller.rb
138
198
  - app/controllers/decidim/accountability/admin/statuses_controller.rb
139
- - app/controllers/decidim/accountability/admin/template_texts_controller.rb
140
199
  - app/controllers/decidim/accountability/admin/timeline_entries_controller.rb
141
200
  - app/controllers/decidim/accountability/application_controller.rb
142
201
  - app/controllers/decidim/accountability/result_widgets_controller.rb
143
202
  - app/controllers/decidim/accountability/results_controller.rb
144
203
  - app/forms/decidim/accountability/admin/result_form.rb
145
204
  - app/forms/decidim/accountability/admin/status_form.rb
146
- - app/forms/decidim/accountability/admin/template_texts_form.rb
147
205
  - app/forms/decidim/accountability/admin/timeline_entry_form.rb
148
206
  - app/helpers/decidim/accountability/application_helper.rb
149
207
  - app/models/decidim/accountability/application_record.rb
150
208
  - app/models/decidim/accountability/result.rb
151
209
  - app/models/decidim/accountability/status.rb
152
- - app/models/decidim/accountability/template_texts.rb
153
210
  - app/models/decidim/accountability/timeline_entry.rb
154
- - app/services/decidim/accountability/csv_exporter.rb
155
- - app/services/decidim/accountability/csv_importer.rb
156
211
  - app/services/decidim/accountability/result_search.rb
157
212
  - app/services/decidim/accountability/result_stats_calculator.rb
158
213
  - app/services/decidim/accountability/results_calculator.rb
159
- - app/views/decidim/accountability/admin/imports/new.html.erb
160
214
  - app/views/decidim/accountability/admin/results/_form.html.erb
161
215
  - app/views/decidim/accountability/admin/results/edit.html.erb
162
216
  - app/views/decidim/accountability/admin/results/index.html.erb
163
217
  - app/views/decidim/accountability/admin/results/new.html.erb
218
+ - app/views/decidim/accountability/admin/shared/_extra.html.erb
164
219
  - app/views/decidim/accountability/admin/shared/_subnav.html.erb
165
220
  - app/views/decidim/accountability/admin/statuses/_form.html.erb
166
221
  - app/views/decidim/accountability/admin/statuses/edit.html.erb
167
222
  - app/views/decidim/accountability/admin/statuses/index.html.erb
168
223
  - app/views/decidim/accountability/admin/statuses/new.html.erb
169
- - app/views/decidim/accountability/admin/template_texts/_form.html.erb
170
- - app/views/decidim/accountability/admin/template_texts/edit.html.erb
171
224
  - app/views/decidim/accountability/admin/timeline_entries/_form.html.erb
172
225
  - app/views/decidim/accountability/admin/timeline_entries/edit.html.erb
173
226
  - app/views/decidim/accountability/admin/timeline_entries/index.html.erb
@@ -185,35 +238,40 @@ files:
185
238
  - app/views/decidim/accountability/results/_show_parent.html.erb
186
239
  - app/views/decidim/accountability/results/_stats.html.erb
187
240
  - app/views/decidim/accountability/results/_stats_box.html.erb
188
- - app/views/decidim/accountability/results/_tags.html.erb
189
241
  - app/views/decidim/accountability/results/_timeline.html.erb
190
242
  - app/views/decidim/accountability/results/home.html.erb
191
243
  - app/views/decidim/accountability/results/index.html.erb
192
244
  - app/views/decidim/accountability/results/index.js.erb
193
245
  - app/views/decidim/accountability/results/show.html.erb
194
- - config/i18n-tasks.yml
195
246
  - config/locales/ca.yml
196
247
  - config/locales/en.yml
197
248
  - config/locales/es.yml
198
249
  - config/locales/eu.yml
199
250
  - config/locales/fi.yml
251
+ - config/locales/fr.yml
252
+ - config/locales/it.yml
253
+ - config/locales/nl.yml
254
+ - config/locales/pl.yml
255
+ - config/locales/ru.yml
256
+ - config/locales/uk.yml
200
257
  - db/migrate/20170425154712_create_accountability_statuses.rb
201
258
  - db/migrate/20170426104125_create_accountability_results.rb
202
259
  - db/migrate/20170508104902_add_description_and_progress_to_statuses.rb
203
- - db/migrate/20170508161109_create_template_texts.rb
204
- - db/migrate/20170606102902_add_index_to_accountability_results_on_external_id.rb
205
260
  - db/migrate/20170620154712_create_accountability_timeline_entries.rb
206
261
  - db/migrate/20170623094200_migrate_accountability_results_category.rb
207
262
  - db/migrate/20170623144902_add_children_counter_cache_to_results.rb
263
+ - db/migrate/20170928073905_migrate_old_results.rb
208
264
  - lib/decidim/accountability.rb
209
265
  - lib/decidim/accountability/admin.rb
210
266
  - lib/decidim/accountability/admin_engine.rb
267
+ - lib/decidim/accountability/engine.rb
211
268
  - lib/decidim/accountability/feature.rb
212
- - lib/decidim/accountability/list_engine.rb
269
+ - lib/decidim/accountability/result_serializer.rb
213
270
  - lib/decidim/accountability/test/factories.rb
214
- homepage: https://github.com/AjuntamentdeBarcelona/decidim
271
+ - lib/decidim/accountability/version.rb
272
+ homepage: https://github.com/decidim/decidim
215
273
  licenses:
216
- - AGPLv3
274
+ - AGPL-3.0
217
275
  metadata: {}
218
276
  post_install_message:
219
277
  rdoc_options: []
@@ -231,7 +289,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
231
289
  version: '0'
232
290
  requirements: []
233
291
  rubyforge_project:
234
- rubygems_version: 2.6.11
292
+ rubygems_version: 2.6.13
235
293
  signing_key:
236
294
  specification_version: 4
237
295
  summary: An accountability component for decidim's participatory processes.