decidim-plans 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (182) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE-AGPLv3.txt +661 -0
  3. data/README.md +157 -0
  4. data/Rakefile +48 -0
  5. data/app/assets/config/admin/decidim_plans_manifest.js +3 -0
  6. data/app/assets/config/decidim_plans_manifest.css +4 -0
  7. data/app/assets/config/decidim_plans_manifest.js +2 -0
  8. data/app/assets/images/decidim/plans/icon.svg +3 -0
  9. data/app/assets/javascripts/decidim/plans/admin/plans.js.es6 +3 -0
  10. data/app/assets/javascripts/decidim/plans/admin/sections.js.es6 +78 -0
  11. data/app/assets/javascripts/decidim/plans/multifield/component.js.es6 +101 -0
  12. data/app/assets/javascripts/decidim/plans/multifield.js.es6 +5 -0
  13. data/app/assets/javascripts/decidim/plans/plans_form.js.es6 +9 -0
  14. data/app/assets/javascripts/decidim/plans/proposal_picker.js.es6 +41 -0
  15. data/app/assets/javascripts/decidim/plans/remaining_characters.es6 +42 -0
  16. data/app/assets/javascripts/decidim/plans/social_share.js +2 -0
  17. data/app/assets/javascripts/decidim/plans/tab_focus.es6 +20 -0
  18. data/app/assets/stylesheets/decidim/plans/plans_form.scss +26 -0
  19. data/app/assets/stylesheets/decidim/plans/proposal_picker.scss +3 -0
  20. data/app/assets/stylesheets/decidim/plans/social_share.css.scss +22 -0
  21. data/app/cells/decidim/plans/author/flag.erb +5 -0
  22. data/app/cells/decidim/plans/author/withdraw.erb +6 -0
  23. data/app/cells/decidim/plans/author_cell.rb +9 -0
  24. data/app/cells/decidim/plans/coauthorships_cell.rb +23 -0
  25. data/app/cells/decidim/plans/collapsible_authors/show.erb +17 -0
  26. data/app/cells/decidim/plans/collapsible_authors_cell.rb +9 -0
  27. data/app/cells/decidim/plans/plan_activity_cell.rb +19 -0
  28. data/app/cells/decidim/plans/plan_cell.rb +59 -0
  29. data/app/cells/decidim/plans/plan_m/footer.erb +8 -0
  30. data/app/cells/decidim/plans/plan_m_cell.rb +62 -0
  31. data/app/commands/decidim/plans/accept_access_to_plan.rb +53 -0
  32. data/app/commands/decidim/plans/admin/answer_plan.rb +82 -0
  33. data/app/commands/decidim/plans/admin/create_plan.rb +102 -0
  34. data/app/commands/decidim/plans/admin/update_plan.rb +98 -0
  35. data/app/commands/decidim/plans/admin/update_sections.rb +54 -0
  36. data/app/commands/decidim/plans/attachment_methods.rb +78 -0
  37. data/app/commands/decidim/plans/create_plan.rb +90 -0
  38. data/app/commands/decidim/plans/destroy_plan.rb +33 -0
  39. data/app/commands/decidim/plans/nested_updater.rb +26 -0
  40. data/app/commands/decidim/plans/publish_plan.rb +79 -0
  41. data/app/commands/decidim/plans/reject_access_to_plan.rb +46 -0
  42. data/app/commands/decidim/plans/request_access_to_plan.rb +50 -0
  43. data/app/commands/decidim/plans/respond_to_access_request.rb +76 -0
  44. data/app/commands/decidim/plans/update_plan.rb +90 -0
  45. data/app/commands/decidim/plans/withdraw_plan.rb +50 -0
  46. data/app/controllers/concerns/decidim/plans/orderable.rb +53 -0
  47. data/app/controllers/decidim/plans/admin/application_controller.rb +16 -0
  48. data/app/controllers/decidim/plans/admin/plan_answers_controller.rb +40 -0
  49. data/app/controllers/decidim/plans/admin/plans_controller.rb +80 -0
  50. data/app/controllers/decidim/plans/admin/sections_controller.rb +75 -0
  51. data/app/controllers/decidim/plans/application_controller.rb +30 -0
  52. data/app/controllers/decidim/plans/plan_collaborator_requests_controller.rb +53 -0
  53. data/app/controllers/decidim/plans/plan_widgets_controller.rb +19 -0
  54. data/app/controllers/decidim/plans/plans_controller.rb +192 -0
  55. data/app/controllers/decidim/plans/versions_controller.rb +51 -0
  56. data/app/events/decidim/plans/accepted_plan_event.rb +9 -0
  57. data/app/events/decidim/plans/evaluating_plan_event.rb +8 -0
  58. data/app/events/decidim/plans/plan_access_accepted_event.rb +8 -0
  59. data/app/events/decidim/plans/plan_access_rejected_event.rb +8 -0
  60. data/app/events/decidim/plans/plan_access_request_event.rb +27 -0
  61. data/app/events/decidim/plans/plan_access_requested_event.rb +8 -0
  62. data/app/events/decidim/plans/plan_access_requester_accepted_event.rb +8 -0
  63. data/app/events/decidim/plans/plan_access_requester_rejected_event.rb +8 -0
  64. data/app/events/decidim/plans/publish_plan_event.rb +25 -0
  65. data/app/events/decidim/plans/rejected_plan_event.rb +9 -0
  66. data/app/forms/decidim/plans/accept_access_to_plan_form.rb +10 -0
  67. data/app/forms/decidim/plans/access_to_plan_form.rb +35 -0
  68. data/app/forms/decidim/plans/admin/plan_answer_form.rb +19 -0
  69. data/app/forms/decidim/plans/admin/plan_form.rb +88 -0
  70. data/app/forms/decidim/plans/admin/plan_sections_form.rb +20 -0
  71. data/app/forms/decidim/plans/admin/section_form.rb +34 -0
  72. data/app/forms/decidim/plans/attachment_form.rb +20 -0
  73. data/app/forms/decidim/plans/content_form.rb +58 -0
  74. data/app/forms/decidim/plans/plan_form.rb +85 -0
  75. data/app/forms/decidim/plans/reject_access_to_plan_form.rb +9 -0
  76. data/app/forms/decidim/plans/request_access_to_plan_form.rb +20 -0
  77. data/app/helpers/decidim/plans/admin/application_helper.rb +19 -0
  78. data/app/helpers/decidim/plans/application_helper.rb +78 -0
  79. data/app/helpers/decidim/plans/attached_proposals_helper.rb +44 -0
  80. data/app/helpers/decidim/plans/attachments_helper.rb +59 -0
  81. data/app/helpers/decidim/plans/cells_helper.rb +26 -0
  82. data/app/helpers/decidim/plans/plan_cells_helper.rb +67 -0
  83. data/app/helpers/decidim/plans/remaining_characters_helper.rb +32 -0
  84. data/app/helpers/decidim/plans/traceability_helper.rb +79 -0
  85. data/app/helpers/decidim/plans/user_group_helper.rb +23 -0
  86. data/app/models/concerns/decidim/plans/traceable.rb +48 -0
  87. data/app/models/decidim/plans/application_record.rb +10 -0
  88. data/app/models/decidim/plans/attached_proposal.rb +12 -0
  89. data/app/models/decidim/plans/content.rb +21 -0
  90. data/app/models/decidim/plans/paper_trail/version.rb +26 -0
  91. data/app/models/decidim/plans/paper_trail/version_association.rb +14 -0
  92. data/app/models/decidim/plans/plan.rb +206 -0
  93. data/app/models/decidim/plans/plan_collaborator_request.rb +13 -0
  94. data/app/models/decidim/plans/section.rb +16 -0
  95. data/app/permissions/decidim/plans/admin/permissions.rb +44 -0
  96. data/app/permissions/decidim/plans/permissions.rb +67 -0
  97. data/app/presenters/decidim/plans/admin_log/plan_presenter.rb +49 -0
  98. data/app/presenters/decidim/plans/admin_log/value_types/plan_state_presenter.rb +16 -0
  99. data/app/presenters/decidim/plans/content_presenter.rb +25 -0
  100. data/app/presenters/decidim/plans/log/resource_presenter.rb +18 -0
  101. data/app/presenters/decidim/plans/official_author_presenter.rb +38 -0
  102. data/app/presenters/decidim/plans/plan_presenter.rb +48 -0
  103. data/app/queries/decidim/plans/filtered_plans.rb +37 -0
  104. data/app/services/decidim/plans/diff_renderer/base.rb +108 -0
  105. data/app/services/decidim/plans/diff_renderer/categorization.rb +23 -0
  106. data/app/services/decidim/plans/diff_renderer/content.rb +33 -0
  107. data/app/services/decidim/plans/diff_renderer/plan.rb +25 -0
  108. data/app/services/decidim/plans/loggability.rb +19 -0
  109. data/app/services/decidim/plans/plan_builder.rb +68 -0
  110. data/app/services/decidim/plans/plan_search.rb +95 -0
  111. data/app/services/decidim/plans/tracer.rb +29 -0
  112. data/app/views/decidim/plans/admin/plan_answers/edit.html.erb +22 -0
  113. data/app/views/decidim/plans/admin/plans/_bulk-actions.html.erb +9 -0
  114. data/app/views/decidim/plans/admin/plans/_form.html.erb +62 -0
  115. data/app/views/decidim/plans/admin/plans/_js-callout.html.erb +6 -0
  116. data/app/views/decidim/plans/admin/plans/_plan-tr.html.erb +53 -0
  117. data/app/views/decidim/plans/admin/plans/edit.html.erb +7 -0
  118. data/app/views/decidim/plans/admin/plans/index.html.erb +64 -0
  119. data/app/views/decidim/plans/admin/plans/new.html.erb +7 -0
  120. data/app/views/decidim/plans/admin/sections/_bulk-actions.html.erb +7 -0
  121. data/app/views/decidim/plans/admin/sections/_form.html.erb +27 -0
  122. data/app/views/decidim/plans/admin/sections/_section.html.erb +66 -0
  123. data/app/views/decidim/plans/admin/sections/index.html.erb +7 -0
  124. data/app/views/decidim/plans/admin/shared/_info_plan.html.erb +17 -0
  125. data/app/views/decidim/plans/attached_proposals/_proposals.html.erb +12 -0
  126. data/app/views/decidim/plans/plan_widgets/show.html.erb +3 -0
  127. data/app/views/decidim/plans/plans/_accept_request_access_form.html.erb +8 -0
  128. data/app/views/decidim/plans/plans/_attached_proposals.html.erb +10 -0
  129. data/app/views/decidim/plans/plans/_collaborator_requests.html.erb +20 -0
  130. data/app/views/decidim/plans/plans/_content.html.erb +6 -0
  131. data/app/views/decidim/plans/plans/_contents.html.erb +8 -0
  132. data/app/views/decidim/plans/plans/_count.html.erb +1 -0
  133. data/app/views/decidim/plans/plans/_filters.html.erb +32 -0
  134. data/app/views/decidim/plans/plans/_filters_small_view.html.erb +18 -0
  135. data/app/views/decidim/plans/plans/_form.html.erb +57 -0
  136. data/app/views/decidim/plans/plans/_new_plan_button.html.erb +11 -0
  137. data/app/views/decidim/plans/plans/_plan.html.erb +1 -0
  138. data/app/views/decidim/plans/plans/_plan_preview.html.erb +1 -0
  139. data/app/views/decidim/plans/plans/_plans.html.erb +14 -0
  140. data/app/views/decidim/plans/plans/_reject_request_access_form.html.erb +10 -0
  141. data/app/views/decidim/plans/plans/_request_access_form.html.erb +7 -0
  142. data/app/views/decidim/plans/plans/edit.html.erb +21 -0
  143. data/app/views/decidim/plans/plans/index.html.erb +28 -0
  144. data/app/views/decidim/plans/plans/index.js.erb +10 -0
  145. data/app/views/decidim/plans/plans/new.html.erb +15 -0
  146. data/app/views/decidim/plans/plans/preview.html.erb +15 -0
  147. data/app/views/decidim/plans/plans/show.html.erb +133 -0
  148. data/app/views/decidim/plans/shared/_attachment_fields.html.erb +45 -0
  149. data/app/views/decidim/plans/shared/_attachments.html.erb +23 -0
  150. data/app/views/decidim/plans/shared/_remaining_characters_container.html.erb +12 -0
  151. data/app/views/decidim/plans/shared/_section_content_field.html.erb +39 -0
  152. data/app/views/decidim/plans/versions/_version.html.erb +20 -0
  153. data/app/views/decidim/plans/versions/index.html.erb +34 -0
  154. data/app/views/decidim/plans/versions/show.html.erb +41 -0
  155. data/config/locales/en.yml +341 -0
  156. data/config/locales/fi.yml +341 -0
  157. data/config/locales/sv.yml +341 -0
  158. data/db/migrate/20181230110225_enable_pg_trgm_extension_for_plans.rb +18 -0
  159. data/db/migrate/20181230110848_create_decidim_plans.rb +20 -0
  160. data/db/migrate/20181230111731_create_decidim_plans_sections.rb +13 -0
  161. data/db/migrate/20181230111931_create_decidim_plans_plan_contents.rb +14 -0
  162. data/db/migrate/20181230122035_create_decidim_plans_plan_collaborator_requests.rb +12 -0
  163. data/db/migrate/20190110125855_create_decidim_plans_attached_proposals.rb +12 -0
  164. data/db/migrate/20190129140441_add_help_to_decidim_plans_sections.rb +7 -0
  165. data/db/migrate/20190129143607_add_mandatory_to_decidim_plans_sections.rb +7 -0
  166. data/db/migrate/20190129172040_add_section_type_to_decidim_plans_sections.rb +12 -0
  167. data/db/migrate/20190129231439_add_answer_length_to_decidim_plans_sections.rb +11 -0
  168. data/db/migrate/20190202123044_create_version_associations.rb +25 -0
  169. data/db/migrate/20190202123045_add_transaction_id_column_to_versions.rb +15 -0
  170. data/db/migrate/20190202200716_add_update_token_to_decidim_plans.rb +7 -0
  171. data/lib/decidim/plans/admin.rb +10 -0
  172. data/lib/decidim/plans/admin_engine.rb +29 -0
  173. data/lib/decidim/plans/component.rb +163 -0
  174. data/lib/decidim/plans/engine.rb +43 -0
  175. data/lib/decidim/plans/locale_aware.rb +32 -0
  176. data/lib/decidim/plans/optionally_translatable_attributes.rb +85 -0
  177. data/lib/decidim/plans/paper_trail/record_trail.rb +24 -0
  178. data/lib/decidim/plans/paper_trail.rb +10 -0
  179. data/lib/decidim/plans/test/factories.rb +130 -0
  180. data/lib/decidim/plans/version.rb +8 -0
  181. data/lib/decidim/plans.rb +24 -0
  182. metadata +323 -0
metadata ADDED
@@ -0,0 +1,323 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: decidim-plans
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.15.0
5
+ platform: ruby
6
+ authors:
7
+ - Antti Hukkanen
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-02-06 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: decidim-core
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.15.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.15.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: decidim-proposals
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.15.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.15.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: decidim-admin
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 0.15.0
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 0.15.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: decidim-assemblies
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.15.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.15.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: decidim-budgets
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.15.0
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.15.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: decidim-dev
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.15.0
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.15.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: decidim-participatory_processes
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 0.15.0
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 0.15.0
111
+ description: Plans component allows people to author plans based on the proposals
112
+ that can be converted into budgeting projects.
113
+ email:
114
+ - antti.hukkanen@mainiotech.fi
115
+ executables: []
116
+ extensions: []
117
+ extra_rdoc_files: []
118
+ files:
119
+ - LICENSE-AGPLv3.txt
120
+ - README.md
121
+ - Rakefile
122
+ - app/assets/config/admin/decidim_plans_manifest.js
123
+ - app/assets/config/decidim_plans_manifest.css
124
+ - app/assets/config/decidim_plans_manifest.js
125
+ - app/assets/images/decidim/plans/icon.svg
126
+ - app/assets/javascripts/decidim/plans/admin/plans.js.es6
127
+ - app/assets/javascripts/decidim/plans/admin/sections.js.es6
128
+ - app/assets/javascripts/decidim/plans/multifield.js.es6
129
+ - app/assets/javascripts/decidim/plans/multifield/component.js.es6
130
+ - app/assets/javascripts/decidim/plans/plans_form.js.es6
131
+ - app/assets/javascripts/decidim/plans/proposal_picker.js.es6
132
+ - app/assets/javascripts/decidim/plans/remaining_characters.es6
133
+ - app/assets/javascripts/decidim/plans/social_share.js
134
+ - app/assets/javascripts/decidim/plans/tab_focus.es6
135
+ - app/assets/stylesheets/decidim/plans/plans_form.scss
136
+ - app/assets/stylesheets/decidim/plans/proposal_picker.scss
137
+ - app/assets/stylesheets/decidim/plans/social_share.css.scss
138
+ - app/cells/decidim/plans/author/flag.erb
139
+ - app/cells/decidim/plans/author/withdraw.erb
140
+ - app/cells/decidim/plans/author_cell.rb
141
+ - app/cells/decidim/plans/coauthorships_cell.rb
142
+ - app/cells/decidim/plans/collapsible_authors/show.erb
143
+ - app/cells/decidim/plans/collapsible_authors_cell.rb
144
+ - app/cells/decidim/plans/plan_activity_cell.rb
145
+ - app/cells/decidim/plans/plan_cell.rb
146
+ - app/cells/decidim/plans/plan_m/footer.erb
147
+ - app/cells/decidim/plans/plan_m_cell.rb
148
+ - app/commands/decidim/plans/accept_access_to_plan.rb
149
+ - app/commands/decidim/plans/admin/answer_plan.rb
150
+ - app/commands/decidim/plans/admin/create_plan.rb
151
+ - app/commands/decidim/plans/admin/update_plan.rb
152
+ - app/commands/decidim/plans/admin/update_sections.rb
153
+ - app/commands/decidim/plans/attachment_methods.rb
154
+ - app/commands/decidim/plans/create_plan.rb
155
+ - app/commands/decidim/plans/destroy_plan.rb
156
+ - app/commands/decidim/plans/nested_updater.rb
157
+ - app/commands/decidim/plans/publish_plan.rb
158
+ - app/commands/decidim/plans/reject_access_to_plan.rb
159
+ - app/commands/decidim/plans/request_access_to_plan.rb
160
+ - app/commands/decidim/plans/respond_to_access_request.rb
161
+ - app/commands/decidim/plans/update_plan.rb
162
+ - app/commands/decidim/plans/withdraw_plan.rb
163
+ - app/controllers/concerns/decidim/plans/orderable.rb
164
+ - app/controllers/decidim/plans/admin/application_controller.rb
165
+ - app/controllers/decidim/plans/admin/plan_answers_controller.rb
166
+ - app/controllers/decidim/plans/admin/plans_controller.rb
167
+ - app/controllers/decidim/plans/admin/sections_controller.rb
168
+ - app/controllers/decidim/plans/application_controller.rb
169
+ - app/controllers/decidim/plans/plan_collaborator_requests_controller.rb
170
+ - app/controllers/decidim/plans/plan_widgets_controller.rb
171
+ - app/controllers/decidim/plans/plans_controller.rb
172
+ - app/controllers/decidim/plans/versions_controller.rb
173
+ - app/events/decidim/plans/accepted_plan_event.rb
174
+ - app/events/decidim/plans/evaluating_plan_event.rb
175
+ - app/events/decidim/plans/plan_access_accepted_event.rb
176
+ - app/events/decidim/plans/plan_access_rejected_event.rb
177
+ - app/events/decidim/plans/plan_access_request_event.rb
178
+ - app/events/decidim/plans/plan_access_requested_event.rb
179
+ - app/events/decidim/plans/plan_access_requester_accepted_event.rb
180
+ - app/events/decidim/plans/plan_access_requester_rejected_event.rb
181
+ - app/events/decidim/plans/publish_plan_event.rb
182
+ - app/events/decidim/plans/rejected_plan_event.rb
183
+ - app/forms/decidim/plans/accept_access_to_plan_form.rb
184
+ - app/forms/decidim/plans/access_to_plan_form.rb
185
+ - app/forms/decidim/plans/admin/plan_answer_form.rb
186
+ - app/forms/decidim/plans/admin/plan_form.rb
187
+ - app/forms/decidim/plans/admin/plan_sections_form.rb
188
+ - app/forms/decidim/plans/admin/section_form.rb
189
+ - app/forms/decidim/plans/attachment_form.rb
190
+ - app/forms/decidim/plans/content_form.rb
191
+ - app/forms/decidim/plans/plan_form.rb
192
+ - app/forms/decidim/plans/reject_access_to_plan_form.rb
193
+ - app/forms/decidim/plans/request_access_to_plan_form.rb
194
+ - app/helpers/decidim/plans/admin/application_helper.rb
195
+ - app/helpers/decidim/plans/application_helper.rb
196
+ - app/helpers/decidim/plans/attached_proposals_helper.rb
197
+ - app/helpers/decidim/plans/attachments_helper.rb
198
+ - app/helpers/decidim/plans/cells_helper.rb
199
+ - app/helpers/decidim/plans/plan_cells_helper.rb
200
+ - app/helpers/decidim/plans/remaining_characters_helper.rb
201
+ - app/helpers/decidim/plans/traceability_helper.rb
202
+ - app/helpers/decidim/plans/user_group_helper.rb
203
+ - app/models/concerns/decidim/plans/traceable.rb
204
+ - app/models/decidim/plans/application_record.rb
205
+ - app/models/decidim/plans/attached_proposal.rb
206
+ - app/models/decidim/plans/content.rb
207
+ - app/models/decidim/plans/paper_trail/version.rb
208
+ - app/models/decidim/plans/paper_trail/version_association.rb
209
+ - app/models/decidim/plans/plan.rb
210
+ - app/models/decidim/plans/plan_collaborator_request.rb
211
+ - app/models/decidim/plans/section.rb
212
+ - app/permissions/decidim/plans/admin/permissions.rb
213
+ - app/permissions/decidim/plans/permissions.rb
214
+ - app/presenters/decidim/plans/admin_log/plan_presenter.rb
215
+ - app/presenters/decidim/plans/admin_log/value_types/plan_state_presenter.rb
216
+ - app/presenters/decidim/plans/content_presenter.rb
217
+ - app/presenters/decidim/plans/log/resource_presenter.rb
218
+ - app/presenters/decidim/plans/official_author_presenter.rb
219
+ - app/presenters/decidim/plans/plan_presenter.rb
220
+ - app/queries/decidim/plans/filtered_plans.rb
221
+ - app/services/decidim/plans/diff_renderer/base.rb
222
+ - app/services/decidim/plans/diff_renderer/categorization.rb
223
+ - app/services/decidim/plans/diff_renderer/content.rb
224
+ - app/services/decidim/plans/diff_renderer/plan.rb
225
+ - app/services/decidim/plans/loggability.rb
226
+ - app/services/decidim/plans/plan_builder.rb
227
+ - app/services/decidim/plans/plan_search.rb
228
+ - app/services/decidim/plans/tracer.rb
229
+ - app/views/decidim/plans/admin/plan_answers/edit.html.erb
230
+ - app/views/decidim/plans/admin/plans/_bulk-actions.html.erb
231
+ - app/views/decidim/plans/admin/plans/_form.html.erb
232
+ - app/views/decidim/plans/admin/plans/_js-callout.html.erb
233
+ - app/views/decidim/plans/admin/plans/_plan-tr.html.erb
234
+ - app/views/decidim/plans/admin/plans/edit.html.erb
235
+ - app/views/decidim/plans/admin/plans/index.html.erb
236
+ - app/views/decidim/plans/admin/plans/new.html.erb
237
+ - app/views/decidim/plans/admin/sections/_bulk-actions.html.erb
238
+ - app/views/decidim/plans/admin/sections/_form.html.erb
239
+ - app/views/decidim/plans/admin/sections/_section.html.erb
240
+ - app/views/decidim/plans/admin/sections/index.html.erb
241
+ - app/views/decidim/plans/admin/shared/_info_plan.html.erb
242
+ - app/views/decidim/plans/attached_proposals/_proposals.html.erb
243
+ - app/views/decidim/plans/plan_widgets/show.html.erb
244
+ - app/views/decidim/plans/plans/_accept_request_access_form.html.erb
245
+ - app/views/decidim/plans/plans/_attached_proposals.html.erb
246
+ - app/views/decidim/plans/plans/_collaborator_requests.html.erb
247
+ - app/views/decidim/plans/plans/_content.html.erb
248
+ - app/views/decidim/plans/plans/_contents.html.erb
249
+ - app/views/decidim/plans/plans/_count.html.erb
250
+ - app/views/decidim/plans/plans/_filters.html.erb
251
+ - app/views/decidim/plans/plans/_filters_small_view.html.erb
252
+ - app/views/decidim/plans/plans/_form.html.erb
253
+ - app/views/decidim/plans/plans/_new_plan_button.html.erb
254
+ - app/views/decidim/plans/plans/_plan.html.erb
255
+ - app/views/decidim/plans/plans/_plan_preview.html.erb
256
+ - app/views/decidim/plans/plans/_plans.html.erb
257
+ - app/views/decidim/plans/plans/_reject_request_access_form.html.erb
258
+ - app/views/decidim/plans/plans/_request_access_form.html.erb
259
+ - app/views/decidim/plans/plans/edit.html.erb
260
+ - app/views/decidim/plans/plans/index.html.erb
261
+ - app/views/decidim/plans/plans/index.js.erb
262
+ - app/views/decidim/plans/plans/new.html.erb
263
+ - app/views/decidim/plans/plans/preview.html.erb
264
+ - app/views/decidim/plans/plans/show.html.erb
265
+ - app/views/decidim/plans/shared/_attachment_fields.html.erb
266
+ - app/views/decidim/plans/shared/_attachments.html.erb
267
+ - app/views/decidim/plans/shared/_remaining_characters_container.html.erb
268
+ - app/views/decidim/plans/shared/_section_content_field.html.erb
269
+ - app/views/decidim/plans/versions/_version.html.erb
270
+ - app/views/decidim/plans/versions/index.html.erb
271
+ - app/views/decidim/plans/versions/show.html.erb
272
+ - config/locales/en.yml
273
+ - config/locales/fi.yml
274
+ - config/locales/sv.yml
275
+ - db/migrate/20181230110225_enable_pg_trgm_extension_for_plans.rb
276
+ - db/migrate/20181230110848_create_decidim_plans.rb
277
+ - db/migrate/20181230111731_create_decidim_plans_sections.rb
278
+ - db/migrate/20181230111931_create_decidim_plans_plan_contents.rb
279
+ - db/migrate/20181230122035_create_decidim_plans_plan_collaborator_requests.rb
280
+ - db/migrate/20190110125855_create_decidim_plans_attached_proposals.rb
281
+ - db/migrate/20190129140441_add_help_to_decidim_plans_sections.rb
282
+ - db/migrate/20190129143607_add_mandatory_to_decidim_plans_sections.rb
283
+ - db/migrate/20190129172040_add_section_type_to_decidim_plans_sections.rb
284
+ - db/migrate/20190129231439_add_answer_length_to_decidim_plans_sections.rb
285
+ - db/migrate/20190202123044_create_version_associations.rb
286
+ - db/migrate/20190202123045_add_transaction_id_column_to_versions.rb
287
+ - db/migrate/20190202200716_add_update_token_to_decidim_plans.rb
288
+ - lib/decidim/plans.rb
289
+ - lib/decidim/plans/admin.rb
290
+ - lib/decidim/plans/admin_engine.rb
291
+ - lib/decidim/plans/component.rb
292
+ - lib/decidim/plans/engine.rb
293
+ - lib/decidim/plans/locale_aware.rb
294
+ - lib/decidim/plans/optionally_translatable_attributes.rb
295
+ - lib/decidim/plans/paper_trail.rb
296
+ - lib/decidim/plans/paper_trail/record_trail.rb
297
+ - lib/decidim/plans/test/factories.rb
298
+ - lib/decidim/plans/version.rb
299
+ homepage: https://github.com/mainio/decidim-module-plans
300
+ licenses:
301
+ - AGPL-3.0
302
+ metadata: {}
303
+ post_install_message:
304
+ rdoc_options: []
305
+ require_paths:
306
+ - lib
307
+ required_ruby_version: !ruby/object:Gem::Requirement
308
+ requirements:
309
+ - - ">="
310
+ - !ruby/object:Gem::Version
311
+ version: '0'
312
+ required_rubygems_version: !ruby/object:Gem::Requirement
313
+ requirements:
314
+ - - ">="
315
+ - !ruby/object:Gem::Version
316
+ version: '0'
317
+ requirements: []
318
+ rubyforge_project:
319
+ rubygems_version: 2.7.7
320
+ signing_key:
321
+ specification_version: 4
322
+ summary: Provides a plans component for Decidim.
323
+ test_files: []