decidim 0.1.0 → 0.2.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 (627) hide show
  1. checksums.yaml +4 -4
  2. data/.codeclimate.yml +1 -0
  3. data/.rubocop.yml +12 -7
  4. data/Gemfile +0 -4
  5. data/Gemfile.lock +74 -71
  6. data/README.md +1 -0
  7. data/Rakefile +12 -1
  8. data/codecov.yml +3 -1
  9. data/decidim-admin/Rakefile +1 -0
  10. data/decidim-admin/app/assets/stylesheets/decidim/admin/application.scss.erb +6 -0
  11. data/decidim-admin/app/assets/stylesheets/decidim/admin/extra/_action-icon.scss +1 -0
  12. data/decidim-admin/app/assets/stylesheets/decidim/admin/extra/_dropdown_inverted.scss +38 -0
  13. data/decidim-admin/app/commands/decidim/admin/activate_participatory_process_step.rb +1 -0
  14. data/decidim-admin/app/commands/decidim/admin/copy_participatory_process.rb +113 -0
  15. data/decidim-admin/app/commands/decidim/admin/create_attachment.rb +1 -0
  16. data/decidim-admin/app/commands/decidim/admin/create_category.rb +1 -0
  17. data/decidim-admin/app/commands/decidim/admin/create_feature.rb +1 -0
  18. data/decidim-admin/app/commands/decidim/admin/create_newsletter.rb +1 -0
  19. data/decidim-admin/app/commands/decidim/admin/create_participatory_process.rb +1 -0
  20. data/decidim-admin/app/commands/decidim/admin/create_participatory_process_admin.rb +1 -0
  21. data/decidim-admin/app/commands/decidim/admin/create_participatory_process_group.rb +1 -0
  22. data/decidim-admin/app/commands/decidim/admin/create_participatory_process_step.rb +1 -0
  23. data/decidim-admin/app/commands/decidim/admin/create_scope.rb +1 -0
  24. data/decidim-admin/app/commands/decidim/admin/create_static_page.rb +1 -0
  25. data/decidim-admin/app/commands/decidim/admin/deactivate_participatory_process_step.rb +1 -0
  26. data/decidim-admin/app/commands/decidim/admin/deliver_newsletter.rb +1 -0
  27. data/decidim-admin/app/commands/decidim/admin/destroy_category.rb +1 -0
  28. data/decidim-admin/app/commands/decidim/admin/destroy_feature.rb +1 -0
  29. data/decidim-admin/app/commands/decidim/admin/destroy_participatory_process_step.rb +1 -0
  30. data/decidim-admin/app/commands/decidim/admin/hide_resource.rb +1 -0
  31. data/decidim-admin/app/commands/decidim/admin/publish_participatory_process.rb +1 -0
  32. data/decidim-admin/app/commands/decidim/admin/reject_user_group.rb +33 -0
  33. data/decidim-admin/app/commands/decidim/admin/reorder_participatory_process_steps.rb +1 -0
  34. data/decidim-admin/app/commands/decidim/admin/unpublish_participatory_process.rb +1 -0
  35. data/decidim-admin/app/commands/decidim/admin/unreport_resource.rb +1 -0
  36. data/decidim-admin/app/commands/decidim/admin/update_attachment.rb +1 -0
  37. data/decidim-admin/app/commands/decidim/admin/update_category.rb +1 -0
  38. data/decidim-admin/app/commands/decidim/admin/update_feature.rb +1 -0
  39. data/decidim-admin/app/commands/decidim/admin/update_feature_permissions.rb +1 -0
  40. data/decidim-admin/app/commands/decidim/admin/update_newsletter.rb +1 -0
  41. data/decidim-admin/app/commands/decidim/admin/update_organization.rb +1 -0
  42. data/decidim-admin/app/commands/decidim/admin/update_participatory_process.rb +1 -0
  43. data/decidim-admin/app/commands/decidim/admin/update_participatory_process_admin.rb +1 -0
  44. data/decidim-admin/app/commands/decidim/admin/update_participatory_process_group.rb +1 -0
  45. data/decidim-admin/app/commands/decidim/admin/update_participatory_process_step.rb +1 -0
  46. data/decidim-admin/app/commands/decidim/admin/update_scope.rb +1 -0
  47. data/decidim-admin/app/commands/decidim/admin/update_static_page.rb +1 -0
  48. data/decidim-admin/app/commands/decidim/admin/update_user_groups.rb +44 -0
  49. data/decidim-admin/app/commands/decidim/admin/verify_user_group.rb +32 -0
  50. data/decidim-admin/app/constraints/decidim/admin/organization_dashboard_constraint.rb +1 -0
  51. data/decidim-admin/app/controllers/decidim/admin/application_controller.rb +2 -2
  52. data/decidim-admin/app/controllers/decidim/admin/categories_controller.rb +1 -0
  53. data/decidim-admin/app/controllers/decidim/admin/concerns/has_attachments.rb +1 -0
  54. data/decidim-admin/app/controllers/decidim/admin/concerns/participatory_process_admin.rb +1 -0
  55. data/decidim-admin/app/controllers/decidim/admin/dashboard_controller.rb +1 -0
  56. data/decidim-admin/app/controllers/decidim/admin/exports_controller.rb +39 -0
  57. data/decidim-admin/app/controllers/decidim/admin/feature_permissions_controller.rb +1 -0
  58. data/decidim-admin/app/controllers/decidim/admin/features/base_controller.rb +3 -0
  59. data/decidim-admin/app/controllers/decidim/admin/features_controller.rb +1 -0
  60. data/decidim-admin/app/controllers/decidim/admin/moderations_controller.rb +1 -0
  61. data/decidim-admin/app/controllers/decidim/admin/organization_controller.rb +1 -0
  62. data/decidim-admin/app/controllers/decidim/admin/participatory_process_attachments_controller.rb +1 -0
  63. data/decidim-admin/app/controllers/decidim/admin/participatory_process_copies_controller.rb +47 -0
  64. data/decidim-admin/app/controllers/decidim/admin/participatory_process_groups_controller.rb +1 -0
  65. data/decidim-admin/app/controllers/decidim/admin/participatory_process_publications_controller.rb +1 -0
  66. data/decidim-admin/app/controllers/decidim/admin/participatory_process_step_activations_controller.rb +1 -0
  67. data/decidim-admin/app/controllers/decidim/admin/participatory_process_step_ordering_controller.rb +1 -0
  68. data/decidim-admin/app/controllers/decidim/admin/participatory_process_steps_controller.rb +1 -0
  69. data/decidim-admin/app/controllers/decidim/admin/participatory_process_user_roles_controller.rb +1 -0
  70. data/decidim-admin/app/controllers/decidim/admin/participatory_processes_controller.rb +5 -0
  71. data/decidim-admin/app/controllers/decidim/admin/scopes_controller.rb +1 -0
  72. data/decidim-admin/app/controllers/decidim/admin/static_pages_controller.rb +1 -0
  73. data/decidim-admin/app/controllers/decidim/admin/user_groups_controller.rb +32 -4
  74. data/decidim-admin/app/controllers/decidim/admin/users_controller.rb +1 -0
  75. data/decidim-admin/app/forms/decidim/admin/attachment_form.rb +1 -0
  76. data/decidim-admin/app/forms/decidim/admin/category_form.rb +1 -0
  77. data/decidim-admin/app/forms/decidim/admin/feature_form.rb +1 -0
  78. data/decidim-admin/app/forms/decidim/admin/newsletter_form.rb +1 -0
  79. data/decidim-admin/app/forms/decidim/admin/organization_form.rb +1 -0
  80. data/decidim-admin/app/forms/decidim/admin/participatory_process_copy_form.rb +34 -0
  81. data/decidim-admin/app/forms/decidim/admin/participatory_process_form.rb +1 -0
  82. data/decidim-admin/app/forms/decidim/admin/participatory_process_group_form.rb +1 -0
  83. data/decidim-admin/app/forms/decidim/admin/participatory_process_step_form.rb +1 -0
  84. data/decidim-admin/app/forms/decidim/admin/participatory_process_user_role_form.rb +1 -0
  85. data/decidim-admin/app/forms/decidim/admin/permission_form.rb +1 -0
  86. data/decidim-admin/app/forms/decidim/admin/permissions_form.rb +1 -0
  87. data/decidim-admin/app/forms/decidim/admin/scope_form.rb +1 -0
  88. data/decidim-admin/app/forms/decidim/admin/static_page_form.rb +1 -0
  89. data/decidim-admin/app/helpers/decidim/admin/application_helper.rb +1 -8
  90. data/decidim-admin/app/helpers/decidim/admin/attributes_display_helper.rb +1 -0
  91. data/decidim-admin/app/helpers/decidim/admin/exports_helper.rb +18 -0
  92. data/decidim-admin/app/helpers/decidim/admin/feature_settings_helper.rb +1 -0
  93. data/decidim-admin/app/helpers/decidim/admin/icon_link_helper.rb +1 -0
  94. data/decidim-admin/app/helpers/decidim/admin/menu_helper.rb +18 -0
  95. data/decidim-admin/app/helpers/decidim/admin/process_groups_for_select_helper.rb +1 -0
  96. data/decidim-admin/app/helpers/decidim/admin/processes_for_select_helper.rb +1 -0
  97. data/decidim-admin/app/jobs/decidim/admin/application_job.rb +1 -0
  98. data/decidim-admin/app/jobs/decidim/admin/newsletter_delivery_job.rb +1 -0
  99. data/decidim-admin/app/jobs/decidim/admin/newsletter_job.rb +1 -0
  100. data/decidim-admin/app/mailers/decidim/admin/application_mailer.rb +1 -0
  101. data/decidim-admin/app/models/decidim/admin/abilities/admin_user.rb +2 -1
  102. data/decidim-admin/app/models/decidim/admin/abilities/base.rb +1 -0
  103. data/decidim-admin/app/models/decidim/admin/abilities/collaborator_user.rb +1 -0
  104. data/decidim-admin/app/models/decidim/admin/abilities/participatory_process_admin.rb +1 -0
  105. data/decidim-admin/app/models/decidim/admin/application_record.rb +1 -0
  106. data/decidim-admin/app/models/decidim/admin/participatory_process_user_role.rb +3 -2
  107. data/decidim-admin/app/queries/decidim/admin/manageable_participatory_processes_for_user.rb +1 -0
  108. data/decidim-admin/app/queries/decidim/admin/process_admin_roles_for_process.rb +1 -0
  109. data/decidim-admin/app/queries/decidim/admin/process_admins.rb +1 -0
  110. data/decidim-admin/app/queries/decidim/admin/user_groups_evaluation.rb +54 -0
  111. data/decidim-admin/app/views/decidim/admin/exports/_dropdown.html.erb +10 -0
  112. data/decidim-admin/app/views/decidim/admin/participatory_process_copies/_form.html.erb +38 -0
  113. data/decidim-admin/app/views/decidim/admin/participatory_process_copies/new.html.erb +7 -0
  114. data/decidim-admin/app/views/decidim/admin/participatory_processes/index.html.erb +2 -0
  115. data/decidim-admin/app/views/decidim/admin/scopes/new.html.erb +0 -1
  116. data/decidim-admin/app/views/decidim/admin/user_groups/index.html.erb +67 -5
  117. data/decidim-admin/app/views/layouts/decidim/admin/_application.html.erb +1 -1
  118. data/decidim-admin/app/views/layouts/decidim/admin/_title_bar.html.erb +1 -1
  119. data/decidim-admin/bin/rails +1 -0
  120. data/decidim-admin/config/i18n-tasks.yml +6 -6
  121. data/decidim-admin/config/locales/ca.yml +36 -2
  122. data/decidim-admin/config/locales/en.yml +36 -2
  123. data/decidim-admin/config/locales/es.yml +37 -3
  124. data/decidim-admin/config/locales/eu.yml +41 -3
  125. data/decidim-admin/config/locales/fi.yml +0 -3
  126. data/decidim-admin/config/locales/fr.yml +0 -3
  127. data/decidim-admin/config/routes.rb +4 -0
  128. data/decidim-admin/db/seeds.rb +1 -0
  129. data/decidim-admin/decidim-admin.gemspec +0 -1
  130. data/decidim-admin/lib/decidim/admin.rb +1 -0
  131. data/decidim-admin/lib/decidim/admin/engine.rb +51 -0
  132. data/decidim-admin/lib/decidim/admin/features.rb +1 -0
  133. data/decidim-admin/lib/decidim/admin/test/factories.rb +1 -0
  134. data/decidim-admin/lib/decidim/admin/test/manage_attachments_examples.rb +1 -0
  135. data/decidim-admin/spec/commands/activate_participatory_process_step_spec.rb +1 -0
  136. data/decidim-admin/spec/commands/copy_participatory_process_spec.rb +128 -0
  137. data/decidim-admin/spec/commands/create_category_spec.rb +1 -0
  138. data/decidim-admin/spec/commands/create_feature_spec.rb +1 -0
  139. data/decidim-admin/spec/commands/create_newsletter_spec.rb +1 -0
  140. data/decidim-admin/spec/commands/create_participatory_process_admin_spec.rb +1 -0
  141. data/decidim-admin/spec/commands/create_participatory_process_spec.rb +1 -0
  142. data/decidim-admin/spec/commands/create_scope_spec.rb +1 -0
  143. data/decidim-admin/spec/commands/create_static_page_spec.rb +1 -0
  144. data/decidim-admin/spec/commands/deactivate_participatory_process_step_spec.rb +1 -0
  145. data/decidim-admin/spec/commands/deliver_newsletter_spec.rb +1 -0
  146. data/decidim-admin/spec/commands/destroy_category_spec.rb +1 -0
  147. data/decidim-admin/spec/commands/destroy_feature_spec.rb +1 -0
  148. data/decidim-admin/spec/commands/destroy_participatory_process_step_spec.rb +1 -0
  149. data/decidim-admin/spec/commands/hide_resource_spec.rb +1 -0
  150. data/decidim-admin/spec/commands/publish_participatory_process_spec.rb +1 -0
  151. data/decidim-admin/spec/commands/reject_user_group_spec.rb +61 -0
  152. data/decidim-admin/spec/commands/reorder_participatory_process_steps_spec.rb +1 -0
  153. data/decidim-admin/spec/commands/unpublish_participatory_process_spec.rb +1 -0
  154. data/decidim-admin/spec/commands/unreport_resource_spec.rb +1 -0
  155. data/decidim-admin/spec/commands/update_category_spec.rb +1 -0
  156. data/decidim-admin/spec/commands/update_feature_spec.rb +1 -0
  157. data/decidim-admin/spec/commands/update_newsletter_spec.rb +1 -0
  158. data/decidim-admin/spec/commands/update_organization_spec.rb +1 -0
  159. data/decidim-admin/spec/commands/update_participatory_process_spec.rb +1 -0
  160. data/decidim-admin/spec/commands/update_scope_spec.rb +1 -0
  161. data/decidim-admin/spec/commands/update_static_page_spec.rb +1 -0
  162. data/decidim-admin/spec/commands/verify_user_group_spec.rb +61 -0
  163. data/decidim-admin/spec/controllers/exports_controller_spec.rb +49 -0
  164. data/decidim-admin/spec/controllers/participatory_processes_controller_spec.rb +1 -1
  165. data/decidim-admin/spec/controllers/static_pages_controller_spec.rb +1 -0
  166. data/decidim-admin/spec/factories.rb +1 -0
  167. data/decidim-admin/spec/features/admin_copy_participatory_process_spec.rb +108 -0
  168. data/decidim-admin/spec/features/admin_invite_spec.rb +1 -0
  169. data/decidim-admin/spec/features/admin_manages_feature_permissions_spec.rb +1 -0
  170. data/decidim-admin/spec/features/admin_manages_features_spec.rb +1 -1
  171. data/decidim-admin/spec/features/admin_manages_newsletters_spec.rb +0 -1
  172. data/decidim-admin/spec/features/admin_manages_organization_admins_spec.rb +1 -0
  173. data/decidim-admin/spec/features/admin_manages_organization_scopes_spec.rb +1 -0
  174. data/decidim-admin/spec/features/admin_manages_organization_spec.rb +0 -1
  175. data/decidim-admin/spec/features/admin_manages_participatory_process_groups_spec.rb +1 -1
  176. data/decidim-admin/spec/features/admin_manages_user_groups_spec.rb +14 -2
  177. data/decidim-admin/spec/features/static_pages_spec.rb +1 -0
  178. data/decidim-admin/spec/forms/category_form_spec.rb +1 -1
  179. data/decidim-admin/spec/forms/newsletter_form_spec.rb +1 -1
  180. data/decidim-admin/spec/forms/organization_form_spec.rb +1 -0
  181. data/decidim-admin/spec/forms/participatory_process_form_spec.rb +1 -1
  182. data/decidim-admin/spec/forms/participatory_process_group_form_spec.rb +1 -1
  183. data/decidim-admin/spec/forms/participatory_process_step_form_spec.rb +1 -1
  184. data/decidim-admin/spec/forms/participatory_process_user_role_form_spec.rb +1 -0
  185. data/decidim-admin/spec/forms/scope_form_spec.rb +1 -0
  186. data/decidim-admin/spec/forms/static_page_form_spec.rb +1 -1
  187. data/decidim-admin/spec/helpers/aria_selected_link_to_helper_spec.rb +1 -0
  188. data/decidim-admin/spec/helpers/exports_helper_spec.rb +27 -0
  189. data/decidim-admin/spec/helpers/feature_settings_helper_spec.rb +1 -0
  190. data/decidim-admin/spec/helpers/menu_helper_spec.rb +39 -0
  191. data/decidim-admin/spec/i18n_spec.rb +7 -0
  192. data/{decidim-proposals → decidim-admin}/spec/jobs/export_job_spec.rb +10 -10
  193. data/decidim-admin/spec/jobs/newsletter_delivery_job_spec.rb +1 -0
  194. data/decidim-admin/spec/jobs/newsletter_job_spec.rb +1 -0
  195. data/decidim-admin/spec/models/abilities/admin_user_spec.rb +1 -0
  196. data/decidim-admin/spec/models/abilities/collaborator_user_spec.rb +1 -0
  197. data/decidim-admin/spec/models/abilities/participatory_process_admin_spec.rb +1 -0
  198. data/decidim-admin/spec/models/participatory_process_user_role_spec.rb +1 -0
  199. data/decidim-admin/spec/organization_dashboard_constraint_spec.rb +1 -0
  200. data/decidim-admin/spec/queries/manageable_participatory_processes_for_user_spec.rb +1 -0
  201. data/decidim-admin/spec/queries/process_admin_roles_for_process_spec.rb +1 -0
  202. data/decidim-admin/spec/queries/process_admins_spec.rb +1 -0
  203. data/decidim-admin/spec/queries/user_group_evaluation_spec.rb +94 -0
  204. data/decidim-admin/spec/shared/manage_process_admins_examples.rb +1 -0
  205. data/decidim-admin/spec/shared/manage_process_attachments_examples.rb +1 -0
  206. data/decidim-admin/spec/shared/manage_process_categories_examples.rb +1 -0
  207. data/decidim-admin/spec/shared/manage_process_steps_examples.rb +1 -1
  208. data/decidim-admin/spec/shared/manage_processes_examples.rb +2 -2
  209. data/decidim-admin/spec/shared/participatory_admin_shared_context.rb +1 -0
  210. data/decidim-admin/spec/spec_helper.rb +1 -0
  211. data/decidim-admin/spec/support/processes_menu_links_helpers.rb +1 -0
  212. data/decidim-admin/spec/views/decidim/static_pages/_form.html.erb_spec.rb +1 -0
  213. data/decidim-api/Rakefile +1 -0
  214. data/decidim-api/app/assets/javascripts/decidim/api/docs.js.es6 +2 -0
  215. data/decidim-api/app/controllers/decidim/api/application_controller.rb +1 -0
  216. data/decidim-api/app/controllers/decidim/api/documentation_controller.rb +1 -0
  217. data/decidim-api/app/controllers/decidim/api/queries_controller.rb +1 -0
  218. data/decidim-api/bin/rails +1 -0
  219. data/decidim-api/config/routes.rb +1 -0
  220. data/decidim-api/decidim-api.gemspec +1 -1
  221. data/decidim-api/lib/decidim/api.rb +1 -0
  222. data/decidim-api/lib/decidim/api/engine.rb +1 -0
  223. data/decidim-api/lib/decidim/api/mutation_type.rb +1 -0
  224. data/decidim-api/lib/decidim/api/query_type.rb +1 -0
  225. data/decidim-api/lib/decidim/api/schema.rb +1 -0
  226. data/decidim-api/lib/decidim/api/test/type_context.rb +1 -0
  227. data/decidim-api/spec/controllers/queries_controller_spec.rb +1 -0
  228. data/decidim-api/spec/factories.rb +1 -0
  229. data/decidim-api/spec/features/documentation_spec.rb +1 -0
  230. data/decidim-api/spec/features/graphiql_spec.rb +1 -0
  231. data/decidim-api/spec/i18n_spec.rb +7 -0
  232. data/decidim-api/spec/spec_helper.rb +1 -0
  233. data/decidim-api/spec/types/query_type_spec.rb +1 -0
  234. data/decidim-budgets/Rakefile +1 -0
  235. data/decidim-budgets/app/commands/decidim/budgets/add_line_item.rb +1 -0
  236. data/decidim-budgets/app/commands/decidim/budgets/admin/create_project.rb +1 -0
  237. data/decidim-budgets/app/commands/decidim/budgets/admin/update_project.rb +1 -0
  238. data/decidim-budgets/app/commands/decidim/budgets/cancel_order.rb +1 -0
  239. data/decidim-budgets/app/commands/decidim/budgets/checkout.rb +1 -0
  240. data/decidim-budgets/app/commands/decidim/budgets/remove_line_item.rb +1 -0
  241. data/decidim-budgets/app/controllers/decidim/budgets/admin/application_controller.rb +1 -0
  242. data/decidim-budgets/app/controllers/decidim/budgets/admin/attachments_controller.rb +1 -0
  243. data/decidim-budgets/app/controllers/decidim/budgets/admin/projects_controller.rb +1 -0
  244. data/decidim-budgets/app/forms/decidim/budgets/admin/project_form.rb +1 -0
  245. data/decidim-budgets/app/helpers/decidim/budgets/application_helper.rb +1 -0
  246. data/decidim-budgets/app/helpers/decidim/budgets/projects_helper.rb +1 -0
  247. data/decidim-budgets/app/models/decidim/budgets/application_record.rb +1 -0
  248. data/decidim-budgets/app/models/decidim/budgets/line_item.rb +3 -2
  249. data/decidim-budgets/app/models/decidim/budgets/order.rb +4 -3
  250. data/decidim-budgets/app/models/decidim/budgets/project.rb +2 -1
  251. data/decidim-budgets/app/queries/decidim/budgets/filtered_projects.rb +1 -0
  252. data/decidim-budgets/app/services/decidim/budgets/project_search.rb +1 -0
  253. data/decidim-budgets/bin/rails +2 -1
  254. data/decidim-budgets/config/i18n-tasks.yml +4 -1
  255. data/decidim-budgets/config/locales/eu.yml +4 -0
  256. data/decidim-budgets/decidim-budgets.gemspec +1 -1
  257. data/decidim-budgets/lib/decidim/budgets.rb +2 -1
  258. data/decidim-budgets/lib/decidim/budgets/admin.rb +1 -0
  259. data/decidim-budgets/lib/decidim/budgets/admin_engine.rb +1 -0
  260. data/decidim-budgets/lib/decidim/budgets/{list_engine.rb → engine.rb} +2 -1
  261. data/decidim-budgets/lib/decidim/budgets/feature.rb +1 -1
  262. data/decidim-budgets/lib/decidim/budgets/test/factories.rb +1 -0
  263. data/decidim-budgets/spec/commands/add_line_item_spec.rb +1 -0
  264. data/decidim-budgets/spec/commands/cancel_order_spec.rb +1 -0
  265. data/decidim-budgets/spec/commands/checkout_spec.rb +1 -0
  266. data/decidim-budgets/spec/commands/create_project_spec.rb +1 -0
  267. data/decidim-budgets/spec/commands/remove_line_item_spec.rb +1 -0
  268. data/decidim-budgets/spec/commands/update_project_spec.rb +1 -0
  269. data/decidim-budgets/spec/factories.rb +1 -0
  270. data/decidim-budgets/spec/features/comments_spec.rb +1 -0
  271. data/decidim-budgets/spec/features/orders_spec.rb +1 -1
  272. data/decidim-budgets/spec/forms/project_form_spec.rb +1 -0
  273. data/decidim-budgets/spec/i18n_spec.rb +7 -0
  274. data/decidim-budgets/spec/queries/decidim/budgets/filtered_projects_spec.rb +1 -0
  275. data/decidim-budgets/spec/services/project_search_spec.rb +1 -0
  276. data/decidim-budgets/spec/shared/admin_shared_context.rb +1 -0
  277. data/decidim-budgets/spec/shared/manage_attachments_examples.rb +1 -0
  278. data/decidim-budgets/spec/shared/manage_projects_examples.rb +1 -0
  279. data/decidim-budgets/spec/spec_helper.rb +1 -0
  280. data/decidim-comments/.gitignore +0 -1
  281. data/decidim-comments/Rakefile +1 -0
  282. data/decidim-comments/app/assets/javascripts/decidim/comments/bundle.js +0 -0
  283. data/decidim-comments/app/commands/decidim/comments/create_comment.rb +1 -0
  284. data/decidim-comments/app/commands/decidim/comments/vote_comment.rb +1 -0
  285. data/decidim-comments/app/forms/decidim/comments/comment_form.rb +1 -0
  286. data/decidim-comments/app/frontend/comments/comment_order_selector.component.tsx +0 -1
  287. data/decidim-comments/app/frontend/comments/down_vote_button.component.test.tsx +2 -2
  288. data/decidim-comments/app/frontend/comments/down_vote_button.component.tsx +2 -2
  289. data/decidim-comments/app/frontend/comments/up_vote_button.component.test.tsx +2 -2
  290. data/decidim-comments/app/frontend/comments/up_vote_button.component.tsx +2 -2
  291. data/decidim-comments/app/frontend/fragments/comment_thread.fragment.graphql +0 -3
  292. data/decidim-comments/app/frontend/support/schema.ts +51 -16
  293. data/decidim-comments/app/mailers/decidim/comments/comment_notification_mailer.rb +1 -0
  294. data/decidim-comments/app/models/decidim/comments/abilities/admin_user.rb +1 -0
  295. data/decidim-comments/app/models/decidim/comments/abilities/process_admin_user.rb +1 -0
  296. data/decidim-comments/app/models/decidim/comments/application_record.rb +1 -0
  297. data/decidim-comments/app/models/decidim/comments/comment.rb +3 -2
  298. data/decidim-comments/app/models/decidim/comments/comment_vote.rb +3 -2
  299. data/decidim-comments/app/models/decidim/comments/seed.rb +1 -0
  300. data/decidim-comments/app/queries/decidim/comments/sorted_comments.rb +1 -0
  301. data/decidim-comments/app/resolvers/decidim/comments/vote_comment_resolver.rb +1 -0
  302. data/decidim-comments/app/types/decidim/comments/commentable_interface.rb +1 -0
  303. data/decidim-comments/app/types/decidim/comments/commentable_mutation_type.rb +1 -0
  304. data/decidim-comments/app/types/decidim/comments/commentable_type.rb +1 -0
  305. data/decidim-comments/bin/rails +1 -0
  306. data/decidim-comments/config/i18n-tasks.yml +2 -3
  307. data/decidim-comments/lib/decidim/comments.rb +3 -0
  308. data/decidim-comments/lib/decidim/comments/admin.rb +1 -0
  309. data/decidim-comments/lib/decidim/comments/admin_engine.rb +1 -0
  310. data/decidim-comments/lib/decidim/comments/api/add_comment_type.rb +1 -0
  311. data/decidim-comments/lib/decidim/comments/api/comment_mutation_type.rb +1 -0
  312. data/decidim-comments/lib/decidim/comments/api/comment_type.rb +1 -0
  313. data/decidim-comments/lib/decidim/comments/comment_serializer.rb +37 -0
  314. data/decidim-comments/lib/decidim/comments/comments_helper.rb +1 -0
  315. data/decidim-comments/lib/decidim/comments/engine.rb +1 -0
  316. data/decidim-comments/lib/decidim/comments/export.rb +22 -0
  317. data/decidim-comments/lib/decidim/comments/mutation_extensions.rb +1 -0
  318. data/decidim-comments/lib/decidim/comments/query_extensions.rb +1 -0
  319. data/decidim-comments/lib/decidim/comments/test/factories.rb +1 -0
  320. data/decidim-comments/spec/commands/create_comment_spec.rb +1 -0
  321. data/decidim-comments/spec/commands/vote_comment_spec.rb +5 -6
  322. data/decidim-comments/spec/factories.rb +1 -0
  323. data/decidim-comments/spec/features/comments_spec.rb +1 -0
  324. data/decidim-comments/spec/features/notifications_spec.rb +1 -0
  325. data/decidim-comments/spec/features/report_comment_spec.rb +1 -0
  326. data/decidim-comments/spec/forms/comment_form_spec.rb +1 -0
  327. data/decidim-comments/spec/helpers/comments_helper_spec.rb +1 -0
  328. data/decidim-comments/spec/i18n_spec.rb +7 -0
  329. data/decidim-comments/spec/lib/comment_serializer_spec.rb +44 -0
  330. data/decidim-comments/spec/lib/export_spec.rb +27 -0
  331. data/decidim-comments/spec/mailers/comment_notification_mailer_spec.rb +1 -0
  332. data/decidim-comments/spec/models/abilities/admin_user_spec.rb +1 -0
  333. data/decidim-comments/spec/models/abilities/process_admin_user_spec.rb +1 -0
  334. data/decidim-comments/spec/models/comment_spec.rb +1 -0
  335. data/decidim-comments/spec/models/comment_vote_spec.rb +1 -0
  336. data/decidim-comments/spec/models/seed_spec.rb +1 -0
  337. data/decidim-comments/spec/queries/sorted_comments_spec.rb +1 -0
  338. data/decidim-comments/spec/shared/admin_shared_context.rb +1 -0
  339. data/decidim-comments/spec/spec_helper.rb +1 -0
  340. data/decidim-comments/spec/types/comment_mutation_type_spec.rb +1 -0
  341. data/decidim-comments/spec/types/comment_type_spec.rb +1 -0
  342. data/decidim-comments/spec/types/commentable_mutation_type_spec.rb +1 -0
  343. data/decidim-comments/spec/types/commentable_type_spec.rb +1 -0
  344. data/decidim-comments/spec/types/mutation_type_spec.rb +1 -0
  345. data/decidim-comments/spec/types/query_type_spec.rb +1 -0
  346. data/decidim-dev/Rakefile +1 -0
  347. data/decidim-dev/app/assets/images/decidim/dummy.svg +4 -0
  348. data/decidim-dev/config/i18n-tasks.yml +3 -1
  349. data/decidim-dev/config/locales/ca.yml +4 -0
  350. data/decidim-dev/config/locales/en.yml +4 -0
  351. data/decidim-dev/config/locales/es.yml +4 -0
  352. data/decidim-dev/config/locales/eu.yml +4 -0
  353. data/decidim-dev/decidim-dev.gemspec +6 -6
  354. data/decidim-dev/lib/decidim/dev/common_rake.rb +2 -5
  355. data/decidim-dev/lib/decidim/dev/dummy_authorization_handler.rb +1 -0
  356. data/decidim-dev/lib/decidim/dev/railtie.rb +1 -0
  357. data/decidim-dev/lib/decidim/dev/test/authorization_shared_examples.rb +1 -0
  358. data/decidim-dev/lib/decidim/dev/test/base_spec_helper.rb +2 -1
  359. data/decidim-dev/lib/decidim/dev/test/{i18n_spec.rb → i18n_shared_examples.rb} +9 -6
  360. data/decidim-dev/lib/decidim/dev/test/rspec_support/action_mailer.rb +1 -0
  361. data/decidim-dev/lib/decidim/dev/test/rspec_support/authenticated_controller_context.rb +1 -0
  362. data/decidim-dev/lib/decidim/dev/test/rspec_support/authorization_handlers.rb +1 -0
  363. data/decidim-dev/lib/decidim/dev/test/rspec_support/capybara.rb +3 -3
  364. data/decidim-dev/lib/decidim/dev/test/rspec_support/database_cleaner.rb +1 -0
  365. data/decidim-dev/lib/decidim/dev/test/rspec_support/engine_routes.rb +1 -0
  366. data/decidim-dev/lib/decidim/dev/test/rspec_support/factory_girl.rb +1 -0
  367. data/decidim-dev/lib/decidim/dev/test/rspec_support/feature.rb +30 -0
  368. data/decidim-dev/lib/decidim/dev/test/rspec_support/feature_context.rb +1 -0
  369. data/decidim-dev/lib/decidim/dev/test/rspec_support/geocoder.rb +1 -0
  370. data/decidim-dev/lib/decidim/dev/test/rspec_support/html_matchers.rb +1 -0
  371. data/decidim-dev/lib/decidim/dev/test/rspec_support/i18n.rb +1 -0
  372. data/decidim-dev/lib/decidim/dev/test/rspec_support/translation_helpers.rb +1 -0
  373. data/decidim-dev/lib/decidim/dev/test/rspec_support/warden.rb +1 -0
  374. data/decidim-dev/lib/decidim/dev/test/rspec_support/webmock.rb +1 -0
  375. data/decidim-dev/lib/decidim/dev/test/rspec_support/wisper.rb +1 -0
  376. data/decidim-dev/lib/decidim/dev/test/spec_helper.rb +1 -0
  377. data/decidim-dev/lib/generators/decidim/dummy_generator.rb +3 -6
  378. data/decidim-dev/lib/generators/decidim/templates/autoprefixer_initializer.rb +2 -1
  379. data/decidim-dev/lib/generators/decidim/templates/decidim_dev.rb +1 -0
  380. data/decidim-dev/lib/tasks/locale_checker.rake +21 -0
  381. data/decidim-dev/lib/tasks/test_app.rake +1 -2
  382. data/decidim-dev/spec/i18n_spec.rb +7 -0
  383. data/decidim-meetings/Rakefile +1 -0
  384. data/decidim-meetings/app/commands/decidim/meetings/admin/close_meeting.rb +1 -0
  385. data/decidim-meetings/app/commands/decidim/meetings/admin/create_meeting.rb +1 -0
  386. data/decidim-meetings/app/commands/decidim/meetings/admin/update_meeting.rb +1 -0
  387. data/decidim-meetings/app/controllers/decidim/meetings/admin/application_controller.rb +1 -0
  388. data/decidim-meetings/app/controllers/decidim/meetings/admin/attachments_controller.rb +1 -0
  389. data/decidim-meetings/app/controllers/decidim/meetings/admin/meeting_closes_controller.rb +1 -0
  390. data/decidim-meetings/app/controllers/decidim/meetings/admin/meetings_controller.rb +1 -0
  391. data/decidim-meetings/app/controllers/decidim/meetings/meeting_widgets_controller.rb +1 -0
  392. data/decidim-meetings/app/forms/decidim/meetings/admin/close_meeting_form.rb +1 -0
  393. data/decidim-meetings/app/forms/decidim/meetings/admin/meeting_form.rb +1 -0
  394. data/decidim-meetings/app/helpers/decidim/meetings/admin/application_helper.rb +1 -0
  395. data/decidim-meetings/app/helpers/decidim/meetings/application_helper.rb +1 -0
  396. data/decidim-meetings/app/helpers/decidim/meetings/map_helper.rb +1 -0
  397. data/decidim-meetings/app/models/decidim/meetings/application_record.rb +1 -0
  398. data/decidim-meetings/app/services/decidim/meetings/meeting_search.rb +1 -0
  399. data/decidim-meetings/bin/rails +2 -1
  400. data/decidim-meetings/config/i18n-tasks.yml +2 -1
  401. data/decidim-meetings/config/locales/eu.yml +7 -0
  402. data/decidim-meetings/decidim-meetings.gemspec +2 -2
  403. data/decidim-meetings/lib/decidim/meetings.rb +2 -1
  404. data/decidim-meetings/lib/decidim/meetings/admin.rb +1 -0
  405. data/decidim-meetings/lib/decidim/meetings/{list_engine.rb → engine.rb} +2 -1
  406. data/decidim-meetings/lib/decidim/meetings/feature.rb +1 -1
  407. data/decidim-meetings/lib/decidim/meetings/test/factories.rb +1 -0
  408. data/decidim-meetings/spec/commands/close_meeting_spec.rb +1 -0
  409. data/decidim-meetings/spec/commands/create_meeting_spec.rb +1 -0
  410. data/decidim-meetings/spec/commands/update_meeting_spec.rb +1 -0
  411. data/decidim-meetings/spec/factories.rb +1 -0
  412. data/decidim-meetings/spec/features/explore_meetings_spec.rb +1 -0
  413. data/decidim-meetings/spec/forms/close_meeting_form_spec.rb +1 -0
  414. data/decidim-meetings/spec/forms/meeting_form_spec.rb +1 -0
  415. data/decidim-meetings/spec/i18n_spec.rb +7 -0
  416. data/decidim-meetings/spec/services/meeting_search_spec.rb +1 -0
  417. data/decidim-meetings/spec/shared/admin_shared_context.rb +1 -0
  418. data/decidim-meetings/spec/shared/manage_attachments_examples.rb +1 -0
  419. data/decidim-meetings/spec/shared/manage_meetings_examples.rb +1 -0
  420. data/decidim-meetings/spec/spec_helper.rb +1 -0
  421. data/decidim-pages/Rakefile +1 -0
  422. data/decidim-pages/app/commands/decidim/pages/admin/update_page.rb +1 -0
  423. data/decidim-pages/app/commands/decidim/pages/copy_page.rb +26 -0
  424. data/decidim-pages/app/commands/decidim/pages/create_page.rb +1 -0
  425. data/decidim-pages/app/commands/decidim/pages/destroy_page.rb +1 -0
  426. data/decidim-pages/app/controllers/decidim/pages/admin/pages_controller.rb +1 -0
  427. data/decidim-pages/app/forms/decidim/pages/admin/page_form.rb +1 -0
  428. data/decidim-pages/app/helpers/decidim/pages/application_helper.rb +1 -0
  429. data/decidim-pages/app/models/decidim/pages/application_record.rb +1 -0
  430. data/decidim-pages/app/models/decidim/pages/page.rb +1 -0
  431. data/decidim-pages/bin/rails +1 -0
  432. data/decidim-pages/config/i18n-tasks.yml +2 -1
  433. data/decidim-pages/config/locales/eu.yml +1 -0
  434. data/decidim-pages/lib/decidim/pages.rb +1 -0
  435. data/decidim-pages/lib/decidim/pages/admin.rb +1 -0
  436. data/decidim-pages/lib/decidim/pages/admin_engine.rb +1 -0
  437. data/decidim-pages/lib/decidim/pages/engine.rb +1 -0
  438. data/decidim-pages/lib/decidim/pages/feature.rb +6 -0
  439. data/decidim-pages/spec/commands/copy_page_spec.rb +47 -0
  440. data/decidim-pages/spec/commands/create_page_spec.rb +1 -0
  441. data/decidim-pages/spec/commands/destroy_page_spec.rb +1 -0
  442. data/decidim-pages/spec/commands/update_page_spec.rb +1 -0
  443. data/decidim-pages/spec/factories.rb +1 -0
  444. data/decidim-pages/spec/features/admin_spec.rb +1 -1
  445. data/decidim-pages/spec/features/comments_spec.rb +1 -0
  446. data/decidim-pages/spec/features/page_show_spec.rb +1 -1
  447. data/decidim-pages/spec/forms/page_form_spec.rb +1 -1
  448. data/decidim-pages/spec/i18n_spec.rb +7 -0
  449. data/decidim-pages/spec/models/page_spec.rb +1 -0
  450. data/decidim-pages/spec/spec_helper.rb +1 -0
  451. data/decidim-proposals/Rakefile +1 -0
  452. data/decidim-proposals/app/commands/decidim/proposals/admin/answer_proposal.rb +1 -0
  453. data/decidim-proposals/app/commands/decidim/proposals/admin/create_proposal.rb +1 -0
  454. data/decidim-proposals/app/commands/decidim/proposals/create_proposal.rb +1 -0
  455. data/decidim-proposals/app/commands/decidim/proposals/create_proposal_export.rb +1 -0
  456. data/decidim-proposals/app/controllers/concerns/decidim/proposals/orderable.rb +64 -0
  457. data/decidim-proposals/app/controllers/decidim/proposals/admin/application_controller.rb +1 -0
  458. data/decidim-proposals/app/controllers/decidim/proposals/admin/proposal_answers_controller.rb +1 -0
  459. data/decidim-proposals/app/controllers/decidim/proposals/admin/proposals_controller.rb +1 -0
  460. data/decidim-proposals/app/controllers/decidim/proposals/proposals_controller.rb +2 -33
  461. data/decidim-proposals/app/forms/decidim/proposals/admin/proposal_answer_form.rb +1 -0
  462. data/decidim-proposals/app/forms/decidim/proposals/admin/proposal_form.rb +1 -0
  463. data/decidim-proposals/app/forms/decidim/proposals/proposal_form.rb +1 -0
  464. data/decidim-proposals/app/helpers/decidim/proposals/application_helper.rb +1 -1
  465. data/decidim-proposals/app/helpers/decidim/proposals/map_helper.rb +1 -0
  466. data/decidim-proposals/app/helpers/decidim/proposals/proposal_votes_helper.rb +1 -0
  467. data/decidim-proposals/app/models/decidim/proposals/abilities/admin_user.rb +1 -0
  468. data/decidim-proposals/app/models/decidim/proposals/abilities/current_user.rb +2 -1
  469. data/decidim-proposals/app/models/decidim/proposals/abilities/process_admin_user.rb +1 -0
  470. data/decidim-proposals/app/models/decidim/proposals/application_record.rb +1 -0
  471. data/decidim-proposals/app/models/decidim/proposals/proposal.rb +9 -1
  472. data/decidim-proposals/app/models/decidim/proposals/proposal_vote.rb +3 -2
  473. data/decidim-proposals/app/queries/decidim/proposals/filtered_proposals.rb +1 -0
  474. data/decidim-proposals/app/services/decidim/proposals/proposal_search.rb +1 -0
  475. data/decidim-proposals/app/views/decidim/proposals/admin/proposals/index.html.erb +1 -8
  476. data/decidim-proposals/app/views/decidim/proposals/proposals/_proposal.html.erb +1 -1
  477. data/decidim-proposals/app/views/decidim/proposals/proposals/_proposals.html.erb +2 -2
  478. data/decidim-proposals/app/views/decidim/proposals/proposals/_vote_button.html.erb +4 -10
  479. data/decidim-proposals/app/views/decidim/proposals/proposals/show.html.erb +2 -2
  480. data/decidim-proposals/bin/rails +1 -0
  481. data/decidim-proposals/config/i18n-tasks.yml +4 -1
  482. data/decidim-proposals/config/initializers/social_share_button.rb +1 -0
  483. data/decidim-proposals/config/locales/ca.yml +3 -3
  484. data/decidim-proposals/config/locales/en.yml +3 -4
  485. data/decidim-proposals/config/locales/es.yml +3 -3
  486. data/decidim-proposals/config/locales/eu.yml +10 -0
  487. data/decidim-proposals/config/locales/fr.yml +0 -3
  488. data/decidim-proposals/lib/decidim/proposals.rb +2 -0
  489. data/decidim-proposals/lib/decidim/proposals/admin.rb +1 -0
  490. data/decidim-proposals/lib/decidim/proposals/admin_engine.rb +1 -4
  491. data/decidim-proposals/lib/decidim/proposals/engine.rb +1 -0
  492. data/decidim-proposals/lib/decidim/proposals/feature.rb +20 -0
  493. data/decidim-proposals/{app/services → lib}/decidim/proposals/proposal_serializer.rb +1 -1
  494. data/decidim-proposals/lib/decidim/proposals/test/factories.rb +9 -0
  495. data/decidim-proposals/spec/commands/decidim/proposals/admin_create_proposal_spec.rb +1 -0
  496. data/decidim-proposals/spec/commands/decidim/proposals/answer_proposal_spec.rb +1 -0
  497. data/decidim-proposals/spec/commands/decidim/proposals/create_proposal_spec.rb +1 -0
  498. data/decidim-proposals/spec/{helpers/proposal_order_helper_spec.rb → controllers/concerns/orderable_test.rb} +13 -6
  499. data/decidim-proposals/spec/controllers/decidim/admin/proposal_answers_controller_spec.rb +1 -0
  500. data/decidim-proposals/spec/controllers/decidim/proposal_votes_controller_spec.rb +4 -5
  501. data/decidim-proposals/spec/controllers/decidim/proposals_controller_spec.rb +1 -0
  502. data/decidim-proposals/spec/factories.rb +1 -0
  503. data/decidim-proposals/spec/features/comments_spec.rb +1 -0
  504. data/decidim-proposals/spec/features/proposals_spec.rb +102 -30
  505. data/decidim-proposals/spec/features/report_proposal_spec.rb +1 -0
  506. data/decidim-proposals/spec/features/vote_proposal_spec.rb +39 -19
  507. data/decidim-proposals/spec/forms/decidim/proposals/admin_proposal_form_spec.rb +1 -0
  508. data/decidim-proposals/spec/forms/decidim/proposals/proposal_answer_form_spec.rb +1 -0
  509. data/decidim-proposals/spec/forms/decidim/proposals/proposal_form_spec.rb +1 -0
  510. data/decidim-proposals/spec/helpers/application_helper_spec.rb +1 -0
  511. data/decidim-proposals/spec/helpers/proposal_votes_helper_spec.rb +1 -0
  512. data/decidim-proposals/spec/i18n_spec.rb +7 -0
  513. data/decidim-proposals/spec/lib/decidim/proposals/feature_spec.rb +1 -0
  514. data/decidim-proposals/spec/models/decidim/proposals/abilities/admin_user_spec.rb +1 -0
  515. data/decidim-proposals/spec/models/decidim/proposals/abilities/process_admin_user_spec.rb +1 -0
  516. data/decidim-proposals/spec/models/decidim/proposals/proposal_spec.rb +1 -0
  517. data/decidim-proposals/spec/models/decidim/proposals/proposal_vote_spec.rb +1 -0
  518. data/decidim-proposals/spec/queries/decidim/proposals/filtered_proposals_spec.rb +1 -0
  519. data/decidim-proposals/spec/services/decidim/proposals/proposal_search_spec.rb +1 -0
  520. data/decidim-proposals/spec/services/decidim/proposals/proposal_serializer_spec.rb +1 -0
  521. data/decidim-proposals/spec/shared/admin_shared_context.rb +1 -0
  522. data/decidim-proposals/spec/shared/create_proposal_examples.rb +1 -0
  523. data/decidim-proposals/spec/shared/export_proposals_examples.rb +3 -2
  524. data/decidim-proposals/spec/shared/manage_proposals_examples.rb +1 -0
  525. data/decidim-proposals/spec/shared/proposal_form_examples.rb +1 -0
  526. data/decidim-proposals/spec/spec_helper.rb +1 -0
  527. data/decidim-results/Rakefile +1 -0
  528. data/decidim-results/app/commands/decidim/results/admin/create_result.rb +1 -0
  529. data/decidim-results/app/commands/decidim/results/admin/update_result.rb +1 -0
  530. data/decidim-results/app/controllers/decidim/results/admin/application_controller.rb +1 -0
  531. data/decidim-results/app/controllers/decidim/results/admin/results_controller.rb +1 -0
  532. data/decidim-results/app/controllers/decidim/results/result_widgets_controller.rb +1 -0
  533. data/decidim-results/app/forms/decidim/results/admin/result_form.rb +1 -0
  534. data/decidim-results/app/helpers/decidim/results/application_helper.rb +1 -0
  535. data/decidim-results/app/models/decidim/results/application_record.rb +1 -0
  536. data/decidim-results/app/models/decidim/results/result.rb +1 -0
  537. data/decidim-results/app/queries/decidim/results/filtered_results.rb +1 -0
  538. data/decidim-results/app/services/decidim/results/result_search.rb +1 -0
  539. data/decidim-results/app/services/decidim/results/result_stats_calculator.rb +1 -0
  540. data/decidim-results/bin/rails +2 -1
  541. data/decidim-results/config/i18n-tasks.yml +2 -1
  542. data/decidim-results/config/locales/eu.yml +3 -0
  543. data/decidim-results/decidim-results.gemspec +1 -1
  544. data/decidim-results/lib/decidim/results.rb +2 -1
  545. data/decidim-results/lib/decidim/results/admin.rb +1 -0
  546. data/decidim-results/lib/decidim/results/admin_engine.rb +1 -0
  547. data/decidim-results/lib/decidim/results/{list_engine.rb → engine.rb} +2 -1
  548. data/decidim-results/lib/decidim/results/feature.rb +1 -1
  549. data/decidim-results/lib/decidim/results/test/factories.rb +1 -0
  550. data/decidim-results/spec/commands/create_result_spec.rb +1 -0
  551. data/decidim-results/spec/commands/update_result_spec.rb +1 -0
  552. data/decidim-results/spec/controllers/results_controller_spec.rb +1 -0
  553. data/decidim-results/spec/factories.rb +1 -0
  554. data/decidim-results/spec/features/comments_spec.rb +1 -0
  555. data/decidim-results/spec/features/explore_results_spec.rb +1 -0
  556. data/decidim-results/spec/forms/result_form_spec.rb +1 -0
  557. data/decidim-results/spec/i18n_spec.rb +7 -0
  558. data/decidim-results/spec/queries/decidim/results/filtered_results_spec.rb +1 -0
  559. data/decidim-results/spec/services/result_search_spec.rb +1 -0
  560. data/decidim-results/spec/services/result_stats_calculator_spec.rb +1 -0
  561. data/decidim-results/spec/shared/admin_shared_context.rb +1 -0
  562. data/decidim-results/spec/shared/manage_results_examples.rb +1 -0
  563. data/decidim-results/spec/spec_helper.rb +1 -0
  564. data/decidim-system/Rakefile +1 -0
  565. data/decidim-system/app/assets/stylesheets/decidim/system/_sidebar.scss +9 -2
  566. data/decidim-system/app/commands/decidim/system/create_admin.rb +1 -0
  567. data/decidim-system/app/commands/decidim/system/create_default_pages.rb +1 -0
  568. data/decidim-system/app/commands/decidim/system/register_organization.rb +1 -0
  569. data/decidim-system/app/commands/decidim/system/update_admin.rb +1 -0
  570. data/decidim-system/app/commands/decidim/system/update_organization.rb +1 -0
  571. data/decidim-system/app/controllers/decidim/system/admins_controller.rb +1 -0
  572. data/decidim-system/app/controllers/decidim/system/application_controller.rb +3 -0
  573. data/decidim-system/app/controllers/decidim/system/dashboard_controller.rb +1 -0
  574. data/decidim-system/app/controllers/decidim/system/devise/passwords_controller.rb +1 -0
  575. data/decidim-system/app/controllers/decidim/system/devise/sessions_controller.rb +1 -0
  576. data/decidim-system/app/controllers/decidim/system/organizations_controller.rb +1 -0
  577. data/decidim-system/app/forms/decidim/system/admin_form.rb +1 -0
  578. data/decidim-system/app/forms/decidim/system/register_organization_form.rb +1 -0
  579. data/decidim-system/app/forms/decidim/system/update_organization_form.rb +1 -0
  580. data/decidim-system/app/helpers/decidim/system/application_helper.rb +1 -0
  581. data/decidim-system/app/helpers/decidim/system/menu_helper.rb +14 -0
  582. data/decidim-system/app/jobs/decidim/system/application_job.rb +1 -0
  583. data/decidim-system/app/mailers/decidim/system/application_mailer.rb +1 -0
  584. data/decidim-system/app/models/decidim/system/admin.rb +1 -0
  585. data/decidim-system/app/models/decidim/system/application_record.rb +1 -0
  586. data/decidim-system/app/views/layouts/decidim/system/_sidebar.html.erb +1 -5
  587. data/decidim-system/bin/rails +1 -0
  588. data/decidim-system/config/i18n-tasks.yml +6 -6
  589. data/decidim-system/config/locales/eu.yml +3 -0
  590. data/decidim-system/config/routes.rb +1 -0
  591. data/decidim-system/db/seeds.rb +1 -0
  592. data/decidim-system/lib/decidim/system.rb +1 -0
  593. data/decidim-system/lib/decidim/system/engine.rb +20 -0
  594. data/decidim-system/spec/commands/decidim/system/create_admin_spec.rb +1 -0
  595. data/decidim-system/spec/commands/decidim/system/create_default_pages_spec.rb +1 -0
  596. data/decidim-system/spec/commands/decidim/system/register_organization_spec.rb +1 -0
  597. data/decidim-system/spec/commands/decidim/system/update_organization_spec.rb +1 -0
  598. data/decidim-system/spec/factories.rb +1 -0
  599. data/decidim-system/spec/features/sessions_spec.rb +1 -0
  600. data/decidim-system/spec/helpers/menu_helper_spec.rb +28 -0
  601. data/decidim-system/spec/i18n_spec.rb +7 -0
  602. data/decidim-system/spec/models/admin_spec.rb +1 -0
  603. data/decidim-system/spec/spec_helper.rb +1 -0
  604. data/docs/features_and_components.md +15 -0
  605. data/docs/getting_started.md +10 -0
  606. data/docs/how_to_create_a_plugin.md +7 -16
  607. data/lib/decidim.rb +1 -0
  608. data/lib/generators/decidim/app_builder.rb +1 -0
  609. data/lib/generators/decidim/app_generator.rb +7 -0
  610. data/lib/generators/decidim/demo_generator.rb +1 -0
  611. data/lib/generators/decidim/docker_generator.rb +1 -4
  612. data/lib/generators/decidim/install_generator.rb +4 -3
  613. data/lib/generators/decidim/templates/authorization_handler.rb +1 -0
  614. data/lib/generators/decidim/templates/carrierwave.rb +1 -0
  615. data/lib/generators/decidim/templates/initializer.rb +1 -0
  616. data/lib/generators/decidim/templates/social_share_button.rb +1 -0
  617. data/package.json +10 -9
  618. data/yarn.lock +708 -862
  619. metadata +73 -37
  620. data/.hound.yml +0 -10
  621. data/decidim-admin/app/assets/stylesheets/decidim/admin/application.scss +0 -2
  622. data/decidim-admin/app/assets/stylesheets/decidim/admin/extra/_sidebar.scss +0 -102
  623. data/decidim-admin/app/views/layouts/decidim/admin/_language_chooser.html.erb +0 -14
  624. data/decidim-admin/app/views/layouts/decidim/admin/_main_nav.html.erb +0 -11
  625. data/decidim-proposals/app/controllers/decidim/proposals/admin/exports_controller.rb +0 -24
  626. data/decidim-proposals/app/helpers/decidim/proposals/proposal_order_helper.rb +0 -16
  627. data/decidim-proposals/app/jobs/decidim/proposals/export_job.rb +0 -21
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.1.0
4
+ version: 0.2.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-05-18 00:00:00.000000000 Z
13
+ date: 2017-06-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: decidim-core
@@ -18,140 +18,140 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.1.0
21
+ version: 0.2.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.1.0
28
+ version: 0.2.0
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: decidim-system
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.1.0
35
+ version: 0.2.0
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 0.1.0
42
+ version: 0.2.0
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: decidim-admin
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - '='
48
48
  - !ruby/object:Gem::Version
49
- version: 0.1.0
49
+ version: 0.2.0
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - '='
55
55
  - !ruby/object:Gem::Version
56
- version: 0.1.0
56
+ version: 0.2.0
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: decidim-api
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - '='
62
62
  - !ruby/object:Gem::Version
63
- version: 0.1.0
63
+ version: 0.2.0
64
64
  type: :runtime
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - '='
69
69
  - !ruby/object:Gem::Version
70
- version: 0.1.0
70
+ version: 0.2.0
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: decidim-pages
73
73
  requirement: !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - '='
76
76
  - !ruby/object:Gem::Version
77
- version: 0.1.0
77
+ version: 0.2.0
78
78
  type: :runtime
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - '='
83
83
  - !ruby/object:Gem::Version
84
- version: 0.1.0
84
+ version: 0.2.0
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: decidim-comments
87
87
  requirement: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - '='
90
90
  - !ruby/object:Gem::Version
91
- version: 0.1.0
91
+ version: 0.2.0
92
92
  type: :runtime
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
96
  - - '='
97
97
  - !ruby/object:Gem::Version
98
- version: 0.1.0
98
+ version: 0.2.0
99
99
  - !ruby/object:Gem::Dependency
100
100
  name: decidim-meetings
101
101
  requirement: !ruby/object:Gem::Requirement
102
102
  requirements:
103
103
  - - '='
104
104
  - !ruby/object:Gem::Version
105
- version: 0.1.0
105
+ version: 0.2.0
106
106
  type: :runtime
107
107
  prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
109
109
  requirements:
110
110
  - - '='
111
111
  - !ruby/object:Gem::Version
112
- version: 0.1.0
112
+ version: 0.2.0
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: decidim-proposals
115
115
  requirement: !ruby/object:Gem::Requirement
116
116
  requirements:
117
117
  - - '='
118
118
  - !ruby/object:Gem::Version
119
- version: 0.1.0
119
+ version: 0.2.0
120
120
  type: :runtime
121
121
  prerelease: false
122
122
  version_requirements: !ruby/object:Gem::Requirement
123
123
  requirements:
124
124
  - - '='
125
125
  - !ruby/object:Gem::Version
126
- version: 0.1.0
126
+ version: 0.2.0
127
127
  - !ruby/object:Gem::Dependency
128
128
  name: decidim-results
129
129
  requirement: !ruby/object:Gem::Requirement
130
130
  requirements:
131
131
  - - '='
132
132
  - !ruby/object:Gem::Version
133
- version: 0.1.0
133
+ version: 0.2.0
134
134
  type: :runtime
135
135
  prerelease: false
136
136
  version_requirements: !ruby/object:Gem::Requirement
137
137
  requirements:
138
138
  - - '='
139
139
  - !ruby/object:Gem::Version
140
- version: 0.1.0
140
+ version: 0.2.0
141
141
  - !ruby/object:Gem::Dependency
142
142
  name: decidim-budgets
143
143
  requirement: !ruby/object:Gem::Requirement
144
144
  requirements:
145
145
  - - '='
146
146
  - !ruby/object:Gem::Version
147
- version: 0.1.0
147
+ version: 0.2.0
148
148
  type: :runtime
149
149
  prerelease: false
150
150
  version_requirements: !ruby/object:Gem::Requirement
151
151
  requirements:
152
152
  - - '='
153
153
  - !ruby/object:Gem::Version
154
- version: 0.1.0
154
+ version: 0.2.0
155
155
  - !ruby/object:Gem::Dependency
156
156
  name: rails
157
157
  requirement: !ruby/object:Gem::Requirement
@@ -243,7 +243,6 @@ files:
243
243
  - ".github/ISSUE_TEMPLATE.md"
244
244
  - ".github/PULL_REQUEST_TEMPLATE.md"
245
245
  - ".gitignore"
246
- - ".hound.yml"
247
246
  - ".inch.yml"
248
247
  - ".mention-bot"
249
248
  - ".rubocop.yml"
@@ -270,15 +269,15 @@ files:
270
269
  - decidim-admin/app/assets/javascripts/decidim/admin/toggle_nav.js.es6
271
270
  - decidim-admin/app/assets/stylesheets/decidim/admin/_decidim.scss
272
271
  - decidim-admin/app/assets/stylesheets/decidim/admin/_variables.scss
273
- - decidim-admin/app/assets/stylesheets/decidim/admin/application.scss
272
+ - decidim-admin/app/assets/stylesheets/decidim/admin/application.scss.erb
274
273
  - decidim-admin/app/assets/stylesheets/decidim/admin/extra/_action-icon.scss
275
274
  - decidim-admin/app/assets/stylesheets/decidim/admin/extra/_cards.scss
276
275
  - decidim-admin/app/assets/stylesheets/decidim/admin/extra/_categories.scss
276
+ - decidim-admin/app/assets/stylesheets/decidim/admin/extra/_dropdown_inverted.scss
277
277
  - decidim-admin/app/assets/stylesheets/decidim/admin/extra/_editor.scss
278
278
  - decidim-admin/app/assets/stylesheets/decidim/admin/extra/_email_preview.scss
279
279
  - decidim-admin/app/assets/stylesheets/decidim/admin/extra/_login.scss
280
280
  - decidim-admin/app/assets/stylesheets/decidim/admin/extra/_select_multiple.scss
281
- - decidim-admin/app/assets/stylesheets/decidim/admin/extra/_sidebar.scss
282
281
  - decidim-admin/app/assets/stylesheets/decidim/admin/extra/_title_bar.scss
283
282
  - decidim-admin/app/assets/stylesheets/decidim/admin/modules/_action-icon.scss
284
283
  - decidim-admin/app/assets/stylesheets/decidim/admin/modules/_buttons.scss
@@ -329,6 +328,7 @@ files:
329
328
  - decidim-admin/app/assets/stylesheets/decidim/admin/vendor/mathsass/helpers/_strip-unit.scss
330
329
  - decidim-admin/app/assets/stylesheets/decidim/admin/vendor/mathsass/helpers/_unitless-rad.scss
331
330
  - decidim-admin/app/commands/decidim/admin/activate_participatory_process_step.rb
331
+ - decidim-admin/app/commands/decidim/admin/copy_participatory_process.rb
332
332
  - decidim-admin/app/commands/decidim/admin/create_attachment.rb
333
333
  - decidim-admin/app/commands/decidim/admin/create_category.rb
334
334
  - decidim-admin/app/commands/decidim/admin/create_feature.rb
@@ -346,6 +346,7 @@ files:
346
346
  - decidim-admin/app/commands/decidim/admin/destroy_participatory_process_step.rb
347
347
  - decidim-admin/app/commands/decidim/admin/hide_resource.rb
348
348
  - decidim-admin/app/commands/decidim/admin/publish_participatory_process.rb
349
+ - decidim-admin/app/commands/decidim/admin/reject_user_group.rb
349
350
  - decidim-admin/app/commands/decidim/admin/reorder_participatory_process_steps.rb
350
351
  - decidim-admin/app/commands/decidim/admin/unpublish_participatory_process.rb
351
352
  - decidim-admin/app/commands/decidim/admin/unreport_resource.rb
@@ -361,12 +362,15 @@ files:
361
362
  - decidim-admin/app/commands/decidim/admin/update_participatory_process_step.rb
362
363
  - decidim-admin/app/commands/decidim/admin/update_scope.rb
363
364
  - decidim-admin/app/commands/decidim/admin/update_static_page.rb
365
+ - decidim-admin/app/commands/decidim/admin/update_user_groups.rb
366
+ - decidim-admin/app/commands/decidim/admin/verify_user_group.rb
364
367
  - decidim-admin/app/constraints/decidim/admin/organization_dashboard_constraint.rb
365
368
  - decidim-admin/app/controllers/decidim/admin/application_controller.rb
366
369
  - decidim-admin/app/controllers/decidim/admin/categories_controller.rb
367
370
  - decidim-admin/app/controllers/decidim/admin/concerns/has_attachments.rb
368
371
  - decidim-admin/app/controllers/decidim/admin/concerns/participatory_process_admin.rb
369
372
  - decidim-admin/app/controllers/decidim/admin/dashboard_controller.rb
373
+ - decidim-admin/app/controllers/decidim/admin/exports_controller.rb
370
374
  - decidim-admin/app/controllers/decidim/admin/feature_permissions_controller.rb
371
375
  - decidim-admin/app/controllers/decidim/admin/features/base_controller.rb
372
376
  - decidim-admin/app/controllers/decidim/admin/features_controller.rb
@@ -374,6 +378,7 @@ files:
374
378
  - decidim-admin/app/controllers/decidim/admin/newsletters_controller.rb
375
379
  - decidim-admin/app/controllers/decidim/admin/organization_controller.rb
376
380
  - decidim-admin/app/controllers/decidim/admin/participatory_process_attachments_controller.rb
381
+ - decidim-admin/app/controllers/decidim/admin/participatory_process_copies_controller.rb
377
382
  - decidim-admin/app/controllers/decidim/admin/participatory_process_groups_controller.rb
378
383
  - decidim-admin/app/controllers/decidim/admin/participatory_process_publications_controller.rb
379
384
  - decidim-admin/app/controllers/decidim/admin/participatory_process_step_activations_controller.rb
@@ -390,6 +395,7 @@ files:
390
395
  - decidim-admin/app/forms/decidim/admin/feature_form.rb
391
396
  - decidim-admin/app/forms/decidim/admin/newsletter_form.rb
392
397
  - decidim-admin/app/forms/decidim/admin/organization_form.rb
398
+ - decidim-admin/app/forms/decidim/admin/participatory_process_copy_form.rb
393
399
  - decidim-admin/app/forms/decidim/admin/participatory_process_form.rb
394
400
  - decidim-admin/app/forms/decidim/admin/participatory_process_group_form.rb
395
401
  - decidim-admin/app/forms/decidim/admin/participatory_process_step_form.rb
@@ -400,8 +406,10 @@ files:
400
406
  - decidim-admin/app/forms/decidim/admin/static_page_form.rb
401
407
  - decidim-admin/app/helpers/decidim/admin/application_helper.rb
402
408
  - decidim-admin/app/helpers/decidim/admin/attributes_display_helper.rb
409
+ - decidim-admin/app/helpers/decidim/admin/exports_helper.rb
403
410
  - decidim-admin/app/helpers/decidim/admin/feature_settings_helper.rb
404
411
  - decidim-admin/app/helpers/decidim/admin/icon_link_helper.rb
412
+ - decidim-admin/app/helpers/decidim/admin/menu_helper.rb
405
413
  - decidim-admin/app/helpers/decidim/admin/process_groups_for_select_helper.rb
406
414
  - decidim-admin/app/helpers/decidim/admin/processes_for_select_helper.rb
407
415
  - decidim-admin/app/jobs/decidim/admin/application_job.rb
@@ -417,6 +425,7 @@ files:
417
425
  - decidim-admin/app/queries/decidim/admin/manageable_participatory_processes_for_user.rb
418
426
  - decidim-admin/app/queries/decidim/admin/process_admin_roles_for_process.rb
419
427
  - decidim-admin/app/queries/decidim/admin/process_admins.rb
428
+ - decidim-admin/app/queries/decidim/admin/user_groups_evaluation.rb
420
429
  - decidim-admin/app/views/decidim/admin/attachments/_form.html.erb
421
430
  - decidim-admin/app/views/decidim/admin/attachments/edit.html.erb
422
431
  - decidim-admin/app/views/decidim/admin/attachments/index.html.erb
@@ -430,6 +439,7 @@ files:
430
439
  - decidim-admin/app/views/decidim/admin/dashboard/show.html.erb
431
440
  - decidim-admin/app/views/decidim/admin/devise/mailers/password_change.html.erb
432
441
  - decidim-admin/app/views/decidim/admin/devise/mailers/reset_password_instructions.html.erb
442
+ - decidim-admin/app/views/decidim/admin/exports/_dropdown.html.erb
433
443
  - decidim-admin/app/views/decidim/admin/feature_permissions/edit.html.erb
434
444
  - decidim-admin/app/views/decidim/admin/features/_feature.html.erb
435
445
  - decidim-admin/app/views/decidim/admin/features/_form.html.erb
@@ -446,6 +456,8 @@ files:
446
456
  - decidim-admin/app/views/decidim/admin/newsletters/show.html.erb
447
457
  - decidim-admin/app/views/decidim/admin/organization/_form.html.erb
448
458
  - decidim-admin/app/views/decidim/admin/organization/edit.html.erb
459
+ - decidim-admin/app/views/decidim/admin/participatory_process_copies/_form.html.erb
460
+ - decidim-admin/app/views/decidim/admin/participatory_process_copies/new.html.erb
449
461
  - decidim-admin/app/views/decidim/admin/participatory_process_groups/_form.html.erb
450
462
  - decidim-admin/app/views/decidim/admin/participatory_process_groups/edit.html.erb
451
463
  - decidim-admin/app/views/decidim/admin/participatory_process_groups/index.html.erb
@@ -481,8 +493,6 @@ files:
481
493
  - decidim-admin/app/views/layouts/decidim/admin/_application.html.erb
482
494
  - decidim-admin/app/views/layouts/decidim/admin/_callouts_full.html.erb
483
495
  - decidim-admin/app/views/layouts/decidim/admin/_header.html.erb
484
- - decidim-admin/app/views/layouts/decidim/admin/_language_chooser.html.erb
485
- - decidim-admin/app/views/layouts/decidim/admin/_main_nav.html.erb
486
496
  - decidim-admin/app/views/layouts/decidim/admin/_template_bottom.html.erb
487
497
  - decidim-admin/app/views/layouts/decidim/admin/_template_top.html.erb
488
498
  - decidim-admin/app/views/layouts/decidim/admin/_title_bar.html.erb
@@ -516,6 +526,7 @@ files:
516
526
  - decidim-admin/lib/decidim/admin/test/manage_attachments_examples.rb
517
527
  - decidim-admin/lib/tasks/decidim/admin_tasks.rake
518
528
  - decidim-admin/spec/commands/activate_participatory_process_step_spec.rb
529
+ - decidim-admin/spec/commands/copy_participatory_process_spec.rb
519
530
  - decidim-admin/spec/commands/create_category_spec.rb
520
531
  - decidim-admin/spec/commands/create_feature_spec.rb
521
532
  - decidim-admin/spec/commands/create_newsletter_spec.rb
@@ -530,6 +541,7 @@ files:
530
541
  - decidim-admin/spec/commands/destroy_participatory_process_step_spec.rb
531
542
  - decidim-admin/spec/commands/hide_resource_spec.rb
532
543
  - decidim-admin/spec/commands/publish_participatory_process_spec.rb
544
+ - decidim-admin/spec/commands/reject_user_group_spec.rb
533
545
  - decidim-admin/spec/commands/reorder_participatory_process_steps_spec.rb
534
546
  - decidim-admin/spec/commands/unpublish_participatory_process_spec.rb
535
547
  - decidim-admin/spec/commands/unreport_resource_spec.rb
@@ -540,9 +552,12 @@ files:
540
552
  - decidim-admin/spec/commands/update_participatory_process_spec.rb
541
553
  - decidim-admin/spec/commands/update_scope_spec.rb
542
554
  - decidim-admin/spec/commands/update_static_page_spec.rb
555
+ - decidim-admin/spec/commands/verify_user_group_spec.rb
556
+ - decidim-admin/spec/controllers/exports_controller_spec.rb
543
557
  - decidim-admin/spec/controllers/participatory_processes_controller_spec.rb
544
558
  - decidim-admin/spec/controllers/static_pages_controller_spec.rb
545
559
  - decidim-admin/spec/factories.rb
560
+ - decidim-admin/spec/features/admin_copy_participatory_process_spec.rb
546
561
  - decidim-admin/spec/features/admin_invite_spec.rb
547
562
  - decidim-admin/spec/features/admin_manages_feature_permissions_spec.rb
548
563
  - decidim-admin/spec/features/admin_manages_features_spec.rb
@@ -573,7 +588,11 @@ files:
573
588
  - decidim-admin/spec/forms/scope_form_spec.rb
574
589
  - decidim-admin/spec/forms/static_page_form_spec.rb
575
590
  - decidim-admin/spec/helpers/aria_selected_link_to_helper_spec.rb
591
+ - decidim-admin/spec/helpers/exports_helper_spec.rb
576
592
  - decidim-admin/spec/helpers/feature_settings_helper_spec.rb
593
+ - decidim-admin/spec/helpers/menu_helper_spec.rb
594
+ - decidim-admin/spec/i18n_spec.rb
595
+ - decidim-admin/spec/jobs/export_job_spec.rb
577
596
  - decidim-admin/spec/jobs/newsletter_delivery_job_spec.rb
578
597
  - decidim-admin/spec/jobs/newsletter_job_spec.rb
579
598
  - decidim-admin/spec/models/abilities/admin_user_spec.rb
@@ -584,6 +603,7 @@ files:
584
603
  - decidim-admin/spec/queries/manageable_participatory_processes_for_user_spec.rb
585
604
  - decidim-admin/spec/queries/process_admin_roles_for_process_spec.rb
586
605
  - decidim-admin/spec/queries/process_admins_spec.rb
606
+ - decidim-admin/spec/queries/user_group_evaluation_spec.rb
587
607
  - decidim-admin/spec/shared/manage_process_admins_examples.rb
588
608
  - decidim-admin/spec/shared/manage_process_attachments_examples.rb
589
609
  - decidim-admin/spec/shared/manage_process_categories_examples.rb
@@ -619,6 +639,7 @@ files:
619
639
  - decidim-api/spec/factories.rb
620
640
  - decidim-api/spec/features/documentation_spec.rb
621
641
  - decidim-api/spec/features/graphiql_spec.rb
642
+ - decidim-api/spec/i18n_spec.rb
622
643
  - decidim-api/spec/spec_helper.rb
623
644
  - decidim-api/spec/types/query_type_spec.rb
624
645
  - decidim-api/vendor/assets/javascripts/decidim/api/graphql-docs.js
@@ -698,8 +719,8 @@ files:
698
719
  - decidim-budgets/lib/decidim/budgets.rb
699
720
  - decidim-budgets/lib/decidim/budgets/admin.rb
700
721
  - decidim-budgets/lib/decidim/budgets/admin_engine.rb
722
+ - decidim-budgets/lib/decidim/budgets/engine.rb
701
723
  - decidim-budgets/lib/decidim/budgets/feature.rb
702
- - decidim-budgets/lib/decidim/budgets/list_engine.rb
703
724
  - decidim-budgets/lib/decidim/budgets/seeds/Exampledocument.pdf
704
725
  - decidim-budgets/lib/decidim/budgets/seeds/city.jpeg
705
726
  - decidim-budgets/lib/decidim/budgets/test/factories.rb
@@ -717,6 +738,7 @@ files:
717
738
  - decidim-budgets/spec/features/process_admin_manages_project_attachments_spec.rb
718
739
  - decidim-budgets/spec/features/process_admin_manages_projects_spec.rb
719
740
  - decidim-budgets/spec/forms/project_form_spec.rb
741
+ - decidim-budgets/spec/i18n_spec.rb
720
742
  - decidim-budgets/spec/models/line_item_spec.rb
721
743
  - decidim-budgets/spec/models/order_spec.rb
722
744
  - decidim-budgets/spec/models/project_spec.rb
@@ -816,9 +838,11 @@ files:
816
838
  - decidim-comments/lib/decidim/comments/api/add_comment_type.rb
817
839
  - decidim-comments/lib/decidim/comments/api/comment_mutation_type.rb
818
840
  - decidim-comments/lib/decidim/comments/api/comment_type.rb
841
+ - decidim-comments/lib/decidim/comments/comment_serializer.rb
819
842
  - decidim-comments/lib/decidim/comments/commentable.rb
820
843
  - decidim-comments/lib/decidim/comments/comments_helper.rb
821
844
  - decidim-comments/lib/decidim/comments/engine.rb
845
+ - decidim-comments/lib/decidim/comments/export.rb
822
846
  - decidim-comments/lib/decidim/comments/mutation_extensions.rb
823
847
  - decidim-comments/lib/decidim/comments/query_extensions.rb
824
848
  - decidim-comments/lib/decidim/comments/test/factories.rb
@@ -832,6 +856,9 @@ files:
832
856
  - decidim-comments/spec/features/report_comment_spec.rb
833
857
  - decidim-comments/spec/forms/comment_form_spec.rb
834
858
  - decidim-comments/spec/helpers/comments_helper_spec.rb
859
+ - decidim-comments/spec/i18n_spec.rb
860
+ - decidim-comments/spec/lib/comment_serializer_spec.rb
861
+ - decidim-comments/spec/lib/export_spec.rb
835
862
  - decidim-comments/spec/mailers/comment_notification_mailer_spec.rb
836
863
  - decidim-comments/spec/models/abilities/admin_user_spec.rb
837
864
  - decidim-comments/spec/models/abilities/process_admin_user_spec.rb
@@ -849,6 +876,7 @@ files:
849
876
  - decidim-comments/spec/types/query_type_spec.rb
850
877
  - decidim-dev/README.md
851
878
  - decidim-dev/Rakefile
879
+ - decidim-dev/app/assets/images/decidim/dummy.svg
852
880
  - decidim-dev/app/views/decidim/dummy_resource/_linked_dummys.html.erb
853
881
  - decidim-dev/config/i18n-tasks.yml
854
882
  - decidim-dev/config/locales/ca.yml
@@ -874,7 +902,7 @@ files:
874
902
  - decidim-dev/lib/decidim/dev/railtie.rb
875
903
  - decidim-dev/lib/decidim/dev/test/authorization_shared_examples.rb
876
904
  - decidim-dev/lib/decidim/dev/test/base_spec_helper.rb
877
- - decidim-dev/lib/decidim/dev/test/i18n_spec.rb
905
+ - decidim-dev/lib/decidim/dev/test/i18n_shared_examples.rb
878
906
  - decidim-dev/lib/decidim/dev/test/rspec_support/action_mailer.rb
879
907
  - decidim-dev/lib/decidim/dev/test/rspec_support/active_job.rb
880
908
  - decidim-dev/lib/decidim/dev/test/rspec_support/authenticated_controller_context.rb
@@ -900,7 +928,9 @@ files:
900
928
  - decidim-dev/lib/generators/decidim/templates/autoprefixer.yml
901
929
  - decidim-dev/lib/generators/decidim/templates/autoprefixer_initializer.rb
902
930
  - decidim-dev/lib/generators/decidim/templates/decidim_dev.rb
931
+ - decidim-dev/lib/tasks/locale_checker.rake
903
932
  - decidim-dev/lib/tasks/test_app.rake
933
+ - decidim-dev/spec/i18n_spec.rb
904
934
  - decidim-dev/spec/support/Exampledocument.docx
905
935
  - decidim-dev/spec/support/Exampledocument.odt
906
936
  - decidim-dev/spec/support/Exampledocument.pdf
@@ -966,8 +996,8 @@ files:
966
996
  - decidim-meetings/lib/decidim/meetings.rb
967
997
  - decidim-meetings/lib/decidim/meetings/admin.rb
968
998
  - decidim-meetings/lib/decidim/meetings/admin_engine.rb
999
+ - decidim-meetings/lib/decidim/meetings/engine.rb
969
1000
  - decidim-meetings/lib/decidim/meetings/feature.rb
970
- - decidim-meetings/lib/decidim/meetings/list_engine.rb
971
1001
  - decidim-meetings/lib/decidim/meetings/seeds/Exampledocument.pdf
972
1002
  - decidim-meetings/lib/decidim/meetings/seeds/city.jpeg
973
1003
  - decidim-meetings/lib/decidim/meetings/test/factories.rb
@@ -982,6 +1012,7 @@ files:
982
1012
  - decidim-meetings/spec/features/process_admin_manages_meetings_spec.rb
983
1013
  - decidim-meetings/spec/forms/close_meeting_form_spec.rb
984
1014
  - decidim-meetings/spec/forms/meeting_form_spec.rb
1015
+ - decidim-meetings/spec/i18n_spec.rb
985
1016
  - decidim-meetings/spec/models/meeting_spec.rb
986
1017
  - decidim-meetings/spec/services/meeting_search_spec.rb
987
1018
  - decidim-meetings/spec/shared/admin_shared_context.rb
@@ -992,6 +1023,7 @@ files:
992
1023
  - decidim-pages/Rakefile
993
1024
  - decidim-pages/app/assets/images/decidim/pages/icon.svg
994
1025
  - decidim-pages/app/commands/decidim/pages/admin/update_page.rb
1026
+ - decidim-pages/app/commands/decidim/pages/copy_page.rb
995
1027
  - decidim-pages/app/commands/decidim/pages/create_page.rb
996
1028
  - decidim-pages/app/commands/decidim/pages/destroy_page.rb
997
1029
  - decidim-pages/app/controllers/decidim/pages/admin/application_controller.rb
@@ -1024,6 +1056,7 @@ files:
1024
1056
  - decidim-pages/lib/decidim/pages/engine.rb
1025
1057
  - decidim-pages/lib/decidim/pages/feature.rb
1026
1058
  - decidim-pages/lib/tasks/decidim/pages_tasks.rake
1059
+ - decidim-pages/spec/commands/copy_page_spec.rb
1027
1060
  - decidim-pages/spec/commands/create_page_spec.rb
1028
1061
  - decidim-pages/spec/commands/destroy_page_spec.rb
1029
1062
  - decidim-pages/spec/commands/update_page_spec.rb
@@ -1032,6 +1065,7 @@ files:
1032
1065
  - decidim-pages/spec/features/comments_spec.rb
1033
1066
  - decidim-pages/spec/features/page_show_spec.rb
1034
1067
  - decidim-pages/spec/forms/page_form_spec.rb
1068
+ - decidim-pages/spec/i18n_spec.rb
1035
1069
  - decidim-pages/spec/models/page_spec.rb
1036
1070
  - decidim-pages/spec/spec_helper.rb
1037
1071
  - decidim-proposals/README.md
@@ -1045,8 +1079,8 @@ files:
1045
1079
  - decidim-proposals/app/commands/decidim/proposals/admin/create_proposal.rb
1046
1080
  - decidim-proposals/app/commands/decidim/proposals/create_proposal.rb
1047
1081
  - decidim-proposals/app/commands/decidim/proposals/create_proposal_export.rb
1082
+ - decidim-proposals/app/controllers/concerns/decidim/proposals/orderable.rb
1048
1083
  - decidim-proposals/app/controllers/decidim/proposals/admin/application_controller.rb
1049
- - decidim-proposals/app/controllers/decidim/proposals/admin/exports_controller.rb
1050
1084
  - decidim-proposals/app/controllers/decidim/proposals/admin/proposal_answers_controller.rb
1051
1085
  - decidim-proposals/app/controllers/decidim/proposals/admin/proposals_controller.rb
1052
1086
  - decidim-proposals/app/controllers/decidim/proposals/application_controller.rb
@@ -1058,9 +1092,7 @@ files:
1058
1092
  - decidim-proposals/app/forms/decidim/proposals/proposal_form.rb
1059
1093
  - decidim-proposals/app/helpers/decidim/proposals/application_helper.rb
1060
1094
  - decidim-proposals/app/helpers/decidim/proposals/map_helper.rb
1061
- - decidim-proposals/app/helpers/decidim/proposals/proposal_order_helper.rb
1062
1095
  - decidim-proposals/app/helpers/decidim/proposals/proposal_votes_helper.rb
1063
- - decidim-proposals/app/jobs/decidim/proposals/export_job.rb
1064
1096
  - decidim-proposals/app/models/decidim/proposals/abilities/admin_user.rb
1065
1097
  - decidim-proposals/app/models/decidim/proposals/abilities/current_user.rb
1066
1098
  - decidim-proposals/app/models/decidim/proposals/abilities/process_admin_user.rb
@@ -1069,7 +1101,6 @@ files:
1069
1101
  - decidim-proposals/app/models/decidim/proposals/proposal_vote.rb
1070
1102
  - decidim-proposals/app/queries/decidim/proposals/filtered_proposals.rb
1071
1103
  - decidim-proposals/app/services/decidim/proposals/proposal_search.rb
1072
- - decidim-proposals/app/services/decidim/proposals/proposal_serializer.rb
1073
1104
  - decidim-proposals/app/views/decidim/proposals/admin/proposal_answers/edit.html.erb
1074
1105
  - decidim-proposals/app/views/decidim/proposals/admin/proposals/_form.html.erb
1075
1106
  - decidim-proposals/app/views/decidim/proposals/admin/proposals/index.html.erb
@@ -1122,10 +1153,12 @@ files:
1122
1153
  - decidim-proposals/lib/decidim/proposals/admin_engine.rb
1123
1154
  - decidim-proposals/lib/decidim/proposals/engine.rb
1124
1155
  - decidim-proposals/lib/decidim/proposals/feature.rb
1156
+ - decidim-proposals/lib/decidim/proposals/proposal_serializer.rb
1125
1157
  - decidim-proposals/lib/decidim/proposals/test/factories.rb
1126
1158
  - decidim-proposals/spec/commands/decidim/proposals/admin_create_proposal_spec.rb
1127
1159
  - decidim-proposals/spec/commands/decidim/proposals/answer_proposal_spec.rb
1128
1160
  - decidim-proposals/spec/commands/decidim/proposals/create_proposal_spec.rb
1161
+ - decidim-proposals/spec/controllers/concerns/orderable_test.rb
1129
1162
  - decidim-proposals/spec/controllers/decidim/admin/proposal_answers_controller_spec.rb
1130
1163
  - decidim-proposals/spec/controllers/decidim/proposal_votes_controller_spec.rb
1131
1164
  - decidim-proposals/spec/controllers/decidim/proposals_controller_spec.rb
@@ -1140,9 +1173,8 @@ files:
1140
1173
  - decidim-proposals/spec/forms/decidim/proposals/proposal_answer_form_spec.rb
1141
1174
  - decidim-proposals/spec/forms/decidim/proposals/proposal_form_spec.rb
1142
1175
  - decidim-proposals/spec/helpers/application_helper_spec.rb
1143
- - decidim-proposals/spec/helpers/proposal_order_helper_spec.rb
1144
1176
  - decidim-proposals/spec/helpers/proposal_votes_helper_spec.rb
1145
- - decidim-proposals/spec/jobs/export_job_spec.rb
1177
+ - decidim-proposals/spec/i18n_spec.rb
1146
1178
  - decidim-proposals/spec/lib/decidim/proposals/feature_spec.rb
1147
1179
  - decidim-proposals/spec/models/decidim/proposals/abilities/admin_user_spec.rb
1148
1180
  - decidim-proposals/spec/models/decidim/proposals/abilities/process_admin_user_spec.rb
@@ -1205,8 +1237,8 @@ files:
1205
1237
  - decidim-results/lib/decidim/results.rb
1206
1238
  - decidim-results/lib/decidim/results/admin.rb
1207
1239
  - decidim-results/lib/decidim/results/admin_engine.rb
1240
+ - decidim-results/lib/decidim/results/engine.rb
1208
1241
  - decidim-results/lib/decidim/results/feature.rb
1209
- - decidim-results/lib/decidim/results/list_engine.rb
1210
1242
  - decidim-results/lib/decidim/results/test/factories.rb
1211
1243
  - decidim-results/spec/commands/create_result_spec.rb
1212
1244
  - decidim-results/spec/commands/update_result_spec.rb
@@ -1217,6 +1249,7 @@ files:
1217
1249
  - decidim-results/spec/features/explore_results_spec.rb
1218
1250
  - decidim-results/spec/features/process_admin_manages_results_spec.rb
1219
1251
  - decidim-results/spec/forms/result_form_spec.rb
1252
+ - decidim-results/spec/i18n_spec.rb
1220
1253
  - decidim-results/spec/models/result_spec.rb
1221
1254
  - decidim-results/spec/queries/decidim/results/filtered_results_spec.rb
1222
1255
  - decidim-results/spec/services/result_search_spec.rb
@@ -1252,6 +1285,7 @@ files:
1252
1285
  - decidim-system/app/forms/decidim/system/register_organization_form.rb
1253
1286
  - decidim-system/app/forms/decidim/system/update_organization_form.rb
1254
1287
  - decidim-system/app/helpers/decidim/system/application_helper.rb
1288
+ - decidim-system/app/helpers/decidim/system/menu_helper.rb
1255
1289
  - decidim-system/app/jobs/decidim/system/application_job.rb
1256
1290
  - decidim-system/app/mailers/decidim/system/application_mailer.rb
1257
1291
  - decidim-system/app/models/decidim/system/admin.rb
@@ -1301,6 +1335,8 @@ files:
1301
1335
  - decidim-system/spec/features/manage_admins_spec.rb
1302
1336
  - decidim-system/spec/features/organizations_spec.rb
1303
1337
  - decidim-system/spec/features/sessions_spec.rb
1338
+ - decidim-system/spec/helpers/menu_helper_spec.rb
1339
+ - decidim-system/spec/i18n_spec.rb
1304
1340
  - decidim-system/spec/models/admin_spec.rb
1305
1341
  - decidim-system/spec/spec_helper.rb
1306
1342
  - decidim.gemspec