decidim-accountability 0.23.1 → 0.24.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/decidim/accountability/accountability/_categories.scss +5 -4
  3. data/app/cells/decidim/accountability/content_blocks/highlighted_results/elements.erb +5 -0
  4. data/app/cells/decidim/accountability/content_blocks/highlighted_results/heading.erb +1 -0
  5. data/app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb +18 -0
  6. data/app/cells/decidim/accountability/result_cell.rb +21 -0
  7. data/app/cells/decidim/accountability/result_m/data.erb +23 -0
  8. data/app/cells/decidim/accountability/result_m/footer.erb +22 -0
  9. data/app/cells/decidim/accountability/result_m/tags.erb +1 -0
  10. data/app/cells/decidim/accountability/result_m_cell.rb +37 -0
  11. data/app/controllers/concerns/decidim/accountability/admin/filterable.rb +59 -0
  12. data/app/controllers/decidim/accountability/admin/attachment_collections_controller.rb +32 -0
  13. data/app/controllers/decidim/accountability/admin/attachments_controller.rb +32 -0
  14. data/app/controllers/decidim/accountability/admin/results_controller.rb +7 -2
  15. data/app/helpers/decidim/accountability/admin/filterable_helper.rb +10 -0
  16. data/app/helpers/decidim/accountability/breadcrumb_helper.rb +3 -1
  17. data/app/models/decidim/accountability/result.rb +15 -2
  18. data/app/models/decidim/accountability/status.rb +5 -0
  19. data/app/views/decidim/accountability/admin/results/index.html.erb +52 -2
  20. data/app/views/decidim/accountability/results/_show_leaf.html.erb +2 -0
  21. data/app/views/decidim/accountability/results/_show_parent.html.erb +2 -0
  22. data/config/locales/ar.yml +0 -4
  23. data/config/locales/bg.yml +0 -4
  24. data/config/locales/ca.yml +34 -14
  25. data/config/locales/cs.yml +41 -21
  26. data/config/locales/da.yml +197 -0
  27. data/config/locales/de.yml +42 -22
  28. data/config/locales/el.yml +0 -4
  29. data/config/locales/en.yml +24 -4
  30. data/config/locales/es-MX.yml +24 -4
  31. data/config/locales/es-PY.yml +24 -4
  32. data/config/locales/es.yml +33 -13
  33. data/config/locales/eu.yml +8 -12
  34. data/config/locales/fi-plain.yml +24 -4
  35. data/config/locales/fi.yml +24 -4
  36. data/config/locales/fr-CA.yml +24 -4
  37. data/config/locales/fr.yml +24 -4
  38. data/config/locales/gl.yml +48 -5
  39. data/config/locales/hu.yml +0 -4
  40. data/config/locales/id-ID.yml +0 -4
  41. data/config/locales/is-IS.yml +53 -4
  42. data/config/locales/it.yml +24 -4
  43. data/config/locales/ja.yml +24 -4
  44. data/config/locales/lv.yml +0 -4
  45. data/config/locales/nl.yml +33 -13
  46. data/config/locales/no.yml +22 -4
  47. data/config/locales/pl.yml +24 -4
  48. data/config/locales/pt-BR.yml +0 -4
  49. data/config/locales/pt.yml +0 -4
  50. data/config/locales/ro-RO.yml +33 -9
  51. data/config/locales/ru.yml +0 -4
  52. data/config/locales/si-LK.yml +31 -0
  53. data/config/locales/sk.yml +23 -4
  54. data/config/locales/sl.yml +0 -4
  55. data/config/locales/sr-CS.yml +0 -4
  56. data/config/locales/sv.yml +24 -4
  57. data/config/locales/sw-KE.yml +1 -0
  58. data/config/locales/tr-TR.yml +59 -18
  59. data/config/locales/uk.yml +0 -4
  60. data/config/locales/zh-CN.yml +0 -4
  61. data/lib/decidim/accountability.rb +1 -0
  62. data/lib/decidim/accountability/admin_engine.rb +2 -0
  63. data/lib/decidim/accountability/api.rb +10 -0
  64. data/lib/decidim/accountability/component.rb +20 -8
  65. data/lib/decidim/accountability/engine.rb +0 -17
  66. data/lib/decidim/accountability/version.rb +1 -1
  67. data/lib/decidim/api/accountability_type.rb +26 -0
  68. data/lib/decidim/api/result_type.rb +32 -0
  69. data/lib/decidim/api/status_type.rb +19 -0
  70. data/lib/decidim/api/timeline_entry_type.rb +17 -0
  71. metadata +46 -33
  72. data/app/types/decidim/accountability/accountability_type.rb +0 -32
  73. data/app/types/decidim/accountability/result_type.rb +0 -35
  74. data/app/types/decidim/accountability/status_type.rb +0 -20
  75. data/app/types/decidim/accountability/timeline_entry_type.rb +0 -18
  76. data/app/views/decidim/participatory_processes/participatory_process_groups/_highlighted_results.html.erb +0 -12
  77. data/app/views/decidim/participatory_processes/participatory_process_groups/_result.html.erb +0 -32
@@ -183,10 +183,6 @@ uk:
183
183
  email_outro: Ви отримали це сповіщення, тому що ви стежите за "%{proposal_title}". Ви можете відписатися від цих сповіщень, перейшовши за наведеним вище посиланням.
184
184
  email_subject: Оновлення до %{proposal_title}
185
185
  notification_title: Пропозиція <a href="%{proposal_path}">%{proposal_title}</a> була включена до підсумку <a href="%{resource_path}">%{resource_title}</a>.
186
- participatory_processes:
187
- participatory_process_groups:
188
- highlighted_results:
189
- results: Підсумки
190
186
  resource_links:
191
187
  included_projects:
192
188
  result_project: Проекти, включені до цих підсумків
@@ -209,10 +209,6 @@ zh-CN:
209
209
  description: 生成的结果数
210
210
  object: 结果
211
211
  title: 成果
212
- participatory_processes:
213
- participatory_process_groups:
214
- highlighted_results:
215
- results: 成果
216
212
  participatory_spaces:
217
213
  highlighted_results:
218
214
  see_all: 查看所有结果 (%{count})
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "decidim/accountability/admin"
4
+ require "decidim/accountability/api"
4
5
  require "decidim/accountability/engine"
5
6
  require "decidim/accountability/admin_engine"
6
7
  require "decidim/accountability/component"
@@ -16,6 +16,8 @@ module Decidim
16
16
  resources :results, except: [:show] do
17
17
  get :proposals_picker, on: :collection
18
18
 
19
+ resources :attachment_collections
20
+ resources :attachments
19
21
  resources :timeline_entries, except: [:show]
20
22
  end
21
23
  get :import_results, to: "import_results#new"
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Decidim
4
+ module Accountability
5
+ autoload :AccountabilityType, "decidim/api/accountability_type"
6
+ autoload :ResultType, "decidim/api/result_type"
7
+ autoload :StatusType, "decidim/api/status_type"
8
+ autoload :TimelineEntryType, "decidim/api/timeline_entry_type"
9
+ end
10
+ end
@@ -54,6 +54,18 @@ Decidim.register_component(:accountability) do |component|
54
54
  exports.serializer Decidim::Accountability::ResultSerializer
55
55
  end
56
56
 
57
+ component.exports :result_comments do |exports|
58
+ exports.collection do |component_instance|
59
+ Decidim::Comments::Export.comments_for_resource(
60
+ Decidim::Accountability::Result, component_instance
61
+ )
62
+ end
63
+
64
+ exports.include_in_open_data = true
65
+
66
+ exports.serializer Decidim::Comments::CommentSerializer
67
+ end
68
+
57
69
  component.seeds do |participatory_space|
58
70
  admin_user = Decidim::User.find_by(
59
71
  organization: participatory_space.organization,
@@ -66,7 +78,7 @@ Decidim.register_component(:accountability) do |component|
66
78
  published_at: Time.current,
67
79
  participatory_space: participatory_space,
68
80
  settings: {
69
- intro: Decidim::Faker::Localized.wrapped("<p>", "</p>") { Decidim::Faker::Localized.sentence(4) },
81
+ intro: Decidim::Faker::Localized.wrapped("<p>", "</p>") { Decidim::Faker::Localized.sentence(word_count: 4) },
70
82
  categories_label: Decidim::Faker::Localized.word,
71
83
  subcategories_label: Decidim::Faker::Localized.word,
72
84
  heading_parent_level_results: Decidim::Faker::Localized.word,
@@ -94,9 +106,9 @@ Decidim.register_component(:accountability) do |component|
94
106
 
95
107
  2.times do
96
108
  categories << Decidim::Category.create!(
97
- name: Decidim::Faker::Localized.sentence(5),
109
+ name: Decidim::Faker::Localized.sentence(word_count: 5),
98
110
  description: Decidim::Faker::Localized.wrapped("<p>", "</p>") do
99
- Decidim::Faker::Localized.paragraph(3)
111
+ Decidim::Faker::Localized.paragraph(sentence_count: 3)
100
112
  end,
101
113
  parent: parent_category,
102
114
  participatory_space: participatory_space
@@ -111,9 +123,9 @@ Decidim.register_component(:accountability) do |component|
111
123
  component: component,
112
124
  scope: participatory_space.organization.scopes.sample,
113
125
  category: category,
114
- title: Decidim::Faker::Localized.sentence(2),
126
+ title: Decidim::Faker::Localized.sentence(word_count: 2),
115
127
  description: Decidim::Faker::Localized.wrapped("<p>", "</p>") do
116
- Decidim::Faker::Localized.paragraph(3)
128
+ Decidim::Faker::Localized.paragraph(sentence_count: 3)
117
129
  end
118
130
  },
119
131
  visibility: "all"
@@ -132,9 +144,9 @@ Decidim.register_component(:accountability) do |component|
132
144
  end_date: Time.zone.today + 10,
133
145
  status: Decidim::Accountability::Status.all.sample,
134
146
  progress: rand(1..100),
135
- title: Decidim::Faker::Localized.sentence(2),
147
+ title: Decidim::Faker::Localized.sentence(word_count: 2),
136
148
  description: Decidim::Faker::Localized.wrapped("<p>", "</p>") do
137
- Decidim::Faker::Localized.paragraph(3)
149
+ Decidim::Faker::Localized.paragraph(sentence_count: 3)
138
150
  end
139
151
  },
140
152
  visibility: "all"
@@ -143,7 +155,7 @@ Decidim.register_component(:accountability) do |component|
143
155
  rand(0..5).times do |i|
144
156
  child_result.timeline_entries.create!(
145
157
  entry_date: child_result.start_date + i.days,
146
- description: Decidim::Faker::Localized.sentence(2)
158
+ description: Decidim::Faker::Localized.sentence(word_count: 2)
147
159
  )
148
160
  end
149
161
 
@@ -26,23 +26,6 @@ module Decidim
26
26
  Decidim.view_hooks.register(:participatory_space_highlighted_elements, priority: Decidim::ViewHooks::LOW_PRIORITY) do |view_context|
27
27
  view_context.cell("decidim/accountability/highlighted_results", view_context.current_participatory_space)
28
28
  end
29
-
30
- if defined? Decidim::ParticipatoryProcesses
31
- Decidim::ParticipatoryProcesses.view_hooks.register(:process_group_highlighted_elements, priority: Decidim::ViewHooks::LOW_PRIORITY) do |view_context|
32
- published_components = Decidim::Component.where(participatory_space: view_context.participatory_processes).published
33
- results = Decidim::Accountability::Result.where(component: published_components).order_randomly(rand * 2 - 1).limit(4)
34
-
35
- next unless results.any?
36
-
37
- view_context.extend Decidim::Accountability::ApplicationHelper
38
- view_context.render(
39
- partial: "decidim/participatory_processes/participatory_process_groups/highlighted_results",
40
- locals: {
41
- results: results
42
- }
43
- )
44
- end
45
- end
46
29
  end
47
30
 
48
31
  initializer "decidim_accountability.add_cells_view_paths" do
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds decidim-accountability version.
5
5
  module Accountability
6
6
  def self.version
7
- "0.23.1"
7
+ "0.24.0.rc2"
8
8
  end
9
9
  end
10
10
  end
@@ -0,0 +1,26 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Decidim
4
+ module Accountability
5
+ class AccountabilityType < Decidim::Api::Types::BaseObject
6
+ implements Decidim::Core::ComponentInterface
7
+
8
+ graphql_name "Accountability"
9
+ description "An accountability component of a participatory space."
10
+
11
+ field :results, Decidim::Accountability::ResultType.connection_type, null: true, connection: true
12
+
13
+ def results
14
+ Result.where(component: object).includes(:component)
15
+ end
16
+
17
+ field :result, Decidim::Accountability::ResultType, null: true do
18
+ argument :id, ID, required: true
19
+ end
20
+
21
+ def result(**args)
22
+ Result.where(component: object).find_by(id: args[:id])
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,32 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Decidim
4
+ module Accountability
5
+ class ResultType < Decidim::Api::Types::BaseObject
6
+ implements Decidim::Core::ComponentInterface
7
+ implements Decidim::Core::CategorizableInterface
8
+ implements Decidim::Comments::CommentableInterface
9
+ implements Decidim::Core::ScopableInterface
10
+
11
+ description "A result"
12
+
13
+ field :id, GraphQL::Types::ID, "The internal ID for this result", null: false
14
+ field :title, Decidim::Core::TranslatedFieldType, "The title for this result", null: true
15
+ field :description, Decidim::Core::TranslatedFieldType, "The description for this result", null: true
16
+ field :reference, GraphQL::Types::String, "The reference for this result", null: true
17
+ field :start_date, Decidim::Core::DateType, "The start date for this result", null: true
18
+ field :end_date, Decidim::Core::DateType, "The end date for this result", null: true
19
+ field :progress, GraphQL::Types::Float, "The progress for this result", null: true
20
+ field :created_at, Decidim::Core::DateTimeType, "When this result was created", null: true
21
+ field :updated_at, Decidim::Core::DateTimeType, "When this result was updated", null: true
22
+ field :children_count, GraphQL::Types::Int, "The number of children results", null: true
23
+ field :weight, GraphQL::Types::Int, "The order of this result", null: false
24
+ field :external_id, GraphQL::Types::String, "The external ID for this result", null: true
25
+
26
+ field :children, [Decidim::Accountability::ResultType, { null: true }], "The childrens results", null: true
27
+ field :parent, Decidim::Accountability::ResultType, "The parent result", null: true
28
+ field :status, Decidim::Accountability::StatusType, "The status for this result", null: true
29
+ field :timeline_entries, [Decidim::Accountability::TimelineEntryType, { null: true }], "The timeline entries for this result", null: true
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Decidim
4
+ module Accountability
5
+ class StatusType < Decidim::Api::Types::BaseObject
6
+ description "A status"
7
+
8
+ field :id, GraphQL::Types::ID, "The internal ID for this status", null: false
9
+ field :key, GraphQL::Types::String, "The key for this status", null: true
10
+ field :name, Decidim::Core::TranslatedFieldType, "The name for this status", null: true
11
+ field :created_at, Decidim::Core::DateType, "When this status was created", null: true
12
+ field :updated_at, Decidim::Core::DateType, "When this status was updated", null: true
13
+ field :description, Decidim::Core::TranslatedFieldType, "The description for this status", null: true
14
+ field :progress, GraphQL::Types::Int, "The progress for this status", null: true
15
+
16
+ field :results, [Decidim::Accountability::ResultType, { null: true }], "The results for this status", null: true
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Decidim
4
+ module Accountability
5
+ class TimelineEntryType < Decidim::Api::Types::BaseObject
6
+ description "A Timeline Entry"
7
+
8
+ field :id, GraphQL::Types::ID, "The internal ID for this timeline entry", null: false
9
+ field :entry_date, Decidim::Core::DateType, "The entry date for this timeline entry", null: true
10
+ field :description, Decidim::Core::TranslatedFieldType, "The description for this timeline entry", null: true
11
+ field :created_at, Decidim::Core::DateTimeType, "When this timeline entry was created", null: true
12
+ field :updated_at, Decidim::Core::DateTimeType, "When this timeline entry was updated", null: true
13
+
14
+ field :result, Decidim::Accountability::ResultType, "The result for this timeline entry", null: true
15
+ end
16
+ end
17
+ end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-accountability
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.1
4
+ version: 0.24.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
8
8
  - Marc Riera Casals
9
9
  - Oriol Gual Oliva
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-11-12 00:00:00.000000000 Z
13
+ date: 2021-03-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: decidim-comments
@@ -18,28 +18,28 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.23.1
21
+ version: 0.24.0.rc2
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.23.1
28
+ version: 0.24.0.rc2
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.23.1
35
+ version: 0.24.0.rc2
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.23.1
42
+ version: 0.24.0.rc2
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: kaminari
45
45
  requirement: !ruby/object:Gem::Requirement
@@ -80,98 +80,98 @@ dependencies:
80
80
  requirements:
81
81
  - - '='
82
82
  - !ruby/object:Gem::Version
83
- version: 0.23.1
83
+ version: 0.24.0.rc2
84
84
  type: :development
85
85
  prerelease: false
86
86
  version_requirements: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - '='
89
89
  - !ruby/object:Gem::Version
90
- version: 0.23.1
90
+ version: 0.24.0.rc2
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: decidim-assemblies
93
93
  requirement: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - '='
96
96
  - !ruby/object:Gem::Version
97
- version: 0.23.1
97
+ version: 0.24.0.rc2
98
98
  type: :development
99
99
  prerelease: false
100
100
  version_requirements: !ruby/object:Gem::Requirement
101
101
  requirements:
102
102
  - - '='
103
103
  - !ruby/object:Gem::Version
104
- version: 0.23.1
104
+ version: 0.24.0.rc2
105
105
  - !ruby/object:Gem::Dependency
106
106
  name: decidim-comments
107
107
  requirement: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - '='
110
110
  - !ruby/object:Gem::Version
111
- version: 0.23.1
111
+ version: 0.24.0.rc2
112
112
  type: :development
113
113
  prerelease: false
114
114
  version_requirements: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - '='
117
117
  - !ruby/object:Gem::Version
118
- version: 0.23.1
118
+ version: 0.24.0.rc2
119
119
  - !ruby/object:Gem::Dependency
120
120
  name: decidim-dev
121
121
  requirement: !ruby/object:Gem::Requirement
122
122
  requirements:
123
123
  - - '='
124
124
  - !ruby/object:Gem::Version
125
- version: 0.23.1
125
+ version: 0.24.0.rc2
126
126
  type: :development
127
127
  prerelease: false
128
128
  version_requirements: !ruby/object:Gem::Requirement
129
129
  requirements:
130
130
  - - '='
131
131
  - !ruby/object:Gem::Version
132
- version: 0.23.1
132
+ version: 0.24.0.rc2
133
133
  - !ruby/object:Gem::Dependency
134
134
  name: decidim-meetings
135
135
  requirement: !ruby/object:Gem::Requirement
136
136
  requirements:
137
137
  - - '='
138
138
  - !ruby/object:Gem::Version
139
- version: 0.23.1
139
+ version: 0.24.0.rc2
140
140
  type: :development
141
141
  prerelease: false
142
142
  version_requirements: !ruby/object:Gem::Requirement
143
143
  requirements:
144
144
  - - '='
145
145
  - !ruby/object:Gem::Version
146
- version: 0.23.1
146
+ version: 0.24.0.rc2
147
147
  - !ruby/object:Gem::Dependency
148
148
  name: decidim-participatory_processes
149
149
  requirement: !ruby/object:Gem::Requirement
150
150
  requirements:
151
151
  - - '='
152
152
  - !ruby/object:Gem::Version
153
- version: 0.23.1
153
+ version: 0.24.0.rc2
154
154
  type: :development
155
155
  prerelease: false
156
156
  version_requirements: !ruby/object:Gem::Requirement
157
157
  requirements:
158
158
  - - '='
159
159
  - !ruby/object:Gem::Version
160
- version: 0.23.1
160
+ version: 0.24.0.rc2
161
161
  - !ruby/object:Gem::Dependency
162
162
  name: decidim-proposals
163
163
  requirement: !ruby/object:Gem::Requirement
164
164
  requirements:
165
165
  - - '='
166
166
  - !ruby/object:Gem::Version
167
- version: 0.23.1
167
+ version: 0.24.0.rc2
168
168
  type: :development
169
169
  prerelease: false
170
170
  version_requirements: !ruby/object:Gem::Requirement
171
171
  requirements:
172
172
  - - '='
173
173
  - !ruby/object:Gem::Version
174
- version: 0.23.1
174
+ version: 0.24.0.rc2
175
175
  description: An accountability component for decidim's participatory spaces.
176
176
  email:
177
177
  - josepjaume@gmail.com
@@ -194,11 +194,19 @@ files:
194
194
  - app/assets/stylesheets/decidim/accountability/accountability/_categories.scss
195
195
  - app/assets/stylesheets/decidim/accountability/accountability/_lines_breadcrumb.scss
196
196
  - app/assets/stylesheets/decidim/accountability/accountability/_results.scss
197
+ - app/cells/decidim/accountability/content_blocks/highlighted_results/elements.erb
198
+ - app/cells/decidim/accountability/content_blocks/highlighted_results/heading.erb
199
+ - app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb
197
200
  - app/cells/decidim/accountability/highlighted_results/show.erb
198
201
  - app/cells/decidim/accountability/highlighted_results_cell.rb
199
202
  - app/cells/decidim/accountability/highlighted_results_for_component/show.erb
200
203
  - app/cells/decidim/accountability/highlighted_results_for_component_cell.rb
201
204
  - app/cells/decidim/accountability/result_activity_cell.rb
205
+ - app/cells/decidim/accountability/result_cell.rb
206
+ - app/cells/decidim/accountability/result_m/data.erb
207
+ - app/cells/decidim/accountability/result_m/footer.erb
208
+ - app/cells/decidim/accountability/result_m/tags.erb
209
+ - app/cells/decidim/accountability/result_m_cell.rb
202
210
  - app/commands/decidim/accountability/admin/create_imported_result.rb
203
211
  - app/commands/decidim/accountability/admin/create_result.rb
204
212
  - app/commands/decidim/accountability/admin/create_status.rb
@@ -208,7 +216,10 @@ files:
208
216
  - app/commands/decidim/accountability/admin/update_result.rb
209
217
  - app/commands/decidim/accountability/admin/update_status.rb
210
218
  - app/commands/decidim/accountability/admin/update_timeline_entry.rb
219
+ - app/controllers/concerns/decidim/accountability/admin/filterable.rb
211
220
  - app/controllers/decidim/accountability/admin/application_controller.rb
221
+ - app/controllers/decidim/accountability/admin/attachment_collections_controller.rb
222
+ - app/controllers/decidim/accountability/admin/attachments_controller.rb
212
223
  - app/controllers/decidim/accountability/admin/import_results_controller.rb
213
224
  - app/controllers/decidim/accountability/admin/results_controller.rb
214
225
  - app/controllers/decidim/accountability/admin/statuses_controller.rb
@@ -222,6 +233,7 @@ files:
222
233
  - app/forms/decidim/accountability/admin/status_form.rb
223
234
  - app/forms/decidim/accountability/admin/timeline_entry_form.rb
224
235
  - app/helpers/decidim/accountability/admin/application_helper.rb
236
+ - app/helpers/decidim/accountability/admin/filterable_helper.rb
225
237
  - app/helpers/decidim/accountability/application_helper.rb
226
238
  - app/helpers/decidim/accountability/breadcrumb_helper.rb
227
239
  - app/jobs/application_job.rb
@@ -241,10 +253,6 @@ files:
241
253
  - app/services/decidim/accountability/result_stats_calculator.rb
242
254
  - app/services/decidim/accountability/results_calculator.rb
243
255
  - app/services/decidim/accountability/results_csv_importer.rb
244
- - app/types/decidim/accountability/accountability_type.rb
245
- - app/types/decidim/accountability/result_type.rb
246
- - app/types/decidim/accountability/status_type.rb
247
- - app/types/decidim/accountability/timeline_entry_type.rb
248
256
  - app/views/decidim/accountability/admin/import_results/new.html.erb
249
257
  - app/views/decidim/accountability/admin/results/_form.html.erb
250
258
  - app/views/decidim/accountability/admin/results/edit.html.erb
@@ -281,8 +289,6 @@ files:
281
289
  - app/views/decidim/accountability/results/show.html.erb
282
290
  - app/views/decidim/accountability/versions/index.html.erb
283
291
  - app/views/decidim/accountability/versions/show.html.erb
284
- - app/views/decidim/participatory_processes/participatory_process_groups/_highlighted_results.html.erb
285
- - app/views/decidim/participatory_processes/participatory_process_groups/_result.html.erb
286
292
  - app/views/decidim/participatory_spaces/_result.html.erb
287
293
  - config/locales/am-ET.yml
288
294
  - config/locales/ar-SA.yml
@@ -337,12 +343,14 @@ files:
337
343
  - config/locales/pt.yml
338
344
  - config/locales/ro-RO.yml
339
345
  - config/locales/ru.yml
346
+ - config/locales/si-LK.yml
340
347
  - config/locales/sk-SK.yml
341
348
  - config/locales/sk.yml
342
349
  - config/locales/sl.yml
343
350
  - config/locales/so-SO.yml
344
351
  - config/locales/sr-CS.yml
345
352
  - config/locales/sv.yml
353
+ - config/locales/sw-KE.yml
346
354
  - config/locales/ti-ER.yml
347
355
  - config/locales/tr-TR.yml
348
356
  - config/locales/uk.yml
@@ -365,17 +373,22 @@ files:
365
373
  - lib/decidim/accountability.rb
366
374
  - lib/decidim/accountability/admin.rb
367
375
  - lib/decidim/accountability/admin_engine.rb
376
+ - lib/decidim/accountability/api.rb
368
377
  - lib/decidim/accountability/component.rb
369
378
  - lib/decidim/accountability/engine.rb
370
379
  - lib/decidim/accountability/result_serializer.rb
371
380
  - lib/decidim/accountability/test/factories.rb
372
381
  - lib/decidim/accountability/version.rb
382
+ - lib/decidim/api/accountability_type.rb
383
+ - lib/decidim/api/result_type.rb
384
+ - lib/decidim/api/status_type.rb
385
+ - lib/decidim/api/timeline_entry_type.rb
373
386
  - vendor/assets/javascripts/diff.js
374
387
  homepage: https://github.com/decidim/decidim
375
388
  licenses:
376
389
  - AGPL-3.0
377
390
  metadata: {}
378
- post_install_message:
391
+ post_install_message:
379
392
  rdoc_options: []
380
393
  require_paths:
381
394
  - lib
@@ -383,15 +396,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
383
396
  requirements:
384
397
  - - ">="
385
398
  - !ruby/object:Gem::Version
386
- version: '2.6'
399
+ version: '2.7'
387
400
  required_rubygems_version: !ruby/object:Gem::Requirement
388
401
  requirements:
389
- - - ">="
402
+ - - ">"
390
403
  - !ruby/object:Gem::Version
391
- version: '0'
404
+ version: 1.3.1
392
405
  requirements: []
393
- rubygems_version: 3.0.3
394
- signing_key:
406
+ rubygems_version: 3.1.2
407
+ signing_key:
395
408
  specification_version: 4
396
409
  summary: Decidim accountability module
397
410
  test_files: []