decidim 0.5.1 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of decidim might be problematic. Click here for more details.

Files changed (980) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +28 -23
  3. data/.codeclimate.yml +3 -1
  4. data/.rubocop.yml +38 -34
  5. data/CHANGELOG.md +28 -0
  6. data/Dockerfile +3 -0
  7. data/Gemfile +2 -1
  8. data/Gemfile.lock +127 -117
  9. data/README.md +9 -7
  10. data/Rakefile +4 -7
  11. data/{decidim-core/config → config}/i18n-tasks.yml +39 -45
  12. data/decidim-admin/README.md +0 -7
  13. data/decidim-admin/app/assets/javascripts/decidim/admin/application.js.es6 +0 -1
  14. data/decidim-admin/app/assets/stylesheets/decidim/admin/extra/_quill.scss +5 -0
  15. data/decidim-admin/app/commands/decidim/admin/create_category.rb +4 -4
  16. data/decidim-admin/app/commands/decidim/admin/create_feature.rb +7 -7
  17. data/decidim-admin/app/commands/decidim/admin/create_managed_user.rb +0 -2
  18. data/decidim-admin/app/commands/decidim/admin/update_organization.rb +1 -0
  19. data/decidim-admin/app/controllers/decidim/admin/application_controller.rb +0 -2
  20. data/decidim-admin/app/controllers/decidim/admin/categories_controller.rb +10 -10
  21. data/decidim-admin/app/controllers/decidim/admin/exports_controller.rb +1 -2
  22. data/decidim-admin/app/controllers/decidim/admin/feature_permissions_controller.rb +2 -3
  23. data/decidim-admin/app/controllers/decidim/admin/features/base_controller.rb +9 -3
  24. data/decidim-admin/app/controllers/decidim/admin/features_controller.rb +5 -7
  25. data/decidim-admin/app/controllers/decidim/admin/moderations_controller.rb +5 -7
  26. data/decidim-admin/app/controllers/decidim/admin/scopes_controller.rb +12 -10
  27. data/decidim-admin/app/controllers/decidim/admin/users_controller.rb +1 -3
  28. data/decidim-admin/app/forms/decidim/admin/category_form.rb +2 -2
  29. data/decidim-admin/app/forms/decidim/admin/feature_form.rb +1 -18
  30. data/decidim-admin/app/forms/decidim/admin/organization_form.rb +1 -0
  31. data/decidim-admin/app/helpers/decidim/admin/exports_helper.rb +10 -0
  32. data/decidim-admin/app/models/decidim/admin/abilities/admin_ability.rb +0 -3
  33. data/decidim-admin/app/models/decidim/admin/abilities/participatory_process_admin_ability.rb +3 -3
  34. data/decidim-admin/app/views/decidim/admin/attachments/edit.html.erb +1 -1
  35. data/decidim-admin/app/views/decidim/admin/attachments/new.html.erb +1 -1
  36. data/decidim-admin/app/views/decidim/admin/categories/edit.html.erb +2 -2
  37. data/decidim-admin/app/views/decidim/admin/categories/index.html.erb +11 -11
  38. data/decidim-admin/app/views/decidim/admin/categories/new.html.erb +3 -3
  39. data/decidim-admin/app/views/decidim/admin/categories/show.html.erb +2 -2
  40. data/decidim-admin/app/views/decidim/admin/exports/_dropdown.html.erb +1 -1
  41. data/decidim-admin/app/views/decidim/admin/features/_form.html.erb +15 -15
  42. data/decidim-admin/app/views/decidim/admin/features/edit.html.erb +1 -1
  43. data/decidim-admin/app/views/decidim/admin/features/new.html.erb +1 -1
  44. data/decidim-admin/app/views/decidim/admin/moderations/index.html.erb +2 -2
  45. data/decidim-admin/app/views/decidim/admin/organization/_form.html.erb +5 -0
  46. data/decidim-admin/app/views/decidim/admin/users/index.html.erb +1 -1
  47. data/decidim-admin/config/locales/ca.yml +8 -195
  48. data/decidim-admin/config/locales/en.yml +6 -197
  49. data/decidim-admin/config/locales/es.yml +11 -198
  50. data/decidim-admin/config/locales/eu.yml +95 -208
  51. data/decidim-admin/config/locales/fi.yml +168 -123
  52. data/decidim-admin/config/locales/fr.yml +114 -191
  53. data/decidim-admin/config/locales/it.yml +150 -168
  54. data/decidim-admin/config/locales/nl.yml +443 -0
  55. data/decidim-admin/config/locales/pl.yml +444 -0
  56. data/decidim-admin/config/locales/uk.yml +451 -0
  57. data/decidim-admin/config/routes.rb +2 -46
  58. data/decidim-admin/decidim-admin.gemspec +1 -0
  59. data/decidim-admin/lib/decidim/admin/engine.rb +0 -14
  60. data/decidim-admin/{spec/commands/create_category_spec.rb → lib/decidim/admin/test/commands/create_category_examples.rb} +4 -5
  61. data/decidim-admin/{spec/commands/destroy_category_spec.rb → lib/decidim/admin/test/commands/destroy_category_examples.rb} +2 -3
  62. data/decidim-admin/{spec/commands/update_category_spec.rb → lib/decidim/admin/test/commands/update_category_examples.rb} +3 -4
  63. data/decidim-admin/{spec/forms/category_form_spec.rb → lib/decidim/admin/test/forms/category_form_examples.rb} +5 -5
  64. data/decidim-admin/lib/decidim/admin/test/manage_attachments_examples.rb +2 -2
  65. data/decidim-admin/{spec/features/admin_manages_feature_permissions_spec.rb → lib/decidim/admin/test/manage_feature_permissions_examples.rb} +3 -7
  66. data/decidim-admin/spec/commands/update_feature_spec.rb +1 -1
  67. data/decidim-admin/spec/factories.rb +1 -0
  68. data/decidim-admin/spec/features/admin_manages_organization_admins_spec.rb +1 -1
  69. data/decidim-admin/spec/forms/organization_form_spec.rb +19 -1
  70. data/decidim-admin/spec/helpers/exports_helper_spec.rb +1 -1
  71. data/decidim-admin/spec/helpers/menu_helper_spec.rb +2 -1
  72. data/decidim-admin/spec/models/abilities/admin_ability_spec.rb +0 -2
  73. data/decidim-admin/spec/models/abilities/participatory_process_admin_ability_spec.rb +1 -1
  74. data/decidim-api/decidim-api.gemspec +1 -0
  75. data/decidim-api/spec/factories.rb +1 -0
  76. data/decidim-assemblies/.gitignore +3 -0
  77. data/decidim-assemblies/README.md +34 -0
  78. data/decidim-assemblies/Rakefile +3 -0
  79. data/decidim-assemblies/app/assets/config/admin/decidim_assemblies_manifest.js +1 -0
  80. data/decidim-assemblies/app/assets/config/decidim_assemblies_manifest.js +1 -0
  81. data/decidim-assemblies/app/assets/images/decidim/assemblies/assembly.svg +6 -0
  82. data/decidim-assemblies/app/assets/javascripts/decidim/assemblies/admin/assemblies.js.es6 +12 -0
  83. data/decidim-assemblies/app/commands/decidim/assemblies/admin/copy_assembly.rb +88 -0
  84. data/decidim-assemblies/app/commands/decidim/assemblies/admin/create_assembly.rb +68 -0
  85. data/decidim-assemblies/app/commands/decidim/assemblies/admin/publish_assembly.rb +34 -0
  86. data/decidim-assemblies/app/commands/decidim/assemblies/admin/unpublish_assembly.rb +34 -0
  87. data/decidim-assemblies/app/commands/decidim/assemblies/admin/update_assembly.rb +73 -0
  88. data/decidim-assemblies/app/constraints/decidim/assemblies/current_assembly.rb +37 -0
  89. data/decidim-assemblies/app/constraints/decidim/assemblies/current_feature.rb +28 -0
  90. data/decidim-assemblies/app/controllers/concerns/decidim/assemblies/admin/assembly_context.rb +21 -0
  91. data/decidim-assemblies/app/controllers/concerns/decidim/assemblies/assembly_context.rb +25 -0
  92. data/decidim-assemblies/app/controllers/concerns/decidim/assemblies/needs_assembly.rb +50 -0
  93. data/decidim-assemblies/app/controllers/decidim/assemblies/admin/application_controller.rb +11 -0
  94. data/decidim-assemblies/app/controllers/decidim/assemblies/admin/assemblies_controller.rb +100 -0
  95. data/decidim-assemblies/app/controllers/decidim/assemblies/admin/assembly_attachments_controller.rb +27 -0
  96. data/decidim-assemblies/app/controllers/decidim/assemblies/admin/assembly_copies_controller.rb +35 -0
  97. data/decidim-assemblies/app/controllers/decidim/assemblies/admin/assembly_publications_controller.rb +45 -0
  98. data/decidim-assemblies/app/controllers/decidim/assemblies/admin/categories_controller.rb +13 -0
  99. data/decidim-assemblies/app/controllers/decidim/assemblies/admin/concerns/assembly_admin.rb +26 -0
  100. data/decidim-assemblies/app/controllers/decidim/assemblies/admin/exports_controller.rb +14 -0
  101. data/decidim-assemblies/app/controllers/decidim/assemblies/admin/feature_permissions_controller.rb +14 -0
  102. data/decidim-assemblies/app/controllers/decidim/assemblies/admin/features_controller.rb +14 -0
  103. data/decidim-assemblies/app/controllers/decidim/assemblies/admin/moderations_controller.rb +12 -0
  104. data/decidim-assemblies/app/controllers/decidim/assemblies/assemblies_controller.rb +43 -0
  105. data/decidim-assemblies/app/controllers/decidim/assemblies/assembly_widgets_controller.rb +21 -0
  106. data/decidim-assemblies/app/controllers/decidim/assemblies/categories_controller.rb +13 -0
  107. data/decidim-assemblies/app/forms/decidim/assemblies/admin/assembly_copy_form.rb +34 -0
  108. data/decidim-assemblies/app/forms/decidim/assemblies/admin/assembly_form.rb +63 -0
  109. data/decidim-assemblies/app/models/decidim/assemblies/abilities/admin/admin_ability.rb +18 -0
  110. data/decidim-assemblies/app/models/decidim/assemblies/abilities/admin_ability.rb +16 -0
  111. data/decidim-assemblies/app/models/decidim/assemblies/abilities/everyone_ability.rb +17 -0
  112. data/decidim-assemblies/app/models/decidim/assembly.rb +45 -0
  113. data/decidim-assemblies/app/presenters/decidim/assemblies/assembly_stats_presenter.rb +52 -0
  114. data/decidim-assemblies/app/queries/decidim/assemblies/admin/admin_users.rb +39 -0
  115. data/decidim-assemblies/app/queries/decidim/assemblies/organization_assemblies.rb +16 -0
  116. data/decidim-assemblies/app/queries/decidim/assemblies/organization_prioritized_assemblies.rb +20 -0
  117. data/decidim-assemblies/app/queries/decidim/assemblies/organization_published_assemblies.rb +19 -0
  118. data/decidim-assemblies/app/queries/decidim/assemblies/prioritized_assemblies.rb +13 -0
  119. data/decidim-assemblies/app/queries/decidim/assemblies/promoted_assemblies.rb +12 -0
  120. data/decidim-assemblies/app/queries/decidim/assemblies/published_assemblies.rb +12 -0
  121. data/decidim-assemblies/app/views/decidim/assemblies/_assembly.html.erb +22 -0
  122. data/decidim-assemblies/app/views/decidim/assemblies/_order_by_assemblies.html.erb +3 -0
  123. data/decidim-assemblies/app/views/decidim/assemblies/admin/assemblies/_form.html.erb +89 -0
  124. data/decidim-assemblies/app/views/decidim/assemblies/admin/assemblies/edit.html.erb +19 -0
  125. data/decidim-assemblies/app/views/decidim/assemblies/admin/assemblies/index.html.erb +66 -0
  126. data/decidim-assemblies/app/views/decidim/assemblies/admin/assemblies/new.html.erb +11 -0
  127. data/decidim-assemblies/app/views/decidim/assemblies/admin/assembly_copies/_form.html.erb +34 -0
  128. data/decidim-assemblies/app/views/decidim/assemblies/admin/assembly_copies/new.html.erb +7 -0
  129. data/decidim-assemblies/app/views/decidim/assemblies/assemblies/_no_assemblies_yet.html.erb +3 -0
  130. data/decidim-assemblies/app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb +27 -0
  131. data/decidim-assemblies/app/views/decidim/assemblies/assemblies/_statistics.html.erb +10 -0
  132. data/decidim-assemblies/app/views/decidim/assemblies/assemblies/index.html.erb +17 -0
  133. data/decidim-assemblies/app/views/decidim/assemblies/assemblies/show.html.erb +74 -0
  134. data/decidim-assemblies/app/views/decidim/assemblies/assembly_widgets/show.html.erb +11 -0
  135. data/decidim-assemblies/app/views/layouts/decidim/_assembly_header.html.erb +64 -0
  136. data/decidim-assemblies/app/views/layouts/decidim/admin/assemblies.html.erb +14 -0
  137. data/decidim-assemblies/app/views/layouts/decidim/admin/assembly.html.erb +54 -0
  138. data/decidim-assemblies/app/views/layouts/decidim/assembly.html.erb +30 -0
  139. data/decidim-assemblies/bin/rails +15 -0
  140. data/decidim-assemblies/config/locales/ca.yml +128 -0
  141. data/decidim-assemblies/config/locales/en.yml +128 -0
  142. data/decidim-assemblies/config/locales/es.yml +128 -0
  143. data/decidim-assemblies/config/locales/eu.yml +127 -0
  144. data/decidim-assemblies/config/locales/fi.yml +127 -0
  145. data/decidim-assemblies/config/locales/fr.yml +127 -0
  146. data/decidim-assemblies/config/locales/it.yml +127 -0
  147. data/decidim-assemblies/config/locales/nl.yml +127 -0
  148. data/decidim-assemblies/config/locales/pl.yml +128 -0
  149. data/decidim-assemblies/config/locales/uk.yml +129 -0
  150. data/decidim-assemblies/db/migrate/20170727190859_add_assemblies.rb +37 -0
  151. data/decidim-assemblies/db/migrate/20170822153055_add_scopes_enabled_to_assemblies.rb +7 -0
  152. data/{decidim-core → decidim-assemblies}/db/seeds/Exampledocument.pdf +0 -0
  153. data/{decidim-core → decidim-assemblies}/db/seeds/city.jpeg +0 -0
  154. data/{decidim-core → decidim-assemblies}/db/seeds/city2.jpeg +0 -0
  155. data/decidim-assemblies/db/seeds/homepage_image.jpg +0 -0
  156. data/decidim-assemblies/decidim-assemblies.gemspec +21 -0
  157. data/decidim-assemblies/lib/decidim/assemblies.rb +12 -0
  158. data/decidim-assemblies/lib/decidim/assemblies/admin.rb +10 -0
  159. data/decidim-assemblies/lib/decidim/assemblies/admin_engine.rb +79 -0
  160. data/decidim-assemblies/lib/decidim/assemblies/engine.rb +53 -0
  161. data/decidim-assemblies/lib/decidim/assemblies/participatory_space.rb +69 -0
  162. data/decidim-assemblies/lib/decidim/assemblies/test/factories.rb +41 -0
  163. data/decidim-assemblies/spec/commands/copy_assembly_spec.rb +106 -0
  164. data/decidim-assemblies/spec/commands/create_assembly_spec.rb +83 -0
  165. data/decidim-assemblies/spec/commands/create_category_spec.rb +10 -0
  166. data/decidim-assemblies/spec/commands/destroy_category_spec.rb +10 -0
  167. data/decidim-assemblies/spec/commands/publish_assembly_spec.rb +37 -0
  168. data/decidim-assemblies/spec/commands/unpublish_assembly_spec.rb +37 -0
  169. data/decidim-assemblies/spec/commands/update_assembly_spec.rb +120 -0
  170. data/decidim-assemblies/spec/commands/update_category_spec.rb +10 -0
  171. data/decidim-assemblies/spec/controllers/assemblies_controller_spec.rb +64 -0
  172. data/decidim-assemblies/spec/controllers/exports_controller_spec.rb +53 -0
  173. data/decidim-assemblies/spec/factories.rb +6 -0
  174. data/decidim-assemblies/spec/features/admin/admin_copy_assembly_spec.rb +93 -0
  175. data/decidim-assemblies/spec/features/admin/admin_manages_assemblies_spec.rb +251 -0
  176. data/decidim-assemblies/spec/features/admin/admin_manages_assembly_attachments_spec.rb +19 -0
  177. data/decidim-assemblies/spec/features/admin/admin_manages_assembly_categories_spec.rb +141 -0
  178. data/decidim-assemblies/spec/features/admin/admin_manages_assembly_feature_permissions_spec.rb +14 -0
  179. data/decidim-assemblies/spec/features/admin/admin_manages_assembly_features_spec.rb +207 -0
  180. data/decidim-assemblies/spec/features/assemblies_spec.rb +130 -0
  181. data/decidim-assemblies/spec/forms/assembly_form_spec.rb +170 -0
  182. data/decidim-assemblies/spec/forms/category_form_spec.rb +16 -0
  183. data/decidim-assemblies/spec/helpers/decidim/scopes_helper_spec.rb +16 -0
  184. data/decidim-assemblies/spec/lib/features/assemblies/current_feature_spec.rb +87 -0
  185. data/decidim-assemblies/spec/models/abilities/admin/admin_ability_spec.rb +11 -0
  186. data/decidim-assemblies/spec/models/abilities/admin_ability_spec.rb +12 -0
  187. data/decidim-assemblies/spec/models/abilities/everyone_ability_spec.rb +13 -0
  188. data/decidim-assemblies/spec/models/decidim/assembly_spec.rb +29 -0
  189. data/decidim-assemblies/spec/presenters/decidim/assemblies/assembly_stats_presenter.spec.rb +44 -0
  190. data/decidim-assemblies/spec/queries/admin/assembly_admins_spec.rb +18 -0
  191. data/decidim-assemblies/spec/queries/organization_assemblies_spec.rb +26 -0
  192. data/decidim-assemblies/spec/queries/organization_prioritized_assemblies_spec.rb +31 -0
  193. data/decidim-assemblies/spec/queries/organization_published_assemblies_spec.rb +35 -0
  194. data/decidim-assemblies/spec/shared/assembly_administration_shared_context.rb +15 -0
  195. data/decidim-assemblies/spec/spec_helper.rb +9 -0
  196. data/decidim-budgets/app/assets/images/decidim/budgets/icon.svg +10 -15
  197. data/decidim-budgets/app/commands/decidim/budgets/add_line_item.rb +1 -1
  198. data/decidim-budgets/app/forms/decidim/budgets/admin/project_form.rb +1 -1
  199. data/decidim-budgets/app/models/decidim/budgets/project.rb +7 -6
  200. data/decidim-budgets/app/views/decidim/budgets/admin/projects/_form.html.erb +3 -3
  201. data/decidim-budgets/app/views/decidim/budgets/projects/_filters.html.erb +1 -1
  202. data/decidim-budgets/app/views/decidim/budgets/projects/show.html.erb +1 -0
  203. data/decidim-budgets/config/locales/ca.yml +3 -0
  204. data/decidim-budgets/config/locales/en.yml +4 -10
  205. data/decidim-budgets/config/locales/es.yml +7 -4
  206. data/decidim-budgets/config/locales/eu.yml +11 -9
  207. data/decidim-budgets/config/locales/fi.yml +12 -0
  208. data/decidim-budgets/config/locales/fr.yml +7 -4
  209. data/decidim-budgets/config/locales/it.yml +6 -0
  210. data/decidim-budgets/config/locales/nl.yml +127 -0
  211. data/decidim-budgets/config/locales/pl.yml +130 -0
  212. data/decidim-budgets/config/locales/uk.yml +138 -0
  213. data/decidim-budgets/lib/decidim/budgets/feature.rb +5 -5
  214. data/decidim-budgets/lib/decidim/budgets/test/factories.rb +4 -4
  215. data/decidim-budgets/spec/commands/add_line_item_spec.rb +2 -2
  216. data/decidim-budgets/spec/commands/create_project_spec.rb +3 -3
  217. data/decidim-budgets/spec/commands/update_project_spec.rb +3 -3
  218. data/decidim-budgets/spec/factories.rb +1 -0
  219. data/decidim-budgets/spec/features/follow_projects_spec.rb +13 -0
  220. data/decidim-budgets/spec/features/orders_spec.rb +4 -4
  221. data/decidim-budgets/spec/forms/project_form_spec.rb +3 -3
  222. data/decidim-budgets/spec/models/project_spec.rb +8 -0
  223. data/decidim-budgets/spec/queries/decidim/budgets/filtered_projects_spec.rb +2 -2
  224. data/decidim-budgets/spec/services/project_search_spec.rb +1 -1
  225. data/decidim-comments/app/assets/javascripts/decidim/comments/bundle.js +0 -0
  226. data/decidim-comments/app/commands/decidim/comments/create_comment.rb +13 -11
  227. data/decidim-comments/app/events/decidim/comments/comment_created_event.rb +56 -0
  228. data/decidim-comments/app/frontend/comments/add_comment_form.component.tsx +1 -1
  229. data/decidim-comments/app/models/decidim/comments/abilities/participatory_process_admin_ability.rb +1 -1
  230. data/decidim-comments/app/models/decidim/comments/abilities/participatory_process_moderator_ability.rb +1 -1
  231. data/decidim-comments/app/models/decidim/comments/comment.rb +6 -13
  232. data/decidim-comments/config/locales/ca.yml +18 -20
  233. data/decidim-comments/config/locales/en.yml +15 -18
  234. data/decidim-comments/config/locales/es.yml +20 -22
  235. data/decidim-comments/config/locales/eu.yml +25 -21
  236. data/decidim-comments/config/locales/fi.yml +22 -18
  237. data/decidim-comments/config/locales/fr.yml +24 -20
  238. data/decidim-comments/config/locales/it.yml +23 -18
  239. data/decidim-comments/config/locales/nl.yml +67 -2
  240. data/decidim-comments/config/locales/pl.yml +64 -0
  241. data/decidim-comments/config/locales/uk.yml +70 -0
  242. data/decidim-comments/lib/decidim/comments/commentable.rb +8 -1
  243. data/decidim-comments/spec/commands/create_comment_spec.rb +22 -41
  244. data/decidim-comments/spec/commands/vote_comment_spec.rb +1 -1
  245. data/decidim-comments/spec/events/decidim/comments/comment_created_event_spec.rb +17 -0
  246. data/decidim-comments/spec/factories.rb +1 -0
  247. data/decidim-comments/spec/features/report_comment_spec.rb +1 -1
  248. data/decidim-comments/spec/models/comment_spec.rb +5 -27
  249. data/decidim-comments/spec/models/comment_vote_spec.rb +1 -1
  250. data/decidim-comments/spec/queries/sorted_comments_spec.rb +2 -2
  251. data/decidim-comments/spec/types/commentable_mutation_type_spec.rb +1 -1
  252. data/decidim-core/app/assets/config/decidim_core_manifest.js +1 -0
  253. data/decidim-core/app/assets/javascripts/decidim/notifications.js.es6 +33 -0
  254. data/decidim-core/app/assets/stylesheets/decidim/extras/_meeting-registrations.scss +11 -0
  255. data/decidim-core/app/assets/stylesheets/decidim/modules/_extra.scss +4 -0
  256. data/decidim-core/app/assets/stylesheets/decidim/modules/_process-nav.scss +14 -0
  257. data/decidim-core/app/commands/decidim/create_follow.rb +40 -0
  258. data/decidim-core/app/commands/decidim/create_omniauth_registration.rb +0 -2
  259. data/decidim-core/app/commands/decidim/create_registration.rb +1 -3
  260. data/decidim-core/app/commands/decidim/create_report.rb +7 -7
  261. data/decidim-core/app/commands/decidim/delete_follow.rb +37 -0
  262. data/decidim-core/app/commands/decidim/invite_user.rb +1 -3
  263. data/decidim-core/app/commands/decidim/update_notifications_settings.rb +1 -2
  264. data/decidim-core/app/constraints/decidim/current_feature.rb +3 -4
  265. data/decidim-core/app/controllers/concerns/decidim/settings.rb +1 -1
  266. data/decidim-core/app/controllers/decidim/features/base_controller.rb +5 -6
  267. data/decidim-core/app/controllers/decidim/follows_controller.rb +45 -0
  268. data/decidim-core/app/controllers/decidim/notifications_controller.rb +39 -0
  269. data/decidim-core/app/controllers/decidim/pages_controller.rb +2 -2
  270. data/decidim-core/app/controllers/decidim/scopes_controller.rb +2 -0
  271. data/decidim-core/app/controllers/decidim/widgets_controller.rb +3 -3
  272. data/decidim-core/app/forms/decidim/follow_form.rb +20 -0
  273. data/decidim-core/app/forms/decidim/invite_user_form.rb +1 -1
  274. data/decidim-core/app/forms/decidim/notifications_settings_form.rb +2 -4
  275. data/decidim-core/app/helpers/decidim/action_authorization_helper.rb +2 -1
  276. data/decidim-core/app/helpers/decidim/decidim_form_helper.rb +4 -0
  277. data/decidim-core/app/helpers/decidim/feature_path_helper.rb +2 -13
  278. data/decidim-core/app/helpers/decidim/icon_helper.rb +26 -8
  279. data/decidim-core/app/helpers/decidim/paginate_helper.rb +1 -1
  280. data/decidim-core/app/helpers/decidim/scopes_helper.rb +1 -1
  281. data/decidim-core/app/jobs/decidim/email_notification_generator_job.rb +12 -0
  282. data/decidim-core/app/jobs/decidim/export_job.rb +1 -3
  283. data/decidim-core/app/jobs/decidim/notification_generator_for_recipient_job.rb +14 -0
  284. data/decidim-core/app/jobs/decidim/notification_generator_job.rb +12 -0
  285. data/decidim-core/app/mailers/decidim/export_mailer.rb +6 -7
  286. data/decidim-core/app/mailers/decidim/notification_mailer.rb +20 -0
  287. data/decidim-core/app/mailers/decidim/reported_mailer.rb +3 -3
  288. data/decidim-core/app/models/decidim/abilities/admin_ability.rb +0 -1
  289. data/decidim-core/app/models/decidim/abilities/base_ability.rb +8 -0
  290. data/decidim-core/app/models/decidim/abilities/everyone_ability.rb +0 -2
  291. data/decidim-core/app/models/decidim/abilities/participatory_process_admin_ability.rb +1 -1
  292. data/decidim-core/app/models/decidim/abilities/participatory_process_collaborator_ability.rb +1 -1
  293. data/decidim-core/app/models/decidim/category.rb +4 -4
  294. data/decidim-core/app/models/decidim/feature.rb +29 -4
  295. data/decidim-core/app/models/decidim/follow.rb +10 -0
  296. data/decidim-core/app/models/decidim/moderation.rb +1 -1
  297. data/decidim-core/app/models/decidim/notification.rb +12 -0
  298. data/decidim-core/app/models/decidim/scope.rb +8 -8
  299. data/decidim-core/app/models/decidim/user.rb +11 -1
  300. data/decidim-core/app/presenters/decidim/home_stats_presenter.rb +1 -1
  301. data/decidim-core/app/presenters/decidim/resource_locator_presenter.rb +3 -18
  302. data/decidim-core/app/queries/decidim/participatory_processes_with_user_role.rb +1 -1
  303. data/decidim-core/app/services/decidim/email_notification_generator.rb +63 -0
  304. data/decidim-core/app/services/decidim/events_manager.rb +41 -0
  305. data/decidim-core/app/services/decidim/notification_generator.rb +51 -0
  306. data/decidim-core/app/services/decidim/notification_generator_for_recipient.rb +50 -0
  307. data/decidim-core/app/uploaders/decidim/attachment_uploader.rb +1 -1
  308. data/decidim-core/app/views/decidim/authorizations/first_login.html.erb +2 -2
  309. data/decidim-core/app/views/decidim/follows/update_button.js.erb +3 -0
  310. data/decidim-core/app/views/decidim/notification_mailer/event_received.html.erb +9 -0
  311. data/decidim-core/app/views/decidim/notifications/_notification.html.erb +18 -0
  312. data/decidim-core/app/views/decidim/notifications/index.html.erb +32 -0
  313. data/decidim-core/app/views/decidim/notifications_settings/show.html.erb +3 -10
  314. data/decidim-core/app/views/decidim/shared/_follow_button.html.erb +19 -0
  315. data/decidim-core/app/views/layouts/decidim/_head.html.erb +1 -0
  316. data/decidim-core/app/views/layouts/decidim/_head_extra.html.erb +7 -0
  317. data/decidim-core/app/views/layouts/decidim/_user_menu.html.erb +1 -0
  318. data/decidim-core/app/views/layouts/decidim/_wrapper.html.erb +3 -0
  319. data/decidim-core/app/views/layouts/decidim/widget.html.erb +3 -3
  320. data/decidim-core/app/views/pages/home/_hero.html.erb +1 -1
  321. data/decidim-core/app/views/pages/home/_highlighted_processes.html.erb +3 -3
  322. data/decidim-core/config/locales/ca.yml +29 -74
  323. data/decidim-core/config/locales/en.yml +23 -71
  324. data/decidim-core/config/locales/es.yml +31 -78
  325. data/decidim-core/config/locales/eu.yml +61 -65
  326. data/decidim-core/config/locales/fi.yml +91 -51
  327. data/decidim-core/config/locales/fr.yml +40 -83
  328. data/decidim-core/config/locales/it.yml +129 -54
  329. data/decidim-core/config/locales/nl.yml +90 -51
  330. data/decidim-core/config/locales/pl.yml +319 -10
  331. data/decidim-core/config/locales/uk.yml +400 -0
  332. data/decidim-core/config/routes.rb +8 -14
  333. data/decidim-core/db/migrate/20170720120231_make_moderations_polymorphic.rb +29 -0
  334. data/decidim-core/db/migrate/20170726145242_make_categories_polymorphic.rb +27 -0
  335. data/decidim-core/db/migrate/20170807123535_create_decidim_follows.rb +20 -0
  336. data/decidim-core/db/migrate/20170808071019_create_decidim_notifications.rb +13 -0
  337. data/decidim-core/db/migrate/20170906091718_add_extra_to_notifications.rb +7 -0
  338. data/decidim-core/db/migrate/20170912082054_add_emails_on_notifications_flag_to_user.rb +7 -0
  339. data/decidim-core/db/migrate/20170913092351_add_header_snippets_to_organizations.rb +7 -0
  340. data/decidim-core/db/migrate/20170914075721_remove_followable_index_from_follows.rb +7 -0
  341. data/decidim-core/db/migrate/20170914092116_remove_comment_and_replies_notifications_from_users.rb +8 -0
  342. data/decidim-core/db/seeds.rb +2 -108
  343. data/decidim-core/decidim-core.gemspec +1 -0
  344. data/decidim-core/lib/decidim/core.rb +46 -8
  345. data/decidim-core/lib/decidim/core/engine.rb +20 -6
  346. data/decidim-core/lib/decidim/core/test.rb +3 -0
  347. data/decidim-core/lib/decidim/core/test/factories.rb +37 -75
  348. data/decidim-core/lib/decidim/core/test/shared_examples/comments_examples.rb +0 -26
  349. data/decidim-core/lib/decidim/core/test/shared_examples/follows_examples.rb +37 -0
  350. data/decidim-core/lib/decidim/core/test/shared_examples/manage_moderations_examples.rb +1 -1
  351. data/decidim-core/lib/decidim/core/test/shared_examples/process_announcements_examples.rb +1 -1
  352. data/decidim-core/lib/decidim/core/test/shared_examples/reportable.rb +4 -4
  353. data/decidim-core/lib/decidim/core/test/shared_examples/reports_examples.rb +1 -1
  354. data/decidim-core/lib/decidim/core/test/shared_examples/scope_helper_examples.rb +41 -0
  355. data/{decidim-comments/spec/shared/author_localised_email.rb → decidim-core/lib/decidim/core/test/shared_examples/user_localised_email_examples.rb} +0 -0
  356. data/decidim-core/lib/decidim/core/version.rb +1 -1
  357. data/decidim-core/lib/decidim/engine_router.rb +54 -0
  358. data/decidim-core/lib/decidim/events.rb +9 -0
  359. data/decidim-core/lib/decidim/events/base_event.rb +70 -0
  360. data/decidim-core/lib/decidim/events/email_event.rb +39 -0
  361. data/decidim-core/lib/decidim/events/notification_event.rb +32 -0
  362. data/decidim-core/lib/decidim/exporters.rb +7 -0
  363. data/decidim-core/lib/decidim/exporters/export_data.rb +14 -0
  364. data/decidim-core/lib/decidim/feature_manifest.rb +2 -2
  365. data/decidim-core/lib/decidim/features/namer.rb +1 -1
  366. data/decidim-core/lib/decidim/followable.rb +13 -0
  367. data/decidim-core/lib/decidim/form_builder.rb +1 -1
  368. data/decidim-core/lib/decidim/has_feature.rb +1 -1
  369. data/decidim-core/lib/decidim/has_settings.rb +19 -15
  370. data/decidim-core/lib/decidim/manifest_registry.rb +1 -3
  371. data/decidim-core/lib/decidim/participable.rb +80 -0
  372. data/decidim-core/lib/decidim/participatory_space_manifest.rb +40 -0
  373. data/decidim-core/lib/decidim/query_extensions.rb +1 -1
  374. data/decidim-core/lib/decidim/resource_manifest.rb +1 -1
  375. data/decidim-core/lib/decidim/settings_manifest.rb +0 -4
  376. data/decidim-core/spec/commands/decidim/create_registration_spec.rb +1 -3
  377. data/decidim-core/spec/commands/decidim/update_notifications_settings_spec.rb +3 -7
  378. data/decidim-core/spec/controllers/concerns/settings_spec.rb +12 -4
  379. data/decidim-core/spec/controllers/locales_controller_spec.rb +4 -0
  380. data/decidim-core/spec/controllers/pages_controller_spec.rb +1 -0
  381. data/decidim-core/spec/controllers/scopes_controller_spec.rb +4 -0
  382. data/decidim-core/spec/factories.rb +1 -0
  383. data/decidim-core/spec/features/account_spec.rb +0 -8
  384. data/decidim-core/spec/features/components_spec.rb +1 -1
  385. data/decidim-core/spec/features/homepage_spec.rb +9 -0
  386. data/decidim-core/spec/features/menu_spec.rb +2 -1
  387. data/decidim-core/spec/features/notifications_spec.rb +88 -0
  388. data/decidim-core/spec/forms/notifications_settings_form_spec.rb +4 -14
  389. data/decidim-core/spec/helpers/decidim/decidim_form_helper_spec.rb +3 -0
  390. data/decidim-core/spec/helpers/decidim/feature_path_helper_spec.rb +1 -1
  391. data/decidim-core/spec/jobs/decidim/email_notification_generator_job_spec.rb +34 -0
  392. data/decidim-core/spec/jobs/decidim/notification_generator_for_recipient_job_spec.rb +34 -0
  393. data/decidim-core/spec/jobs/decidim/notification_generator_job_spec.rb +34 -0
  394. data/decidim-core/spec/lib/events/base_event_spec.rb +13 -0
  395. data/decidim-core/spec/lib/events/email_event_spec.rb +17 -0
  396. data/decidim-core/spec/lib/events/notification_event_spec.rb +17 -0
  397. data/decidim-core/spec/lib/feature_manifest_spec.rb +1 -1
  398. data/decidim-core/spec/lib/features/current_feature_spec.rb +7 -29
  399. data/decidim-core/spec/lib/form_builder_spec.rb +4 -4
  400. data/decidim-core/spec/lib/resourceable_spec.rb +6 -6
  401. data/decidim-core/spec/lib/seed_spec.rb +2 -4
  402. data/decidim-core/spec/mailers/export_mailer_spec.rb +3 -3
  403. data/decidim-core/spec/mailers/reported_mailer_spec.rb +1 -1
  404. data/decidim-core/spec/models/decidim/abilities/admin_ability_spec.rb +0 -1
  405. data/decidim-core/spec/models/decidim/abilities/everyone_ability_spec.rb +1 -1
  406. data/decidim-core/spec/models/decidim/abilities/participatory_process_admin_ability_spec.rb +2 -7
  407. data/decidim-core/spec/models/decidim/abilities/participatory_process_collaborator_ability_spec.rb +2 -7
  408. data/decidim-core/spec/models/decidim/category_spec.rb +2 -2
  409. data/decidim-core/spec/models/decidim/follow_spec.rb +33 -0
  410. data/decidim-core/spec/models/decidim/scope_spec.rb +39 -4
  411. data/decidim-core/spec/models/notification_spec.rb +24 -0
  412. data/decidim-core/spec/presenters/decidim/resource_locator_presenter_spec.rb +1 -1
  413. data/decidim-core/spec/services/decidim/email_notification_generator_spec.rb +63 -0
  414. data/decidim-core/spec/services/decidim/events_manager_spec.rb +40 -0
  415. data/decidim-core/spec/services/decidim/notification_generator_for_recipient_spec.rb +26 -0
  416. data/decidim-core/spec/services/decidim/notification_generator_spec.rb +44 -0
  417. data/decidim-core/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.uk.js +14 -0
  418. data/decidim-core/vendor/assets/javascripts/morphdom.js +14 -5
  419. data/decidim-dev/config/locales/ca.yml +2 -1
  420. data/decidim-dev/config/locales/en.yml +2 -1
  421. data/decidim-dev/config/locales/es.yml +2 -1
  422. data/decidim-dev/config/locales/eu.yml +1 -1
  423. data/decidim-dev/config/locales/fi.yml +5 -1
  424. data/decidim-dev/config/locales/fr.yml +4 -0
  425. data/decidim-dev/config/locales/it.yml +1 -1
  426. data/decidim-dev/config/locales/nl.yml +4 -0
  427. data/decidim-dev/config/locales/pl.yml +4 -1
  428. data/decidim-dev/config/locales/uk.yml +9 -0
  429. data/decidim-dev/decidim-dev.gemspec +5 -7
  430. data/{decidim-core/spec/shared/with_promoted_participatory_processes_examples.rb → decidim-dev/lib/decidim/dev/test/promoted_participatory_processes_shared_examples.rb} +0 -0
  431. data/decidim-dev/lib/decidim/dev/test/rspec_support/feature.rb +6 -8
  432. data/decidim-dev/lib/decidim/dev/test/rspec_support/feature_context.rb +3 -3
  433. data/decidim-dev/lib/decidim/dev/test/spec_helper.rb +1 -0
  434. data/decidim-dev/lib/tasks/locale_checker.rake +11 -11
  435. data/decidim-meetings/app/assets/config/admin/decidim_meetings_manifest.js +1 -0
  436. data/decidim-meetings/app/assets/images/decidim/meetings/icon.svg +5 -1
  437. data/decidim-meetings/app/assets/javascripts/decidim/meetings/admin/registrations_form.js.es6 +21 -0
  438. data/decidim-meetings/app/commands/decidim/meetings/admin/close_meeting.rb +17 -9
  439. data/decidim-meetings/app/commands/decidim/meetings/admin/create_meeting.rb +13 -1
  440. data/decidim-meetings/app/commands/decidim/meetings/admin/update_meeting.rb +47 -21
  441. data/decidim-meetings/app/commands/decidim/meetings/admin/update_registrations.rb +60 -0
  442. data/decidim-meetings/app/commands/decidim/meetings/join_meeting.rb +73 -0
  443. data/decidim-meetings/app/commands/decidim/meetings/leave_meeting.rb +39 -0
  444. data/decidim-meetings/app/controllers/decidim/meetings/admin/registrations_controller.rb +43 -0
  445. data/decidim-meetings/app/controllers/decidim/meetings/registrations_controller.rb +46 -0
  446. data/decidim-meetings/app/events/decidim/meetings/close_meeting_event.rb +30 -0
  447. data/decidim-meetings/app/events/decidim/meetings/meeting_registrations_enabled_event.rb +39 -0
  448. data/decidim-meetings/app/events/decidim/meetings/meeting_registrations_over_percentage_event.rb +43 -0
  449. data/decidim-meetings/app/events/decidim/meetings/upcoming_meeting_event.rb +30 -0
  450. data/decidim-meetings/app/events/decidim/meetings/update_meeting_event.rb +30 -0
  451. data/decidim-meetings/app/forms/decidim/meetings/admin/meeting_form.rb +1 -1
  452. data/decidim-meetings/app/forms/decidim/meetings/admin/meeting_registrations_form.rb +32 -0
  453. data/decidim-meetings/app/helpers/decidim/meetings/application_helper.rb +1 -0
  454. data/decidim-meetings/app/jobs/decidim/meetings/upcoming_meeting_notification_job.rb +33 -0
  455. data/decidim-meetings/app/mailers/decidim/meetings/registration_mailer.rb +46 -0
  456. data/decidim-meetings/app/models/decidim/meetings/abilities/current_user_ability.rb +43 -0
  457. data/decidim-meetings/app/models/decidim/meetings/meeting.rb +42 -0
  458. data/decidim-meetings/app/models/decidim/meetings/registration.rb +13 -0
  459. data/decidim-meetings/app/serializers/decidim/meetings/registration_serializer.rb +18 -0
  460. data/decidim-meetings/app/views/decidim/meetings/admin/meetings/_form.html.erb +3 -3
  461. data/decidim-meetings/app/views/decidim/meetings/admin/meetings/index.html.erb +1 -0
  462. data/decidim-meetings/app/views/decidim/meetings/admin/registrations/_form.html.erb +33 -0
  463. data/decidim-meetings/app/views/decidim/meetings/admin/registrations/edit.html.erb +8 -0
  464. data/decidim-meetings/app/views/decidim/meetings/meetings/_filters.html.erb +2 -2
  465. data/decidim-meetings/app/views/decidim/meetings/meetings/_registration_confirm.html.erb +15 -0
  466. data/decidim-meetings/app/views/decidim/meetings/meetings/show.html.erb +15 -1
  467. data/decidim-meetings/app/views/decidim/meetings/registration_mailer/confirmation.html.erb +3 -0
  468. data/decidim-meetings/config/locales/ca.yml +74 -0
  469. data/decidim-meetings/config/locales/en.yml +72 -4
  470. data/decidim-meetings/config/locales/es.yml +75 -1
  471. data/decidim-meetings/config/locales/eu.yml +78 -3
  472. data/decidim-meetings/config/locales/fi.yml +84 -0
  473. data/decidim-meetings/config/locales/fr.yml +83 -8
  474. data/decidim-meetings/config/locales/it.yml +87 -0
  475. data/decidim-meetings/config/locales/nl.yml +169 -0
  476. data/decidim-meetings/config/locales/pl.yml +113 -0
  477. data/decidim-meetings/config/locales/uk.yml +178 -0
  478. data/decidim-meetings/db/migrate/20170810120836_add_registration_attributes_to_meetings.rb +9 -0
  479. data/decidim-meetings/db/migrate/20170810131100_create_registrations.rb +14 -0
  480. data/decidim-meetings/decidim-meetings.gemspec +2 -0
  481. data/decidim-meetings/lib/decidim/meetings/admin_engine.rb +9 -0
  482. data/decidim-meetings/lib/decidim/meetings/engine.rb +8 -0
  483. data/decidim-meetings/lib/decidim/meetings/feature.rb +39 -9
  484. data/decidim-meetings/lib/decidim/meetings/test/factories.rb +11 -0
  485. data/decidim-meetings/spec/commands/close_meeting_spec.rb +21 -2
  486. data/decidim-meetings/spec/commands/create_meeting_spec.rb +18 -3
  487. data/decidim-meetings/spec/commands/join_meeting_spec.rb +152 -0
  488. data/decidim-meetings/spec/commands/leave_meeting_spec.rb +34 -0
  489. data/decidim-meetings/spec/commands/update_meeting_spec.rb +122 -2
  490. data/decidim-meetings/spec/commands/update_registrations_spec.rb +79 -0
  491. data/decidim-meetings/spec/events/decidim/meetings/close_meeting_event_spec.rb +17 -0
  492. data/decidim-meetings/spec/events/decidim/meetings/meeting_registrations_enabled_event_spec.rb +17 -0
  493. data/decidim-meetings/spec/events/decidim/meetings/meeting_registrations_over_percentage_event_spec.rb +17 -0
  494. data/decidim-meetings/spec/events/decidim/meetings/upcoming_meeting_event_spec.rb +17 -0
  495. data/decidim-meetings/spec/events/decidim/meetings/update_meeting_event_spec.rb +17 -0
  496. data/decidim-meetings/spec/factories.rb +2 -0
  497. data/decidim-meetings/spec/features/admin_manages_meetings_spec.rb +1 -0
  498. data/decidim-meetings/spec/features/comments_spec.rb +22 -0
  499. data/decidim-meetings/spec/features/explore_meetings_spec.rb +3 -3
  500. data/decidim-meetings/spec/features/follow_meetings_spec.rb +13 -0
  501. data/decidim-meetings/spec/features/meeting_registrations_spec.rb +131 -0
  502. data/decidim-meetings/spec/features/process_admin_manages_meetings_spec.rb +1 -0
  503. data/decidim-meetings/spec/forms/close_meeting_form_spec.rb +1 -1
  504. data/decidim-meetings/spec/forms/meeting_form_spec.rb +2 -2
  505. data/decidim-meetings/spec/forms/meeting_registrations_form_spec.rb +78 -0
  506. data/decidim-meetings/spec/jobs/decidim/meetings/upcoming_meeting_notification_job_spec.rb +41 -0
  507. data/decidim-meetings/spec/mailers/registration_mailer_spec.rb +38 -0
  508. data/decidim-meetings/spec/models/meeting_spec.rb +8 -0
  509. data/decidim-meetings/spec/models/registration_spec.rb +21 -0
  510. data/decidim-meetings/spec/serializers/registration_serializer_spec.rb +23 -0
  511. data/decidim-meetings/spec/services/meeting_search_spec.rb +1 -1
  512. data/decidim-meetings/spec/shared/manage_meetings_examples.rb +1 -1
  513. data/decidim-meetings/spec/shared/manage_registrations_examples.rb +71 -0
  514. data/decidim-pages/app/assets/images/decidim/pages/icon.svg +8 -1
  515. data/decidim-pages/app/helpers/decidim/pages/application_helper.rb +0 -1
  516. data/decidim-pages/app/models/decidim/pages/page.rb +0 -26
  517. data/decidim-pages/app/views/decidim/pages/application/show.html.erb +0 -2
  518. data/decidim-pages/config/locales/ca.yml +3 -2
  519. data/decidim-pages/config/locales/en.yml +0 -2
  520. data/decidim-pages/config/locales/es.yml +3 -2
  521. data/decidim-pages/config/locales/eu.yml +3 -3
  522. data/decidim-pages/config/locales/fi.yml +3 -2
  523. data/decidim-pages/config/locales/fr.yml +3 -3
  524. data/decidim-pages/config/locales/it.yml +2 -2
  525. data/decidim-pages/config/locales/nl.yml +17 -0
  526. data/decidim-pages/config/locales/pl.yml +17 -0
  527. data/decidim-pages/config/locales/uk.yml +22 -0
  528. data/decidim-pages/decidim-pages.gemspec +1 -1
  529. data/decidim-pages/lib/decidim/pages/feature.rb +4 -15
  530. data/decidim-pages/spec/commands/update_page_spec.rb +1 -1
  531. data/decidim-pages/spec/factories.rb +3 -3
  532. data/decidim-pages/spec/features/admin_spec.rb +1 -1
  533. data/decidim-participatory_processes/.gitignore +3 -0
  534. data/decidim-participatory_processes/README.md +36 -0
  535. data/decidim-participatory_processes/Rakefile +3 -0
  536. data/decidim-participatory_processes/app/assets/config/admin/decidim_participatory_processes_manifest.js +1 -0
  537. data/decidim-participatory_processes/app/assets/config/decidim_participatory_processes_manifest.js +2 -0
  538. data/decidim-participatory_processes/app/assets/images/decidim/participatory_processes/process.svg +10 -0
  539. data/{decidim-admin/app/assets/javascripts/decidim → decidim-participatory_processes/app/assets/javascripts/decidim/participatory_processes}/admin/participatory_processes.js.es6 +1 -1
  540. data/decidim-participatory_processes/app/assets/javascripts/decidim/participatory_processes/filters.js.es6 +25 -0
  541. data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/activate_participatory_process_step.rb +46 -0
  542. data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/copy_participatory_process.rb +116 -0
  543. data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/create_participatory_process.rb +82 -0
  544. data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/create_participatory_process_admin.rb +95 -0
  545. data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/create_participatory_process_group.rb +57 -0
  546. data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/create_participatory_process_step.rb +49 -0
  547. data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/deactivate_participatory_process_step.rb +38 -0
  548. data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/destroy_participatory_process_step.rb +46 -0
  549. data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/publish_participatory_process.rb +34 -0
  550. data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/reorder_participatory_process_steps.rb +54 -0
  551. data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/unpublish_participatory_process.rb +34 -0
  552. data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/update_participatory_process.rb +77 -0
  553. data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/update_participatory_process_admin.rb +43 -0
  554. data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/update_participatory_process_group.rb +60 -0
  555. data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/update_participatory_process_step.rb +51 -0
  556. data/decidim-participatory_processes/app/constraints/decidim/participatory_processes/current_feature.rb +28 -0
  557. data/decidim-participatory_processes/app/constraints/decidim/participatory_processes/current_participatory_process.rb +37 -0
  558. data/decidim-participatory_processes/app/controllers/concerns/decidim/participatory_processes/admin/participatory_process_context.rb +21 -0
  559. data/decidim-participatory_processes/app/controllers/concerns/decidim/participatory_processes/needs_participatory_process.rb +50 -0
  560. data/decidim-participatory_processes/app/controllers/concerns/decidim/participatory_processes/participatory_process_context.rb +27 -0
  561. data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/application_controller.rb +11 -0
  562. data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/categories_controller.rb +13 -0
  563. data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/concerns/participatory_process_admin.rb +26 -0
  564. data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/exports_controller.rb +14 -0
  565. data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/feature_permissions_controller.rb +14 -0
  566. data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/features_controller.rb +14 -0
  567. data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/moderations_controller.rb +12 -0
  568. data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb +27 -0
  569. data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_process_copies_controller.rb +35 -0
  570. data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_process_groups_controller.rb +90 -0
  571. data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_process_publications_controller.rb +45 -0
  572. data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_process_step_activations_controller.rb +39 -0
  573. data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_process_step_ordering_controller.rb +29 -0
  574. data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_process_steps_controller.rb +91 -0
  575. data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_process_user_roles_controller.rb +99 -0
  576. data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_processes_controller.rb +102 -0
  577. data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/participatory_process_groups_controller.rb +28 -0
  578. data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/participatory_process_steps_controller.rb +20 -0
  579. data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/participatory_process_widgets_controller.rb +21 -0
  580. data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/participatory_processes_controller.rb +64 -0
  581. data/decidim-participatory_processes/app/forms/decidim/participatory_processes/admin/participatory_process_copy_form.rb +35 -0
  582. data/decidim-participatory_processes/app/forms/decidim/participatory_processes/admin/participatory_process_form.rb +72 -0
  583. data/decidim-participatory_processes/app/forms/decidim/participatory_processes/admin/participatory_process_group_form.rb +26 -0
  584. data/decidim-participatory_processes/app/forms/decidim/participatory_processes/admin/participatory_process_step_form.rb +37 -0
  585. data/decidim-participatory_processes/app/forms/decidim/participatory_processes/admin/participatory_process_user_role_form.rb +31 -0
  586. data/decidim-participatory_processes/app/helpers/decidim/participatory_processes/admin/process_groups_for_select_helper.rb +23 -0
  587. data/decidim-participatory_processes/app/helpers/decidim/participatory_processes/admin/processes_for_select_helper.rb +25 -0
  588. data/decidim-participatory_processes/app/helpers/decidim/participatory_processes/participatory_process_helper.rb +19 -0
  589. data/decidim-participatory_processes/app/helpers/decidim/participatory_processes/participatory_process_steps_helper.rb +20 -0
  590. data/{decidim-core → decidim-participatory_processes}/app/models/decidim/participatory_process.rb +5 -4
  591. data/{decidim-core → decidim-participatory_processes}/app/models/decidim/participatory_process_group.rb +0 -0
  592. data/{decidim-core → decidim-participatory_processes}/app/models/decidim/participatory_process_step.rb +0 -0
  593. data/decidim-participatory_processes/app/models/decidim/participatory_processes/abilities/admin/admin_ability.rb +21 -0
  594. data/decidim-participatory_processes/app/models/decidim/participatory_processes/abilities/admin_ability.rb +16 -0
  595. data/decidim-participatory_processes/app/models/decidim/participatory_processes/abilities/everyone_ability.rb +19 -0
  596. data/decidim-participatory_processes/app/presenters/decidim/participatory_processes/participatory_process_stats_presenter.rb +52 -0
  597. data/decidim-participatory_processes/app/queries/decidim/participatory_processes/admin/admin_users.rb +46 -0
  598. data/decidim-participatory_processes/app/queries/decidim/participatory_processes/filtered_participatory_process_groups.rb +29 -0
  599. data/decidim-participatory_processes/app/queries/decidim/participatory_processes/filtered_participatory_processes.rb +26 -0
  600. data/decidim-participatory_processes/app/queries/decidim/participatory_processes/highlighted_participatory_processes.rb +12 -0
  601. data/decidim-participatory_processes/app/queries/decidim/participatory_processes/organization_participatory_process_groups.rb +16 -0
  602. data/decidim-participatory_processes/app/queries/decidim/participatory_processes/organization_participatory_processes.rb +16 -0
  603. data/decidim-participatory_processes/app/queries/decidim/participatory_processes/organization_prioritized_participatory_process_groups.rb +20 -0
  604. data/decidim-participatory_processes/app/queries/decidim/participatory_processes/organization_prioritized_participatory_processes.rb +22 -0
  605. data/decidim-participatory_processes/app/queries/decidim/participatory_processes/organization_published_participatory_processes.rb +19 -0
  606. data/decidim-participatory_processes/app/queries/decidim/participatory_processes/prioritized_participatory_processes.rb +13 -0
  607. data/decidim-participatory_processes/app/queries/decidim/participatory_processes/promoted_participatory_processes.rb +12 -0
  608. data/decidim-participatory_processes/app/queries/decidim/participatory_processes/published_participatory_processes.rb +12 -0
  609. data/{decidim-core → decidim-participatory_processes}/app/views/decidim/participatory_process_groups/_participatory_process_group.html.erb +0 -0
  610. data/{decidim-core → decidim-participatory_processes}/app/views/decidim/participatory_process_steps/_participatory_process_step.html.erb +0 -0
  611. data/decidim-participatory_processes/app/views/decidim/participatory_processes/_order_by_processes.html.erb +12 -0
  612. data/{decidim-core → decidim-participatory_processes}/app/views/decidim/participatory_processes/_participatory_process.html.erb +2 -2
  613. data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_copies/_form.html.erb +0 -0
  614. data/decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_process_copies/new.html.erb +7 -0
  615. data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_groups/_form.html.erb +0 -0
  616. data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_groups/edit.html.erb +2 -2
  617. data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_groups/index.html.erb +1 -1
  618. data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_groups/new.html.erb +2 -2
  619. data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_groups/show.html.erb +0 -0
  620. data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_steps/_form.html.erb +0 -0
  621. data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_steps/edit.html.erb +2 -2
  622. data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_steps/index.html.erb +1 -1
  623. data/decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_process_steps/new.html.erb +7 -0
  624. data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_steps/show.html.erb +0 -0
  625. data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_user_roles/_form.html.erb +0 -0
  626. data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_user_roles/edit.html.erb +2 -2
  627. data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_user_roles/index.html.erb +1 -1
  628. data/decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_process_user_roles/new.html.erb +7 -0
  629. data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_processes/_form.html.erb +17 -11
  630. data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_processes/edit.html.erb +1 -1
  631. data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_processes/index.html.erb +4 -4
  632. data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_processes/new.html.erb +2 -2
  633. data/{decidim-core/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/participatory_process_groups/show.html.erb +3 -3
  634. data/{decidim-core/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/participatory_process_steps/_timeline.html.erb +0 -0
  635. data/{decidim-core/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/participatory_process_steps/index.html.erb +2 -2
  636. data/{decidim-core/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/participatory_process_widgets/show.html.erb +2 -2
  637. data/decidim-participatory_processes/app/views/decidim/participatory_processes/participatory_processes/_no_processes_yet.html.erb +3 -0
  638. data/{decidim-core/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/participatory_processes/_promoted_process.html.erb +3 -3
  639. data/{decidim-core/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/participatory_processes/_statistics.html.erb +1 -1
  640. data/{decidim-core/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/participatory_processes/index.html.erb +8 -3
  641. data/decidim-participatory_processes/app/views/decidim/participatory_processes/participatory_processes/index.js.erb +6 -0
  642. data/{decidim-core/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/participatory_processes/show.html.erb +14 -7
  643. data/{decidim-core → decidim-participatory_processes}/app/views/layouts/decidim/_process_header.html.erb +4 -4
  644. data/{decidim-core → decidim-participatory_processes}/app/views/layouts/decidim/_process_header_steps.html.erb +2 -2
  645. data/{decidim-admin → decidim-participatory_processes}/app/views/layouts/decidim/admin/participatory_process.html.erb +14 -14
  646. data/{decidim-admin → decidim-participatory_processes}/app/views/layouts/decidim/admin/participatory_process_groups.html.erb +0 -0
  647. data/{decidim-admin → decidim-participatory_processes}/app/views/layouts/decidim/admin/participatory_processes.html.erb +0 -0
  648. data/{decidim-core → decidim-participatory_processes}/app/views/layouts/decidim/participatory_process.html.erb +0 -0
  649. data/decidim-participatory_processes/bin/rails +15 -0
  650. data/decidim-participatory_processes/config/locales/ca.yml +281 -0
  651. data/decidim-participatory_processes/config/locales/en.yml +281 -0
  652. data/decidim-participatory_processes/config/locales/es.yml +281 -0
  653. data/decidim-participatory_processes/config/locales/eu.yml +280 -0
  654. data/decidim-participatory_processes/config/locales/fi.yml +280 -0
  655. data/decidim-participatory_processes/config/locales/fr.yml +280 -0
  656. data/decidim-participatory_processes/config/locales/it.yml +280 -0
  657. data/decidim-participatory_processes/config/locales/nl.yml +280 -0
  658. data/decidim-participatory_processes/config/locales/pl.yml +281 -0
  659. data/decidim-participatory_processes/config/locales/uk.yml +282 -0
  660. data/{decidim-core → decidim-participatory_processes}/db/migrate/20161005130108_add_participatory_processes.rb +0 -0
  661. data/{decidim-core → decidim-participatory_processes}/db/migrate/20161010102356_translate_processes.rb +0 -0
  662. data/{decidim-core → decidim-participatory_processes}/db/migrate/20161011125616_add_hero_image_to_processes.rb +0 -0
  663. data/{decidim-core → decidim-participatory_processes}/db/migrate/20161011141033_add_banner_image_to_processes.rb +0 -0
  664. data/{decidim-core → decidim-participatory_processes}/db/migrate/20161013134732_add_promoted_flag_to_processes.rb +0 -0
  665. data/{decidim-core → decidim-participatory_processes}/db/migrate/20161017085822_add_participatory_process_steps.rb +0 -0
  666. data/{decidim-core → decidim-participatory_processes}/db/migrate/20161019072016_add_active_flag_to_step.rb +0 -0
  667. data/{decidim-core → decidim-participatory_processes}/db/migrate/20161020080756_add_position_to_steps.rb +0 -0
  668. data/{decidim-core → decidim-participatory_processes}/db/migrate/20161025125300_add_published_at_to_processes.rb +0 -0
  669. data/{decidim-core → decidim-participatory_processes}/db/migrate/20161107152228_remove_not_null_on_step_position.rb +0 -0
  670. data/{decidim-core → decidim-participatory_processes}/db/migrate/20161110092735_add_index_for_process_slug_organization.rb +0 -0
  671. data/{decidim-core → decidim-participatory_processes}/db/migrate/20161116115156_create_attachments.rb +0 -0
  672. data/{decidim-core → decidim-participatory_processes}/db/migrate/20170116135237_loosen_step_requirements.rb +0 -0
  673. data/{decidim-core → decidim-participatory_processes}/db/migrate/20170123134023_make_attachments_polymorphic.rb +0 -0
  674. data/{decidim-core → decidim-participatory_processes}/db/migrate/20170125135937_rename_attachable_to_attached_to.rb +0 -0
  675. data/{decidim-core → decidim-participatory_processes}/db/migrate/20170126151123_add_extra_info_to_processes.rb +0 -0
  676. data/{decidim-core → decidim-participatory_processes}/db/migrate/20170206083118_rename_extra_info_on_processes.rb +0 -0
  677. data/{decidim-core → decidim-participatory_processes}/db/migrate/20170220110740_remove_steps_short_description.rb +0 -0
  678. data/{decidim-core → decidim-participatory_processes}/db/migrate/20170221094835_add_scopes_to_processes.rb +0 -0
  679. data/{decidim-core → decidim-participatory_processes}/db/migrate/20170228142440_add_participatory_process_groups.rb +0 -0
  680. data/{decidim-core → decidim-participatory_processes}/db/migrate/20170404132616_change_steps_end_and_start_date_to_date.rb +0 -0
  681. data/decidim-participatory_processes/db/migrate/20170720120135_make_features_polymorphic.rb +27 -0
  682. data/{decidim-core → decidim-participatory_processes}/db/migrate/20170725085104_add_show_statistics_to_participatory_processes.rb +0 -0
  683. data/{decidim-core → decidim-participatory_processes}/db/migrate/20170804125402_attachment_description_nullable.rb +0 -0
  684. data/{decidim-core → decidim-participatory_processes}/db/migrate/20170808080905_add_announcement_to_participatory_processes.rb +0 -0
  685. data/{decidim-core → decidim-participatory_processes}/db/migrate/20170809084005_add_scopes_enabled_to_participatory_processes.rb +0 -0
  686. data/decidim-participatory_processes/db/migrate/20170830081725_add_start_date_to_processes.rb +8 -0
  687. data/decidim-participatory_processes/db/seeds/Exampledocument.pdf +0 -0
  688. data/decidim-participatory_processes/db/seeds/city.jpeg +0 -0
  689. data/decidim-participatory_processes/db/seeds/city2.jpeg +0 -0
  690. data/decidim-participatory_processes/db/seeds/homepage_image.jpg +0 -0
  691. data/decidim-participatory_processes/decidim-participatory_processes.gemspec +21 -0
  692. data/decidim-participatory_processes/lib/decidim/participatory_processes.rb +12 -0
  693. data/decidim-participatory_processes/lib/decidim/participatory_processes/admin.rb +10 -0
  694. data/decidim-participatory_processes/lib/decidim/participatory_processes/admin_engine.rb +98 -0
  695. data/decidim-participatory_processes/lib/decidim/participatory_processes/engine.rb +55 -0
  696. data/decidim-participatory_processes/lib/decidim/participatory_processes/participatory_space.rb +118 -0
  697. data/decidim-participatory_processes/lib/decidim/participatory_processes/test/factories.rb +97 -0
  698. data/{decidim-admin → decidim-participatory_processes}/spec/commands/activate_participatory_process_step_spec.rb +1 -1
  699. data/{decidim-admin → decidim-participatory_processes}/spec/commands/copy_participatory_process_spec.rb +7 -7
  700. data/decidim-participatory_processes/spec/commands/create_category_spec.rb +10 -0
  701. data/{decidim-admin → decidim-participatory_processes}/spec/commands/create_participatory_process_admin_spec.rb +1 -1
  702. data/{decidim-admin → decidim-participatory_processes}/spec/commands/create_participatory_process_spec.rb +4 -2
  703. data/{decidim-admin → decidim-participatory_processes}/spec/commands/create_participatory_process_step_spec.rb +2 -2
  704. data/{decidim-admin → decidim-participatory_processes}/spec/commands/deactivate_participatory_process_step_spec.rb +1 -1
  705. data/decidim-participatory_processes/spec/commands/destroy_category_spec.rb +10 -0
  706. data/{decidim-admin → decidim-participatory_processes}/spec/commands/destroy_participatory_process_step_spec.rb +2 -2
  707. data/{decidim-admin → decidim-participatory_processes}/spec/commands/publish_participatory_process_spec.rb +1 -1
  708. data/{decidim-admin → decidim-participatory_processes}/spec/commands/reorder_participatory_process_steps_spec.rb +1 -1
  709. data/{decidim-admin → decidim-participatory_processes}/spec/commands/unpublish_participatory_process_spec.rb +1 -1
  710. data/decidim-participatory_processes/spec/commands/update_category_spec.rb +10 -0
  711. data/decidim-participatory_processes/spec/commands/update_participatory_process_spec.rb +121 -0
  712. data/decidim-participatory_processes/spec/controllers/exports_controller_spec.rb +53 -0
  713. data/decidim-participatory_processes/spec/controllers/participatory_processes_controller_spec.rb +122 -0
  714. data/decidim-participatory_processes/spec/factories.rb +6 -0
  715. data/{decidim-admin/spec/features → decidim-participatory_processes/spec/features/admin}/admin_copy_participatory_process_spec.rb +3 -3
  716. data/{decidim-admin/spec/features → decidim-participatory_processes/spec/features/admin}/admin_manages_participatory_process_admins_spec.rb +0 -0
  717. data/{decidim-admin/spec/features → decidim-participatory_processes/spec/features/admin}/admin_manages_participatory_process_attachments_spec.rb +0 -0
  718. data/{decidim-admin/spec/features → decidim-participatory_processes/spec/features/admin}/admin_manages_participatory_process_categories_spec.rb +1 -1
  719. data/decidim-participatory_processes/spec/features/admin/admin_manages_participatory_process_feature_permissions_spec.rb +14 -0
  720. data/{decidim-admin/spec/features/admin_manages_features_spec.rb → decidim-participatory_processes/spec/features/admin/admin_manages_participatory_process_features_spec.rb} +83 -51
  721. data/{decidim-admin/spec/features → decidim-participatory_processes/spec/features/admin}/admin_manages_participatory_process_groups_spec.rb +1 -1
  722. data/{decidim-admin/spec/features → decidim-participatory_processes/spec/features/admin}/admin_manages_participatory_process_steps_spec.rb +0 -0
  723. data/decidim-participatory_processes/spec/features/admin/admin_manages_participatory_processes_spec.rb +119 -0
  724. data/{decidim-admin/spec/features → decidim-participatory_processes/spec/features/admin}/admin_manages_user_groups_spec.rb +0 -0
  725. data/{decidim-admin/spec/features → decidim-participatory_processes/spec/features/admin}/participatory_process_admin_manages_participatory_process_admins_spec.rb +1 -1
  726. data/{decidim-admin/spec/features → decidim-participatory_processes/spec/features/admin}/participatory_process_admin_manages_participatory_process_attachments_spec.rb +0 -0
  727. data/{decidim-admin/spec/features → decidim-participatory_processes/spec/features/admin}/participatory_process_admin_manages_participatory_process_categories_spec.rb +1 -1
  728. data/{decidim-admin/spec/features → decidim-participatory_processes/spec/features/admin}/participatory_process_admin_manages_participatory_process_steps_spec.rb +0 -0
  729. data/{decidim-admin/spec/features → decidim-participatory_processes/spec/features/admin}/participatory_process_admin_manages_participatory_processes_spec.rb +2 -2
  730. data/{decidim-core → decidim-participatory_processes}/spec/features/participatory_process_groups_spec.rb +9 -10
  731. data/{decidim-core → decidim-participatory_processes}/spec/features/participatory_process_steps_spec.rb +1 -1
  732. data/{decidim-core → decidim-participatory_processes}/spec/features/participatory_processes_spec.rb +50 -8
  733. data/decidim-participatory_processes/spec/forms/category_form_spec.rb +16 -0
  734. data/decidim-participatory_processes/spec/forms/participatory_process_form_spec.rb +167 -0
  735. data/decidim-participatory_processes/spec/forms/participatory_process_group_form_spec.rb +84 -0
  736. data/decidim-participatory_processes/spec/forms/participatory_process_step_form_spec.rb +106 -0
  737. data/decidim-participatory_processes/spec/forms/participatory_process_user_role_form_spec.rb +36 -0
  738. data/decidim-participatory_processes/spec/helpers/decidim/participatory_processes/participatory_process_helper_spec.rb +43 -0
  739. data/decidim-participatory_processes/spec/helpers/decidim/scopes_helper_spec.rb +16 -0
  740. data/decidim-participatory_processes/spec/lib/features/participatory_processes/current_feature_spec.rb +90 -0
  741. data/decidim-participatory_processes/spec/models/abilities/admin/admin_ability_spec.rb +12 -0
  742. data/decidim-participatory_processes/spec/models/abilities/admin_ability_spec.rb +12 -0
  743. data/decidim-participatory_processes/spec/models/abilities/everyone_ability_spec.rb +13 -0
  744. data/{decidim-core → decidim-participatory_processes}/spec/models/decidim/participatory_process_spec.rb +0 -0
  745. data/{decidim-core → decidim-participatory_processes}/spec/models/decidim/participatory_process_step_spec.rb +0 -0
  746. data/{decidim-core/spec/presenters/decidim → decidim-participatory_processes/spec/presenters/decidim/participatory_processes}/participatory_process_stats_presenter.spec.rb +3 -3
  747. data/{decidim-admin/spec/queries → decidim-participatory_processes/spec/queries/admin}/process_admins_spec.rb +1 -1
  748. data/{decidim-core/spec/queries/decidim → decidim-participatory_processes/spec/queries}/organization_participatory_process_groups_spec.rb +1 -1
  749. data/{decidim-core/spec/queries/decidim → decidim-participatory_processes/spec/queries}/organization_participatory_processes_spec.rb +1 -1
  750. data/{decidim-core/spec/queries/decidim → decidim-participatory_processes/spec/queries}/organization_prioritized_participatory_processes_spec.rb +1 -1
  751. data/{decidim-core/spec/queries/decidim → decidim-participatory_processes/spec/queries}/organization_published_participatory_processes_spec.rb +1 -1
  752. data/{decidim-core/spec/queries/decidim → decidim-participatory_processes/spec/queries}/participatory_processes_with_user_role_spec.rb +0 -0
  753. data/{decidim-admin → decidim-participatory_processes}/spec/shared/manage_process_admins_examples.rb +13 -5
  754. data/{decidim-admin → decidim-participatory_processes}/spec/shared/manage_process_attachments_examples.rb +1 -1
  755. data/{decidim-admin → decidim-participatory_processes}/spec/shared/manage_process_categories_examples.rb +5 -5
  756. data/{decidim-admin → decidim-participatory_processes}/spec/shared/manage_process_steps_examples.rb +1 -1
  757. data/{decidim-admin → decidim-participatory_processes}/spec/shared/manage_processes_examples.rb +5 -5
  758. data/{decidim-admin → decidim-participatory_processes}/spec/shared/participatory_process_administration_by_admin_shared_context.rb +0 -0
  759. data/{decidim-admin → decidim-participatory_processes}/spec/shared/participatory_process_administration_by_process_admin_shared_context.rb +0 -0
  760. data/{decidim-admin → decidim-participatory_processes}/spec/shared/participatory_process_administration_shared_context.rb +0 -0
  761. data/decidim-participatory_processes/spec/spec_helper.rb +9 -0
  762. data/decidim-proposals/app/assets/images/decidim/proposals/icon.svg +3 -1
  763. data/decidim-proposals/app/forms/decidim/proposals/admin/proposal_form.rb +1 -1
  764. data/decidim-proposals/app/forms/decidim/proposals/proposal_form.rb +1 -1
  765. data/decidim-proposals/app/models/decidim/proposals/abilities/participatory_process_admin_ability.rb +2 -2
  766. data/decidim-proposals/app/models/decidim/proposals/abilities/participatory_process_moderator_ability.rb +1 -1
  767. data/decidim-proposals/app/models/decidim/proposals/proposal.rb +8 -15
  768. data/decidim-proposals/app/views/decidim/proposals/admin/proposals/_form.html.erb +2 -2
  769. data/decidim-proposals/app/views/decidim/proposals/admin/proposals/index.html.erb +7 -3
  770. data/decidim-proposals/app/views/decidim/proposals/proposals/_filters.html.erb +2 -2
  771. data/decidim-proposals/app/views/decidim/proposals/proposals/new.html.erb +2 -2
  772. data/decidim-proposals/app/views/decidim/proposals/proposals/show.html.erb +2 -1
  773. data/decidim-proposals/config/locales/ca.yml +8 -2
  774. data/decidim-proposals/config/locales/en.yml +3 -6
  775. data/decidim-proposals/config/locales/es.yml +8 -2
  776. data/decidim-proposals/config/locales/eu.yml +26 -9
  777. data/decidim-proposals/config/locales/fi.yml +32 -2
  778. data/decidim-proposals/config/locales/fr.yml +35 -15
  779. data/decidim-proposals/config/locales/it.yml +20 -2
  780. data/decidim-proposals/config/locales/nl.yml +160 -0
  781. data/decidim-proposals/config/locales/pl.yml +163 -0
  782. data/decidim-proposals/config/locales/uk.yml +171 -0
  783. data/decidim-proposals/db/migrate/20170307085300_migrate_proposal_reports_data_to_reports.rb +1 -1
  784. data/decidim-proposals/decidim-proposals.gemspec +1 -0
  785. data/decidim-proposals/lib/decidim/proposals/feature.rb +19 -17
  786. data/decidim-proposals/lib/decidim/proposals/test/factories.rb +6 -6
  787. data/decidim-proposals/spec/controllers/decidim/admin/proposal_answers_controller_spec.rb +1 -1
  788. data/decidim-proposals/spec/controllers/decidim/proposal_votes_controller_spec.rb +1 -2
  789. data/decidim-proposals/spec/controllers/decidim/proposals_controller_spec.rb +1 -2
  790. data/decidim-proposals/spec/factories.rb +1 -0
  791. data/decidim-proposals/spec/features/follow_proposals_spec.rb +13 -0
  792. data/decidim-proposals/spec/features/proposals_spec.rb +16 -16
  793. data/decidim-proposals/spec/features/report_proposal_spec.rb +1 -1
  794. data/decidim-proposals/spec/features/vote_proposal_spec.rb +4 -4
  795. data/decidim-proposals/spec/models/decidim/proposals/abilities/participatory_process_admin_ability.rb +1 -1
  796. data/decidim-proposals/spec/models/decidim/proposals/proposal_spec.rb +20 -43
  797. data/decidim-proposals/spec/queries/decidim/proposals/filtered_proposals_spec.rb +2 -2
  798. data/decidim-proposals/spec/services/decidim/proposals/proposal_search_spec.rb +3 -3
  799. data/decidim-proposals/spec/services/decidim/proposals/proposal_serializer_spec.rb +4 -4
  800. data/decidim-proposals/spec/shared/manage_proposals_examples.rb +45 -16
  801. data/decidim-proposals/spec/shared/proposal_form_examples.rb +1 -1
  802. data/decidim-proposals/spec/shared/proposals_help_texts_examples.rb +8 -2
  803. data/decidim-results/app/assets/images/decidim/results/icon.svg +3 -1
  804. data/decidim-results/app/forms/decidim/results/admin/result_form.rb +1 -1
  805. data/decidim-results/app/models/decidim/results/result.rb +5 -9
  806. data/decidim-results/app/views/decidim/results/admin/results/_form.html.erb +3 -3
  807. data/decidim-results/app/views/decidim/results/results/_filters.html.erb +1 -1
  808. data/decidim-results/app/views/decidim/results/results/show.html.erb +1 -0
  809. data/decidim-results/config/locales/ca.yml +3 -2
  810. data/decidim-results/config/locales/en.yml +0 -2
  811. data/decidim-results/config/locales/es.yml +4 -3
  812. data/decidim-results/config/locales/eu.yml +5 -4
  813. data/decidim-results/config/locales/fi.yml +8 -2
  814. data/decidim-results/config/locales/fr.yml +5 -4
  815. data/decidim-results/config/locales/it.yml +4 -2
  816. data/decidim-results/config/locales/nl.yml +75 -0
  817. data/decidim-results/config/locales/pl.yml +76 -0
  818. data/decidim-results/config/locales/uk.yml +82 -0
  819. data/decidim-results/decidim-results.gemspec +1 -0
  820. data/decidim-results/lib/decidim/results/feature.rb +5 -5
  821. data/decidim-results/lib/decidim/results/test/factories.rb +2 -2
  822. data/decidim-results/spec/commands/create_result_spec.rb +4 -4
  823. data/decidim-results/spec/commands/update_result_spec.rb +4 -4
  824. data/decidim-results/spec/factories.rb +1 -0
  825. data/decidim-results/spec/features/comments_spec.rb +2 -2
  826. data/decidim-results/spec/features/explore_results_spec.rb +3 -3
  827. data/decidim-results/spec/features/follow_result_spec.rb +13 -0
  828. data/decidim-results/spec/forms/result_form_spec.rb +3 -3
  829. data/decidim-results/spec/models/result_spec.rb +20 -0
  830. data/decidim-results/spec/queries/decidim/results/filtered_results_spec.rb +2 -2
  831. data/decidim-results/spec/services/result_search_spec.rb +1 -1
  832. data/decidim-results/spec/services/result_stats_calculator_spec.rb +4 -4
  833. data/decidim-surveys/app/assets/images/decidim/surveys/icon.svg +8 -1
  834. data/decidim-surveys/app/helpers/decidim/surveys/admin/application_helper.rb +0 -4
  835. data/decidim-surveys/app/models/decidim/surveys/abilities/participatory_process_admin_ability.rb +1 -1
  836. data/decidim-surveys/app/views/decidim/surveys/admin/surveys/_question.html.erb +8 -1
  837. data/decidim-surveys/config/locales/ca.yml +4 -3
  838. data/decidim-surveys/config/locales/en.yml +3 -9
  839. data/decidim-surveys/config/locales/es.yml +4 -3
  840. data/decidim-surveys/config/locales/eu.yml +1 -3
  841. data/decidim-surveys/config/locales/fi.yml +64 -0
  842. data/decidim-surveys/config/locales/fr.yml +5 -4
  843. data/decidim-surveys/config/locales/it.yml +64 -0
  844. data/decidim-surveys/config/locales/nl.yml +64 -0
  845. data/decidim-surveys/config/locales/pl.yml +64 -0
  846. data/decidim-surveys/config/locales/uk.yml +69 -0
  847. data/decidim-surveys/decidim-surveys.gemspec +1 -0
  848. data/decidim-surveys/lib/decidim/surveys/admin_engine.rb +1 -1
  849. data/decidim-surveys/lib/decidim/surveys/feature.rb +3 -3
  850. data/decidim-surveys/lib/decidim/surveys/test/factories.rb +2 -2
  851. data/decidim-surveys/spec/commands/decidim/surveys/admin/update_survey_spec.rb +1 -1
  852. data/decidim-surveys/spec/commands/decidim/surveys/answer_survey_spec.rb +1 -1
  853. data/decidim-surveys/spec/factories.rb +1 -0
  854. data/decidim-surveys/spec/features/survey_spec.rb +1 -1
  855. data/decidim-surveys/spec/forms/decidim/surveys/survey_answer_form_spec.rb +1 -1
  856. data/decidim-surveys/spec/models/decidim/surveys/abilities/current_user_ability_spec.rb +1 -1
  857. data/decidim-surveys/spec/models/decidim/surveys/survey_answer_spec.rb +1 -1
  858. data/decidim-surveys/spec/models/decidim/surveys/survey_spec.rb +1 -1
  859. data/decidim-system/app/forms/decidim/system/register_organization_form.rb +1 -1
  860. data/decidim-system/app/views/decidim/system/organizations/new.html.erb +1 -0
  861. data/decidim-system/config/locales/ca.yml +3 -3
  862. data/decidim-system/config/locales/en.yml +2 -3
  863. data/decidim-system/config/locales/es.yml +4 -4
  864. data/decidim-system/config/locales/eu.yml +6 -7
  865. data/decidim-system/config/locales/fi.yml +9 -3
  866. data/decidim-system/config/locales/fr.yml +11 -8
  867. data/decidim-system/config/locales/it.yml +8 -3
  868. data/decidim-system/config/locales/nl.yml +66 -0
  869. data/decidim-system/config/locales/pl.yml +66 -0
  870. data/decidim-system/config/locales/uk.yml +71 -0
  871. data/decidim-system/decidim-system.gemspec +1 -1
  872. data/decidim.gemspec +1 -0
  873. data/docs/create_followers_from_comment_authors.md +12 -0
  874. data/docs/create_followers_from_resource_authors.md +19 -0
  875. data/docs/how_to_create_a_plugin.md +2 -2
  876. data/lib/decidim.rb +9 -0
  877. data/lib/generators/decidim/app_generator.rb +11 -5
  878. data/lib/generators/decidim/install_generator.rb +1 -1
  879. data/lib/generators/decidim/templates/Dockerfile.erb +1 -1
  880. data/lib/generators/decidim/templates/Gemfile.erb +30 -29
  881. data/lib/generators/decidim/templates/database.yml.erb +2 -0
  882. data/package-lock.json +1 -1
  883. data/package.json +1 -1
  884. data/spec/generator_spec.rb +31 -0
  885. data/{decidim-dev/lib/decidim/dev/test/i18n_shared_examples.rb → spec/i18n_spec.rb} +2 -2
  886. metadata +512 -236
  887. data/decidim-admin/app/commands/decidim/admin/activate_participatory_process_step.rb +0 -44
  888. data/decidim-admin/app/commands/decidim/admin/copy_participatory_process.rb +0 -113
  889. data/decidim-admin/app/commands/decidim/admin/create_participatory_process.rb +0 -78
  890. data/decidim-admin/app/commands/decidim/admin/create_participatory_process_admin.rb +0 -93
  891. data/decidim-admin/app/commands/decidim/admin/create_participatory_process_group.rb +0 -55
  892. data/decidim-admin/app/commands/decidim/admin/create_participatory_process_step.rb +0 -47
  893. data/decidim-admin/app/commands/decidim/admin/deactivate_participatory_process_step.rb +0 -36
  894. data/decidim-admin/app/commands/decidim/admin/destroy_participatory_process_step.rb +0 -44
  895. data/decidim-admin/app/commands/decidim/admin/publish_participatory_process.rb +0 -32
  896. data/decidim-admin/app/commands/decidim/admin/reorder_participatory_process_steps.rb +0 -52
  897. data/decidim-admin/app/commands/decidim/admin/unpublish_participatory_process.rb +0 -32
  898. data/decidim-admin/app/commands/decidim/admin/update_participatory_process.rb +0 -74
  899. data/decidim-admin/app/commands/decidim/admin/update_participatory_process_admin.rb +0 -41
  900. data/decidim-admin/app/commands/decidim/admin/update_participatory_process_group.rb +0 -58
  901. data/decidim-admin/app/commands/decidim/admin/update_participatory_process_step.rb +0 -49
  902. data/decidim-admin/app/controllers/decidim/admin/concerns/participatory_process_admin.rb +0 -20
  903. data/decidim-admin/app/controllers/decidim/admin/participatory_process_attachments_controller.rb +0 -25
  904. data/decidim-admin/app/controllers/decidim/admin/participatory_process_copies_controller.rb +0 -33
  905. data/decidim-admin/app/controllers/decidim/admin/participatory_process_groups_controller.rb +0 -86
  906. data/decidim-admin/app/controllers/decidim/admin/participatory_process_publications_controller.rb +0 -43
  907. data/decidim-admin/app/controllers/decidim/admin/participatory_process_step_activations_controller.rb +0 -37
  908. data/decidim-admin/app/controllers/decidim/admin/participatory_process_step_ordering_controller.rb +0 -27
  909. data/decidim-admin/app/controllers/decidim/admin/participatory_process_steps_controller.rb +0 -89
  910. data/decidim-admin/app/controllers/decidim/admin/participatory_process_user_roles_controller.rb +0 -97
  911. data/decidim-admin/app/controllers/decidim/admin/participatory_processes_controller.rb +0 -96
  912. data/decidim-admin/app/forms/decidim/admin/participatory_process_copy_form.rb +0 -33
  913. data/decidim-admin/app/forms/decidim/admin/participatory_process_form.rb +0 -69
  914. data/decidim-admin/app/forms/decidim/admin/participatory_process_group_form.rb +0 -24
  915. data/decidim-admin/app/forms/decidim/admin/participatory_process_step_form.rb +0 -35
  916. data/decidim-admin/app/forms/decidim/admin/participatory_process_user_role_form.rb +0 -29
  917. data/decidim-admin/app/helpers/decidim/admin/process_groups_for_select_helper.rb +0 -21
  918. data/decidim-admin/app/helpers/decidim/admin/processes_for_select_helper.rb +0 -23
  919. data/decidim-admin/app/queries/decidim/admin/process_admins.rb +0 -44
  920. data/decidim-admin/app/views/decidim/admin/participatory_process_copies/new.html.erb +0 -7
  921. data/decidim-admin/app/views/decidim/admin/participatory_process_steps/new.html.erb +0 -7
  922. data/decidim-admin/app/views/decidim/admin/participatory_process_user_roles/new.html.erb +0 -7
  923. data/decidim-admin/config/i18n-tasks.yml +0 -132
  924. data/decidim-admin/spec/commands/update_participatory_process_spec.rb +0 -119
  925. data/decidim-admin/spec/controllers/exports_controller_spec.rb +0 -51
  926. data/decidim-admin/spec/features/admin_manages_participatory_processes_spec.rb +0 -115
  927. data/decidim-admin/spec/forms/participatory_process_form_spec.rb +0 -165
  928. data/decidim-admin/spec/forms/participatory_process_group_form_spec.rb +0 -82
  929. data/decidim-admin/spec/forms/participatory_process_step_form_spec.rb +0 -104
  930. data/decidim-admin/spec/forms/participatory_process_user_role_form_spec.rb +0 -34
  931. data/decidim-admin/spec/i18n_spec.rb +0 -7
  932. data/decidim-api/spec/i18n_spec.rb +0 -7
  933. data/decidim-budgets/config/i18n-tasks.yml +0 -12
  934. data/decidim-budgets/spec/i18n_spec.rb +0 -7
  935. data/decidim-comments/app/mailers/decidim/comments/comment_notification_mailer.rb +0 -44
  936. data/decidim-comments/app/views/decidim/comments/comment_notification_mailer/comment_created.html.erb +0 -18
  937. data/decidim-comments/app/views/decidim/comments/comment_notification_mailer/reply_created.html.erb +0 -18
  938. data/decidim-comments/config/i18n-tasks.yml +0 -123
  939. data/decidim-comments/spec/features/notifications_spec.rb +0 -36
  940. data/decidim-comments/spec/i18n_spec.rb +0 -7
  941. data/decidim-comments/spec/mailers/comment_notification_mailer_spec.rb +0 -43
  942. data/decidim-core/app/assets/images/decidim/process.svg +0 -10
  943. data/decidim-core/app/constraints/decidim/current_participatory_process.rb +0 -35
  944. data/decidim-core/app/controllers/concerns/decidim/needs_participatory_process.rb +0 -46
  945. data/decidim-core/app/controllers/decidim/participatory_process_groups_controller.rb +0 -26
  946. data/decidim-core/app/controllers/decidim/participatory_process_steps_controller.rb +0 -18
  947. data/decidim-core/app/controllers/decidim/participatory_process_widgets_controller.rb +0 -19
  948. data/decidim-core/app/controllers/decidim/participatory_processes_controller.rb +0 -49
  949. data/decidim-core/app/helpers/decidim/participatory_process_helper.rb +0 -17
  950. data/decidim-core/app/helpers/decidim/participatory_process_steps_helper.rb +0 -18
  951. data/decidim-core/app/presenters/decidim/participatory_process_stats_presenter.rb +0 -50
  952. data/decidim-core/app/queries/decidim/highlighted_participatory_processes.rb +0 -10
  953. data/decidim-core/app/queries/decidim/organization_participatory_process_groups.rb +0 -14
  954. data/decidim-core/app/queries/decidim/organization_participatory_processes.rb +0 -14
  955. data/decidim-core/app/queries/decidim/organization_prioritized_participatory_processes.rb +0 -18
  956. data/decidim-core/app/queries/decidim/organization_published_participatory_processes.rb +0 -17
  957. data/decidim-core/app/queries/decidim/prioritized_participatory_processes.rb +0 -11
  958. data/decidim-core/app/queries/decidim/promoted_participatory_processes.rb +0 -10
  959. data/decidim-core/app/queries/decidim/published_participatory_processes.rb +0 -10
  960. data/decidim-core/app/views/decidim/participatory_processes/_no_processes_yet.html.erb +0 -3
  961. data/decidim-core/app/views/decidim/participatory_processes/_order_by_processes.html.erb +0 -3
  962. data/decidim-core/lib/decidim/notifiable.rb +0 -22
  963. data/decidim-core/spec/controllers/participatory_processes_controller_spec.rb +0 -117
  964. data/decidim-core/spec/helpers/decidim/participatory_process_helper_spec.rb +0 -41
  965. data/decidim-core/spec/helpers/decidim/scopes_helper_spec.rb +0 -40
  966. data/decidim-core/spec/i18n_spec.rb +0 -7
  967. data/decidim-dev/config/i18n-tasks.yml +0 -6
  968. data/decidim-dev/spec/i18n_spec.rb +0 -7
  969. data/decidim-meetings/config/i18n-tasks.yml +0 -10
  970. data/decidim-meetings/spec/i18n_spec.rb +0 -7
  971. data/decidim-pages/config/i18n-tasks.yml +0 -6
  972. data/decidim-pages/spec/features/comments_spec.rb +0 -11
  973. data/decidim-pages/spec/i18n_spec.rb +0 -7
  974. data/decidim-proposals/config/i18n-tasks.yml +0 -15
  975. data/decidim-proposals/spec/i18n_spec.rb +0 -7
  976. data/decidim-results/config/i18n-tasks.yml +0 -11
  977. data/decidim-results/spec/i18n_spec.rb +0 -7
  978. data/decidim-surveys/config/i18n-tasks.yml +0 -9
  979. data/decidim-system/config/i18n-tasks.yml +0 -122
  980. data/decidim-system/spec/i18n_spec.rb +0 -7
@@ -0,0 +1,19 @@
1
+ # Create followers from resource authors
2
+
3
+ Run the following script to make all resource authors follow the resource:
4
+
5
+ ```ruby
6
+ Decidim.feature_manifests.each do |feature_manifest|
7
+ feature_manifest.resource_manifests.each do |resource_manifest|
8
+ klass = resource_manifest.model_class_name.constantize
9
+ next unless klass.included_modules.include? Decidim::Authorable
10
+
11
+ klass.includes(:author).find_each do |resource|
12
+ begin
13
+ Decidim::Follow.create!(followable: resource, user: resource.author) if resource.author.present?
14
+ rescue
15
+ end
16
+ end
17
+ end
18
+ end; p 1
19
+ ```
@@ -125,8 +125,8 @@
125
125
  # Register some stat number to the application
126
126
  end
127
127
 
128
- feature.seeds do |process|
129
- # Define seeds for a specific participatory process
128
+ feature.seeds do |participatory_space|
129
+ # Define seeds for a specific participatory_space object
130
130
  end
131
131
  end
132
132
  ```
data/lib/decidim.rb CHANGED
@@ -4,6 +4,15 @@ require "decidim/core"
4
4
  require "decidim/system"
5
5
  require "decidim/admin"
6
6
  require "decidim/api"
7
+
8
+ require "decidim/participatory_processes"
9
+
10
+ begin
11
+ require "decidim/assemblies"
12
+ rescue LoadError
13
+ nil
14
+ end
15
+
7
16
  require "decidim/pages"
8
17
  require "decidim/comments"
9
18
  require "decidim/meetings"
@@ -21,11 +21,17 @@ module Decidim
21
21
  def source_paths
22
22
  [
23
23
  File.expand_path("templates", __dir__),
24
- File.expand_path(File.join(Gem::Specification
25
- .find_by_name("railties").gem_dir,
26
- "lib", "rails", "generators", "rails",
27
- "app", "templates"))
28
-
24
+ File.expand_path(
25
+ File.join(
26
+ Gem::Specification.find_by_name("railties").gem_dir,
27
+ "lib",
28
+ "rails",
29
+ "generators",
30
+ "rails",
31
+ "app",
32
+ "templates"
33
+ )
34
+ )
29
35
  ]
30
36
  end
31
37
 
@@ -96,7 +96,7 @@ module Decidim
96
96
  route <<~RUBY.gsub(/^ *\|/, "")
97
97
  |
98
98
  | if Rails.env.development?
99
- | mount LetterOpenerWeb::Engine, at: "/letter_opener"
99
+ | mount LetterOpenerWeb::Engine, at: "/letter_opener"
100
100
  | end
101
101
  RUBY
102
102
 
@@ -10,7 +10,7 @@ ENV SECRET_KEY_BASE $secret_key_base
10
10
 
11
11
  RUN apt-get update
12
12
 
13
- RUN curl -sL https://deb.nodesource.com/setup_5.x | bash && \
13
+ RUN curl -sL https://deb.nodesource.com/setup_8.x | bash && \
14
14
  apt-get install -y nodejs
15
15
 
16
16
  ADD Gemfile /tmp/Gemfile
@@ -1,39 +1,40 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- ruby '<%= RUBY_VERSION %>'
4
- <% if options[:path] %>
5
- gem "decidim", path: "<%= options[:path] %>"
6
- <% elsif options[:edge] %>
7
- gem "decidim", git: 'https://github.com/decidim/decidim.git'
8
- <% elsif options[:branch] %>
9
- gem "decidim", git: 'https://github.com/decidim/decidim.git', branch: "<%= options[:branch] %>"
10
- <% else %>
11
- gem "decidim", "<%= Gem::Specification.find_by_name("decidim").version %>"
12
- <% end %>
13
- gem 'puma', '~> 3.0'
14
- gem 'uglifier', '>= 1.3.0'
15
- gem 'faker', "<%= Decidim.faker_version %>"
3
+ ruby "<%= RUBY_VERSION %>"
4
+
5
+ <%- gem_modifier = if options[:path]
6
+ "path: \"#{options[:path]}\""
7
+ elsif options[:edge]
8
+ "git: \"https://github.com/decidim/decidim.git\""
9
+ elsif options[:branch]
10
+ "git: \"https://github.com/decidim/decidim.git\", branch: \"#{options[:branch]}\""
11
+ else
12
+ "\"#{Decidim.version}\""
13
+ end -%>
14
+
15
+ gem "decidim", <%= gem_modifier %>
16
+
17
+ # Uncomment the following line if you want to use decidim-assemblies plugin
18
+ # gem "decidim-assemblies", <%= gem_modifier %>
19
+
20
+ gem "puma", "~> 3.0"
21
+ gem "uglifier", ">= 1.3.0"
22
+
23
+ gem "faker", "<%= Decidim.faker_version %>"
16
24
 
17
25
  group :development, :test do
18
- gem 'byebug', platform: :mri
19
- <% if options[:path] %>
20
- gem "decidim-dev", path: "<%= options[:path] %>"
21
- <% elsif options[:edge] %>
22
- gem "decidim-dev", git: 'https://github.com/decidim/decidim.git'
23
- <% elsif options[:branch] %>
24
- gem "decidim-dev", git: 'https://github.com/decidim/decidim.git', branch: "<%= options[:branch] %>"
25
- <% else %>
26
- gem "decidim-dev", "<%= Gem::Specification.find_by_name("decidim").version %>"
27
- <% end %>
26
+ gem "byebug", platform: :mri
27
+
28
+ gem "decidim-dev", <%= gem_modifier %>
28
29
  end
29
30
 
30
31
  group :development do
31
- gem 'web-console'
32
- gem 'listen', '~> 3.1.0'
33
- gem 'spring'
34
- gem 'spring-watcher-listen', '~> 2.0.0'
35
- gem 'letter_opener_web', '~> 1.3.0'
32
+ gem "web-console"
33
+ gem "listen", "~> 3.1.0"
34
+ gem "spring"
35
+ gem "spring-watcher-listen", "~> 2.0.0"
36
+ gem "letter_opener_web", "~> 1.3.0"
36
37
  end
37
38
 
38
39
  # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
39
- gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
40
+ gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
@@ -14,6 +14,8 @@
14
14
  # Configure Using Gemfile
15
15
  # gem 'pg'
16
16
  #
17
+ # On Linux, the 'host: "localhost"' line below should be commented out to avoid 'password required' error.
18
+ #
17
19
  default: &default
18
20
  adapter: postgresql
19
21
  encoding: unicode
data/package-lock.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "decidim",
3
- "version": "0.5.1",
3
+ "version": "0.6.0",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "decidim",
3
- "version": "0.5.1",
3
+ "version": "0.6.0",
4
4
  "repository": {
5
5
  "url": "git@github.com:decidim/decidim.git",
6
6
  "type": "git"
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ describe "Application generation" do
4
+ let(:status) { system(command, out: File::NULL) }
5
+
6
+ after { FileUtils.rm_rf("tmp/test_app") }
7
+
8
+ context "with edge argument" do
9
+ let(:command) { "bin/decidim --edge tmp/test_app" }
10
+
11
+ it "successfully generates application" do
12
+ expect(status).to eq(true)
13
+ end
14
+ end
15
+
16
+ context "with branch argument" do
17
+ let(:command) { "bin/decidim --branch master tmp/test_app" }
18
+
19
+ it "successfully generates application" do
20
+ expect(status).to eq(true)
21
+ end
22
+ end
23
+
24
+ context "with path argument" do
25
+ let(:command) { "bin/decidim --path #{File.expand_path("..", __dir__)} tmp/test_app" }
26
+
27
+ it "successfully generates application" do
28
+ expect(status).to eq(true)
29
+ end
30
+ end
31
+ end
@@ -2,7 +2,7 @@
2
2
 
3
3
  require "i18n/tasks"
4
4
 
5
- shared_examples_for "I18n sanity" do
5
+ describe "I18n sanity" do
6
6
  let(:locales) do
7
7
  ENV["ENFORCED_LOCALES"].present? ? ENV["ENFORCED_LOCALES"].split(",") : [:en]
8
8
  end
@@ -29,7 +29,7 @@ shared_examples_for "I18n sanity" do
29
29
  end
30
30
 
31
31
  def locale_hashes
32
- Dir.glob("config/locales/**/*.yml").inject({}) do |results, file|
32
+ Dir.glob("decidim-*/config/locales/**/*.yml").inject({}) do |results, file|
33
33
  md5 = Digest::MD5.file(file).hexdigest
34
34
  results.merge(file => md5)
35
35
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.6.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: 2017-08-21 00:00:00.000000000 Z
13
+ date: 2017-09-15 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: decidim-core
@@ -18,154 +18,168 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.5.1
21
+ version: 0.6.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.5.1
28
+ version: 0.6.0
29
+ - !ruby/object:Gem::Dependency
30
+ name: decidim-participatory_processes
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - '='
34
+ - !ruby/object:Gem::Version
35
+ version: 0.6.0
36
+ type: :runtime
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - '='
41
+ - !ruby/object:Gem::Version
42
+ version: 0.6.0
29
43
  - !ruby/object:Gem::Dependency
30
44
  name: decidim-system
31
45
  requirement: !ruby/object:Gem::Requirement
32
46
  requirements:
33
47
  - - '='
34
48
  - !ruby/object:Gem::Version
35
- version: 0.5.1
49
+ version: 0.6.0
36
50
  type: :runtime
37
51
  prerelease: false
38
52
  version_requirements: !ruby/object:Gem::Requirement
39
53
  requirements:
40
54
  - - '='
41
55
  - !ruby/object:Gem::Version
42
- version: 0.5.1
56
+ version: 0.6.0
43
57
  - !ruby/object:Gem::Dependency
44
58
  name: decidim-admin
45
59
  requirement: !ruby/object:Gem::Requirement
46
60
  requirements:
47
61
  - - '='
48
62
  - !ruby/object:Gem::Version
49
- version: 0.5.1
63
+ version: 0.6.0
50
64
  type: :runtime
51
65
  prerelease: false
52
66
  version_requirements: !ruby/object:Gem::Requirement
53
67
  requirements:
54
68
  - - '='
55
69
  - !ruby/object:Gem::Version
56
- version: 0.5.1
70
+ version: 0.6.0
57
71
  - !ruby/object:Gem::Dependency
58
72
  name: decidim-api
59
73
  requirement: !ruby/object:Gem::Requirement
60
74
  requirements:
61
75
  - - '='
62
76
  - !ruby/object:Gem::Version
63
- version: 0.5.1
77
+ version: 0.6.0
64
78
  type: :runtime
65
79
  prerelease: false
66
80
  version_requirements: !ruby/object:Gem::Requirement
67
81
  requirements:
68
82
  - - '='
69
83
  - !ruby/object:Gem::Version
70
- version: 0.5.1
84
+ version: 0.6.0
71
85
  - !ruby/object:Gem::Dependency
72
86
  name: decidim-pages
73
87
  requirement: !ruby/object:Gem::Requirement
74
88
  requirements:
75
89
  - - '='
76
90
  - !ruby/object:Gem::Version
77
- version: 0.5.1
91
+ version: 0.6.0
78
92
  type: :runtime
79
93
  prerelease: false
80
94
  version_requirements: !ruby/object:Gem::Requirement
81
95
  requirements:
82
96
  - - '='
83
97
  - !ruby/object:Gem::Version
84
- version: 0.5.1
98
+ version: 0.6.0
85
99
  - !ruby/object:Gem::Dependency
86
100
  name: decidim-comments
87
101
  requirement: !ruby/object:Gem::Requirement
88
102
  requirements:
89
103
  - - '='
90
104
  - !ruby/object:Gem::Version
91
- version: 0.5.1
105
+ version: 0.6.0
92
106
  type: :runtime
93
107
  prerelease: false
94
108
  version_requirements: !ruby/object:Gem::Requirement
95
109
  requirements:
96
110
  - - '='
97
111
  - !ruby/object:Gem::Version
98
- version: 0.5.1
112
+ version: 0.6.0
99
113
  - !ruby/object:Gem::Dependency
100
114
  name: decidim-meetings
101
115
  requirement: !ruby/object:Gem::Requirement
102
116
  requirements:
103
117
  - - '='
104
118
  - !ruby/object:Gem::Version
105
- version: 0.5.1
119
+ version: 0.6.0
106
120
  type: :runtime
107
121
  prerelease: false
108
122
  version_requirements: !ruby/object:Gem::Requirement
109
123
  requirements:
110
124
  - - '='
111
125
  - !ruby/object:Gem::Version
112
- version: 0.5.1
126
+ version: 0.6.0
113
127
  - !ruby/object:Gem::Dependency
114
128
  name: decidim-proposals
115
129
  requirement: !ruby/object:Gem::Requirement
116
130
  requirements:
117
131
  - - '='
118
132
  - !ruby/object:Gem::Version
119
- version: 0.5.1
133
+ version: 0.6.0
120
134
  type: :runtime
121
135
  prerelease: false
122
136
  version_requirements: !ruby/object:Gem::Requirement
123
137
  requirements:
124
138
  - - '='
125
139
  - !ruby/object:Gem::Version
126
- version: 0.5.1
140
+ version: 0.6.0
127
141
  - !ruby/object:Gem::Dependency
128
142
  name: decidim-results
129
143
  requirement: !ruby/object:Gem::Requirement
130
144
  requirements:
131
145
  - - '='
132
146
  - !ruby/object:Gem::Version
133
- version: 0.5.1
147
+ version: 0.6.0
134
148
  type: :runtime
135
149
  prerelease: false
136
150
  version_requirements: !ruby/object:Gem::Requirement
137
151
  requirements:
138
152
  - - '='
139
153
  - !ruby/object:Gem::Version
140
- version: 0.5.1
154
+ version: 0.6.0
141
155
  - !ruby/object:Gem::Dependency
142
156
  name: decidim-budgets
143
157
  requirement: !ruby/object:Gem::Requirement
144
158
  requirements:
145
159
  - - '='
146
160
  - !ruby/object:Gem::Version
147
- version: 0.5.1
161
+ version: 0.6.0
148
162
  type: :runtime
149
163
  prerelease: false
150
164
  version_requirements: !ruby/object:Gem::Requirement
151
165
  requirements:
152
166
  - - '='
153
167
  - !ruby/object:Gem::Version
154
- version: 0.5.1
168
+ version: 0.6.0
155
169
  - !ruby/object:Gem::Dependency
156
170
  name: decidim-surveys
157
171
  requirement: !ruby/object:Gem::Requirement
158
172
  requirements:
159
173
  - - '='
160
174
  - !ruby/object:Gem::Version
161
- version: 0.5.1
175
+ version: 0.6.0
162
176
  type: :runtime
163
177
  prerelease: false
164
178
  version_requirements: !ruby/object:Gem::Requirement
165
179
  requirements:
166
180
  - - '='
167
181
  - !ruby/object:Gem::Version
168
- version: 0.5.1
182
+ version: 0.6.0
169
183
  - !ruby/object:Gem::Dependency
170
184
  name: bundler
171
185
  requirement: !ruby/object:Gem::Requirement
@@ -245,13 +259,13 @@ files:
245
259
  - Rakefile
246
260
  - bin/decidim
247
261
  - codecov.yml
262
+ - config/i18n-tasks.yml
248
263
  - crowdin.yaml
249
264
  - decidim-admin/README.md
250
265
  - decidim-admin/Rakefile
251
266
  - decidim-admin/app/assets/config/decidim_admin_manifest.js
252
267
  - decidim-admin/app/assets/images/decidim/admin/.keep
253
268
  - decidim-admin/app/assets/javascripts/decidim/admin/application.js.es6
254
- - decidim-admin/app/assets/javascripts/decidim/admin/participatory_processes.js.es6
255
269
  - decidim-admin/app/assets/javascripts/decidim/admin/scopes.js.es6
256
270
  - decidim-admin/app/assets/javascripts/decidim/admin/select2.js.es6
257
271
  - decidim-admin/app/assets/javascripts/decidim/admin/sort_list.component.js.es6
@@ -268,6 +282,7 @@ files:
268
282
  - decidim-admin/app/assets/stylesheets/decidim/admin/extra/_email_preview.scss
269
283
  - decidim-admin/app/assets/stylesheets/decidim/admin/extra/_label-required.scss
270
284
  - decidim-admin/app/assets/stylesheets/decidim/admin/extra/_login.scss
285
+ - decidim-admin/app/assets/stylesheets/decidim/admin/extra/_quill.scss
271
286
  - decidim-admin/app/assets/stylesheets/decidim/admin/extra/_select_multiple.scss
272
287
  - decidim-admin/app/assets/stylesheets/decidim/admin/extra/_sort.scss
273
288
  - decidim-admin/app/assets/stylesheets/decidim/admin/extra/_title_bar.scss
@@ -320,33 +335,22 @@ files:
320
335
  - decidim-admin/app/assets/stylesheets/decidim/admin/vendor/mathsass/helpers/_rad-to-deg.scss
321
336
  - decidim-admin/app/assets/stylesheets/decidim/admin/vendor/mathsass/helpers/_strip-unit.scss
322
337
  - decidim-admin/app/assets/stylesheets/decidim/admin/vendor/mathsass/helpers/_unitless-rad.scss
323
- - decidim-admin/app/commands/decidim/admin/activate_participatory_process_step.rb
324
338
  - decidim-admin/app/commands/decidim/admin/close_session_managed_user.rb
325
- - decidim-admin/app/commands/decidim/admin/copy_participatory_process.rb
326
339
  - decidim-admin/app/commands/decidim/admin/create_attachment.rb
327
340
  - decidim-admin/app/commands/decidim/admin/create_category.rb
328
341
  - decidim-admin/app/commands/decidim/admin/create_feature.rb
329
342
  - decidim-admin/app/commands/decidim/admin/create_managed_user.rb
330
343
  - decidim-admin/app/commands/decidim/admin/create_newsletter.rb
331
- - decidim-admin/app/commands/decidim/admin/create_participatory_process.rb
332
- - decidim-admin/app/commands/decidim/admin/create_participatory_process_admin.rb
333
- - decidim-admin/app/commands/decidim/admin/create_participatory_process_group.rb
334
- - decidim-admin/app/commands/decidim/admin/create_participatory_process_step.rb
335
344
  - decidim-admin/app/commands/decidim/admin/create_scope.rb
336
345
  - decidim-admin/app/commands/decidim/admin/create_scope_type.rb
337
346
  - decidim-admin/app/commands/decidim/admin/create_static_page.rb
338
- - decidim-admin/app/commands/decidim/admin/deactivate_participatory_process_step.rb
339
347
  - decidim-admin/app/commands/decidim/admin/deliver_newsletter.rb
340
348
  - decidim-admin/app/commands/decidim/admin/destroy_category.rb
341
349
  - decidim-admin/app/commands/decidim/admin/destroy_feature.rb
342
- - decidim-admin/app/commands/decidim/admin/destroy_participatory_process_step.rb
343
350
  - decidim-admin/app/commands/decidim/admin/hide_resource.rb
344
351
  - decidim-admin/app/commands/decidim/admin/impersonate_managed_user.rb
345
352
  - decidim-admin/app/commands/decidim/admin/promote_managed_user.rb
346
- - decidim-admin/app/commands/decidim/admin/publish_participatory_process.rb
347
353
  - decidim-admin/app/commands/decidim/admin/reject_user_group.rb
348
- - decidim-admin/app/commands/decidim/admin/reorder_participatory_process_steps.rb
349
- - decidim-admin/app/commands/decidim/admin/unpublish_participatory_process.rb
350
354
  - decidim-admin/app/commands/decidim/admin/unreport_resource.rb
351
355
  - decidim-admin/app/commands/decidim/admin/update_attachment.rb
352
356
  - decidim-admin/app/commands/decidim/admin/update_category.rb
@@ -354,10 +358,6 @@ files:
354
358
  - decidim-admin/app/commands/decidim/admin/update_feature_permissions.rb
355
359
  - decidim-admin/app/commands/decidim/admin/update_newsletter.rb
356
360
  - decidim-admin/app/commands/decidim/admin/update_organization.rb
357
- - decidim-admin/app/commands/decidim/admin/update_participatory_process.rb
358
- - decidim-admin/app/commands/decidim/admin/update_participatory_process_admin.rb
359
- - decidim-admin/app/commands/decidim/admin/update_participatory_process_group.rb
360
- - decidim-admin/app/commands/decidim/admin/update_participatory_process_step.rb
361
361
  - decidim-admin/app/commands/decidim/admin/update_scope.rb
362
362
  - decidim-admin/app/commands/decidim/admin/update_scope_type.rb
363
363
  - decidim-admin/app/commands/decidim/admin/update_static_page.rb
@@ -367,7 +367,6 @@ files:
367
367
  - decidim-admin/app/controllers/decidim/admin/application_controller.rb
368
368
  - decidim-admin/app/controllers/decidim/admin/categories_controller.rb
369
369
  - decidim-admin/app/controllers/decidim/admin/concerns/has_attachments.rb
370
- - decidim-admin/app/controllers/decidim/admin/concerns/participatory_process_admin.rb
371
370
  - decidim-admin/app/controllers/decidim/admin/dashboard_controller.rb
372
371
  - decidim-admin/app/controllers/decidim/admin/exports_controller.rb
373
372
  - decidim-admin/app/controllers/decidim/admin/feature_permissions_controller.rb
@@ -379,15 +378,6 @@ files:
379
378
  - decidim-admin/app/controllers/decidim/admin/moderations_controller.rb
380
379
  - decidim-admin/app/controllers/decidim/admin/newsletters_controller.rb
381
380
  - decidim-admin/app/controllers/decidim/admin/organization_controller.rb
382
- - decidim-admin/app/controllers/decidim/admin/participatory_process_attachments_controller.rb
383
- - decidim-admin/app/controllers/decidim/admin/participatory_process_copies_controller.rb
384
- - decidim-admin/app/controllers/decidim/admin/participatory_process_groups_controller.rb
385
- - decidim-admin/app/controllers/decidim/admin/participatory_process_publications_controller.rb
386
- - decidim-admin/app/controllers/decidim/admin/participatory_process_step_activations_controller.rb
387
- - decidim-admin/app/controllers/decidim/admin/participatory_process_step_ordering_controller.rb
388
- - decidim-admin/app/controllers/decidim/admin/participatory_process_steps_controller.rb
389
- - decidim-admin/app/controllers/decidim/admin/participatory_process_user_roles_controller.rb
390
- - decidim-admin/app/controllers/decidim/admin/participatory_processes_controller.rb
391
381
  - decidim-admin/app/controllers/decidim/admin/scope_types_controller.rb
392
382
  - decidim-admin/app/controllers/decidim/admin/scopes_controller.rb
393
383
  - decidim-admin/app/controllers/decidim/admin/static_pages_controller.rb
@@ -401,11 +391,6 @@ files:
401
391
  - decidim-admin/app/forms/decidim/admin/managed_user_promotion_form.rb
402
392
  - decidim-admin/app/forms/decidim/admin/newsletter_form.rb
403
393
  - decidim-admin/app/forms/decidim/admin/organization_form.rb
404
- - decidim-admin/app/forms/decidim/admin/participatory_process_copy_form.rb
405
- - decidim-admin/app/forms/decidim/admin/participatory_process_form.rb
406
- - decidim-admin/app/forms/decidim/admin/participatory_process_group_form.rb
407
- - decidim-admin/app/forms/decidim/admin/participatory_process_step_form.rb
408
- - decidim-admin/app/forms/decidim/admin/participatory_process_user_role_form.rb
409
394
  - decidim-admin/app/forms/decidim/admin/permission_form.rb
410
395
  - decidim-admin/app/forms/decidim/admin/permissions_form.rb
411
396
  - decidim-admin/app/forms/decidim/admin/scope_form.rb
@@ -416,8 +401,6 @@ files:
416
401
  - decidim-admin/app/helpers/decidim/admin/exports_helper.rb
417
402
  - decidim-admin/app/helpers/decidim/admin/icon_link_helper.rb
418
403
  - decidim-admin/app/helpers/decidim/admin/menu_helper.rb
419
- - decidim-admin/app/helpers/decidim/admin/process_groups_for_select_helper.rb
420
- - decidim-admin/app/helpers/decidim/admin/processes_for_select_helper.rb
421
404
  - decidim-admin/app/helpers/decidim/admin/scopes_helper.rb
422
405
  - decidim-admin/app/helpers/decidim/admin/settings_helper.rb
423
406
  - decidim-admin/app/jobs/decidim/admin/application_job.rb
@@ -432,7 +415,6 @@ files:
432
415
  - decidim-admin/app/models/decidim/admin/abilities/participatory_process_moderator_ability.rb
433
416
  - decidim-admin/app/models/decidim/admin/abilities/user_manager_ability.rb
434
417
  - decidim-admin/app/models/decidim/admin/application_record.rb
435
- - decidim-admin/app/queries/decidim/admin/process_admins.rb
436
418
  - decidim-admin/app/queries/decidim/admin/user_groups_evaluation.rb
437
419
  - decidim-admin/app/views/decidim/admin/attachments/_form.html.erb
438
420
  - decidim-admin/app/views/decidim/admin/attachments/edit.html.erb
@@ -472,26 +454,6 @@ files:
472
454
  - decidim-admin/app/views/decidim/admin/newsletters/show.html.erb
473
455
  - decidim-admin/app/views/decidim/admin/organization/_form.html.erb
474
456
  - decidim-admin/app/views/decidim/admin/organization/edit.html.erb
475
- - decidim-admin/app/views/decidim/admin/participatory_process_copies/_form.html.erb
476
- - decidim-admin/app/views/decidim/admin/participatory_process_copies/new.html.erb
477
- - decidim-admin/app/views/decidim/admin/participatory_process_groups/_form.html.erb
478
- - decidim-admin/app/views/decidim/admin/participatory_process_groups/edit.html.erb
479
- - decidim-admin/app/views/decidim/admin/participatory_process_groups/index.html.erb
480
- - decidim-admin/app/views/decidim/admin/participatory_process_groups/new.html.erb
481
- - decidim-admin/app/views/decidim/admin/participatory_process_groups/show.html.erb
482
- - decidim-admin/app/views/decidim/admin/participatory_process_steps/_form.html.erb
483
- - decidim-admin/app/views/decidim/admin/participatory_process_steps/edit.html.erb
484
- - decidim-admin/app/views/decidim/admin/participatory_process_steps/index.html.erb
485
- - decidim-admin/app/views/decidim/admin/participatory_process_steps/new.html.erb
486
- - decidim-admin/app/views/decidim/admin/participatory_process_steps/show.html.erb
487
- - decidim-admin/app/views/decidim/admin/participatory_process_user_roles/_form.html.erb
488
- - decidim-admin/app/views/decidim/admin/participatory_process_user_roles/edit.html.erb
489
- - decidim-admin/app/views/decidim/admin/participatory_process_user_roles/index.html.erb
490
- - decidim-admin/app/views/decidim/admin/participatory_process_user_roles/new.html.erb
491
- - decidim-admin/app/views/decidim/admin/participatory_processes/_form.html.erb
492
- - decidim-admin/app/views/decidim/admin/participatory_processes/edit.html.erb
493
- - decidim-admin/app/views/decidim/admin/participatory_processes/index.html.erb
494
- - decidim-admin/app/views/decidim/admin/participatory_processes/new.html.erb
495
457
  - decidim-admin/app/views/decidim/admin/scope_types/_form.html.erb
496
458
  - decidim-admin/app/views/decidim/admin/scope_types/edit.html.erb
497
459
  - decidim-admin/app/views/decidim/admin/scope_types/index.html.erb
@@ -519,13 +481,9 @@ files:
519
481
  - decidim-admin/app/views/layouts/decidim/admin/login.html.erb
520
482
  - decidim-admin/app/views/layouts/decidim/admin/newsletters.erb
521
483
  - decidim-admin/app/views/layouts/decidim/admin/pages.html.erb
522
- - decidim-admin/app/views/layouts/decidim/admin/participatory_process.html.erb
523
- - decidim-admin/app/views/layouts/decidim/admin/participatory_process_groups.html.erb
524
- - decidim-admin/app/views/layouts/decidim/admin/participatory_processes.html.erb
525
484
  - decidim-admin/app/views/layouts/decidim/admin/settings.html.erb
526
485
  - decidim-admin/app/views/layouts/decidim/admin/users.html.erb
527
486
  - decidim-admin/bin/rails
528
- - decidim-admin/config/i18n-tasks.yml
529
487
  - decidim-admin/config/locales/ca.yml
530
488
  - decidim-admin/config/locales/en.yml
531
489
  - decidim-admin/config/locales/es.yml
@@ -535,6 +493,7 @@ files:
535
493
  - decidim-admin/config/locales/it.yml
536
494
  - decidim-admin/config/locales/nl.yml
537
495
  - decidim-admin/config/locales/pl.yml
496
+ - decidim-admin/config/locales/uk.yml
538
497
  - decidim-admin/config/routes.rb
539
498
  - decidim-admin/db/migrate/20161102144648_add_admin_participatory_process_user_roles.rb
540
499
  - decidim-admin/db/migrate/20170128112958_change_user_groups_verified_to_timestamp.rb
@@ -543,85 +502,54 @@ files:
543
502
  - decidim-admin/lib/decidim/admin.rb
544
503
  - decidim-admin/lib/decidim/admin/engine.rb
545
504
  - decidim-admin/lib/decidim/admin/features.rb
505
+ - decidim-admin/lib/decidim/admin/test/commands/create_category_examples.rb
506
+ - decidim-admin/lib/decidim/admin/test/commands/destroy_category_examples.rb
507
+ - decidim-admin/lib/decidim/admin/test/commands/update_category_examples.rb
508
+ - decidim-admin/lib/decidim/admin/test/forms/category_form_examples.rb
546
509
  - decidim-admin/lib/decidim/admin/test/manage_attachments_examples.rb
547
- - decidim-admin/spec/commands/activate_participatory_process_step_spec.rb
510
+ - decidim-admin/lib/decidim/admin/test/manage_feature_permissions_examples.rb
548
511
  - decidim-admin/spec/commands/close_session_managed_user_spec.rb
549
- - decidim-admin/spec/commands/copy_participatory_process_spec.rb
550
- - decidim-admin/spec/commands/create_category_spec.rb
551
512
  - decidim-admin/spec/commands/create_feature_spec.rb
552
513
  - decidim-admin/spec/commands/create_managed_user_spec.rb
553
514
  - decidim-admin/spec/commands/create_newsletter_spec.rb
554
- - decidim-admin/spec/commands/create_participatory_process_admin_spec.rb
555
- - decidim-admin/spec/commands/create_participatory_process_spec.rb
556
- - decidim-admin/spec/commands/create_participatory_process_step_spec.rb
557
515
  - decidim-admin/spec/commands/create_scope_spec.rb
558
516
  - decidim-admin/spec/commands/create_scope_type_spec.rb
559
517
  - decidim-admin/spec/commands/create_static_page_spec.rb
560
- - decidim-admin/spec/commands/deactivate_participatory_process_step_spec.rb
561
518
  - decidim-admin/spec/commands/deliver_newsletter_spec.rb
562
- - decidim-admin/spec/commands/destroy_category_spec.rb
563
519
  - decidim-admin/spec/commands/destroy_feature_spec.rb
564
- - decidim-admin/spec/commands/destroy_participatory_process_step_spec.rb
565
520
  - decidim-admin/spec/commands/hide_resource_spec.rb
566
521
  - decidim-admin/spec/commands/impersonate_managed_user_spec.rb
567
522
  - decidim-admin/spec/commands/promote_managed_user_spec.rb
568
- - decidim-admin/spec/commands/publish_participatory_process_spec.rb
569
523
  - decidim-admin/spec/commands/reject_user_group_spec.rb
570
- - decidim-admin/spec/commands/reorder_participatory_process_steps_spec.rb
571
- - decidim-admin/spec/commands/unpublish_participatory_process_spec.rb
572
524
  - decidim-admin/spec/commands/unreport_resource_spec.rb
573
- - decidim-admin/spec/commands/update_category_spec.rb
574
525
  - decidim-admin/spec/commands/update_feature_spec.rb
575
526
  - decidim-admin/spec/commands/update_newsletter_spec.rb
576
527
  - decidim-admin/spec/commands/update_organization_spec.rb
577
- - decidim-admin/spec/commands/update_participatory_process_spec.rb
578
528
  - decidim-admin/spec/commands/update_scope_spec.rb
579
529
  - decidim-admin/spec/commands/update_scope_type_spec.rb
580
530
  - decidim-admin/spec/commands/update_static_page_spec.rb
581
531
  - decidim-admin/spec/commands/verify_user_group_spec.rb
582
- - decidim-admin/spec/controllers/exports_controller_spec.rb
583
532
  - decidim-admin/spec/controllers/static_pages_controller_spec.rb
584
533
  - decidim-admin/spec/factories.rb
585
- - decidim-admin/spec/features/admin_copy_participatory_process_spec.rb
586
534
  - decidim-admin/spec/features/admin_invite_spec.rb
587
- - decidim-admin/spec/features/admin_manages_feature_permissions_spec.rb
588
- - decidim-admin/spec/features/admin_manages_features_spec.rb
589
535
  - decidim-admin/spec/features/admin_manages_managed_users_spec.rb
590
536
  - decidim-admin/spec/features/admin_manages_newsletters_spec.rb
591
537
  - decidim-admin/spec/features/admin_manages_organization_admins_spec.rb
592
538
  - decidim-admin/spec/features/admin_manages_organization_scopes_spec.rb
593
539
  - decidim-admin/spec/features/admin_manages_organization_spec.rb
594
- - decidim-admin/spec/features/admin_manages_participatory_process_admins_spec.rb
595
- - decidim-admin/spec/features/admin_manages_participatory_process_attachments_spec.rb
596
- - decidim-admin/spec/features/admin_manages_participatory_process_categories_spec.rb
597
- - decidim-admin/spec/features/admin_manages_participatory_process_groups_spec.rb
598
- - decidim-admin/spec/features/admin_manages_participatory_process_steps_spec.rb
599
- - decidim-admin/spec/features/admin_manages_participatory_processes_spec.rb
600
- - decidim-admin/spec/features/admin_manages_user_groups_spec.rb
601
- - decidim-admin/spec/features/participatory_process_admin_manages_participatory_process_admins_spec.rb
602
- - decidim-admin/spec/features/participatory_process_admin_manages_participatory_process_attachments_spec.rb
603
- - decidim-admin/spec/features/participatory_process_admin_manages_participatory_process_categories_spec.rb
604
- - decidim-admin/spec/features/participatory_process_admin_manages_participatory_process_steps_spec.rb
605
- - decidim-admin/spec/features/participatory_process_admin_manages_participatory_processes_spec.rb
606
540
  - decidim-admin/spec/features/static_pages_spec.rb
607
541
  - decidim-admin/spec/features/user_manager_managed_users_spec.rb
608
- - decidim-admin/spec/forms/category_form_spec.rb
609
542
  - decidim-admin/spec/forms/impersonate_managed_user_form_spec.rb
610
543
  - decidim-admin/spec/forms/managed_user_form_spec.rb
611
544
  - decidim-admin/spec/forms/managed_user_promotion_form_spec.rb
612
545
  - decidim-admin/spec/forms/newsletter_form_spec.rb
613
546
  - decidim-admin/spec/forms/organization_form_spec.rb
614
- - decidim-admin/spec/forms/participatory_process_form_spec.rb
615
- - decidim-admin/spec/forms/participatory_process_group_form_spec.rb
616
- - decidim-admin/spec/forms/participatory_process_step_form_spec.rb
617
- - decidim-admin/spec/forms/participatory_process_user_role_form_spec.rb
618
547
  - decidim-admin/spec/forms/scope_form_spec.rb
619
548
  - decidim-admin/spec/forms/static_page_form_spec.rb
620
549
  - decidim-admin/spec/helpers/aria_selected_link_to_helper_spec.rb
621
550
  - decidim-admin/spec/helpers/exports_helper_spec.rb
622
551
  - decidim-admin/spec/helpers/menu_helper_spec.rb
623
552
  - decidim-admin/spec/helpers/settings_helper_spec.rb
624
- - decidim-admin/spec/i18n_spec.rb
625
553
  - decidim-admin/spec/jobs/expire_impersonation_job_spec.rb
626
554
  - decidim-admin/spec/jobs/export_job_spec.rb
627
555
  - decidim-admin/spec/jobs/newsletter_delivery_job_spec.rb
@@ -631,17 +559,8 @@ files:
631
559
  - decidim-admin/spec/models/abilities/participatory_process_collaborator_ability_spec.rb
632
560
  - decidim-admin/spec/models/abilities/user_manager_ability_spec.rb
633
561
  - decidim-admin/spec/organization_dashboard_constraint_spec.rb
634
- - decidim-admin/spec/queries/process_admins_spec.rb
635
562
  - decidim-admin/spec/queries/user_group_evaluation_spec.rb
636
563
  - decidim-admin/spec/shared/manage_managed_users_examples.rb
637
- - decidim-admin/spec/shared/manage_process_admins_examples.rb
638
- - decidim-admin/spec/shared/manage_process_attachments_examples.rb
639
- - decidim-admin/spec/shared/manage_process_categories_examples.rb
640
- - decidim-admin/spec/shared/manage_process_steps_examples.rb
641
- - decidim-admin/spec/shared/manage_processes_examples.rb
642
- - decidim-admin/spec/shared/participatory_process_administration_by_admin_shared_context.rb
643
- - decidim-admin/spec/shared/participatory_process_administration_by_process_admin_shared_context.rb
644
- - decidim-admin/spec/shared/participatory_process_administration_shared_context.rb
645
564
  - decidim-admin/spec/spec_helper.rb
646
565
  - decidim-admin/spec/views/decidim/static_pages/_form.html.erb_spec.rb
647
566
  - decidim-admin/vendor/assets/javascripts/html.sortable.js
@@ -669,12 +588,131 @@ files:
669
588
  - decidim-api/spec/factories.rb
670
589
  - decidim-api/spec/features/documentation_spec.rb
671
590
  - decidim-api/spec/features/graphiql_spec.rb
672
- - decidim-api/spec/i18n_spec.rb
673
591
  - decidim-api/spec/spec_helper.rb
674
592
  - decidim-api/spec/types/query_type_spec.rb
675
593
  - decidim-api/vendor/assets/javascripts/decidim/api/graphql-docs.js
676
594
  - decidim-api/vendor/assets/javascripts/decidim/api/react-dom.js
677
595
  - decidim-api/vendor/assets/javascripts/decidim/api/react.js
596
+ - decidim-assemblies/.gitignore
597
+ - decidim-assemblies/README.md
598
+ - decidim-assemblies/Rakefile
599
+ - decidim-assemblies/app/assets/config/admin/decidim_assemblies_manifest.js
600
+ - decidim-assemblies/app/assets/config/decidim_assemblies_manifest.js
601
+ - decidim-assemblies/app/assets/images/decidim/assemblies/assembly.svg
602
+ - decidim-assemblies/app/assets/javascripts/decidim/assemblies/admin/assemblies.js.es6
603
+ - decidim-assemblies/app/commands/decidim/assemblies/admin/copy_assembly.rb
604
+ - decidim-assemblies/app/commands/decidim/assemblies/admin/create_assembly.rb
605
+ - decidim-assemblies/app/commands/decidim/assemblies/admin/publish_assembly.rb
606
+ - decidim-assemblies/app/commands/decidim/assemblies/admin/unpublish_assembly.rb
607
+ - decidim-assemblies/app/commands/decidim/assemblies/admin/update_assembly.rb
608
+ - decidim-assemblies/app/constraints/decidim/assemblies/current_assembly.rb
609
+ - decidim-assemblies/app/constraints/decidim/assemblies/current_feature.rb
610
+ - decidim-assemblies/app/controllers/concerns/decidim/assemblies/admin/assembly_context.rb
611
+ - decidim-assemblies/app/controllers/concerns/decidim/assemblies/assembly_context.rb
612
+ - decidim-assemblies/app/controllers/concerns/decidim/assemblies/needs_assembly.rb
613
+ - decidim-assemblies/app/controllers/decidim/assemblies/admin/application_controller.rb
614
+ - decidim-assemblies/app/controllers/decidim/assemblies/admin/assemblies_controller.rb
615
+ - decidim-assemblies/app/controllers/decidim/assemblies/admin/assembly_attachments_controller.rb
616
+ - decidim-assemblies/app/controllers/decidim/assemblies/admin/assembly_copies_controller.rb
617
+ - decidim-assemblies/app/controllers/decidim/assemblies/admin/assembly_publications_controller.rb
618
+ - decidim-assemblies/app/controllers/decidim/assemblies/admin/categories_controller.rb
619
+ - decidim-assemblies/app/controllers/decidim/assemblies/admin/concerns/assembly_admin.rb
620
+ - decidim-assemblies/app/controllers/decidim/assemblies/admin/exports_controller.rb
621
+ - decidim-assemblies/app/controllers/decidim/assemblies/admin/feature_permissions_controller.rb
622
+ - decidim-assemblies/app/controllers/decidim/assemblies/admin/features_controller.rb
623
+ - decidim-assemblies/app/controllers/decidim/assemblies/admin/moderations_controller.rb
624
+ - decidim-assemblies/app/controllers/decidim/assemblies/assemblies_controller.rb
625
+ - decidim-assemblies/app/controllers/decidim/assemblies/assembly_widgets_controller.rb
626
+ - decidim-assemblies/app/controllers/decidim/assemblies/categories_controller.rb
627
+ - decidim-assemblies/app/forms/decidim/assemblies/admin/assembly_copy_form.rb
628
+ - decidim-assemblies/app/forms/decidim/assemblies/admin/assembly_form.rb
629
+ - decidim-assemblies/app/models/decidim/assemblies/abilities/admin/admin_ability.rb
630
+ - decidim-assemblies/app/models/decidim/assemblies/abilities/admin_ability.rb
631
+ - decidim-assemblies/app/models/decidim/assemblies/abilities/everyone_ability.rb
632
+ - decidim-assemblies/app/models/decidim/assembly.rb
633
+ - decidim-assemblies/app/presenters/decidim/assemblies/assembly_stats_presenter.rb
634
+ - decidim-assemblies/app/queries/decidim/assemblies/admin/admin_users.rb
635
+ - decidim-assemblies/app/queries/decidim/assemblies/organization_assemblies.rb
636
+ - decidim-assemblies/app/queries/decidim/assemblies/organization_prioritized_assemblies.rb
637
+ - decidim-assemblies/app/queries/decidim/assemblies/organization_published_assemblies.rb
638
+ - decidim-assemblies/app/queries/decidim/assemblies/prioritized_assemblies.rb
639
+ - decidim-assemblies/app/queries/decidim/assemblies/promoted_assemblies.rb
640
+ - decidim-assemblies/app/queries/decidim/assemblies/published_assemblies.rb
641
+ - decidim-assemblies/app/views/decidim/assemblies/_assembly.html.erb
642
+ - decidim-assemblies/app/views/decidim/assemblies/_order_by_assemblies.html.erb
643
+ - decidim-assemblies/app/views/decidim/assemblies/admin/assemblies/_form.html.erb
644
+ - decidim-assemblies/app/views/decidim/assemblies/admin/assemblies/edit.html.erb
645
+ - decidim-assemblies/app/views/decidim/assemblies/admin/assemblies/index.html.erb
646
+ - decidim-assemblies/app/views/decidim/assemblies/admin/assemblies/new.html.erb
647
+ - decidim-assemblies/app/views/decidim/assemblies/admin/assembly_copies/_form.html.erb
648
+ - decidim-assemblies/app/views/decidim/assemblies/admin/assembly_copies/new.html.erb
649
+ - decidim-assemblies/app/views/decidim/assemblies/assemblies/_no_assemblies_yet.html.erb
650
+ - decidim-assemblies/app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb
651
+ - decidim-assemblies/app/views/decidim/assemblies/assemblies/_statistics.html.erb
652
+ - decidim-assemblies/app/views/decidim/assemblies/assemblies/index.html.erb
653
+ - decidim-assemblies/app/views/decidim/assemblies/assemblies/show.html.erb
654
+ - decidim-assemblies/app/views/decidim/assemblies/assembly_widgets/show.html.erb
655
+ - decidim-assemblies/app/views/layouts/decidim/_assembly_header.html.erb
656
+ - decidim-assemblies/app/views/layouts/decidim/admin/assemblies.html.erb
657
+ - decidim-assemblies/app/views/layouts/decidim/admin/assembly.html.erb
658
+ - decidim-assemblies/app/views/layouts/decidim/assembly.html.erb
659
+ - decidim-assemblies/bin/rails
660
+ - decidim-assemblies/config/locales/ca.yml
661
+ - decidim-assemblies/config/locales/en.yml
662
+ - decidim-assemblies/config/locales/es.yml
663
+ - decidim-assemblies/config/locales/eu.yml
664
+ - decidim-assemblies/config/locales/fi.yml
665
+ - decidim-assemblies/config/locales/fr.yml
666
+ - decidim-assemblies/config/locales/it.yml
667
+ - decidim-assemblies/config/locales/nl.yml
668
+ - decidim-assemblies/config/locales/pl.yml
669
+ - decidim-assemblies/config/locales/uk.yml
670
+ - decidim-assemblies/db/migrate/20170727190859_add_assemblies.rb
671
+ - decidim-assemblies/db/migrate/20170822153055_add_scopes_enabled_to_assemblies.rb
672
+ - decidim-assemblies/db/seeds/Exampledocument.pdf
673
+ - decidim-assemblies/db/seeds/city.jpeg
674
+ - decidim-assemblies/db/seeds/city2.jpeg
675
+ - decidim-assemblies/db/seeds/homepage_image.jpg
676
+ - decidim-assemblies/decidim-assemblies.gemspec
677
+ - decidim-assemblies/lib/decidim/assemblies.rb
678
+ - decidim-assemblies/lib/decidim/assemblies/admin.rb
679
+ - decidim-assemblies/lib/decidim/assemblies/admin_engine.rb
680
+ - decidim-assemblies/lib/decidim/assemblies/engine.rb
681
+ - decidim-assemblies/lib/decidim/assemblies/participatory_space.rb
682
+ - decidim-assemblies/lib/decidim/assemblies/test/factories.rb
683
+ - decidim-assemblies/spec/commands/copy_assembly_spec.rb
684
+ - decidim-assemblies/spec/commands/create_assembly_spec.rb
685
+ - decidim-assemblies/spec/commands/create_category_spec.rb
686
+ - decidim-assemblies/spec/commands/destroy_category_spec.rb
687
+ - decidim-assemblies/spec/commands/publish_assembly_spec.rb
688
+ - decidim-assemblies/spec/commands/unpublish_assembly_spec.rb
689
+ - decidim-assemblies/spec/commands/update_assembly_spec.rb
690
+ - decidim-assemblies/spec/commands/update_category_spec.rb
691
+ - decidim-assemblies/spec/controllers/assemblies_controller_spec.rb
692
+ - decidim-assemblies/spec/controllers/exports_controller_spec.rb
693
+ - decidim-assemblies/spec/factories.rb
694
+ - decidim-assemblies/spec/features/admin/admin_copy_assembly_spec.rb
695
+ - decidim-assemblies/spec/features/admin/admin_manages_assemblies_spec.rb
696
+ - decidim-assemblies/spec/features/admin/admin_manages_assembly_attachments_spec.rb
697
+ - decidim-assemblies/spec/features/admin/admin_manages_assembly_categories_spec.rb
698
+ - decidim-assemblies/spec/features/admin/admin_manages_assembly_feature_permissions_spec.rb
699
+ - decidim-assemblies/spec/features/admin/admin_manages_assembly_features_spec.rb
700
+ - decidim-assemblies/spec/features/assemblies_spec.rb
701
+ - decidim-assemblies/spec/forms/assembly_form_spec.rb
702
+ - decidim-assemblies/spec/forms/category_form_spec.rb
703
+ - decidim-assemblies/spec/helpers/decidim/scopes_helper_spec.rb
704
+ - decidim-assemblies/spec/lib/features/assemblies/current_feature_spec.rb
705
+ - decidim-assemblies/spec/models/abilities/admin/admin_ability_spec.rb
706
+ - decidim-assemblies/spec/models/abilities/admin_ability_spec.rb
707
+ - decidim-assemblies/spec/models/abilities/everyone_ability_spec.rb
708
+ - decidim-assemblies/spec/models/decidim/assembly_spec.rb
709
+ - decidim-assemblies/spec/presenters/decidim/assemblies/assembly_stats_presenter.spec.rb
710
+ - decidim-assemblies/spec/queries/admin/assembly_admins_spec.rb
711
+ - decidim-assemblies/spec/queries/organization_assemblies_spec.rb
712
+ - decidim-assemblies/spec/queries/organization_prioritized_assemblies_spec.rb
713
+ - decidim-assemblies/spec/queries/organization_published_assemblies_spec.rb
714
+ - decidim-assemblies/spec/shared/assembly_administration_shared_context.rb
715
+ - decidim-assemblies/spec/spec_helper.rb
678
716
  - decidim-budgets/README.md
679
717
  - decidim-budgets/Rakefile
680
718
  - decidim-budgets/app/assets/config/decidim_budgets_manifest.js
@@ -730,7 +768,6 @@ files:
730
768
  - decidim-budgets/app/views/decidim/budgets/projects/index.js.erb
731
769
  - decidim-budgets/app/views/decidim/budgets/projects/show.html.erb
732
770
  - decidim-budgets/bin/rails
733
- - decidim-budgets/config/i18n-tasks.yml
734
771
  - decidim-budgets/config/locales/ca.yml
735
772
  - decidim-budgets/config/locales/en.yml
736
773
  - decidim-budgets/config/locales/es.yml
@@ -740,6 +777,7 @@ files:
740
777
  - decidim-budgets/config/locales/it.yml
741
778
  - decidim-budgets/config/locales/nl.yml
742
779
  - decidim-budgets/config/locales/pl.yml
780
+ - decidim-budgets/config/locales/uk.yml
743
781
  - decidim-budgets/db/migrate/20170127114122_create_projects.rb
744
782
  - decidim-budgets/db/migrate/20170130095615_create_orders.rb
745
783
  - decidim-budgets/db/migrate/20170130101825_create_line_items.rb
@@ -766,11 +804,11 @@ files:
766
804
  - decidim-budgets/spec/features/admin_manages_project_attachments_spec.rb
767
805
  - decidim-budgets/spec/features/admin_manages_projects_spec.rb
768
806
  - decidim-budgets/spec/features/comments_spec.rb
807
+ - decidim-budgets/spec/features/follow_projects_spec.rb
769
808
  - decidim-budgets/spec/features/orders_spec.rb
770
809
  - decidim-budgets/spec/features/process_admin_manages_project_attachments_spec.rb
771
810
  - decidim-budgets/spec/features/process_admin_manages_projects_spec.rb
772
811
  - decidim-budgets/spec/forms/project_form_spec.rb
773
- - decidim-budgets/spec/i18n_spec.rb
774
812
  - decidim-budgets/spec/models/line_item_spec.rb
775
813
  - decidim-budgets/spec/models/order_spec.rb
776
814
  - decidim-budgets/spec/models/project_spec.rb
@@ -787,6 +825,7 @@ files:
787
825
  - decidim-comments/app/assets/javascripts/decidim/comments/comments.js.erb
788
826
  - decidim-comments/app/commands/decidim/comments/create_comment.rb
789
827
  - decidim-comments/app/commands/decidim/comments/vote_comment.rb
828
+ - decidim-comments/app/events/decidim/comments/comment_created_event.rb
790
829
  - decidim-comments/app/forms/decidim/comments/comment_form.rb
791
830
  - decidim-comments/app/frontend/application/apollo_client.ts
792
831
  - decidim-comments/app/frontend/application/application.component.test.tsx
@@ -830,7 +869,6 @@ files:
830
869
  - decidim-comments/app/frontend/support/require_all.ts
831
870
  - decidim-comments/app/frontend/support/resolve_graphql_query.ts
832
871
  - decidim-comments/app/frontend/support/schema.ts
833
- - decidim-comments/app/mailers/decidim/comments/comment_notification_mailer.rb
834
872
  - decidim-comments/app/models/decidim/comments/abilities/admin_ability.rb
835
873
  - decidim-comments/app/models/decidim/comments/abilities/current_user_ability.rb
836
874
  - decidim-comments/app/models/decidim/comments/abilities/participatory_process_admin_ability.rb
@@ -844,10 +882,7 @@ files:
844
882
  - decidim-comments/app/types/decidim/comments/commentable_interface.rb
845
883
  - decidim-comments/app/types/decidim/comments/commentable_mutation_type.rb
846
884
  - decidim-comments/app/types/decidim/comments/commentable_type.rb
847
- - decidim-comments/app/views/decidim/comments/comment_notification_mailer/comment_created.html.erb
848
- - decidim-comments/app/views/decidim/comments/comment_notification_mailer/reply_created.html.erb
849
885
  - decidim-comments/bin/rails
850
- - decidim-comments/config/i18n-tasks.yml
851
886
  - decidim-comments/config/locales/ca.yml
852
887
  - decidim-comments/config/locales/en.yml
853
888
  - decidim-comments/config/locales/es.yml
@@ -857,6 +892,7 @@ files:
857
892
  - decidim-comments/config/locales/it.yml
858
893
  - decidim-comments/config/locales/nl.yml
859
894
  - decidim-comments/config/locales/pl.yml
895
+ - decidim-comments/config/locales/uk.yml
860
896
  - decidim-comments/db/migrate/20161130143508_create_comments.rb
861
897
  - decidim-comments/db/migrate/20161214082645_add_depth_to_comments.rb
862
898
  - decidim-comments/db/migrate/20161216102820_add_alignment_to_comments.rb
@@ -883,25 +919,22 @@ files:
883
919
  - decidim-comments/lib/decidim/comments/test/factories.rb
884
920
  - decidim-comments/spec/commands/create_comment_spec.rb
885
921
  - decidim-comments/spec/commands/vote_comment_spec.rb
922
+ - decidim-comments/spec/events/decidim/comments/comment_created_event_spec.rb
886
923
  - decidim-comments/spec/factories.rb
887
924
  - decidim-comments/spec/features/admin_manages_comments_spec.rb
888
925
  - decidim-comments/spec/features/comments_spec.rb
889
- - decidim-comments/spec/features/notifications_spec.rb
890
926
  - decidim-comments/spec/features/process_admin_manages_comments_spec.rb
891
927
  - decidim-comments/spec/features/report_comment_spec.rb
892
928
  - decidim-comments/spec/forms/comment_form_spec.rb
893
929
  - decidim-comments/spec/helpers/comments_helper_spec.rb
894
- - decidim-comments/spec/i18n_spec.rb
895
930
  - decidim-comments/spec/lib/comment_serializer_spec.rb
896
931
  - decidim-comments/spec/lib/export_spec.rb
897
- - decidim-comments/spec/mailers/comment_notification_mailer_spec.rb
898
932
  - decidim-comments/spec/models/abilities/admin_ability_spec.rb
899
933
  - decidim-comments/spec/models/abilities/participatory_process_admin_ability_spec.rb
900
934
  - decidim-comments/spec/models/comment_spec.rb
901
935
  - decidim-comments/spec/models/comment_vote_spec.rb
902
936
  - decidim-comments/spec/models/seed_spec.rb
903
937
  - decidim-comments/spec/queries/sorted_comments_spec.rb
904
- - decidim-comments/spec/shared/author_localised_email.rb
905
938
  - decidim-comments/spec/spec_helper.rb
906
939
  - decidim-comments/spec/types/comment_mutation_type_spec.rb
907
940
  - decidim-comments/spec/types/comment_type_spec.rb
@@ -931,7 +964,6 @@ files:
931
964
  - decidim-core/app/assets/images/decidim/cc-badge.png
932
965
  - decidim-core/app/assets/images/decidim/default-avatar.svg
933
966
  - decidim-core/app/assets/images/decidim/icons.svg
934
- - decidim-core/app/assets/images/decidim/process.svg
935
967
  - decidim-core/app/assets/javascripts/decidim.js.es6
936
968
  - decidim-core/app/assets/javascripts/decidim/account_form.js.es6
937
969
  - decidim-core/app/assets/javascripts/decidim/append_elements.js.es6
@@ -943,6 +975,7 @@ files:
943
975
  - decidim-core/app/assets/javascripts/decidim/history.js.es6
944
976
  - decidim-core/app/assets/javascripts/decidim/impersonation.js.es6
945
977
  - decidim-core/app/assets/javascripts/decidim/map.js.es6.erb
978
+ - decidim-core/app/assets/javascripts/decidim/notifications.js.es6
946
979
  - decidim-core/app/assets/javascripts/decidim/orders.js.es6
947
980
  - decidim-core/app/assets/javascripts/decidim/select2.field.js.es6
948
981
  - decidim-core/app/assets/javascripts/decidim/select2.js.es6
@@ -961,6 +994,7 @@ files:
961
994
  - decidim-core/app/assets/stylesheets/decidim/extras/_impersonation-bar.scss
962
995
  - decidim-core/app/assets/stylesheets/decidim/extras/_label-required.scss
963
996
  - decidim-core/app/assets/stylesheets/decidim/extras/_leaflet.scss
997
+ - decidim-core/app/assets/stylesheets/decidim/extras/_meeting-registrations.scss
964
998
  - decidim-core/app/assets/stylesheets/decidim/extras/_process_stats.scss
965
999
  - decidim-core/app/assets/stylesheets/decidim/extras/_proposal_form.scss
966
1000
  - decidim-core/app/assets/stylesheets/decidim/extras/_quill.scss
@@ -1025,9 +1059,11 @@ files:
1025
1059
  - decidim-core/app/assets/stylesheets/decidim/utils/_settings.scss
1026
1060
  - decidim-core/app/assets/stylesheets/decidim/utils/_toggle-expand.scss
1027
1061
  - decidim-core/app/commands/decidim/authorize_user.rb
1062
+ - decidim-core/app/commands/decidim/create_follow.rb
1028
1063
  - decidim-core/app/commands/decidim/create_omniauth_registration.rb
1029
1064
  - decidim-core/app/commands/decidim/create_registration.rb
1030
1065
  - decidim-core/app/commands/decidim/create_report.rb
1066
+ - decidim-core/app/commands/decidim/delete_follow.rb
1031
1067
  - decidim-core/app/commands/decidim/destroy_account.rb
1032
1068
  - decidim-core/app/commands/decidim/invite_user.rb
1033
1069
  - decidim-core/app/commands/decidim/invite_user_again.rb
@@ -1035,7 +1071,6 @@ files:
1035
1071
  - decidim-core/app/commands/decidim/update_account.rb
1036
1072
  - decidim-core/app/commands/decidim/update_notifications_settings.rb
1037
1073
  - decidim-core/app/constraints/decidim/current_feature.rb
1038
- - decidim-core/app/constraints/decidim/current_participatory_process.rb
1039
1074
  - decidim-core/app/controllers/concerns/decidim/action_authorization.rb
1040
1075
  - decidim-core/app/controllers/concerns/decidim/devise_controllers.rb
1041
1076
  - decidim-core/app/controllers/concerns/decidim/filter_resource.rb
@@ -1044,7 +1079,6 @@ files:
1044
1079
  - decidim-core/app/controllers/concerns/decidim/locale_switcher.rb
1045
1080
  - decidim-core/app/controllers/concerns/decidim/needs_authorization.rb
1046
1081
  - decidim-core/app/controllers/concerns/decidim/needs_organization.rb
1047
- - decidim-core/app/controllers/concerns/decidim/needs_participatory_process.rb
1048
1082
  - decidim-core/app/controllers/concerns/decidim/paginable.rb
1049
1083
  - decidim-core/app/controllers/concerns/decidim/payload_info.rb
1050
1084
  - decidim-core/app/controllers/concerns/decidim/settings.rb
@@ -1061,14 +1095,12 @@ files:
1061
1095
  - decidim-core/app/controllers/decidim/devise/sessions_controller.rb
1062
1096
  - decidim-core/app/controllers/decidim/errors_controller.rb
1063
1097
  - decidim-core/app/controllers/decidim/features/base_controller.rb
1098
+ - decidim-core/app/controllers/decidim/follows_controller.rb
1064
1099
  - decidim-core/app/controllers/decidim/locales_controller.rb
1100
+ - decidim-core/app/controllers/decidim/notifications_controller.rb
1065
1101
  - decidim-core/app/controllers/decidim/notifications_settings_controller.rb
1066
1102
  - decidim-core/app/controllers/decidim/own_user_groups_controller.rb
1067
1103
  - decidim-core/app/controllers/decidim/pages_controller.rb
1068
- - decidim-core/app/controllers/decidim/participatory_process_groups_controller.rb
1069
- - decidim-core/app/controllers/decidim/participatory_process_steps_controller.rb
1070
- - decidim-core/app/controllers/decidim/participatory_process_widgets_controller.rb
1071
- - decidim-core/app/controllers/decidim/participatory_processes_controller.rb
1072
1104
  - decidim-core/app/controllers/decidim/reports_controller.rb
1073
1105
  - decidim-core/app/controllers/decidim/scopes_controller.rb
1074
1106
  - decidim-core/app/controllers/decidim/static_map_controller.rb
@@ -1076,6 +1108,7 @@ files:
1076
1108
  - decidim-core/app/forms/decidim/account_form.rb
1077
1109
  - decidim-core/app/forms/decidim/attachment_form.rb
1078
1110
  - decidim-core/app/forms/decidim/delete_account_form.rb
1111
+ - decidim-core/app/forms/decidim/follow_form.rb
1079
1112
  - decidim-core/app/forms/decidim/form.rb
1080
1113
  - decidim-core/app/forms/decidim/invite_user_form.rb
1081
1114
  - decidim-core/app/forms/decidim/notifications_settings_form.rb
@@ -1104,8 +1137,6 @@ files:
1104
1137
  - decidim-core/app/helpers/decidim/omniauth_helper.rb
1105
1138
  - decidim-core/app/helpers/decidim/orders_helper.rb
1106
1139
  - decidim-core/app/helpers/decidim/paginate_helper.rb
1107
- - decidim-core/app/helpers/decidim/participatory_process_helper.rb
1108
- - decidim-core/app/helpers/decidim/participatory_process_steps_helper.rb
1109
1140
  - decidim-core/app/helpers/decidim/replace_buttons_helper.rb
1110
1141
  - decidim-core/app/helpers/decidim/resource_helper.rb
1111
1142
  - decidim-core/app/helpers/decidim/scopes_helper.rb
@@ -1113,12 +1144,16 @@ files:
1113
1144
  - decidim-core/app/helpers/decidim/user_profile_helper.rb
1114
1145
  - decidim-core/app/helpers/decidim/widget_urls_helper.rb
1115
1146
  - decidim-core/app/jobs/decidim/application_job.rb
1147
+ - decidim-core/app/jobs/decidim/email_notification_generator_job.rb
1116
1148
  - decidim-core/app/jobs/decidim/export_job.rb
1149
+ - decidim-core/app/jobs/decidim/notification_generator_for_recipient_job.rb
1150
+ - decidim-core/app/jobs/decidim/notification_generator_job.rb
1117
1151
  - decidim-core/app/mailers/concerns/decidim/localised_mailer.rb
1118
1152
  - decidim-core/app/mailers/decidim/application_mailer.rb
1119
1153
  - decidim-core/app/mailers/decidim/decidim_devise_mailer.rb
1120
1154
  - decidim-core/app/mailers/decidim/export_mailer.rb
1121
1155
  - decidim-core/app/mailers/decidim/newsletter_mailer.rb
1156
+ - decidim-core/app/mailers/decidim/notification_mailer.rb
1122
1157
  - decidim-core/app/mailers/decidim/reported_mailer.rb
1123
1158
  - decidim-core/app/middleware/decidim/current_organization.rb
1124
1159
  - decidim-core/app/models/decidim/abilities/admin_ability.rb
@@ -1134,14 +1169,13 @@ files:
1134
1169
  - decidim-core/app/models/decidim/categorization.rb
1135
1170
  - decidim-core/app/models/decidim/category.rb
1136
1171
  - decidim-core/app/models/decidim/feature.rb
1172
+ - decidim-core/app/models/decidim/follow.rb
1137
1173
  - decidim-core/app/models/decidim/identity.rb
1138
1174
  - decidim-core/app/models/decidim/impersonation_log.rb
1139
1175
  - decidim-core/app/models/decidim/moderation.rb
1140
1176
  - decidim-core/app/models/decidim/newsletter.rb
1177
+ - decidim-core/app/models/decidim/notification.rb
1141
1178
  - decidim-core/app/models/decidim/organization.rb
1142
- - decidim-core/app/models/decidim/participatory_process.rb
1143
- - decidim-core/app/models/decidim/participatory_process_group.rb
1144
- - decidim-core/app/models/decidim/participatory_process_step.rb
1145
1179
  - decidim-core/app/models/decidim/participatory_process_user_role.rb
1146
1180
  - decidim-core/app/models/decidim/report.rb
1147
1181
  - decidim-core/app/models/decidim/resource_link.rb
@@ -1154,21 +1188,16 @@ files:
1154
1188
  - decidim-core/app/presenters/decidim/home_stats_presenter.rb
1155
1189
  - decidim-core/app/presenters/decidim/menu_item_presenter.rb
1156
1190
  - decidim-core/app/presenters/decidim/menu_presenter.rb
1157
- - decidim-core/app/presenters/decidim/participatory_process_stats_presenter.rb
1158
1191
  - decidim-core/app/presenters/decidim/resource_locator_presenter.rb
1159
1192
  - decidim-core/app/queries/decidim/freetext_scopes.rb
1160
- - decidim-core/app/queries/decidim/highlighted_participatory_processes.rb
1161
- - decidim-core/app/queries/decidim/organization_participatory_process_groups.rb
1162
- - decidim-core/app/queries/decidim/organization_participatory_processes.rb
1163
- - decidim-core/app/queries/decidim/organization_prioritized_participatory_processes.rb
1164
- - decidim-core/app/queries/decidim/organization_published_participatory_processes.rb
1165
1193
  - decidim-core/app/queries/decidim/participatory_processes_with_user_role.rb
1166
- - decidim-core/app/queries/decidim/prioritized_participatory_processes.rb
1167
- - decidim-core/app/queries/decidim/promoted_participatory_processes.rb
1168
- - decidim-core/app/queries/decidim/published_participatory_processes.rb
1169
1194
  - decidim-core/app/queries/decidim/stats_users_count.rb
1170
1195
  - decidim-core/app/services/decidim/action_authorizer.rb
1171
1196
  - decidim-core/app/services/decidim/authorization_handler.rb
1197
+ - decidim-core/app/services/decidim/email_notification_generator.rb
1198
+ - decidim-core/app/services/decidim/events_manager.rb
1199
+ - decidim-core/app/services/decidim/notification_generator.rb
1200
+ - decidim-core/app/services/decidim/notification_generator_for_recipient.rb
1172
1201
  - decidim-core/app/services/decidim/resource_search.rb
1173
1202
  - decidim-core/app/services/decidim/static_map_generator.rb
1174
1203
  - decidim-core/app/uploaders/decidim/application_uploader.rb
@@ -1209,23 +1238,14 @@ files:
1209
1238
  - decidim-core/app/views/decidim/errors/internal_server_error.html.erb
1210
1239
  - decidim-core/app/views/decidim/errors/not_found.html.erb
1211
1240
  - decidim-core/app/views/decidim/export_mailer/export.html.erb
1241
+ - decidim-core/app/views/decidim/follows/update_button.js.erb
1212
1242
  - decidim-core/app/views/decidim/newsletter_mailer/newsletter.html.erb
1243
+ - decidim-core/app/views/decidim/notification_mailer/event_received.html.erb
1244
+ - decidim-core/app/views/decidim/notifications/_notification.html.erb
1245
+ - decidim-core/app/views/decidim/notifications/index.html.erb
1213
1246
  - decidim-core/app/views/decidim/notifications_settings/show.html.erb
1214
1247
  - decidim-core/app/views/decidim/own_user_groups/index.html.erb
1215
1248
  - decidim-core/app/views/decidim/pages/index.html.erb
1216
- - decidim-core/app/views/decidim/participatory_process_groups/_participatory_process_group.html.erb
1217
- - decidim-core/app/views/decidim/participatory_process_groups/show.html.erb
1218
- - decidim-core/app/views/decidim/participatory_process_steps/_participatory_process_step.html.erb
1219
- - decidim-core/app/views/decidim/participatory_process_steps/_timeline.html.erb
1220
- - decidim-core/app/views/decidim/participatory_process_steps/index.html.erb
1221
- - decidim-core/app/views/decidim/participatory_process_widgets/show.html.erb
1222
- - decidim-core/app/views/decidim/participatory_processes/_no_processes_yet.html.erb
1223
- - decidim-core/app/views/decidim/participatory_processes/_order_by_processes.html.erb
1224
- - decidim-core/app/views/decidim/participatory_processes/_participatory_process.html.erb
1225
- - decidim-core/app/views/decidim/participatory_processes/_promoted_process.html.erb
1226
- - decidim-core/app/views/decidim/participatory_processes/_statistics.html.erb
1227
- - decidim-core/app/views/decidim/participatory_processes/index.html.erb
1228
- - decidim-core/app/views/decidim/participatory_processes/show.html.erb
1229
1249
  - decidim-core/app/views/decidim/reported_mailer/hide.html.erb
1230
1250
  - decidim-core/app/views/decidim/reported_mailer/report.html.erb
1231
1251
  - decidim-core/app/views/decidim/shared/_action_authorization_modal.html.erb
@@ -1235,6 +1255,7 @@ files:
1235
1255
  - decidim-core/app/views/decidim/shared/_embed_modal.html.erb
1236
1256
  - decidim-core/app/views/decidim/shared/_feature_announcement.html.erb
1237
1257
  - decidim-core/app/views/decidim/shared/_flag_modal.html.erb
1258
+ - decidim-core/app/views/decidim/shared/_follow_button.html.erb
1238
1259
  - decidim-core/app/views/decidim/shared/_login_modal.html.erb
1239
1260
  - decidim-core/app/views/decidim/shared/_orders.html.erb
1240
1261
  - decidim-core/app/views/decidim/shared/_results_per_page.html.erb
@@ -1268,14 +1289,11 @@ files:
1268
1289
  - decidim-core/app/views/layouts/decidim/_language_chooser.html.erb
1269
1290
  - decidim-core/app/views/layouts/decidim/_logo.html.erb
1270
1291
  - decidim-core/app/views/layouts/decidim/_mailer_logo.html.erb
1271
- - decidim-core/app/views/layouts/decidim/_process_header.html.erb
1272
- - decidim-core/app/views/layouts/decidim/_process_header_steps.html.erb
1273
1292
  - decidim-core/app/views/layouts/decidim/_social_media_links.html.erb
1274
1293
  - decidim-core/app/views/layouts/decidim/_user_menu.html.erb
1275
1294
  - decidim-core/app/views/layouts/decidim/_wrapper.html.erb
1276
1295
  - decidim-core/app/views/layouts/decidim/application.html.erb
1277
1296
  - decidim-core/app/views/layouts/decidim/mailer.html.erb
1278
- - decidim-core/app/views/layouts/decidim/participatory_process.html.erb
1279
1297
  - decidim-core/app/views/layouts/decidim/user_profile.html.erb
1280
1298
  - decidim-core/app/views/layouts/decidim/widget.html.erb
1281
1299
  - decidim-core/app/views/pages/decidim_page.html.erb
@@ -1287,7 +1305,6 @@ files:
1287
1305
  - decidim-core/app/views/pages/home/_statistics.html.erb
1288
1306
  - decidim-core/app/views/pages/home/_sub_hero.html.erb
1289
1307
  - decidim-core/bin/rails
1290
- - decidim-core/config/i18n-tasks.yml
1291
1308
  - decidim-core/config/initializers/devise.rb
1292
1309
  - decidim-core/config/initializers/foundation_rails_helper.rb
1293
1310
  - decidim-core/config/initializers/invisible_captcha.rb
@@ -1301,6 +1318,7 @@ files:
1301
1318
  - decidim-core/config/locales/it.yml
1302
1319
  - decidim-core/config/locales/nl.yml
1303
1320
  - decidim-core/config/locales/pl.yml
1321
+ - decidim-core/config/locales/uk.yml
1304
1322
  - decidim-core/config/routes.rb
1305
1323
  - decidim-core/config/secrets.yml
1306
1324
  - decidim-core/db/migrate/20160817115213_devise_create_decidim_users.rb
@@ -1308,25 +1326,13 @@ files:
1308
1326
  - decidim-core/db/migrate/20160920140207_devise_invitable_add_to_decidim_users.rb
1309
1327
  - decidim-core/db/migrate/20160920141039_user_belongs_to_organization.rb
1310
1328
  - decidim-core/db/migrate/20160920141151_user_has_roles.rb
1311
- - decidim-core/db/migrate/20161005130108_add_participatory_processes.rb
1312
1329
  - decidim-core/db/migrate/20161005153007_add_description_to_organizations.rb
1313
1330
  - decidim-core/db/migrate/20161006085629_add_confirmable_to_devise.rb
1314
1331
  - decidim-core/db/migrate/20161010085443_add_name_to_users.rb
1315
- - decidim-core/db/migrate/20161010102356_translate_processes.rb
1316
1332
  - decidim-core/db/migrate/20161010131544_add_locale_to_users.rb
1317
- - decidim-core/db/migrate/20161011125616_add_hero_image_to_processes.rb
1318
- - decidim-core/db/migrate/20161011141033_add_banner_image_to_processes.rb
1319
- - decidim-core/db/migrate/20161013134732_add_promoted_flag_to_processes.rb
1320
- - decidim-core/db/migrate/20161017085822_add_participatory_process_steps.rb
1321
1333
  - decidim-core/db/migrate/20161018091013_create_decidim_authorizations.rb
1322
- - decidim-core/db/migrate/20161019072016_add_active_flag_to_step.rb
1323
- - decidim-core/db/migrate/20161020080756_add_position_to_steps.rb
1324
- - decidim-core/db/migrate/20161025125300_add_published_at_to_processes.rb
1325
- - decidim-core/db/migrate/20161107152228_remove_not_null_on_step_position.rb
1326
1334
  - decidim-core/db/migrate/20161108093802_create_decidim_static_pages.rb
1327
- - decidim-core/db/migrate/20161110092735_add_index_for_process_slug_organization.rb
1328
1335
  - decidim-core/db/migrate/20161110105712_create_decidim_features.rb
1329
- - decidim-core/db/migrate/20161116115156_create_attachments.rb
1330
1336
  - decidim-core/db/migrate/20161123085134_add_categories.rb
1331
1337
  - decidim-core/db/migrate/20161130105257_create_decidim_scopes.rb
1332
1338
  - decidim-core/db/migrate/20161209134715_make_organization_description_optional.rb
@@ -1336,36 +1342,27 @@ files:
1336
1342
  - decidim-core/db/migrate/20170110153807_add_handler_to_organization.rb
1337
1343
  - decidim-core/db/migrate/20170113150627_create_resource_links.rb
1338
1344
  - decidim-core/db/migrate/20170116110851_create_identities.rb
1339
- - decidim-core/db/migrate/20170116135237_loosen_step_requirements.rb
1340
1345
  - decidim-core/db/migrate/20170117142904_add_uniqueness_field_to_authorizations.rb
1341
1346
  - decidim-core/db/migrate/20170119145359_create_user_groups.rb
1342
1347
  - decidim-core/db/migrate/20170119150255_create_user_group_memberships.rb
1343
1348
  - decidim-core/db/migrate/20170119150649_add_show_statistics_to_organization.rb
1344
1349
  - decidim-core/db/migrate/20170120120733_add_user_groups_verified.rb
1345
- - decidim-core/db/migrate/20170123134023_make_attachments_polymorphic.rb
1346
1350
  - decidim-core/db/migrate/20170123140857_add_avatar_to_user_groups.rb
1347
- - decidim-core/db/migrate/20170125135937_rename_attachable_to_attached_to.rb
1348
1351
  - decidim-core/db/migrate/20170125152026_add_weight_to_features.rb
1349
- - decidim-core/db/migrate/20170126151123_add_extra_info_to_processes.rb
1350
1352
  - decidim-core/db/migrate/20170128140553_add_timestamps_to_identities.rb
1351
1353
  - decidim-core/db/migrate/20170130132833_add_favicon_to_decidim_organizations.rb
1352
1354
  - decidim-core/db/migrate/20170131134349_add_action_permissions_to_decidim_features.rb
1353
1355
  - decidim-core/db/migrate/20170202084913_add_comments_and_replies_notifications_to_users.rb
1354
1356
  - decidim-core/db/migrate/20170203150545_add_newsletter_notifications_to_users.rb
1355
- - decidim-core/db/migrate/20170206083118_rename_extra_info_on_processes.rb
1356
1357
  - decidim-core/db/migrate/20170206142116_add_published_at_to_decidim_features.rb
1357
1358
  - decidim-core/db/migrate/20170207091021_add_social_media_handlers_to_organization.rb
1358
1359
  - decidim-core/db/migrate/20170207093048_add_organization_logo_and_url.rb
1359
1360
  - decidim-core/db/migrate/20170213081133_create_decidim_newsletters.rb
1360
1361
  - decidim-core/db/migrate/20170215115407_add_organization_custom_reference.rb
1361
- - decidim-core/db/migrate/20170220110740_remove_steps_short_description.rb
1362
- - decidim-core/db/migrate/20170221094835_add_scopes_to_processes.rb
1363
- - decidim-core/db/migrate/20170228142440_add_participatory_process_groups.rb
1364
1362
  - decidim-core/db/migrate/20170306144354_add_secondary_hosts_to_organizations.rb
1365
1363
  - decidim-core/db/migrate/20170307084957_create_reports.rb
1366
1364
  - decidim-core/db/migrate/20170308091316_create_moderations.rb
1367
1365
  - decidim-core/db/migrate/20170313095436_add_available_authorizations_to_organization.rb
1368
- - decidim-core/db/migrate/20170404132616_change_steps_end_and_start_date_to_date.rb
1369
1366
  - decidim-core/db/migrate/20170405091801_change_decidim_user_email_index_uniqueness.rb
1370
1367
  - decidim-core/db/migrate/20170405094028_add_organization_to_identities.rb
1371
1368
  - decidim-core/db/migrate/20170405094258_change_decidim_identities_provider_uid_index_uniqueness.rb
@@ -1378,18 +1375,20 @@ files:
1378
1375
  - decidim-core/db/migrate/20170612100253_create_decidim_categorizations.rb
1379
1376
  - decidim-core/db/migrate/20170713131206_add_admin_to_users.rb
1380
1377
  - decidim-core/db/migrate/20170713131308_migrate_user_roles_to_participatory_process_roles.rb
1378
+ - decidim-core/db/migrate/20170720120231_make_moderations_polymorphic.rb
1381
1379
  - decidim-core/db/migrate/20170720135441_add_managed_to_users.rb
1382
1380
  - decidim-core/db/migrate/20170720140610_set_email_unique_in_organization_condition_for_managed_users.rb
1383
1381
  - decidim-core/db/migrate/20170724130558_create_impersonation_logs.rb
1384
- - decidim-core/db/migrate/20170725085104_add_show_statistics_to_participatory_processes.rb
1382
+ - decidim-core/db/migrate/20170726145242_make_categories_polymorphic.rb
1385
1383
  - decidim-core/db/migrate/20170727125445_add_roles_to_users.rb
1386
- - decidim-core/db/migrate/20170804125402_attachment_description_nullable.rb
1387
- - decidim-core/db/migrate/20170808080905_add_announcement_to_participatory_processes.rb
1388
- - decidim-core/db/migrate/20170809084005_add_scopes_enabled_to_participatory_processes.rb
1384
+ - decidim-core/db/migrate/20170807123535_create_decidim_follows.rb
1385
+ - decidim-core/db/migrate/20170808071019_create_decidim_notifications.rb
1386
+ - decidim-core/db/migrate/20170906091718_add_extra_to_notifications.rb
1387
+ - decidim-core/db/migrate/20170912082054_add_emails_on_notifications_flag_to_user.rb
1388
+ - decidim-core/db/migrate/20170913092351_add_header_snippets_to_organizations.rb
1389
+ - decidim-core/db/migrate/20170914075721_remove_followable_index_from_follows.rb
1390
+ - decidim-core/db/migrate/20170914092116_remove_comment_and_replies_notifications_from_users.rb
1389
1391
  - decidim-core/db/seeds.rb
1390
- - decidim-core/db/seeds/Exampledocument.pdf
1391
- - decidim-core/db/seeds/city.jpeg
1392
- - decidim-core/db/seeds/city2.jpeg
1393
1392
  - decidim-core/db/seeds/homepage_image.jpg
1394
1393
  - decidim-core/decidim-core.gemspec
1395
1394
  - decidim-core/lib/decidim/abilities.rb
@@ -1416,6 +1415,7 @@ files:
1416
1415
  - decidim-core/lib/decidim/core/test/shared_examples/authorable.rb
1417
1416
  - decidim-core/lib/decidim/core/test/shared_examples/comments_examples.rb
1418
1417
  - decidim-core/lib/decidim/core/test/shared_examples/errors.rb
1418
+ - decidim-core/lib/decidim/core/test/shared_examples/follows_examples.rb
1419
1419
  - decidim-core/lib/decidim/core/test/shared_examples/has_attachments.rb
1420
1420
  - decidim-core/lib/decidim/core/test/shared_examples/has_category.rb
1421
1421
  - decidim-core/lib/decidim/core/test/shared_examples/has_feature.rb
@@ -1428,8 +1428,15 @@ files:
1428
1428
  - decidim-core/lib/decidim/core/test/shared_examples/publicable.rb
1429
1429
  - decidim-core/lib/decidim/core/test/shared_examples/reportable.rb
1430
1430
  - decidim-core/lib/decidim/core/test/shared_examples/reports_examples.rb
1431
+ - decidim-core/lib/decidim/core/test/shared_examples/scope_helper_examples.rb
1432
+ - decidim-core/lib/decidim/core/test/shared_examples/user_localised_email_examples.rb
1431
1433
  - decidim-core/lib/decidim/core/version.rb
1432
1434
  - decidim-core/lib/decidim/devise_failure_app.rb
1435
+ - decidim-core/lib/decidim/engine_router.rb
1436
+ - decidim-core/lib/decidim/events.rb
1437
+ - decidim-core/lib/decidim/events/base_event.rb
1438
+ - decidim-core/lib/decidim/events/email_event.rb
1439
+ - decidim-core/lib/decidim/events/notification_event.rb
1433
1440
  - decidim-core/lib/decidim/exporters.rb
1434
1441
  - decidim-core/lib/decidim/exporters/csv.rb
1435
1442
  - decidim-core/lib/decidim/exporters/export_data.rb
@@ -1444,6 +1451,7 @@ files:
1444
1451
  - decidim-core/lib/decidim/features/namer.rb
1445
1452
  - decidim-core/lib/decidim/file_zipper.rb
1446
1453
  - decidim-core/lib/decidim/filter_form_builder.rb
1454
+ - decidim-core/lib/decidim/followable.rb
1447
1455
  - decidim-core/lib/decidim/form_builder.rb
1448
1456
  - decidim-core/lib/decidim/has_attachments.rb
1449
1457
  - decidim-core/lib/decidim/has_category.rb
@@ -1456,8 +1464,9 @@ files:
1456
1464
  - decidim-core/lib/decidim/menu.rb
1457
1465
  - decidim-core/lib/decidim/menu_item.rb
1458
1466
  - decidim-core/lib/decidim/menu_registry.rb
1459
- - decidim-core/lib/decidim/notifiable.rb
1460
1467
  - decidim-core/lib/decidim/page_finder.rb
1468
+ - decidim-core/lib/decidim/participable.rb
1469
+ - decidim-core/lib/decidim/participatory_space_manifest.rb
1461
1470
  - decidim-core/lib/decidim/publicable.rb
1462
1471
  - decidim-core/lib/decidim/query_extensions.rb
1463
1472
  - decidim-core/lib/decidim/reportable.rb
@@ -1486,7 +1495,6 @@ files:
1486
1495
  - decidim-core/spec/controllers/locales_controller_spec.rb
1487
1496
  - decidim-core/spec/controllers/omniauth_registrations_controller_spec.rb
1488
1497
  - decidim-core/spec/controllers/pages_controller_spec.rb
1489
- - decidim-core/spec/controllers/participatory_processes_controller_spec.rb
1490
1498
  - decidim-core/spec/controllers/registrations_controller_spec.rb
1491
1499
  - decidim-core/spec/controllers/scopes_controller_spec.rb
1492
1500
  - decidim-core/spec/controllers/sessions_controller_spec.rb
@@ -1501,9 +1509,7 @@ files:
1501
1509
  - decidim-core/spec/features/homepage_spec.rb
1502
1510
  - decidim-core/spec/features/locales_spec.rb
1503
1511
  - decidim-core/spec/features/menu_spec.rb
1504
- - decidim-core/spec/features/participatory_process_groups_spec.rb
1505
- - decidim-core/spec/features/participatory_process_steps_spec.rb
1506
- - decidim-core/spec/features/participatory_processes_spec.rb
1512
+ - decidim-core/spec/features/notifications_spec.rb
1507
1513
  - decidim-core/spec/features/user_groups_spec.rb
1508
1514
  - decidim-core/spec/forms/account_form_spec.rb
1509
1515
  - decidim-core/spec/forms/attachment_form_spec.rb
@@ -1521,16 +1527,19 @@ files:
1521
1527
  - decidim-core/spec/helpers/decidim/filters_helper_spec.rb
1522
1528
  - decidim-core/spec/helpers/decidim/icon_helper_spec.rb
1523
1529
  - decidim-core/spec/helpers/decidim/omniauth_helper_spec.rb
1524
- - decidim-core/spec/helpers/decidim/participatory_process_helper_spec.rb
1525
1530
  - decidim-core/spec/helpers/decidim/replace_buttons_helper_spec.rb
1526
1531
  - decidim-core/spec/helpers/decidim/resource_helper_spec.rb
1527
- - decidim-core/spec/helpers/decidim/scopes_helper_spec.rb
1528
1532
  - decidim-core/spec/helpers/decidim/translations_helper_spec.rb
1529
1533
  - decidim-core/spec/helpers/decidim/widget_urls_helper_spec.rb
1530
- - decidim-core/spec/i18n_spec.rb
1534
+ - decidim-core/spec/jobs/decidim/email_notification_generator_job_spec.rb
1535
+ - decidim-core/spec/jobs/decidim/notification_generator_for_recipient_job_spec.rb
1536
+ - decidim-core/spec/jobs/decidim/notification_generator_job_spec.rb
1531
1537
  - decidim-core/spec/lib/attributes/time_with_timezone_spec.rb
1532
1538
  - decidim-core/spec/lib/authorization_form_builder_spec.rb
1533
1539
  - decidim-core/spec/lib/decidim_spec.rb
1540
+ - decidim-core/spec/lib/events/base_event_spec.rb
1541
+ - decidim-core/spec/lib/events/email_event_spec.rb
1542
+ - decidim-core/spec/lib/events/notification_event_spec.rb
1534
1543
  - decidim-core/spec/lib/exporters/csv_spec.rb
1535
1544
  - decidim-core/spec/lib/exporters/json_spec.rb
1536
1545
  - decidim-core/spec/lib/exporters/serializer_spec.rb
@@ -1563,11 +1572,10 @@ files:
1563
1572
  - decidim-core/spec/models/decidim/authorization_spec.rb
1564
1573
  - decidim-core/spec/models/decidim/category_spec.rb
1565
1574
  - decidim-core/spec/models/decidim/feature_spec.rb
1575
+ - decidim-core/spec/models/decidim/follow_spec.rb
1566
1576
  - decidim-core/spec/models/decidim/identity_spec.rb
1567
1577
  - decidim-core/spec/models/decidim/impersonation_log_spec.rb
1568
1578
  - decidim-core/spec/models/decidim/organization_spec.rb
1569
- - decidim-core/spec/models/decidim/participatory_process_spec.rb
1570
- - decidim-core/spec/models/decidim/participatory_process_step_spec.rb
1571
1579
  - decidim-core/spec/models/decidim/participatory_process_user_role_spec.rb
1572
1580
  - decidim-core/spec/models/decidim/resource_link_spec.rb
1573
1581
  - decidim-core/spec/models/decidim/scope_spec.rb
@@ -1576,23 +1584,21 @@ files:
1576
1584
  - decidim-core/spec/models/decidim/user_group_membership_spec.rb
1577
1585
  - decidim-core/spec/models/decidim/user_group_spec.rb
1578
1586
  - decidim-core/spec/models/decidim/user_spec.rb
1587
+ - decidim-core/spec/models/notification_spec.rb
1579
1588
  - decidim-core/spec/presenters/decidim/home_stats_presenter_spec.rb
1580
1589
  - decidim-core/spec/presenters/decidim/menu_item_presenter_spec.rb
1581
1590
  - decidim-core/spec/presenters/decidim/menu_presenter_spec.rb
1582
- - decidim-core/spec/presenters/decidim/participatory_process_stats_presenter.spec.rb
1583
1591
  - decidim-core/spec/presenters/decidim/resource_locator_presenter_spec.rb
1584
- - decidim-core/spec/queries/decidim/organization_participatory_process_groups_spec.rb
1585
- - decidim-core/spec/queries/decidim/organization_participatory_processes_spec.rb
1586
- - decidim-core/spec/queries/decidim/organization_prioritized_participatory_processes_spec.rb
1587
- - decidim-core/spec/queries/decidim/organization_published_participatory_processes_spec.rb
1588
- - decidim-core/spec/queries/decidim/participatory_processes_with_user_role_spec.rb
1589
1592
  - decidim-core/spec/queries/decidim/stats_users_count_spec.rb
1590
1593
  - decidim-core/spec/routing/feature_routes_spec.rb
1591
1594
  - decidim-core/spec/services/decidim/action_authorizer_spec.rb
1592
1595
  - decidim-core/spec/services/decidim/authorization_handler_spec.rb
1593
1596
  - decidim-core/spec/services/decidim/dummy_authorization_handler_spec.rb
1597
+ - decidim-core/spec/services/decidim/email_notification_generator_spec.rb
1598
+ - decidim-core/spec/services/decidim/events_manager_spec.rb
1599
+ - decidim-core/spec/services/decidim/notification_generator_for_recipient_spec.rb
1600
+ - decidim-core/spec/services/decidim/notification_generator_spec.rb
1594
1601
  - decidim-core/spec/services/decidim/static_map_generator_spec.rb
1595
- - decidim-core/spec/shared/with_promoted_participatory_processes_examples.rb
1596
1602
  - decidim-core/spec/spec_helper.rb
1597
1603
  - decidim-core/spec/types/decidim_type_spec.rb
1598
1604
  - decidim-core/spec/types/localized_string_type_spec.rb
@@ -1612,6 +1618,7 @@ files:
1612
1618
  - decidim-core/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.fr.js
1613
1619
  - decidim-core/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.it.js
1614
1620
  - decidim-core/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.nl.js
1621
+ - decidim-core/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.uk.js
1615
1622
  - decidim-core/vendor/assets/javascripts/form_datepicker.js.es6
1616
1623
  - decidim-core/vendor/assets/javascripts/foundation-datepicker.js
1617
1624
  - decidim-core/vendor/assets/javascripts/leaflet-svg-icon.js
@@ -1633,7 +1640,6 @@ files:
1633
1640
  - decidim-dev/Rakefile
1634
1641
  - decidim-dev/app/assets/images/decidim/dummy.svg
1635
1642
  - decidim-dev/app/views/decidim/dummy_resource/_linked_dummys.html.erb
1636
- - decidim-dev/config/i18n-tasks.yml
1637
1643
  - decidim-dev/config/locales/ca.yml
1638
1644
  - decidim-dev/config/locales/en.yml
1639
1645
  - decidim-dev/config/locales/es.yml
@@ -1643,6 +1649,7 @@ files:
1643
1649
  - decidim-dev/config/locales/it.yml
1644
1650
  - decidim-dev/config/locales/nl.yml
1645
1651
  - decidim-dev/config/locales/pl.yml
1652
+ - decidim-dev/config/locales/uk.yml
1646
1653
  - decidim-dev/decidim-dev.gemspec
1647
1654
  - decidim-dev/lib/decidim/dev.rb
1648
1655
  - decidim-dev/lib/decidim/dev/assets/Exampledocument.pdf
@@ -1657,7 +1664,7 @@ files:
1657
1664
  - decidim-dev/lib/decidim/dev/railtie.rb
1658
1665
  - decidim-dev/lib/decidim/dev/test/authorization_shared_examples.rb
1659
1666
  - decidim-dev/lib/decidim/dev/test/base_spec_helper.rb
1660
- - decidim-dev/lib/decidim/dev/test/i18n_shared_examples.rb
1667
+ - decidim-dev/lib/decidim/dev/test/promoted_participatory_processes_shared_examples.rb
1661
1668
  - decidim-dev/lib/decidim/dev/test/rspec_support/action_mailer.rb
1662
1669
  - decidim-dev/lib/decidim/dev/test/rspec_support/active_job.rb
1663
1670
  - decidim-dev/lib/decidim/dev/test/rspec_support/attachments.rb
@@ -1688,28 +1695,45 @@ files:
1688
1695
  - decidim-dev/lib/generators/decidim/templates/no_animations.rb
1689
1696
  - decidim-dev/lib/tasks/locale_checker.rake
1690
1697
  - decidim-dev/lib/tasks/test_app.rake
1691
- - decidim-dev/spec/i18n_spec.rb
1692
1698
  - decidim-meetings/README.md
1693
1699
  - decidim-meetings/Rakefile
1700
+ - decidim-meetings/app/assets/config/admin/decidim_meetings_manifest.js
1694
1701
  - decidim-meetings/app/assets/images/decidim/meetings/icon.svg
1702
+ - decidim-meetings/app/assets/javascripts/decidim/meetings/admin/registrations_form.js.es6
1695
1703
  - decidim-meetings/app/commands/decidim/meetings/admin/close_meeting.rb
1696
1704
  - decidim-meetings/app/commands/decidim/meetings/admin/create_meeting.rb
1697
1705
  - decidim-meetings/app/commands/decidim/meetings/admin/update_meeting.rb
1706
+ - decidim-meetings/app/commands/decidim/meetings/admin/update_registrations.rb
1707
+ - decidim-meetings/app/commands/decidim/meetings/join_meeting.rb
1708
+ - decidim-meetings/app/commands/decidim/meetings/leave_meeting.rb
1698
1709
  - decidim-meetings/app/controllers/decidim/meetings/admin/application_controller.rb
1699
1710
  - decidim-meetings/app/controllers/decidim/meetings/admin/attachments_controller.rb
1700
1711
  - decidim-meetings/app/controllers/decidim/meetings/admin/meeting_closes_controller.rb
1701
1712
  - decidim-meetings/app/controllers/decidim/meetings/admin/meetings_controller.rb
1713
+ - decidim-meetings/app/controllers/decidim/meetings/admin/registrations_controller.rb
1702
1714
  - decidim-meetings/app/controllers/decidim/meetings/application_controller.rb
1703
1715
  - decidim-meetings/app/controllers/decidim/meetings/meeting_widgets_controller.rb
1704
1716
  - decidim-meetings/app/controllers/decidim/meetings/meetings_controller.rb
1717
+ - decidim-meetings/app/controllers/decidim/meetings/registrations_controller.rb
1718
+ - decidim-meetings/app/events/decidim/meetings/close_meeting_event.rb
1719
+ - decidim-meetings/app/events/decidim/meetings/meeting_registrations_enabled_event.rb
1720
+ - decidim-meetings/app/events/decidim/meetings/meeting_registrations_over_percentage_event.rb
1721
+ - decidim-meetings/app/events/decidim/meetings/upcoming_meeting_event.rb
1722
+ - decidim-meetings/app/events/decidim/meetings/update_meeting_event.rb
1705
1723
  - decidim-meetings/app/forms/decidim/meetings/admin/close_meeting_form.rb
1706
1724
  - decidim-meetings/app/forms/decidim/meetings/admin/meeting_form.rb
1725
+ - decidim-meetings/app/forms/decidim/meetings/admin/meeting_registrations_form.rb
1707
1726
  - decidim-meetings/app/helpers/decidim/meetings/admin/application_helper.rb
1708
1727
  - decidim-meetings/app/helpers/decidim/meetings/application_helper.rb
1709
1728
  - decidim-meetings/app/helpers/decidim/meetings/map_helper.rb
1710
1729
  - decidim-meetings/app/helpers/decidim/meetings/meetings_helper.rb
1730
+ - decidim-meetings/app/jobs/decidim/meetings/upcoming_meeting_notification_job.rb
1731
+ - decidim-meetings/app/mailers/decidim/meetings/registration_mailer.rb
1732
+ - decidim-meetings/app/models/decidim/meetings/abilities/current_user_ability.rb
1711
1733
  - decidim-meetings/app/models/decidim/meetings/application_record.rb
1712
1734
  - decidim-meetings/app/models/decidim/meetings/meeting.rb
1735
+ - decidim-meetings/app/models/decidim/meetings/registration.rb
1736
+ - decidim-meetings/app/serializers/decidim/meetings/registration_serializer.rb
1713
1737
  - decidim-meetings/app/services/decidim/meetings/meeting_search.rb
1714
1738
  - decidim-meetings/app/views/decidim/meetings/admin/meeting_closes/_form.html.erb
1715
1739
  - decidim-meetings/app/views/decidim/meetings/admin/meeting_closes/edit.html.erb
@@ -1717,17 +1741,20 @@ files:
1717
1741
  - decidim-meetings/app/views/decidim/meetings/admin/meetings/edit.html.erb
1718
1742
  - decidim-meetings/app/views/decidim/meetings/admin/meetings/index.html.erb
1719
1743
  - decidim-meetings/app/views/decidim/meetings/admin/meetings/new.html.erb
1744
+ - decidim-meetings/app/views/decidim/meetings/admin/registrations/_form.html.erb
1745
+ - decidim-meetings/app/views/decidim/meetings/admin/registrations/edit.html.erb
1720
1746
  - decidim-meetings/app/views/decidim/meetings/meeting_widgets/show.html.erb
1721
1747
  - decidim-meetings/app/views/decidim/meetings/meetings/_datetime.html.erb
1722
1748
  - decidim-meetings/app/views/decidim/meetings/meetings/_filters.html.erb
1723
1749
  - decidim-meetings/app/views/decidim/meetings/meetings/_filters_small_view.html.erb
1724
1750
  - decidim-meetings/app/views/decidim/meetings/meetings/_linked_meetings.html.erb
1725
1751
  - decidim-meetings/app/views/decidim/meetings/meetings/_meetings.html.erb
1752
+ - decidim-meetings/app/views/decidim/meetings/meetings/_registration_confirm.html.erb
1726
1753
  - decidim-meetings/app/views/decidim/meetings/meetings/index.html.erb
1727
1754
  - decidim-meetings/app/views/decidim/meetings/meetings/index.js.erb
1728
1755
  - decidim-meetings/app/views/decidim/meetings/meetings/show.html.erb
1756
+ - decidim-meetings/app/views/decidim/meetings/registration_mailer/confirmation.html.erb
1729
1757
  - decidim-meetings/bin/rails
1730
- - decidim-meetings/config/i18n-tasks.yml
1731
1758
  - decidim-meetings/config/locales/ca.yml
1732
1759
  - decidim-meetings/config/locales/en.yml
1733
1760
  - decidim-meetings/config/locales/es.yml
@@ -1737,6 +1764,7 @@ files:
1737
1764
  - decidim-meetings/config/locales/it.yml
1738
1765
  - decidim-meetings/config/locales/nl.yml
1739
1766
  - decidim-meetings/config/locales/pl.yml
1767
+ - decidim-meetings/config/locales/uk.yml
1740
1768
  - decidim-meetings/db/migrate/20161130121354_create_meetings.rb
1741
1769
  - decidim-meetings/db/migrate/20170110142105_close_a_meeting.rb
1742
1770
  - decidim-meetings/db/migrate/20170123151650_add_latitude_and_longitude_to_meetings.rb
@@ -1744,6 +1772,8 @@ files:
1744
1772
  - decidim-meetings/db/migrate/20170215132546_add_reference_to_meetings.rb
1745
1773
  - decidim-meetings/db/migrate/20170410074252_remove_not_null_reference_meetings.rb
1746
1774
  - decidim-meetings/db/migrate/20170612101925_migrate_meetings_category.rb
1775
+ - decidim-meetings/db/migrate/20170810120836_add_registration_attributes_to_meetings.rb
1776
+ - decidim-meetings/db/migrate/20170810131100_create_registrations.rb
1747
1777
  - decidim-meetings/decidim-meetings.gemspec
1748
1778
  - decidim-meetings/lib/decidim/meetings.rb
1749
1779
  - decidim-meetings/lib/decidim/meetings/admin.rb
@@ -1755,21 +1785,37 @@ files:
1755
1785
  - decidim-meetings/lib/decidim/meetings/test/factories.rb
1756
1786
  - decidim-meetings/spec/commands/close_meeting_spec.rb
1757
1787
  - decidim-meetings/spec/commands/create_meeting_spec.rb
1788
+ - decidim-meetings/spec/commands/join_meeting_spec.rb
1789
+ - decidim-meetings/spec/commands/leave_meeting_spec.rb
1758
1790
  - decidim-meetings/spec/commands/update_meeting_spec.rb
1791
+ - decidim-meetings/spec/commands/update_registrations_spec.rb
1792
+ - decidim-meetings/spec/events/decidim/meetings/close_meeting_event_spec.rb
1793
+ - decidim-meetings/spec/events/decidim/meetings/meeting_registrations_enabled_event_spec.rb
1794
+ - decidim-meetings/spec/events/decidim/meetings/meeting_registrations_over_percentage_event_spec.rb
1795
+ - decidim-meetings/spec/events/decidim/meetings/upcoming_meeting_event_spec.rb
1796
+ - decidim-meetings/spec/events/decidim/meetings/update_meeting_event_spec.rb
1759
1797
  - decidim-meetings/spec/factories.rb
1760
1798
  - decidim-meetings/spec/features/admin_manages_meetings_attachments_spec.rb
1761
1799
  - decidim-meetings/spec/features/admin_manages_meetings_spec.rb
1800
+ - decidim-meetings/spec/features/comments_spec.rb
1762
1801
  - decidim-meetings/spec/features/explore_meetings_spec.rb
1802
+ - decidim-meetings/spec/features/follow_meetings_spec.rb
1803
+ - decidim-meetings/spec/features/meeting_registrations_spec.rb
1763
1804
  - decidim-meetings/spec/features/process_admin_manages_meetings_attachments_spec.rb
1764
1805
  - decidim-meetings/spec/features/process_admin_manages_meetings_spec.rb
1765
1806
  - decidim-meetings/spec/forms/close_meeting_form_spec.rb
1766
1807
  - decidim-meetings/spec/forms/meeting_form_spec.rb
1808
+ - decidim-meetings/spec/forms/meeting_registrations_form_spec.rb
1767
1809
  - decidim-meetings/spec/helpers/meetings_helper_spec.rb
1768
- - decidim-meetings/spec/i18n_spec.rb
1810
+ - decidim-meetings/spec/jobs/decidim/meetings/upcoming_meeting_notification_job_spec.rb
1811
+ - decidim-meetings/spec/mailers/registration_mailer_spec.rb
1769
1812
  - decidim-meetings/spec/models/meeting_spec.rb
1813
+ - decidim-meetings/spec/models/registration_spec.rb
1814
+ - decidim-meetings/spec/serializers/registration_serializer_spec.rb
1770
1815
  - decidim-meetings/spec/services/meeting_search_spec.rb
1771
1816
  - decidim-meetings/spec/shared/manage_attachments_examples.rb
1772
1817
  - decidim-meetings/spec/shared/manage_meetings_examples.rb
1818
+ - decidim-meetings/spec/shared/manage_registrations_examples.rb
1773
1819
  - decidim-meetings/spec/spec_helper.rb
1774
1820
  - decidim-pages/README.md
1775
1821
  - decidim-pages/Rakefile
@@ -1789,7 +1835,6 @@ files:
1789
1835
  - decidim-pages/app/views/decidim/pages/admin/pages/edit.html.erb
1790
1836
  - decidim-pages/app/views/decidim/pages/application/show.html.erb
1791
1837
  - decidim-pages/bin/rails
1792
- - decidim-pages/config/i18n-tasks.yml
1793
1838
  - decidim-pages/config/locales/ca.yml
1794
1839
  - decidim-pages/config/locales/en.yml
1795
1840
  - decidim-pages/config/locales/es.yml
@@ -1799,6 +1844,7 @@ files:
1799
1844
  - decidim-pages/config/locales/it.yml
1800
1845
  - decidim-pages/config/locales/nl.yml
1801
1846
  - decidim-pages/config/locales/pl.yml
1847
+ - decidim-pages/config/locales/uk.yml
1802
1848
  - decidim-pages/db/migrate/20161116121353_create_decidim_pages.rb
1803
1849
  - decidim-pages/db/migrate/20161214150429_add_commentable_to_pages.rb
1804
1850
  - decidim-pages/db/migrate/20170110145040_remove_commentable_flag_from_pages.rb
@@ -1815,12 +1861,239 @@ files:
1815
1861
  - decidim-pages/spec/commands/update_page_spec.rb
1816
1862
  - decidim-pages/spec/factories.rb
1817
1863
  - decidim-pages/spec/features/admin_spec.rb
1818
- - decidim-pages/spec/features/comments_spec.rb
1819
1864
  - decidim-pages/spec/features/page_show_spec.rb
1820
1865
  - decidim-pages/spec/forms/page_form_spec.rb
1821
- - decidim-pages/spec/i18n_spec.rb
1822
1866
  - decidim-pages/spec/models/page_spec.rb
1823
1867
  - decidim-pages/spec/spec_helper.rb
1868
+ - decidim-participatory_processes/.gitignore
1869
+ - decidim-participatory_processes/README.md
1870
+ - decidim-participatory_processes/Rakefile
1871
+ - decidim-participatory_processes/app/assets/config/admin/decidim_participatory_processes_manifest.js
1872
+ - decidim-participatory_processes/app/assets/config/decidim_participatory_processes_manifest.js
1873
+ - decidim-participatory_processes/app/assets/images/decidim/participatory_processes/process.svg
1874
+ - decidim-participatory_processes/app/assets/javascripts/decidim/participatory_processes/admin/participatory_processes.js.es6
1875
+ - decidim-participatory_processes/app/assets/javascripts/decidim/participatory_processes/filters.js.es6
1876
+ - decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/activate_participatory_process_step.rb
1877
+ - decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/copy_participatory_process.rb
1878
+ - decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/create_participatory_process.rb
1879
+ - decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/create_participatory_process_admin.rb
1880
+ - decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/create_participatory_process_group.rb
1881
+ - decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/create_participatory_process_step.rb
1882
+ - decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/deactivate_participatory_process_step.rb
1883
+ - decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/destroy_participatory_process_step.rb
1884
+ - decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/publish_participatory_process.rb
1885
+ - decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/reorder_participatory_process_steps.rb
1886
+ - decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/unpublish_participatory_process.rb
1887
+ - decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/update_participatory_process.rb
1888
+ - decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/update_participatory_process_admin.rb
1889
+ - decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/update_participatory_process_group.rb
1890
+ - decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/update_participatory_process_step.rb
1891
+ - decidim-participatory_processes/app/constraints/decidim/participatory_processes/current_feature.rb
1892
+ - decidim-participatory_processes/app/constraints/decidim/participatory_processes/current_participatory_process.rb
1893
+ - decidim-participatory_processes/app/controllers/concerns/decidim/participatory_processes/admin/participatory_process_context.rb
1894
+ - decidim-participatory_processes/app/controllers/concerns/decidim/participatory_processes/needs_participatory_process.rb
1895
+ - decidim-participatory_processes/app/controllers/concerns/decidim/participatory_processes/participatory_process_context.rb
1896
+ - decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/application_controller.rb
1897
+ - decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/categories_controller.rb
1898
+ - decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/concerns/participatory_process_admin.rb
1899
+ - decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/exports_controller.rb
1900
+ - decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/feature_permissions_controller.rb
1901
+ - decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/features_controller.rb
1902
+ - decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/moderations_controller.rb
1903
+ - decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
1904
+ - decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_process_copies_controller.rb
1905
+ - decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_process_groups_controller.rb
1906
+ - decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_process_publications_controller.rb
1907
+ - decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_process_step_activations_controller.rb
1908
+ - decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_process_step_ordering_controller.rb
1909
+ - decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_process_steps_controller.rb
1910
+ - decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_process_user_roles_controller.rb
1911
+ - decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_processes_controller.rb
1912
+ - decidim-participatory_processes/app/controllers/decidim/participatory_processes/participatory_process_groups_controller.rb
1913
+ - decidim-participatory_processes/app/controllers/decidim/participatory_processes/participatory_process_steps_controller.rb
1914
+ - decidim-participatory_processes/app/controllers/decidim/participatory_processes/participatory_process_widgets_controller.rb
1915
+ - decidim-participatory_processes/app/controllers/decidim/participatory_processes/participatory_processes_controller.rb
1916
+ - decidim-participatory_processes/app/forms/decidim/participatory_processes/admin/participatory_process_copy_form.rb
1917
+ - decidim-participatory_processes/app/forms/decidim/participatory_processes/admin/participatory_process_form.rb
1918
+ - decidim-participatory_processes/app/forms/decidim/participatory_processes/admin/participatory_process_group_form.rb
1919
+ - decidim-participatory_processes/app/forms/decidim/participatory_processes/admin/participatory_process_step_form.rb
1920
+ - decidim-participatory_processes/app/forms/decidim/participatory_processes/admin/participatory_process_user_role_form.rb
1921
+ - decidim-participatory_processes/app/helpers/decidim/participatory_processes/admin/process_groups_for_select_helper.rb
1922
+ - decidim-participatory_processes/app/helpers/decidim/participatory_processes/admin/processes_for_select_helper.rb
1923
+ - decidim-participatory_processes/app/helpers/decidim/participatory_processes/participatory_process_helper.rb
1924
+ - decidim-participatory_processes/app/helpers/decidim/participatory_processes/participatory_process_steps_helper.rb
1925
+ - decidim-participatory_processes/app/models/decidim/participatory_process.rb
1926
+ - decidim-participatory_processes/app/models/decidim/participatory_process_group.rb
1927
+ - decidim-participatory_processes/app/models/decidim/participatory_process_step.rb
1928
+ - decidim-participatory_processes/app/models/decidim/participatory_processes/abilities/admin/admin_ability.rb
1929
+ - decidim-participatory_processes/app/models/decidim/participatory_processes/abilities/admin_ability.rb
1930
+ - decidim-participatory_processes/app/models/decidim/participatory_processes/abilities/everyone_ability.rb
1931
+ - decidim-participatory_processes/app/presenters/decidim/participatory_processes/participatory_process_stats_presenter.rb
1932
+ - decidim-participatory_processes/app/queries/decidim/participatory_processes/admin/admin_users.rb
1933
+ - decidim-participatory_processes/app/queries/decidim/participatory_processes/filtered_participatory_process_groups.rb
1934
+ - decidim-participatory_processes/app/queries/decidim/participatory_processes/filtered_participatory_processes.rb
1935
+ - decidim-participatory_processes/app/queries/decidim/participatory_processes/highlighted_participatory_processes.rb
1936
+ - decidim-participatory_processes/app/queries/decidim/participatory_processes/organization_participatory_process_groups.rb
1937
+ - decidim-participatory_processes/app/queries/decidim/participatory_processes/organization_participatory_processes.rb
1938
+ - decidim-participatory_processes/app/queries/decidim/participatory_processes/organization_prioritized_participatory_process_groups.rb
1939
+ - decidim-participatory_processes/app/queries/decidim/participatory_processes/organization_prioritized_participatory_processes.rb
1940
+ - decidim-participatory_processes/app/queries/decidim/participatory_processes/organization_published_participatory_processes.rb
1941
+ - decidim-participatory_processes/app/queries/decidim/participatory_processes/prioritized_participatory_processes.rb
1942
+ - decidim-participatory_processes/app/queries/decidim/participatory_processes/promoted_participatory_processes.rb
1943
+ - decidim-participatory_processes/app/queries/decidim/participatory_processes/published_participatory_processes.rb
1944
+ - decidim-participatory_processes/app/views/decidim/participatory_process_groups/_participatory_process_group.html.erb
1945
+ - decidim-participatory_processes/app/views/decidim/participatory_process_steps/_participatory_process_step.html.erb
1946
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/_order_by_processes.html.erb
1947
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/_participatory_process.html.erb
1948
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_process_copies/_form.html.erb
1949
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_process_copies/new.html.erb
1950
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_process_groups/_form.html.erb
1951
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_process_groups/edit.html.erb
1952
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_process_groups/index.html.erb
1953
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_process_groups/new.html.erb
1954
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_process_groups/show.html.erb
1955
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_process_steps/_form.html.erb
1956
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_process_steps/edit.html.erb
1957
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_process_steps/index.html.erb
1958
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_process_steps/new.html.erb
1959
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_process_steps/show.html.erb
1960
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_process_user_roles/_form.html.erb
1961
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_process_user_roles/edit.html.erb
1962
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_process_user_roles/index.html.erb
1963
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_process_user_roles/new.html.erb
1964
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_processes/_form.html.erb
1965
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_processes/edit.html.erb
1966
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_processes/index.html.erb
1967
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_processes/new.html.erb
1968
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/participatory_process_groups/show.html.erb
1969
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/participatory_process_steps/_timeline.html.erb
1970
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/participatory_process_steps/index.html.erb
1971
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/participatory_process_widgets/show.html.erb
1972
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/participatory_processes/_no_processes_yet.html.erb
1973
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/participatory_processes/_promoted_process.html.erb
1974
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/participatory_processes/_statistics.html.erb
1975
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/participatory_processes/index.html.erb
1976
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/participatory_processes/index.js.erb
1977
+ - decidim-participatory_processes/app/views/decidim/participatory_processes/participatory_processes/show.html.erb
1978
+ - decidim-participatory_processes/app/views/layouts/decidim/_process_header.html.erb
1979
+ - decidim-participatory_processes/app/views/layouts/decidim/_process_header_steps.html.erb
1980
+ - decidim-participatory_processes/app/views/layouts/decidim/admin/participatory_process.html.erb
1981
+ - decidim-participatory_processes/app/views/layouts/decidim/admin/participatory_process_groups.html.erb
1982
+ - decidim-participatory_processes/app/views/layouts/decidim/admin/participatory_processes.html.erb
1983
+ - decidim-participatory_processes/app/views/layouts/decidim/participatory_process.html.erb
1984
+ - decidim-participatory_processes/bin/rails
1985
+ - decidim-participatory_processes/config/locales/ca.yml
1986
+ - decidim-participatory_processes/config/locales/en.yml
1987
+ - decidim-participatory_processes/config/locales/es.yml
1988
+ - decidim-participatory_processes/config/locales/eu.yml
1989
+ - decidim-participatory_processes/config/locales/fi.yml
1990
+ - decidim-participatory_processes/config/locales/fr.yml
1991
+ - decidim-participatory_processes/config/locales/it.yml
1992
+ - decidim-participatory_processes/config/locales/nl.yml
1993
+ - decidim-participatory_processes/config/locales/pl.yml
1994
+ - decidim-participatory_processes/config/locales/uk.yml
1995
+ - decidim-participatory_processes/db/migrate/20161005130108_add_participatory_processes.rb
1996
+ - decidim-participatory_processes/db/migrate/20161010102356_translate_processes.rb
1997
+ - decidim-participatory_processes/db/migrate/20161011125616_add_hero_image_to_processes.rb
1998
+ - decidim-participatory_processes/db/migrate/20161011141033_add_banner_image_to_processes.rb
1999
+ - decidim-participatory_processes/db/migrate/20161013134732_add_promoted_flag_to_processes.rb
2000
+ - decidim-participatory_processes/db/migrate/20161017085822_add_participatory_process_steps.rb
2001
+ - decidim-participatory_processes/db/migrate/20161019072016_add_active_flag_to_step.rb
2002
+ - decidim-participatory_processes/db/migrate/20161020080756_add_position_to_steps.rb
2003
+ - decidim-participatory_processes/db/migrate/20161025125300_add_published_at_to_processes.rb
2004
+ - decidim-participatory_processes/db/migrate/20161107152228_remove_not_null_on_step_position.rb
2005
+ - decidim-participatory_processes/db/migrate/20161110092735_add_index_for_process_slug_organization.rb
2006
+ - decidim-participatory_processes/db/migrate/20161116115156_create_attachments.rb
2007
+ - decidim-participatory_processes/db/migrate/20170116135237_loosen_step_requirements.rb
2008
+ - decidim-participatory_processes/db/migrate/20170123134023_make_attachments_polymorphic.rb
2009
+ - decidim-participatory_processes/db/migrate/20170125135937_rename_attachable_to_attached_to.rb
2010
+ - decidim-participatory_processes/db/migrate/20170126151123_add_extra_info_to_processes.rb
2011
+ - decidim-participatory_processes/db/migrate/20170206083118_rename_extra_info_on_processes.rb
2012
+ - decidim-participatory_processes/db/migrate/20170220110740_remove_steps_short_description.rb
2013
+ - decidim-participatory_processes/db/migrate/20170221094835_add_scopes_to_processes.rb
2014
+ - decidim-participatory_processes/db/migrate/20170228142440_add_participatory_process_groups.rb
2015
+ - decidim-participatory_processes/db/migrate/20170404132616_change_steps_end_and_start_date_to_date.rb
2016
+ - decidim-participatory_processes/db/migrate/20170720120135_make_features_polymorphic.rb
2017
+ - decidim-participatory_processes/db/migrate/20170725085104_add_show_statistics_to_participatory_processes.rb
2018
+ - decidim-participatory_processes/db/migrate/20170804125402_attachment_description_nullable.rb
2019
+ - decidim-participatory_processes/db/migrate/20170808080905_add_announcement_to_participatory_processes.rb
2020
+ - decidim-participatory_processes/db/migrate/20170809084005_add_scopes_enabled_to_participatory_processes.rb
2021
+ - decidim-participatory_processes/db/migrate/20170830081725_add_start_date_to_processes.rb
2022
+ - decidim-participatory_processes/db/seeds/Exampledocument.pdf
2023
+ - decidim-participatory_processes/db/seeds/city.jpeg
2024
+ - decidim-participatory_processes/db/seeds/city2.jpeg
2025
+ - decidim-participatory_processes/db/seeds/homepage_image.jpg
2026
+ - decidim-participatory_processes/decidim-participatory_processes.gemspec
2027
+ - decidim-participatory_processes/lib/decidim/participatory_processes.rb
2028
+ - decidim-participatory_processes/lib/decidim/participatory_processes/admin.rb
2029
+ - decidim-participatory_processes/lib/decidim/participatory_processes/admin_engine.rb
2030
+ - decidim-participatory_processes/lib/decidim/participatory_processes/engine.rb
2031
+ - decidim-participatory_processes/lib/decidim/participatory_processes/participatory_space.rb
2032
+ - decidim-participatory_processes/lib/decidim/participatory_processes/test/factories.rb
2033
+ - decidim-participatory_processes/spec/commands/activate_participatory_process_step_spec.rb
2034
+ - decidim-participatory_processes/spec/commands/copy_participatory_process_spec.rb
2035
+ - decidim-participatory_processes/spec/commands/create_category_spec.rb
2036
+ - decidim-participatory_processes/spec/commands/create_participatory_process_admin_spec.rb
2037
+ - decidim-participatory_processes/spec/commands/create_participatory_process_spec.rb
2038
+ - decidim-participatory_processes/spec/commands/create_participatory_process_step_spec.rb
2039
+ - decidim-participatory_processes/spec/commands/deactivate_participatory_process_step_spec.rb
2040
+ - decidim-participatory_processes/spec/commands/destroy_category_spec.rb
2041
+ - decidim-participatory_processes/spec/commands/destroy_participatory_process_step_spec.rb
2042
+ - decidim-participatory_processes/spec/commands/publish_participatory_process_spec.rb
2043
+ - decidim-participatory_processes/spec/commands/reorder_participatory_process_steps_spec.rb
2044
+ - decidim-participatory_processes/spec/commands/unpublish_participatory_process_spec.rb
2045
+ - decidim-participatory_processes/spec/commands/update_category_spec.rb
2046
+ - decidim-participatory_processes/spec/commands/update_participatory_process_spec.rb
2047
+ - decidim-participatory_processes/spec/controllers/exports_controller_spec.rb
2048
+ - decidim-participatory_processes/spec/controllers/participatory_processes_controller_spec.rb
2049
+ - decidim-participatory_processes/spec/factories.rb
2050
+ - decidim-participatory_processes/spec/features/admin/admin_copy_participatory_process_spec.rb
2051
+ - decidim-participatory_processes/spec/features/admin/admin_manages_participatory_process_admins_spec.rb
2052
+ - decidim-participatory_processes/spec/features/admin/admin_manages_participatory_process_attachments_spec.rb
2053
+ - decidim-participatory_processes/spec/features/admin/admin_manages_participatory_process_categories_spec.rb
2054
+ - decidim-participatory_processes/spec/features/admin/admin_manages_participatory_process_feature_permissions_spec.rb
2055
+ - decidim-participatory_processes/spec/features/admin/admin_manages_participatory_process_features_spec.rb
2056
+ - decidim-participatory_processes/spec/features/admin/admin_manages_participatory_process_groups_spec.rb
2057
+ - decidim-participatory_processes/spec/features/admin/admin_manages_participatory_process_steps_spec.rb
2058
+ - decidim-participatory_processes/spec/features/admin/admin_manages_participatory_processes_spec.rb
2059
+ - decidim-participatory_processes/spec/features/admin/admin_manages_user_groups_spec.rb
2060
+ - decidim-participatory_processes/spec/features/admin/participatory_process_admin_manages_participatory_process_admins_spec.rb
2061
+ - decidim-participatory_processes/spec/features/admin/participatory_process_admin_manages_participatory_process_attachments_spec.rb
2062
+ - decidim-participatory_processes/spec/features/admin/participatory_process_admin_manages_participatory_process_categories_spec.rb
2063
+ - decidim-participatory_processes/spec/features/admin/participatory_process_admin_manages_participatory_process_steps_spec.rb
2064
+ - decidim-participatory_processes/spec/features/admin/participatory_process_admin_manages_participatory_processes_spec.rb
2065
+ - decidim-participatory_processes/spec/features/participatory_process_groups_spec.rb
2066
+ - decidim-participatory_processes/spec/features/participatory_process_steps_spec.rb
2067
+ - decidim-participatory_processes/spec/features/participatory_processes_spec.rb
2068
+ - decidim-participatory_processes/spec/forms/category_form_spec.rb
2069
+ - decidim-participatory_processes/spec/forms/participatory_process_form_spec.rb
2070
+ - decidim-participatory_processes/spec/forms/participatory_process_group_form_spec.rb
2071
+ - decidim-participatory_processes/spec/forms/participatory_process_step_form_spec.rb
2072
+ - decidim-participatory_processes/spec/forms/participatory_process_user_role_form_spec.rb
2073
+ - decidim-participatory_processes/spec/helpers/decidim/participatory_processes/participatory_process_helper_spec.rb
2074
+ - decidim-participatory_processes/spec/helpers/decidim/scopes_helper_spec.rb
2075
+ - decidim-participatory_processes/spec/lib/features/participatory_processes/current_feature_spec.rb
2076
+ - decidim-participatory_processes/spec/models/abilities/admin/admin_ability_spec.rb
2077
+ - decidim-participatory_processes/spec/models/abilities/admin_ability_spec.rb
2078
+ - decidim-participatory_processes/spec/models/abilities/everyone_ability_spec.rb
2079
+ - decidim-participatory_processes/spec/models/decidim/participatory_process_spec.rb
2080
+ - decidim-participatory_processes/spec/models/decidim/participatory_process_step_spec.rb
2081
+ - decidim-participatory_processes/spec/presenters/decidim/participatory_processes/participatory_process_stats_presenter.spec.rb
2082
+ - decidim-participatory_processes/spec/queries/admin/process_admins_spec.rb
2083
+ - decidim-participatory_processes/spec/queries/organization_participatory_process_groups_spec.rb
2084
+ - decidim-participatory_processes/spec/queries/organization_participatory_processes_spec.rb
2085
+ - decidim-participatory_processes/spec/queries/organization_prioritized_participatory_processes_spec.rb
2086
+ - decidim-participatory_processes/spec/queries/organization_published_participatory_processes_spec.rb
2087
+ - decidim-participatory_processes/spec/queries/participatory_processes_with_user_role_spec.rb
2088
+ - decidim-participatory_processes/spec/shared/manage_process_admins_examples.rb
2089
+ - decidim-participatory_processes/spec/shared/manage_process_attachments_examples.rb
2090
+ - decidim-participatory_processes/spec/shared/manage_process_categories_examples.rb
2091
+ - decidim-participatory_processes/spec/shared/manage_process_steps_examples.rb
2092
+ - decidim-participatory_processes/spec/shared/manage_processes_examples.rb
2093
+ - decidim-participatory_processes/spec/shared/participatory_process_administration_by_admin_shared_context.rb
2094
+ - decidim-participatory_processes/spec/shared/participatory_process_administration_by_process_admin_shared_context.rb
2095
+ - decidim-participatory_processes/spec/shared/participatory_process_administration_shared_context.rb
2096
+ - decidim-participatory_processes/spec/spec_helper.rb
1824
2097
  - decidim-proposals/README.md
1825
2098
  - decidim-proposals/Rakefile
1826
2099
  - decidim-proposals/app/assets/config/decidim_proposals_manifest.css
@@ -1881,7 +2154,6 @@ files:
1881
2154
  - decidim-proposals/app/views/decidim/proposals/proposals/new.html.erb
1882
2155
  - decidim-proposals/app/views/decidim/proposals/proposals/show.html.erb
1883
2156
  - decidim-proposals/bin/rails
1884
- - decidim-proposals/config/i18n-tasks.yml
1885
2157
  - decidim-proposals/config/initializers/social_share_button.rb
1886
2158
  - decidim-proposals/config/locales/ca.yml
1887
2159
  - decidim-proposals/config/locales/en.yml
@@ -1892,6 +2164,7 @@ files:
1892
2164
  - decidim-proposals/config/locales/it.yml
1893
2165
  - decidim-proposals/config/locales/nl.yml
1894
2166
  - decidim-proposals/config/locales/pl.yml
2167
+ - decidim-proposals/config/locales/uk.yml
1895
2168
  - decidim-proposals/db/migrate/20161212110850_create_decidim_proposals.rb
1896
2169
  - decidim-proposals/db/migrate/20170112115253_create_proposal_votes.rb
1897
2170
  - decidim-proposals/db/migrate/20170113114245_add_text_search_indexes.rb
@@ -1927,6 +2200,7 @@ files:
1927
2200
  - decidim-proposals/spec/factories.rb
1928
2201
  - decidim-proposals/spec/features/admin_manages_proposals_spec.rb
1929
2202
  - decidim-proposals/spec/features/comments_spec.rb
2203
+ - decidim-proposals/spec/features/follow_proposals_spec.rb
1930
2204
  - decidim-proposals/spec/features/process_admin_manages_proposals_spec.rb
1931
2205
  - decidim-proposals/spec/features/proposals_spec.rb
1932
2206
  - decidim-proposals/spec/features/report_proposal_spec.rb
@@ -1936,7 +2210,6 @@ files:
1936
2210
  - decidim-proposals/spec/forms/decidim/proposals/proposal_form_spec.rb
1937
2211
  - decidim-proposals/spec/helpers/application_helper_spec.rb
1938
2212
  - decidim-proposals/spec/helpers/proposal_votes_helper_spec.rb
1939
- - decidim-proposals/spec/i18n_spec.rb
1940
2213
  - decidim-proposals/spec/lib/decidim/proposals/feature_spec.rb
1941
2214
  - decidim-proposals/spec/models/decidim/proposals/abilities/admin_ability_spec.rb
1942
2215
  - decidim-proposals/spec/models/decidim/proposals/abilities/participatory_process_admin_ability.rb
@@ -1982,7 +2255,6 @@ files:
1982
2255
  - decidim-results/app/views/decidim/results/results/index.js.erb
1983
2256
  - decidim-results/app/views/decidim/results/results/show.html.erb
1984
2257
  - decidim-results/bin/rails
1985
- - decidim-results/config/i18n-tasks.yml
1986
2258
  - decidim-results/config/locales/ca.yml
1987
2259
  - decidim-results/config/locales/en.yml
1988
2260
  - decidim-results/config/locales/es.yml
@@ -1992,6 +2264,7 @@ files:
1992
2264
  - decidim-results/config/locales/it.yml
1993
2265
  - decidim-results/config/locales/nl.yml
1994
2266
  - decidim-results/config/locales/pl.yml
2267
+ - decidim-results/config/locales/uk.yml
1995
2268
  - decidim-results/db/migrate/20170116104125_create_results.rb
1996
2269
  - decidim-results/db/migrate/20170129164553_remove_short_description_from_results.rb
1997
2270
  - decidim-results/db/migrate/20170215132624_add_reference_to_results.rb
@@ -2011,9 +2284,9 @@ files:
2011
2284
  - decidim-results/spec/features/admin_manages_results_spec.rb
2012
2285
  - decidim-results/spec/features/comments_spec.rb
2013
2286
  - decidim-results/spec/features/explore_results_spec.rb
2287
+ - decidim-results/spec/features/follow_result_spec.rb
2014
2288
  - decidim-results/spec/features/process_admin_manages_results_spec.rb
2015
2289
  - decidim-results/spec/forms/result_form_spec.rb
2016
- - decidim-results/spec/i18n_spec.rb
2017
2290
  - decidim-results/spec/models/result_spec.rb
2018
2291
  - decidim-results/spec/queries/decidim/results/filtered_results_spec.rb
2019
2292
  - decidim-results/spec/services/result_search_spec.rb
@@ -2055,7 +2328,6 @@ files:
2055
2328
  - decidim-surveys/app/views/decidim/surveys/admin/surveys/edit.html.erb
2056
2329
  - decidim-surveys/app/views/decidim/surveys/surveys/show.html.erb
2057
2330
  - decidim-surveys/bin/rails
2058
- - decidim-surveys/config/i18n-tasks.yml
2059
2331
  - decidim-surveys/config/locales/ca.yml
2060
2332
  - decidim-surveys/config/locales/en.yml
2061
2333
  - decidim-surveys/config/locales/es.yml
@@ -2065,6 +2337,7 @@ files:
2065
2337
  - decidim-surveys/config/locales/it.yml
2066
2338
  - decidim-surveys/config/locales/nl.yml
2067
2339
  - decidim-surveys/config/locales/pl.yml
2340
+ - decidim-surveys/config/locales/uk.yml
2068
2341
  - decidim-surveys/db/migrate/20170511092231_create_decidim_surveys.rb
2069
2342
  - decidim-surveys/db/migrate/20170515090916_create_decidim_survey_questions.rb
2070
2343
  - decidim-surveys/db/migrate/20170515144119_create_decidim_survey_answers.rb
@@ -2158,7 +2431,6 @@ files:
2158
2431
  - decidim-system/app/views/layouts/decidim/system/application.html.erb
2159
2432
  - decidim-system/app/views/layouts/decidim/system/login.html.erb
2160
2433
  - decidim-system/bin/rails
2161
- - decidim-system/config/i18n-tasks.yml
2162
2434
  - decidim-system/config/locales/ca.yml
2163
2435
  - decidim-system/config/locales/en.yml
2164
2436
  - decidim-system/config/locales/es.yml
@@ -2168,6 +2440,7 @@ files:
2168
2440
  - decidim-system/config/locales/it.yml
2169
2441
  - decidim-system/config/locales/nl.yml
2170
2442
  - decidim-system/config/locales/pl.yml
2443
+ - decidim-system/config/locales/uk.yml
2171
2444
  - decidim-system/config/routes.rb
2172
2445
  - decidim-system/db/migrate/20160919105637_devise_create_decidim_admins.rb
2173
2446
  - decidim-system/db/seeds.rb
@@ -2183,12 +2456,13 @@ files:
2183
2456
  - decidim-system/spec/features/organizations_spec.rb
2184
2457
  - decidim-system/spec/features/sessions_spec.rb
2185
2458
  - decidim-system/spec/helpers/menu_helper_spec.rb
2186
- - decidim-system/spec/i18n_spec.rb
2187
2459
  - decidim-system/spec/models/admin_spec.rb
2188
2460
  - decidim-system/spec/spec_helper.rb
2189
2461
  - decidim.gemspec
2190
2462
  - docker-compose.yml
2191
2463
  - docs/analytics.md
2464
+ - docs/create_followers_from_comment_authors.md
2465
+ - docs/create_followers_from_resource_authors.md
2192
2466
  - docs/features_and_components.md
2193
2467
  - docs/geocoding.md
2194
2468
  - docs/getting_started.md
@@ -2219,6 +2493,8 @@ files:
2219
2493
  - logo.svg
2220
2494
  - package-lock.json
2221
2495
  - package.json
2496
+ - spec/generator_spec.rb
2497
+ - spec/i18n_spec.rb
2222
2498
  - tsconfig.json
2223
2499
  - tslint.json
2224
2500
  - webpack.config.js