decidim-core 0.26.3 → 0.27.0.rc1

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

Potentially problematic release.


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

Files changed (556) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/app/cells/decidim/amendable/announcement_cell.rb +3 -8
  4. data/app/cells/decidim/announcement_cell.rb +1 -1
  5. data/app/cells/decidim/author_cell.rb +1 -1
  6. data/app/cells/decidim/content_blocks/cta/show.erb +1 -1
  7. data/app/cells/decidim/content_blocks/footer_sub_hero/show.erb +1 -1
  8. data/app/cells/decidim/content_blocks/hero/show.erb +1 -1
  9. data/app/cells/decidim/content_blocks/highlighted_content_banner/show.erb +4 -4
  10. data/app/cells/decidim/content_blocks/highlighted_elements_cell.rb +1 -1
  11. data/app/cells/decidim/content_blocks/how_to_participate/show.erb +1 -1
  12. data/app/cells/decidim/content_blocks/last_activity/show.erb +1 -1
  13. data/app/cells/decidim/content_blocks/last_activity_cell.rb +3 -3
  14. data/app/cells/decidim/content_blocks/stats_cell.rb +4 -5
  15. data/app/cells/decidim/content_blocks/sub_hero/show.erb +1 -1
  16. data/app/cells/decidim/data_consent/category.erb +64 -0
  17. data/app/cells/decidim/data_consent/dialog.erb +29 -0
  18. data/app/cells/decidim/data_consent/modal.erb +39 -0
  19. data/app/cells/decidim/data_consent/show.erb +3 -0
  20. data/app/cells/decidim/data_consent_cell.rb +21 -0
  21. data/app/cells/decidim/follow_button_cell.rb +5 -7
  22. data/app/cells/decidim/profile_sidebar_cell.rb +1 -1
  23. data/app/cells/decidim/search_results_cell.rb +1 -1
  24. data/app/cells/decidim/tos_page/refuse_btn_modal.erb +1 -1
  25. data/app/cells/decidim/upload_modal/files.erb +52 -0
  26. data/app/cells/decidim/upload_modal/modal.erb +49 -0
  27. data/app/cells/decidim/upload_modal/show.erb +3 -0
  28. data/app/cells/decidim/upload_modal_cell.rb +205 -0
  29. data/app/cells/decidim/user_conversation/reply.erb +1 -1
  30. data/app/cells/decidim/user_conversations/add_conversation_users.erb +5 -3
  31. data/app/cells/decidim/version_cell.rb +2 -13
  32. data/app/cells/decidim/versions_list_cell.rb +2 -13
  33. data/app/cells/decidim/versions_list_item_cell.rb +2 -13
  34. data/app/commands/decidim/accept_group_invitation.rb +1 -1
  35. data/app/commands/decidim/accept_user_group_join_request.rb +1 -1
  36. data/app/commands/decidim/amendable/accept.rb +1 -1
  37. data/app/commands/decidim/amendable/create_draft.rb +1 -1
  38. data/app/commands/decidim/amendable/destroy_draft.rb +1 -1
  39. data/app/commands/decidim/amendable/promote.rb +1 -1
  40. data/app/commands/decidim/amendable/publish_draft.rb +1 -1
  41. data/app/commands/decidim/amendable/reject.rb +1 -1
  42. data/app/commands/decidim/amendable/update_draft.rb +1 -1
  43. data/app/commands/decidim/amendable/withdraw.rb +1 -1
  44. data/app/commands/decidim/attachment_methods.rb +3 -2
  45. data/app/commands/decidim/create_editor_image.rb +1 -1
  46. data/app/commands/decidim/create_follow.rb +1 -1
  47. data/app/commands/decidim/create_omniauth_registration.rb +2 -3
  48. data/app/commands/decidim/create_registration.rb +1 -2
  49. data/app/commands/decidim/create_report.rb +1 -1
  50. data/app/commands/decidim/create_user_group.rb +2 -2
  51. data/app/commands/decidim/create_user_report.rb +5 -3
  52. data/app/commands/decidim/delete_follow.rb +1 -1
  53. data/app/commands/decidim/demote_membership.rb +1 -1
  54. data/app/commands/decidim/destroy_account.rb +1 -1
  55. data/app/commands/decidim/endorse_resource.rb +1 -1
  56. data/app/commands/decidim/gallery_methods.rb +45 -10
  57. data/app/commands/decidim/invite_user.rb +1 -3
  58. data/app/commands/decidim/invite_user_again.rb +1 -1
  59. data/app/commands/decidim/invite_user_to_group.rb +1 -1
  60. data/app/commands/decidim/join_user_group.rb +1 -1
  61. data/app/commands/decidim/leave_user_group.rb +8 -2
  62. data/app/commands/decidim/messaging/reply_to_conversation.rb +2 -2
  63. data/app/commands/decidim/messaging/start_conversation.rb +2 -2
  64. data/app/commands/decidim/multiple_attachments_methods.rb +44 -5
  65. data/app/commands/decidim/promote_membership.rb +1 -1
  66. data/app/commands/decidim/reject_group_invitation.rb +1 -1
  67. data/app/commands/decidim/reject_user_group_join_request.rb +1 -1
  68. data/app/commands/decidim/remove_user_from_group.rb +1 -1
  69. data/app/commands/decidim/resend_confirmation_instructions.rb +18 -0
  70. data/app/commands/decidim/search.rb +10 -9
  71. data/app/commands/decidim/unendorse_resource.rb +1 -1
  72. data/app/commands/decidim/unsubscribe_settings.rb +1 -1
  73. data/app/commands/decidim/update_account.rb +2 -2
  74. data/app/commands/decidim/update_notifications_settings.rb +3 -2
  75. data/app/commands/decidim/update_password.rb +31 -0
  76. data/app/commands/decidim/update_user_group.rb +2 -2
  77. data/app/commands/decidim/update_user_interests.rb +1 -1
  78. data/app/commands/decidim/validate_upload.rb +15 -0
  79. data/app/controllers/concerns/decidim/devise_controllers.rb +0 -1
  80. data/app/controllers/concerns/decidim/filter_resource.rb +23 -24
  81. data/app/controllers/concerns/decidim/force_authentication.rb +1 -2
  82. data/app/controllers/concerns/decidim/http_caching_disabler.rb +1 -1
  83. data/app/controllers/concerns/decidim/needs_password_change.rb +43 -0
  84. data/app/controllers/concerns/decidim/needs_tos_accepted.rb +3 -3
  85. data/app/controllers/concerns/decidim/orderable.rb +1 -1
  86. data/app/controllers/concerns/decidim/participatory_space_context.rb +2 -2
  87. data/app/controllers/concerns/decidim/resource_versions_concern.rb +0 -4
  88. data/app/controllers/decidim/account_controller.rb +45 -0
  89. data/app/controllers/decidim/application_controller.rb +1 -1
  90. data/app/controllers/decidim/devise/invitations_controller.rb +2 -0
  91. data/app/controllers/decidim/devise/passwords_controller.rb +33 -0
  92. data/app/controllers/decidim/devise/registrations_controller.rb +3 -1
  93. data/app/controllers/decidim/devise/sessions_controller.rb +2 -0
  94. data/app/controllers/decidim/{data_portability_controller.rb → download_your_data_controller.rb} +8 -8
  95. data/app/controllers/decidim/groups_controller.rb +5 -0
  96. data/app/controllers/decidim/last_activities_controller.rb +7 -9
  97. data/app/controllers/decidim/manifests_controller.rb +11 -0
  98. data/app/controllers/decidim/newsletters_controller.rb +1 -1
  99. data/app/controllers/decidim/notifications_subscriptions_controller.rb +16 -0
  100. data/app/controllers/decidim/offline_controller.rb +7 -0
  101. data/app/controllers/decidim/profiles_controller.rb +1 -1
  102. data/app/controllers/decidim/searches_controller.rb +4 -3
  103. data/app/controllers/decidim/short_links_controller.rb +35 -0
  104. data/app/controllers/decidim/upload_validations_controller.rb +44 -0
  105. data/app/controllers/decidim/user_activities_controller.rb +32 -16
  106. data/app/controllers/decidim/user_interests_controller.rb +0 -2
  107. data/app/controllers/decidim/user_timeline_controller.rb +6 -8
  108. data/app/events/decidim/change_nickname_event.rb +21 -0
  109. data/app/events/decidim/resource_endorsed_event.rb +1 -2
  110. data/app/forms/decidim/account_form.rb +2 -2
  111. data/app/forms/decidim/form.rb +1 -1
  112. data/app/forms/decidim/messaging/conversation_form.rb +1 -1
  113. data/app/forms/decidim/notifications_settings_form.rb +8 -2
  114. data/app/forms/decidim/password_form.rb +10 -0
  115. data/app/forms/decidim/registration_form.rb +2 -2
  116. data/app/forms/decidim/upload_validation_form.rb +54 -0
  117. data/app/forms/decidim/user_group_form.rb +1 -1
  118. data/app/forms/decidim/user_interest_scope_form.rb +1 -1
  119. data/app/forms/decidim/user_interests_form.rb +1 -1
  120. data/app/forms/translatable_presence_validator.rb +2 -2
  121. data/app/forms/url_validator.rb +1 -1
  122. data/app/helpers/decidim/application_helper.rb +2 -2
  123. data/app/helpers/decidim/attachments_helper.rb +1 -1
  124. data/app/helpers/decidim/cells_paginate_helper.rb +1 -1
  125. data/app/helpers/decidim/datalist_select_helper.rb +40 -0
  126. data/app/helpers/decidim/decidim_form_helper.rb +1 -1
  127. data/app/helpers/decidim/filters_helper.rb +1 -5
  128. data/app/helpers/decidim/followable_helper.rb +1 -1
  129. data/app/helpers/decidim/icon_helper.rb +1 -1
  130. data/app/helpers/decidim/layout_helper.rb +15 -1
  131. data/app/helpers/decidim/map_helper.rb +12 -8
  132. data/app/helpers/decidim/meta_tags_helper.rb +0 -2
  133. data/app/helpers/decidim/notifications_settings_helper.rb +15 -0
  134. data/app/helpers/decidim/passwords_helper.rb +41 -0
  135. data/app/helpers/decidim/sanitize_helper.rb +1 -0
  136. data/app/helpers/decidim/searches_helper.rb +6 -6
  137. data/app/helpers/decidim/short_link_helper.rb +28 -0
  138. data/app/helpers/decidim/translations_helper.rb +2 -2
  139. data/app/jobs/decidim/{data_portability_export_job.rb → download_your_data_export_job.rb} +5 -5
  140. data/app/jobs/decidim/email_notifications_digest_generator_job.rb +21 -0
  141. data/app/jobs/decidim/notification_generator_for_recipient_job.rb +5 -3
  142. data/app/jobs/decidim/reminder_generator_job.rb +12 -0
  143. data/app/jobs/decidim/resend_confirmation_instructions_job.rb +11 -0
  144. data/app/jobs/decidim/user_report_job.rb +2 -2
  145. data/app/mailers/concerns/decidim/multitenant_asset_host.rb +11 -3
  146. data/app/mailers/decidim/application_mailer.rb +1 -1
  147. data/app/mailers/decidim/block_user_mailer.rb +8 -7
  148. data/app/mailers/decidim/export_mailer.rb +2 -2
  149. data/app/mailers/decidim/newsletter_mailer.rb +2 -2
  150. data/app/mailers/decidim/newsletters_opt_in_mailer.rb +7 -5
  151. data/app/mailers/decidim/notifications_digest_mailer.rb +23 -0
  152. data/app/mailers/decidim/user_report_mailer.rb +10 -11
  153. data/app/models/decidim/action_log.rb +95 -11
  154. data/app/models/decidim/amendment.rb +0 -1
  155. data/app/models/decidim/area.rb +1 -2
  156. data/app/models/decidim/area_type.rb +5 -0
  157. data/app/models/decidim/attachment.rb +6 -0
  158. data/app/models/decidim/attachment_collection.rb +5 -0
  159. data/app/models/decidim/category.rb +9 -4
  160. data/app/models/decidim/coauthorship.rb +0 -2
  161. data/app/models/decidim/contextual_help_section.rb +5 -1
  162. data/app/models/decidim/follow.rb +2 -2
  163. data/app/models/decidim/gamification/badge_score.rb +0 -1
  164. data/app/models/decidim/identity.rb +2 -2
  165. data/app/models/decidim/messaging/conversation.rb +4 -4
  166. data/app/models/decidim/messaging/message.rb +1 -2
  167. data/app/models/decidim/messaging/participation.rb +0 -2
  168. data/app/models/decidim/messaging/receipt.rb +0 -2
  169. data/app/models/decidim/notification.rb +5 -2
  170. data/app/models/decidim/oauth_application.rb +12 -1
  171. data/app/models/decidim/organization.rb +7 -7
  172. data/app/models/decidim/participatory_space_private_user.rb +4 -2
  173. data/app/models/decidim/permission_action.rb +1 -0
  174. data/app/models/decidim/reminder.rb +10 -0
  175. data/app/models/decidim/reminder_delivery.rb +7 -0
  176. data/app/models/decidim/reminder_record.rb +29 -0
  177. data/app/models/decidim/report.rb +2 -2
  178. data/app/models/decidim/scope.rb +3 -4
  179. data/app/models/decidim/scope_type.rb +5 -0
  180. data/app/models/decidim/share_token.rb +0 -2
  181. data/app/models/decidim/short_link.rb +162 -0
  182. data/app/models/decidim/user.rb +34 -6
  183. data/app/models/decidim/user_base_entity.rb +1 -2
  184. data/app/models/decidim/user_group.rb +3 -3
  185. data/app/models/decidim/user_moderation.rb +0 -2
  186. data/app/models/decidim/user_report.rb +2 -2
  187. data/app/packs/entrypoints/decidim_core.js +2 -2
  188. data/app/packs/entrypoints/decidim_sw.js +1 -0
  189. data/app/packs/src/decidim/autocomplete.js +298 -0
  190. data/app/packs/src/decidim/cookie_consent/consent_manager.js +133 -0
  191. data/app/packs/src/decidim/cookie_consent/cookie_consent.js +103 -0
  192. data/app/packs/src/decidim/datalist_select.js +36 -0
  193. data/app/packs/src/decidim/direct_uploads/upload_field.js +117 -0
  194. data/app/packs/src/decidim/direct_uploads/upload_modal.js +264 -0
  195. data/app/packs/src/decidim/direct_uploads/upload_utility.js +49 -0
  196. data/app/packs/src/decidim/direct_uploads/uploader.js +89 -0
  197. data/app/packs/src/decidim/external_domain_warning.js +1 -1
  198. data/app/packs/src/decidim/external_link.js +14 -3
  199. data/app/packs/src/decidim/external_link.test.js +64 -0
  200. data/app/packs/src/decidim/geocoding.js +10 -35
  201. data/app/packs/src/decidim/identity_selector_dialog.js +1 -1
  202. data/app/packs/src/decidim/impersonation.js +3 -3
  203. data/app/packs/src/decidim/input_character_counter.js +177 -7
  204. data/app/packs/src/decidim/input_multiple_mentions.js +87 -187
  205. data/app/packs/src/decidim/map/icon.js +2 -1
  206. data/app/packs/src/decidim/map/svg-icon.js +248 -0
  207. data/app/packs/src/decidim/security/selfxss_warning.js +5 -1
  208. data/app/packs/src/decidim/session_timeouter.js +15 -15
  209. data/app/packs/src/decidim/sw/a2hs.js +28 -0
  210. data/app/packs/src/decidim/sw/index.js +3 -0
  211. data/app/packs/src/decidim/sw/loader.js +18 -0
  212. data/app/packs/src/decidim/sw/push-permissions.js +87 -0
  213. data/app/packs/src/decidim/sw/sw.js +80 -0
  214. data/app/packs/src/decidim/vizzs/areachart.js +33 -28
  215. data/app/packs/src/decidim/vizzs/{metrics.js → index.js} +0 -0
  216. data/app/packs/src/decidim/vizzs/linechart.js +23 -18
  217. data/app/packs/src/decidim/vizzs/rowchart.js +15 -11
  218. data/app/packs/stylesheets/decidim/email.scss +66 -0
  219. data/app/packs/stylesheets/decidim/layouts/_user.scss +8 -0
  220. data/app/packs/stylesheets/decidim/modules/_autocomplete.scss +99 -0
  221. data/app/packs/stylesheets/decidim/modules/_cards.scss +0 -2
  222. data/app/packs/stylesheets/decidim/modules/_comments.scss +0 -2
  223. data/app/packs/stylesheets/decidim/modules/_cookie-consent.scss +115 -0
  224. data/app/packs/stylesheets/decidim/modules/_footer.scss +4 -0
  225. data/app/packs/stylesheets/decidim/modules/_forms.scss +0 -5
  226. data/app/packs/stylesheets/decidim/modules/_input-multiple-mentions.scss +29 -2
  227. data/app/packs/stylesheets/decidim/modules/_modules.scss +3 -1
  228. data/app/packs/stylesheets/decidim/modules/_reveal.scss +15 -0
  229. data/app/packs/stylesheets/decidim/modules/_upload_modal.scss +143 -0
  230. data/app/packs/stylesheets/decidim/utils/_fontface.scss +3 -0
  231. data/app/permissions/decidim/permissions.rb +4 -8
  232. data/app/presenters/decidim/admin_log/area_type_presenter.rb +34 -0
  233. data/app/presenters/decidim/admin_log/attachment_collection_presenter.rb +35 -0
  234. data/app/presenters/decidim/admin_log/attachment_presenter.rb +27 -0
  235. data/app/presenters/decidim/admin_log/category_presenter.rb +36 -0
  236. data/app/presenters/decidim/admin_log/component_presenter.rb +35 -3
  237. data/app/presenters/decidim/admin_log/contextual_help_section_presenter.rb +33 -0
  238. data/app/presenters/decidim/admin_log/organization_presenter.rb +9 -4
  239. data/app/presenters/decidim/admin_log/scope_type_presenter.rb +34 -0
  240. data/app/presenters/decidim/home_stats_presenter.rb +4 -2
  241. data/app/presenters/decidim/log/base_presenter.rb +1 -1
  242. data/app/presenters/decidim/menu_item_presenter.rb +1 -1
  243. data/app/presenters/decidim/metric_charts_presenter.rb +7 -1
  244. data/app/presenters/decidim/nil_presenter.rb +3 -1
  245. data/app/presenters/decidim/notification_to_mailer_presenter.rb +39 -0
  246. data/app/presenters/decidim/notifications_digest_presenter.rb +42 -0
  247. data/app/presenters/decidim/official_author_presenter.rb +4 -0
  248. data/app/presenters/decidim/organization_presenter.rb +22 -0
  249. data/app/presenters/decidim/push_notification_presenter.rb +24 -0
  250. data/app/presenters/decidim/stats_presenter.rb +1 -1
  251. data/app/presenters/decidim/user_presenter.rb +1 -4
  252. data/app/presenters/decidim/validation_errors_presenter.rb +1 -1
  253. data/app/queries/decidim/messaging/user_conversations.rb +1 -1
  254. data/app/queries/decidim/metric_manage.rb +1 -1
  255. data/app/queries/decidim/own_activities.rb +11 -0
  256. data/app/queries/decidim/participatory_processes_with_user_role.rb +1 -1
  257. data/app/{services/decidim/activity_search.rb → queries/decidim/public_activities.rb} +35 -77
  258. data/app/queries/decidim/public_components.rb +1 -1
  259. data/app/queries/decidim/similar_emendations.rb +1 -1
  260. data/app/queries/decidim/stats_users_count.rb +1 -1
  261. data/app/queries/decidim/user_groups/accepted_memberships.rb +1 -1
  262. data/app/queries/decidim/user_groups/accepted_user_groups.rb +1 -1
  263. data/app/queries/decidim/user_groups/accepted_users.rb +1 -1
  264. data/app/queries/decidim/user_groups/admin_memberships.rb +1 -1
  265. data/app/queries/decidim/user_groups/invited_memberships.rb +1 -1
  266. data/app/queries/decidim/user_groups/manageable_user_groups.rb +1 -1
  267. data/app/queries/decidim/user_groups/member_memberships.rb +1 -1
  268. data/app/services/decidim/{data_portability_exporter.rb → download_your_data_exporter.rb} +6 -6
  269. data/app/services/decidim/email_notification_generator.rb +2 -2
  270. data/app/services/decidim/engine_resolver.rb +66 -0
  271. data/app/services/decidim/events_manager.rb +1 -1
  272. data/app/services/decidim/iframe_disabler.rb +31 -0
  273. data/app/services/decidim/notification_generator_for_recipient.rb +1 -1
  274. data/app/services/decidim/notifications_digest_sending_decider.rb +18 -0
  275. data/app/services/decidim/notifications_subscriptions_persistor.rb +37 -0
  276. data/app/services/decidim/open_data_exporter.rb +1 -1
  277. data/app/services/decidim/resource_search.rb +17 -164
  278. data/app/services/decidim/send_push_notification.rb +59 -0
  279. data/app/services/decidim/traceability.rb +1 -1
  280. data/app/uploaders/decidim/application_uploader.rb +2 -12
  281. data/app/uploaders/decidim/cw/attachment_uploader.rb +1 -1
  282. data/app/uploaders/decidim/cw/{data_portability_uploader.rb → download_your_data_uploader.rb} +3 -3
  283. data/app/uploaders/decidim/cw/image_uploader.rb +2 -2
  284. data/app/uploaders/decidim/organization_favicon_uploader.rb +3 -2
  285. data/app/validators/passthru_validator.rb +29 -21
  286. data/app/validators/password_validator.rb +25 -4
  287. data/app/validators/uploader_image_dimensions_validator.rb +1 -1
  288. data/app/views/decidim/account/_account_notification.js.erb +20 -0
  289. data/app/views/decidim/account/_password_fields.html.erb +2 -2
  290. data/app/views/decidim/account/cancel_email_change.js.erb +6 -0
  291. data/app/views/decidim/account/resend_confirmation_instructions.erb +1 -0
  292. data/app/views/decidim/account/show.html.erb +19 -6
  293. data/app/views/decidim/application/{_attachments.html.erb → _attachments.erb} +2 -2
  294. data/app/views/decidim/application/_collection.html.erb +1 -1
  295. data/app/views/decidim/application/{_document.html.erb → _document.erb} +0 -0
  296. data/app/views/decidim/application/{_documents.html.erb → _documents.erb} +2 -2
  297. data/app/views/decidim/application/{_photos.html.erb → _photos.erb} +0 -0
  298. data/app/views/decidim/devise/confirmations/new.html.erb +1 -1
  299. data/app/views/decidim/devise/invitations/edit.html.erb +3 -4
  300. data/app/views/decidim/devise/omniauth_registrations/new.html.erb +3 -3
  301. data/app/views/decidim/devise/passwords/edit.html.erb +7 -5
  302. data/app/views/decidim/devise/passwords/new.html.erb +1 -1
  303. data/app/views/decidim/devise/registrations/edit.html.erb +5 -5
  304. data/app/views/decidim/devise/registrations/new.html.erb +5 -5
  305. data/app/views/decidim/devise/sessions/new.html.erb +2 -2
  306. data/app/views/decidim/{data_portability → download_your_data}/export.html.erb +0 -0
  307. data/app/views/decidim/{data_portability → download_your_data}/show.html.erb +2 -2
  308. data/app/views/decidim/export_mailer/download_your_data_export.html.erb +7 -0
  309. data/app/views/decidim/last_activities/index.html.erb +1 -1
  310. data/app/views/decidim/manifests/show.json.erb +31 -0
  311. data/app/views/decidim/messaging/conversations/_add_conversation_users.html.erb +5 -3
  312. data/app/views/decidim/messaging/conversations/_reply.html.erb +1 -1
  313. data/app/views/decidim/messaging/conversations/_start.html.erb +1 -3
  314. data/app/views/decidim/messaging/conversations/create.js.erb +1 -0
  315. data/app/views/decidim/notifications_digest_mailer/_email_content.html.erb +11 -0
  316. data/app/views/decidim/notifications_digest_mailer/digest_mail.erb +27 -0
  317. data/app/views/decidim/notifications_settings/show.html.erb +79 -52
  318. data/app/views/decidim/offline/show.html.erb +9 -0
  319. data/app/views/decidim/pages/_standalone.html.erb +1 -1
  320. data/app/views/decidim/reported_mailer/hide.html.erb +1 -1
  321. data/app/views/decidim/reported_mailer/report.html.erb +1 -1
  322. data/app/views/decidim/scopes/picker.html.erb +1 -1
  323. data/app/views/decidim/searches/_filters.html.erb +2 -2
  324. data/app/views/decidim/shared/participatory_space_filters/_filters.html.erb +3 -3
  325. data/app/views/decidim/user_interests/show.html.erb +13 -11
  326. data/app/views/decidim/user_report_mailer/notify.html.erb +10 -3
  327. data/app/views/devise/mailer/confirmation_instructions.html.erb +3 -1
  328. data/app/views/layouts/decidim/_application.html.erb +6 -3
  329. data/app/views/layouts/decidim/_cookie_warning.html.erb +8 -8
  330. data/app/views/layouts/decidim/_decidim_javascript.html.erb +12 -0
  331. data/app/views/layouts/decidim/_head.html.erb +4 -2
  332. data/app/views/layouts/decidim/_js_configuration.html.erb +5 -1
  333. data/app/views/layouts/decidim/_main_footer.html.erb +1 -0
  334. data/app/views/layouts/decidim/_offline_banner.html.erb +11 -0
  335. data/app/views/layouts/decidim/widget.html.erb +2 -2
  336. data/config/assets.rb +1 -0
  337. data/config/locales/am-ET.yml +1 -0
  338. data/config/locales/ar.yml +50 -36
  339. data/config/locales/bg.yml +16 -31
  340. data/config/locales/ca.yml +190 -39
  341. data/config/locales/cs.yml +195 -42
  342. data/config/locales/da.yml +1 -0
  343. data/config/locales/de.yml +27 -99
  344. data/config/locales/el.yml +15 -30
  345. data/config/locales/en.yml +183 -32
  346. data/config/locales/eo.yml +4 -6
  347. data/config/locales/es-MX.yml +186 -35
  348. data/config/locales/es-PY.yml +186 -35
  349. data/config/locales/es.yml +188 -37
  350. data/config/locales/et.yml +1 -0
  351. data/config/locales/eu.yml +19 -40
  352. data/config/locales/fi-plain.yml +184 -33
  353. data/config/locales/fi.yml +184 -33
  354. data/config/locales/fr-CA.yml +172 -35
  355. data/config/locales/fr.yml +180 -43
  356. data/config/locales/ga-IE.yml +6 -8
  357. data/config/locales/gl.yml +49 -30
  358. data/config/locales/hr.yml +1 -0
  359. data/config/locales/hu.yml +64 -206
  360. data/config/locales/id-ID.yml +17 -29
  361. data/config/locales/is-IS.yml +7 -17
  362. data/config/locales/it.yml +25 -41
  363. data/config/locales/ja.yml +175 -36
  364. data/config/locales/ko.yml +1 -0
  365. data/config/locales/lb.yml +17 -33
  366. data/config/locales/lt.yml +1 -1802
  367. data/config/locales/lv.yml +15 -28
  368. data/config/locales/mt.yml +1 -0
  369. data/config/locales/nl.yml +28 -36
  370. data/config/locales/no.yml +25 -36
  371. data/config/locales/om-ET.yml +1 -0
  372. data/config/locales/pl.yml +67 -35
  373. data/config/locales/pt-BR.yml +20 -35
  374. data/config/locales/pt.yml +17 -33
  375. data/config/locales/ro-RO.yml +20 -36
  376. data/config/locales/ru.yml +17 -28
  377. data/config/locales/si-LK.yml +1 -0
  378. data/config/locales/sk.yml +18 -30
  379. data/config/locales/sl.yml +1 -0
  380. data/config/locales/so-SO.yml +1 -0
  381. data/config/locales/sr-CS.yml +1 -0
  382. data/config/locales/sv.yml +68 -34
  383. data/config/locales/sw-KE.yml +1 -0
  384. data/config/locales/ti-ER.yml +1 -0
  385. data/config/locales/tr-TR.yml +17 -31
  386. data/config/locales/uk.yml +17 -27
  387. data/config/locales/val-ES.yml +1 -0
  388. data/config/locales/vi.yml +1 -0
  389. data/config/locales/zh-CN.yml +17 -30
  390. data/config/locales/zh-TW.yml +1 -0
  391. data/config/routes.rb +17 -2
  392. data/db/migrate/20180508111710_add_accepted_tos_version_field_to_users.rb +1 -0
  393. data/db/migrate/20181030090144_destroy_deleted_users_follows.rb +1 -0
  394. data/db/migrate/20190412131728_fix_user_names.rb +4 -4
  395. data/db/migrate/20210831181634_add_service_name_to_active_storage_blobs.active_storage.rb +22 -0
  396. data/db/migrate/20210831181635_create_active_storage_variant_records.active_storage.rb +14 -0
  397. data/db/migrate/20211208155453_create_decidim_reminders.rb +11 -0
  398. data/db/migrate/20211209121025_create_decidim_reminder_records.rb +11 -0
  399. data/db/migrate/20211209121040_create_decidim_reminder_deliveries.rb +10 -0
  400. data/db/migrate/20220118121921_change_required_description_categories.rb +7 -0
  401. data/db/migrate/20220127113419_add_notification_settings_to_users.rb +7 -0
  402. data/db/migrate/20220203121137_add_notifications_sending_frequency_to_users.rb +7 -0
  403. data/db/migrate/20220215172439_add_digest_sent_at_to_users.rb +7 -0
  404. data/db/migrate/20220323195258_add_index_to_decidim_users_notifications_sending_frequency.rb +7 -0
  405. data/db/migrate/20220427142214_drop_emails_on_notifications_flag_from_user.rb +15 -0
  406. data/db/migrate/20220518094535_add_previous_passwords_to_users.rb +20 -0
  407. data/db/migrate/20220524195530_create_decidim_short_links.rb +23 -0
  408. data/db/seeds.rb +17 -18
  409. data/lib/decidim/acts_as_tree.rb +47 -0
  410. data/lib/decidim/api/input_sorts/component_input_sort.rb +2 -1
  411. data/lib/decidim/api/interfaces/authorable_interface.rb +6 -5
  412. data/lib/decidim/asset_router.rb +80 -0
  413. data/lib/decidim/attachment_attributes.rb +8 -8
  414. data/lib/decidim/attribute_object/form.rb +174 -0
  415. data/lib/decidim/attribute_object/model.rb +148 -0
  416. data/lib/decidim/attribute_object/nested_validator.rb +22 -0
  417. data/lib/decidim/attribute_object/type_map.rb +14 -0
  418. data/lib/decidim/attribute_object/type_resolver.rb +91 -0
  419. data/lib/decidim/attribute_object.rb +26 -0
  420. data/lib/decidim/attributes/array.rb +62 -0
  421. data/lib/decidim/attributes/blob.rb +20 -0
  422. data/lib/decidim/attributes/clean_string.rb +12 -6
  423. data/lib/decidim/attributes/hash.rb +36 -0
  424. data/lib/decidim/attributes/integer.rb +17 -0
  425. data/lib/decidim/attributes/localized_date.rb +9 -7
  426. data/lib/decidim/attributes/model.rb +24 -0
  427. data/lib/decidim/attributes/object.rb +28 -0
  428. data/lib/decidim/attributes/symbol.rb +23 -0
  429. data/lib/decidim/attributes/time_with_zone.rb +9 -7
  430. data/lib/decidim/attributes.rb +29 -0
  431. data/lib/decidim/authorable.rb +21 -6
  432. data/lib/decidim/authorization_form_builder.rb +9 -11
  433. data/lib/decidim/carrier_wave_migrator_service.rb +15 -15
  434. data/lib/decidim/coauthorable.rb +22 -4
  435. data/lib/decidim/command.rb +44 -0
  436. data/lib/decidim/common_passwords.rb +1 -1
  437. data/lib/decidim/component_manifest.rb +5 -5
  438. data/lib/decidim/component_validator.rb +2 -2
  439. data/lib/decidim/content_block_manifest.rb +1 -1
  440. data/lib/decidim/content_parsers/hashtag_parser.rb +2 -2
  441. data/lib/decidim/content_parsers/resource_parser.rb +1 -1
  442. data/lib/decidim/content_parsers/user_group_parser.rb +1 -1
  443. data/lib/decidim/content_parsers/user_parser.rb +4 -4
  444. data/lib/decidim/content_renderers/hashtag_renderer.rb +1 -1
  445. data/lib/decidim/content_renderers/link_renderer.rb +2 -2
  446. data/lib/decidim/content_renderers/user_group_renderer.rb +1 -1
  447. data/lib/decidim/content_renderers/user_renderer.rb +1 -1
  448. data/lib/decidim/controller_helpers.rb +41 -0
  449. data/lib/decidim/core/engine.rb +30 -19
  450. data/lib/decidim/core/test/factories.rb +48 -8
  451. data/lib/decidim/core/test/shared_examples/admin_resource_gallery_examples.rb +16 -4
  452. data/lib/decidim/core/test/shared_examples/amendable/amendment_form_examples.rb +1 -1
  453. data/lib/decidim/core/test/shared_examples/authorable_interface_examples.rb +15 -2
  454. data/lib/decidim/core/test/shared_examples/coauthorable_interface_examples.rb +2 -2
  455. data/lib/decidim/core/test/shared_examples/comments_examples.rb +203 -0
  456. data/lib/decidim/core/test/shared_examples/localised_email.rb +1 -1
  457. data/lib/decidim/core/test/shared_examples/logo_email.rb +1 -1
  458. data/lib/decidim/core/test/shared_examples/map_examples.rb +2 -2
  459. data/lib/decidim/core/test/shared_examples/preview_component_with_share_token_examples.rb +0 -6
  460. data/lib/decidim/core/test/shared_examples/resource_search_examples.rb +120 -40
  461. data/lib/decidim/core/test/shared_examples/resourceable.rb +0 -6
  462. data/lib/decidim/core/test/shared_examples/searchable_participatory_space_examples.rb +1 -1
  463. data/lib/decidim/core/test/shared_examples/searchable_resources_shared_context.rb +1 -1
  464. data/lib/decidim/core/test/shared_examples/system_endorse_resource_examples.rb +3 -3
  465. data/lib/decidim/core/test/shared_examples/translated_event_examples.rb +2 -2
  466. data/lib/decidim/core/test/shared_examples/with_endorsable_permissions_examples.rb +1 -1
  467. data/lib/decidim/core/test.rb +0 -2
  468. data/lib/decidim/core/version.rb +1 -1
  469. data/lib/decidim/core.rb +108 -14
  470. data/lib/decidim/{data_portability.rb → download_your_data.rb} +3 -3
  471. data/lib/decidim/{data_portability_serializers/data_portability_conversation_serializer.rb → download_your_data_serializers/download_your_data_conversation_serializer.rb} +2 -2
  472. data/lib/decidim/{data_portability_serializers/data_portability_follow_serializer.rb → download_your_data_serializers/download_your_data_follow_serializer.rb} +2 -2
  473. data/lib/decidim/{data_portability_serializers/data_portability_identity_serializer.rb → download_your_data_serializers/download_your_data_identity_serializer.rb} +2 -2
  474. data/lib/decidim/{data_portability_serializers/data_portability_notification_serializer.rb → download_your_data_serializers/download_your_data_notification_serializer.rb} +2 -2
  475. data/lib/decidim/{data_portability_serializers/data_portability_participatory_space_private_user_serializer.rb → download_your_data_serializers/download_your_data_participatory_space_private_user_serializer.rb} +2 -2
  476. data/lib/decidim/{data_portability_serializers/data_portability_report_serializer.rb → download_your_data_serializers/download_your_data_report_serializer.rb} +2 -2
  477. data/lib/decidim/{data_portability_serializers/data_portability_user_group_serializer.rb → download_your_data_serializers/download_your_data_user_group_serializer.rb} +2 -2
  478. data/lib/decidim/{data_portability_serializers/data_portability_user_serializer.rb → download_your_data_serializers/download_your_data_user_serializer.rb} +3 -3
  479. data/lib/decidim/download_your_data_serializers.rb +23 -0
  480. data/lib/decidim/engine_router.rb +7 -1
  481. data/lib/decidim/env.rb +56 -0
  482. data/lib/decidim/event_recorder.rb +25 -0
  483. data/lib/decidim/events/base_event.rb +10 -14
  484. data/lib/decidim/events/simple_event.rb +6 -5
  485. data/lib/decidim/exporters/export_data.rb +1 -1
  486. data/lib/decidim/exporters/export_manifest.rb +2 -1
  487. data/lib/decidim/file_validator_humanizer.rb +24 -1
  488. data/lib/decidim/filterable_resource.rb +55 -0
  489. data/lib/decidim/fingerprint_calculator.rb +2 -4
  490. data/lib/decidim/form_builder.rb +158 -130
  491. data/lib/decidim/gamification/badge.rb +2 -3
  492. data/lib/decidim/gamification/badge_scorer.rb +1 -0
  493. data/lib/decidim/has_area.rb +27 -0
  494. data/lib/decidim/has_attachments.rb +2 -2
  495. data/lib/decidim/has_category.rb +36 -0
  496. data/lib/decidim/has_resource_permission.rb +2 -0
  497. data/lib/decidim/importers/import_manifest.rb +3 -21
  498. data/lib/decidim/jsonb_attributes.rb +6 -4
  499. data/lib/decidim/manifest_messages.rb +23 -0
  500. data/lib/decidim/map/autocomplete.rb +6 -4
  501. data/lib/decidim/map/frontend.rb +2 -2
  502. data/lib/decidim/map/provider/dynamic_map/here.rb +1 -46
  503. data/lib/decidim/map/provider/geocoding/here.rb +5 -5
  504. data/lib/decidim/map/provider/here.rb +3 -0
  505. data/lib/decidim/map/provider/osm.rb +3 -0
  506. data/lib/decidim/map.rb +4 -4
  507. data/lib/decidim/menu.rb +1 -1
  508. data/lib/decidim/metric_manifest.rb +2 -2
  509. data/lib/decidim/nicknamizable.rb +1 -1
  510. data/lib/decidim/notification_setting_manifest.rb +19 -0
  511. data/lib/decidim/organization_settings.rb +8 -7
  512. data/lib/decidim/participatory_space_context_manifest.rb +2 -2
  513. data/lib/decidim/participatory_space_manifest.rb +2 -2
  514. data/lib/decidim/processes_file_locally.rb +31 -0
  515. data/lib/decidim/query.rb +84 -0
  516. data/lib/decidim/record_encryptor.rb +29 -8
  517. data/lib/decidim/reminder_manifest.rb +75 -0
  518. data/lib/decidim/reminder_registry.rb +67 -0
  519. data/lib/decidim/resource_manifest.rb +1 -1
  520. data/lib/decidim/resourceable.rb +11 -0
  521. data/lib/decidim/scopable.rb +15 -0
  522. data/lib/decidim/settings_manifest.rb +4 -4
  523. data/lib/decidim/spring.rb +16 -0
  524. data/lib/decidim/translatable_attributes.rb +13 -16
  525. data/lib/decidim/url_option_resolver.rb +50 -0
  526. data/lib/decidim/view_hooks.rb +1 -1
  527. data/lib/decidim/view_model.rb +5 -1
  528. data/lib/decidim/webpacker/thread_safe_compiler.rb +30 -0
  529. data/lib/decidim/webpacker/webpack/custom.js +15 -3
  530. data/lib/decidim/webpacker/webpacker.yml +1 -1
  531. data/lib/decidim/webpacker.rb +2 -0
  532. data/lib/devise/models/decidim_validatable.rb +1 -1
  533. data/lib/tasks/decidim_active_storage_migration_tasks.rake +1 -3
  534. data/lib/tasks/{decidim_data_portability_tasks.rake → decidim_download_your_data_tasks.rake} +9 -9
  535. data/lib/tasks/decidim_mailers_tasks.rake +23 -0
  536. data/lib/tasks/decidim_metrics_tasks.rake +1 -1
  537. data/lib/tasks/decidim_pwa_tasks.rake +18 -0
  538. data/lib/tasks/decidim_reminders_tasks.rake +17 -0
  539. data/lib/tasks/decidim_tasks.rake +6 -1
  540. data/lib/tasks/decidim_webpacker_tasks.rake +1 -1
  541. data/lib/tasks/upgrade/decidim_fix_nickname_uniqueness.rake +51 -0
  542. metadata +184 -86
  543. data/app/controllers/decidim/cookie_policy_controller.rb +0 -24
  544. data/app/helpers/decidim/cookies_helper.rb +0 -11
  545. data/app/packs/src/decidim/vizzs/renders.js +0 -9
  546. data/app/packs/src/decidim/vizzs.js +0 -1
  547. data/app/packs/stylesheets/decidim/modules/_cookie-bar.scss +0 -26
  548. data/app/services/decidim/home_activity_search.rb +0 -80
  549. data/app/services/decidim/participatory_space_search.rb +0 -54
  550. data/app/views/decidim/cookie_policy/accept.js.erb +0 -3
  551. data/app/views/decidim/export_mailer/data_portability_export.html.erb +0 -7
  552. data/config/locales/oc-FR.yml +0 -1
  553. data/lib/decidim/core/test/shared_examples/resource_endorsed_event_examples.rb +0 -60
  554. data/lib/decidim/core/test/shared_examples/versions_controller_examples.rb +0 -40
  555. data/lib/decidim/data_portability_serializers.rb +0 -23
  556. data/lib/decidim/middleware/rails_cookies.rb +0 -23
@@ -74,7 +74,8 @@ en:
74
74
  'true': 'Yes'
75
75
  carrierwave:
76
76
  errors:
77
- image_too_big: The image is too big
77
+ file_resolution_too_large: File resolution is too large
78
+ file_size_too_large: File size is too large
78
79
  not_inside_organization: The file is not attached to any organization
79
80
  date:
80
81
  formats:
@@ -119,9 +120,6 @@ en:
119
120
  skip_button: Skip to main content
120
121
  account:
121
122
  blocked: This account has been blocked due to Terms and Conditions violation
122
- data_portability_export:
123
- file_no_exists: File does not exist
124
- notice: The download of your data is currently in progress. You'll receive an email when it's complete.
125
123
  delete:
126
124
  alert: This action cannot be undone. If you delete your account you won't be able to log in with your credentials. The deletion of your account will result in the anonymization of your contributions. You will still be able to create a new account, but these contributions will not be associated with it.
127
125
  confirm:
@@ -133,8 +131,21 @@ en:
133
131
  destroy:
134
132
  error: There was a problem deleting your account.
135
133
  success: Your account was successfully deleted.
134
+ download_your_data_export:
135
+ file_no_exists: File does not exist
136
+ notice: The download of your data is currently in progress. You'll receive an email when it's complete.
137
+ email_change:
138
+ body1: We've sent an email to %{unconfirmed_email} to verify your new email address.
139
+ body2: Need us to send the verification email again? %{resend_link} or %{cancel_link}.
140
+ cancel: cancel
141
+ cancel_error: Could not cancel the email change.
142
+ cancel_successfully: Email change cancelled successfully.
143
+ resend_error: Could not resend confirmation email.
144
+ resend_successfully: Confirmation email resent successfully to %{unconfirmed_email}
145
+ send_again: Send again
146
+ title: Email change verification
136
147
  show:
137
- available_locales_helper: Choose the language you want to use to browse and receive notifications in Decidim
148
+ available_locales_helper: Choose the language you want to use to browse and receive notifications on the platform
138
149
  change_password: Change password
139
150
  update_account: Update account
140
151
  update:
@@ -144,16 +155,44 @@ en:
144
155
  admin:
145
156
  actions:
146
157
  cancel: Cancel
158
+ password_change:
159
+ alert: You need to change your password in order to proceed further
160
+ notification: Admin users need to change their password every %{days} days.
147
161
  admin_log:
148
162
  area:
149
163
  create: "%{user_name} created the %{resource_name} area"
150
164
  delete: "%{user_name} deleted the %{resource_name} area"
151
165
  update: "%{user_name} updated the %{resource_name} area"
166
+ area_type:
167
+ create: "%{user_name} created the %{resource_name} area type"
168
+ delete: "%{user_name} deleted the %{resource_name} area type"
169
+ update: "%{user_name} updated the %{resource_name} area type"
170
+ attachment:
171
+ create: "%{user_name} created the %{resource_name} attachment"
172
+ delete: "%{user_name} deleted the %{resource_name} attachment"
173
+ update: "%{user_name} updated the %{resource_name} attachment"
174
+ attachment_collection:
175
+ create: "%{user_name} created the %{resource_name} attachment collection"
176
+ delete: "%{user_name} deleted the %{resource_name} attachment collection"
177
+ update: "%{user_name} updated the %{resource_name} attachment collection"
178
+ category:
179
+ create: "%{user_name} added the %{resource_name} category to the %{space_name} space"
180
+ delete: "%{user_name} deleted the %{resource_name} category from the %{space_name} space"
181
+ update: "%{user_name} updated the %{resource_name} category in the %{space_name} space"
152
182
  component:
153
183
  create: "%{user_name} added the %{resource_name} component to the %{space_name} space"
154
184
  delete: "%{user_name} removed the %{resource_name} component from the %{space_name} space"
185
+ export_component: "%{user_name} exported the %{resource_name} %{component_name} in %{space_name} as %{format_name}"
155
186
  publish: "%{user_name} published the %{resource_name} component in the %{space_name} space"
156
187
  unpublish: "%{user_name} unpublished the %{resource_name} component from the %{space_name} space"
188
+ update_permissions_with_space: "%{user_name} updated the permissions of %{resource_name} in %{space_name}"
189
+ contextual_help_section:
190
+ update: "%{user_name} updated the %{resource_name} help section"
191
+ helpers:
192
+ answers: answers
193
+ comments: comments
194
+ projects: projects
195
+ results: results
157
196
  impersonation_log:
158
197
  manage: "%{user_name} has managed %{resource_name} because %{reason}"
159
198
  moderation:
@@ -170,6 +209,7 @@ en:
170
209
  update: "%{user_name} updated the %{resource_name} OAuth application"
171
210
  organization:
172
211
  update: "%{user_name} updated the organization settings"
212
+ update_external_domain: "%{user_name} updated the organization external domains"
173
213
  participatory_space_private_user:
174
214
  create: "%{user_name} invited %{resource_name} to be a private participant"
175
215
  create_via_csv: "%{user_name} invited %{resource_name} via CSV to be a private participant"
@@ -181,6 +221,10 @@ en:
181
221
  delete_with_parent: "%{user_name} deleted the %{resource_name} scope inside the %{parent_scope} scope"
182
222
  update: "%{user_name} updated the %{resource_name} scope"
183
223
  update_with_parent: "%{user_name} updated the %{resource_name} scope inside the %{parent_scope} scope"
224
+ scope_type:
225
+ create: "%{user_name} created the %{resource_name} scope type"
226
+ delete: "%{user_name} deleted the %{resource_name} scope type"
227
+ update: "%{user_name} updated the %{resource_name} scope type"
184
228
  static_page:
185
229
  create: "%{user_name} created the %{resource_name} static page"
186
230
  delete: "%{user_name} deleted the %{resource_name} static page"
@@ -307,6 +351,7 @@ en:
307
351
  endorsements:
308
352
  one: endorsement
309
353
  other: endorsements
354
+ official_author: Official
310
355
  authorization_handlers:
311
356
  another_dummy_authorization_handler:
312
357
  explanation: Get verified by introducing a passport number starting with "A"
@@ -397,6 +442,7 @@ en:
397
442
  debate: Debate
398
443
  initiative: Initiative
399
444
  meeting: Meeting
445
+ order: Budgeting vote
400
446
  post: Post
401
447
  proposal: Proposal
402
448
  question: Question
@@ -411,8 +457,8 @@ en:
411
457
  amendments_enabled: Amendments enabled
412
458
  comments_enabled: Comments enabled
413
459
  comments_max_length: Comments max length
414
- dummy_global_attribute_1: Dummy Attribute 1
415
- dummy_global_attribute_2: Dummy Attribute 2
460
+ dummy_global_attribute1: Dummy Attribute 1
461
+ dummy_global_attribute2: Dummy Attribute 2
416
462
  dummy_global_translatable_text: Dummy Translatable Text
417
463
  enable_pads_creation: Enable pads creation
418
464
  resources_permissions_enabled: Resources permissions enabled
@@ -424,8 +470,8 @@ en:
424
470
  amendment_reaction_enabled: Amendment reaction enabled
425
471
  amendments_visibility: Amendment visibility
426
472
  comments_blocked: Comments blocked
427
- dummy_step_attribute_1: Dummy Step Attribute 1
428
- dummy_step_attribute_2: Dummy Step Attribute 2
473
+ dummy_step_attribute1: Dummy Step Attribute 1
474
+ dummy_step_attribute2: Dummy Step Attribute 2
429
475
  dummy_step_translatable_text: Dummy Step Translatable Text
430
476
  contact: Contact
431
477
  content_blocks:
@@ -469,13 +515,6 @@ en:
469
515
  actions:
470
516
  login_before_access: Please, login with your account before access
471
517
  unauthorized: You are not authorized to perform this action
472
- data_portability:
473
- export:
474
- ready: Ready
475
- show:
476
- download_data: Download the data
477
- download_data_description: A file containing all the information associated with your account will be sent to <strong>%{user_email}</strong>. This email will contain a .zip file and a password to open it.<br/><br/>To unzip the file, you will need <a href="https://www.7-zip.org/">7-Zip</a> (for Windows) or <a href="https://www.keka.io/">Keka</a> (for MacOS). If you use Linux, most of the time you will have it installed by default. If not, you can use <a href="https://gitlab.gnome.org/GNOME/file-roller">File Roller</a> or <a href="https://peazip.github.io">PeaZip</a>).
478
- request_data: Request data
479
518
  datepicker:
480
519
  help_text: 'Expected format: %{datepicker_format}'
481
520
  devise:
@@ -494,7 +533,6 @@ en:
494
533
  newsletter: Receive an occasional newsletter with relevant information
495
534
  newsletter_title: Contact permission
496
535
  nickname_help: Your alias in %{organization}. Can only contain letters, numbers, '-' and '_'.
497
- password_help: "%{minimun_characters} characters minimum, must not be too common (e.g. 123456) and must be different from your nickname and your email."
498
536
  sign_in: Log in
499
537
  sign_up: Sign up
500
538
  sign_up_as:
@@ -547,6 +585,13 @@ en:
547
585
  this_application_will_not_be_able_to: 'This application will not be able to:'
548
586
  update_profile: Update your profile
549
587
  wants_to_use_your_account_html: "<strong>%{application_name}</strong> wants to use your account"
588
+ download_your_data:
589
+ export:
590
+ ready: Ready
591
+ show:
592
+ download_data: Download the data
593
+ download_data_description: A file containing all the information associated with your account will be sent to <strong>%{user_email}</strong>. This email will contain a .zip file and a password to open it.<br/><br/>To unzip the file, you will need <a href="https://www.7-zip.org/">7-Zip</a> (for Windows) or <a href="https://www.keka.io/">Keka</a> (for MacOS). If you use Linux, most of the time you will have it installed by default. If not, you can use <a href="https://gitlab.gnome.org/GNOME/file-roller">File Roller</a> or <a href="https://peazip.github.io">PeaZip</a>).
594
+ request_data: Request data
550
595
  editor_images:
551
596
  create:
552
597
  error: Error uploading image
@@ -690,6 +735,8 @@ en:
690
735
  email_outro: You have received this notification because you are an admin of the platform.
691
736
  email_subject: A user group has updated its profile
692
737
  notification_title: The %{user_group_name} user group has updated its profile, leaving it unverified. You can now verify it in the <a href="%{groups_admin_path}">admin panel</a>.
738
+ nickname_event:
739
+ notification_body: We have corrected the way nicknames are used so that there are no duplicates, and that's why we have removed the case sensitive rule. <br/> Your nickname was created after another one with the same name, so we have automatically renamed it. You can change it from <a href="%{link_to_account_settings}">your account settings</a>.
693
740
  notification_event:
694
741
  notification_title: An event occured to <a href="%{resource_path}">%{resource_title}</a>.
695
742
  reports:
@@ -717,7 +764,7 @@ en:
717
764
  email_subject: "%{name} has been officialized"
718
765
  notification_title: Participant %{name} (%{nickname}) has been officialized.
719
766
  export_mailer:
720
- data_portability_export:
767
+ download_your_data_export:
721
768
  click_button: 'Click the next link to download your data.<br/>The file will be available until %{date}.<br/>You will need <a href="https://www.7-zip.org/">7-Zip</a> (for Windows), <a href="https://www.keka.io/en/">Keka</a> (for MacOS) or <a href="https://peazip.github.io">PeaZip</a> (for Linux) to open it. Password: %{password}'
722
769
  download: Download
723
770
  export:
@@ -757,7 +804,6 @@ en:
757
804
  button: Stop following
758
805
  error: There was a problem unfollowing this resource.
759
806
  forms:
760
- current_file: Current file
761
807
  current_image: Current image
762
808
  default_image: Default image
763
809
  errors:
@@ -769,15 +815,39 @@ en:
769
815
  file:
770
816
  explanation: 'Guidance for file:'
771
817
  message_1: Has to be an image or a document.
772
- message_2: For images, use preferrably landscape images, the service crops the image. For CSV files, the separator between columns must be a comma (",")
818
+ message_2: For images, use preferrably landscape images, the service crops the image.
819
+ icon:
820
+ explanation: 'Guidance for icon:'
821
+ message_1: Has to be a square image.
822
+ message_2: The recommended size for this image is 512x512.
773
823
  image:
774
824
  explanation: 'Guidance for image:'
775
825
  message_1: Preferrably a landscape image that does not have any text.
776
826
  message_2: The service crops the image.
777
827
  file_validation:
778
828
  allowed_file_extensions: 'Allowed file extensions: %{extensions}'
829
+ max_file_dimension: 'Maximum file dimensions: %{resolution} pixels'
779
830
  max_file_size: 'Maximum file size: %{megabytes}MB'
780
- remove_this_file: Remove this file
831
+ upload:
832
+ labels:
833
+ add_attachment: Add attachment
834
+ add_file: Add file
835
+ add_image: Add image
836
+ cancel: Cancel
837
+ edit_image: Edit image
838
+ error: Error!
839
+ file_size_too_large: 'File size is too large! Maximun file size: %{megabytes}MB'
840
+ remove: Remove
841
+ replace: Replace
842
+ save: Save
843
+ title: Title
844
+ title_required: Title is required!
845
+ uploaded: Uploaded
846
+ validating: Validating...
847
+ validation_error: Validation error!
848
+ upload_help:
849
+ dropzone: Drop files here or click to upload
850
+ explanation: Guidance for %{attribute}
781
851
  gamification:
782
852
  all_badges_link: See all available badges.
783
853
  badges:
@@ -878,6 +948,7 @@ en:
878
948
  success: Join request successfully created. An admin will review your request before accepting you to the group.
879
949
  leave:
880
950
  error: There was a problem leaving the group
951
+ last_admin: You can't remove yourself from this group as you're the last administrator. Make another member an administrator in order to leave the group.
881
952
  success: Group successfully abandoned.
882
953
  members:
883
954
  accept_or_reject_join_requests: 'The following users have applied to join this group. Accept or reject their requests:'
@@ -890,7 +961,7 @@ en:
890
961
  no_user_groups: Doesn't belong to any group yet.
891
962
  roles:
892
963
  admin: Administrator
893
- creator: Creator
964
+ creator: Administrator
894
965
  member: Member
895
966
  update:
896
967
  error: There was a problem updating the group
@@ -927,6 +998,7 @@ en:
927
998
  unknown_action: "%{user_name} performed some action on %{resource_name}"
928
999
  unknown_action_with_space: "%{user_name} performed some action on %{resource_name} in %{space_name}"
929
1000
  update: "%{user_name} updated %{resource_name}"
1001
+ update_permissions_with_space: "%{user_name} updated the permissions of %{resource_name} in %{space_name}"
930
1002
  update_with_space: "%{user_name} updated %{resource_name} in %{space_name}"
931
1003
  value_types:
932
1004
  area_presenter:
@@ -1099,23 +1171,47 @@ en:
1099
1171
  no_notifications: No notifications yet.
1100
1172
  show:
1101
1173
  missing_event: Oops, this notification belongs to an item that is no longer available. You can discard it.
1174
+ notifications_digest_mailer:
1175
+ header:
1176
+ daily: Daily Notification Digest
1177
+ weekly: Weekly Notification Digest
1178
+ hello: Hello %{name},
1179
+ intro:
1180
+ daily: 'These are the notifications from the last day based on the activity you are following:'
1181
+ weekly: 'These are the notifications from the last week based on the activity you are following:'
1182
+ outro: You have received these notifications because you are following this content or its authors. You can unfollow them from their respective pages.
1183
+ see_more: See more notifications
1184
+ subject: This is your mail digest
1102
1185
  notifications_settings:
1103
1186
  show:
1104
1187
  administrators: Administrators
1105
1188
  allow_public_contact: Allow anyone to send me a direct message, even if I don't follow them.
1189
+ allow_push_notifications: Get push notifications to find out what's going on when you're not on the platform. You can turn them off anytime.
1106
1190
  direct_messages: Receive direct messages from anyone
1107
- email_on_moderations: I want to receive an email every time something is reported for moderation.
1108
- email_on_notification: I want to receive an email every time I receive a notification.
1191
+ email_on_moderations: I want to receive an email every time something or someone is reported for moderation.
1109
1192
  everything_followed: Everything I follow
1110
1193
  newsletter_notifications: I want to receive newsletters
1111
1194
  newsletters: Newsletters
1195
+ notification_settings:
1196
+ close_meeting_reminder: I want to receive email reminders of closed meetings unpublished reports
1197
+ notifications_sending_frequencies:
1198
+ daily: Daily
1199
+ none: None
1200
+ real_time: Real time
1201
+ weekly: Weekly
1202
+ notifications_sending_frequency: How often do you want to receive the notifications email?
1112
1203
  own_activity: My own activity, like when someone comments in my proposal or mentions me
1204
+ push_notifications: Push notifications
1205
+ push_notifications_reminder: To get notifications from the platform, you'll need to allow them in your browser settings first.
1113
1206
  receive_notifications_about: I want to get notifications about
1114
- send_notifications_by_email: Send notifications by email
1115
1207
  update_notifications_settings: Save changes
1116
1208
  update:
1117
1209
  error: There was a problem updating your notifications settings.
1118
1210
  success: Your notifications settings were successfully updated.
1211
+ offline:
1212
+ show:
1213
+ message: It looks like you're currently offline. Please, try again later.
1214
+ retry: Retry
1119
1215
  open_data:
1120
1216
  not_available_yet: The Open Data files are not yet available, please try again in a few minutes.
1121
1217
  own_user_groups:
@@ -1169,7 +1265,7 @@ en:
1169
1265
  agreement: I agree with these terms
1170
1266
  legend: Agree to the terms and conditions of use
1171
1267
  refuse:
1172
- modal_body: If you refuse, you won't be able to use the platform, you can <a href="%{data_portability_path}">download your data</a> and/or <a href="%{delete_path}">delete your account</a>.
1268
+ modal_body: If you refuse, you won't be able to use the platform, you can <a href="%{download_your_data_path}">download your data</a> and/or <a href="%{delete_path}">delete your account</a>.
1173
1269
  modal_btn_continue: Accept terms and continue
1174
1270
  modal_btn_exit: I'll review it later
1175
1271
  modal_button: Refuse the terms
@@ -1181,6 +1277,10 @@ en:
1181
1277
  title: 'Required: Review updates to our terms of service'
1182
1278
  participatory_space_private_users:
1183
1279
  not_allowed: You are not allowed to view this content
1280
+ passwords:
1281
+ update:
1282
+ error: There was a problem updating the password
1283
+ success: Password successfully updated
1184
1284
  profile:
1185
1285
  deleted: Participant deleted
1186
1286
  inaccessible_message: This profile is inaccessible due to Terms and Conditions violation!
@@ -1325,6 +1425,8 @@ en:
1325
1425
  close_modal: Close modal
1326
1426
  please_sign_in: Please sign in
1327
1427
  sign_up: Sign up
1428
+ mentions_modal:
1429
+ remove_recipient: Remove recipient %{name}
1328
1430
  participatory_space_filters:
1329
1431
  filters:
1330
1432
  areas: Areas
@@ -1412,6 +1514,7 @@ en:
1412
1514
  notify:
1413
1515
  body_1: User %{user} has been reported by %{token}
1414
1516
  body_2: 'Reason: %{reason}'
1517
+ details: User provided details
1415
1518
  greetings: Greetings,<br/>%{organization_name}<br/><a href="%{organization_url}">%{organization_url}</a>
1416
1519
  hello: Hello %{admin},
1417
1520
  subject: A new user has been reported in %{organization_name}
@@ -1472,7 +1575,7 @@ en:
1472
1575
  invitations:
1473
1576
  edit:
1474
1577
  header: Finish creating your account
1475
- nickname_help: Your nickname in %{organization}.
1578
+ nickname_help: Your nickname in %{organization}. Can only contain letters, numbers, '-' and '_'.
1476
1579
  submit_button: Save
1477
1580
  subtitle: If you accept the invitation please set your nickname and password.
1478
1581
  invitation_removed: Your invitation was removed.
@@ -1539,10 +1642,11 @@ en:
1539
1642
  passwords:
1540
1643
  edit:
1541
1644
  change_my_password: Change my password
1542
- change_your_password: Change your password
1543
1645
  confirm_new_password: Confirm new password
1544
1646
  new_password: New password
1545
1647
  password_help: "%{minimun_characters} characters minimum, must not be too common (e.g. 123456) and must be different from your nickname and your email."
1648
+ password_help_admin: "%{minimun_characters} characters minimum, must not be too common (e.g. 123456), must be different from your nickname and your email and must be different from your old passwords."
1649
+ title: Password change
1546
1650
  new:
1547
1651
  forgot_your_password: Forgot your password?
1548
1652
  send_me_reset_password_instructions: Send me reset password instructions
@@ -1630,14 +1734,56 @@ en:
1630
1734
  timestamp_error_message: Sorry, that was too quick! Please resubmit.
1631
1735
  layouts:
1632
1736
  decidim:
1633
- cookie_warning:
1634
- description_html: This site uses cookies. By continuing to browse the site, you agree to our use of cookies. %{link}.
1635
- link_label: Find out more about cookies
1636
- ok: I agree
1737
+ cookie_consent:
1738
+ cookie_details:
1739
+ columns:
1740
+ description: Description
1741
+ name: Name
1742
+ service: Service
1743
+ type: Type
1744
+ cookies:
1745
+ _session_id:
1746
+ description: Allows websites to remember user within a website when they move between web pages.
1747
+ service: This website
1748
+ decidim-consent:
1749
+ description: Stores information about the cookies allowed by the user on this website.
1750
+ service: This website
1751
+ types:
1752
+ cookie: Cookie
1753
+ dialog:
1754
+ accept_all: Accept all
1755
+ accept_only_essential: Accept only essential
1756
+ cookie_settings: Settings
1757
+ description: We use cookies on our website to improve the performance and content of the site. The cookies enable us to provide a more individual user experience and social media channels.
1758
+ title: Information about the cookies used on the website
1759
+ modal:
1760
+ accept_all: Accept all
1761
+ accept_only_essential: Accept only essential
1762
+ analytics:
1763
+ description: Analytics cookies are cookies that track how users navigate and interact with a website. The information collected is used to help the website owner improve the website.
1764
+ title: Analytics and statistics
1765
+ description: We use cookies to ensure the basic functionalities of the website and to enhance your online experience. You can choose for each category to opt-in/out whenever you want.
1766
+ essential:
1767
+ description: These cookies are essential for the proper functioning of my website. Without these cookies, the website would not work properly.
1768
+ title: Essential
1769
+ marketing:
1770
+ description: These cookies collect information about how you use the website, which pages you visited and which links you clicked on.
1771
+ title: Marketing
1772
+ preferences:
1773
+ description: These cookies allow the website to remember the choices you have made in the past
1774
+ title: Preferences
1775
+ save_settings: Save settings
1776
+ title: Cookie settings
1777
+ toggle: Toggle %{consent_category}
1778
+ warning:
1779
+ all_cookies: all cookies
1780
+ change_cookie_settings: Change cookie settings
1781
+ need_cookies: You need to enable %{cookies} in order to see this content.
1637
1782
  edit_link:
1638
1783
  edit: Edit
1639
1784
  footer:
1640
1785
  cc_by_license: Creative Commons License
1786
+ cookie_settings: Cookie settings
1641
1787
  decidim_logo: Decidim Logo
1642
1788
  download_open_data: Download Open Data files
1643
1789
  made_with_open_source: Website made with <a target="_blank" href="https://github.com/decidim/decidim">free software</a>.
@@ -1657,6 +1803,8 @@ en:
1657
1803
  notifications_dashboard:
1658
1804
  mark_all_as_read: Mark all as read
1659
1805
  mark_as_read: Mark as read
1806
+ offline_banner:
1807
+ cache_version_page: Oooops! Your network is offline. This is a previously cached version of the page you're visiting, perhaps the content is not up to date.
1660
1808
  social_media_links:
1661
1809
  facebook: "%{organization} at Facebook"
1662
1810
  github: "%{organization} at GitHub"
@@ -1668,6 +1816,8 @@ en:
1668
1816
  continue_session: Continue session
1669
1817
  sign_out: Sign out
1670
1818
  title: Would you like to continue your session?
1819
+ upload_modal:
1820
+ close_modal: Close modal
1671
1821
  user_menu:
1672
1822
  account: 'User account: %{name}'
1673
1823
  admin_dashboard: Admin dashboard
@@ -1700,6 +1850,7 @@ en:
1700
1850
  nickname_included_in_password: is too similar to your nickname
1701
1851
  not_enough_unique_characters: does not have enough unique characters
1702
1852
  password_not_allowed: is not allowed
1853
+ password_repeated: cannot reuse old password
1703
1854
  password_too_common: is too common
1704
1855
  password_too_long: is too long
1705
1856
  password_too_short: is too short
@@ -1,3 +1,4 @@
1
+ ---
1
2
  eo:
2
3
  activemodel:
3
4
  attributes:
@@ -45,9 +46,6 @@ eo:
45
46
  booleans:
46
47
  'false': 'Ne'
47
48
  'true': 'Jes'
48
- carrierwave:
49
- errors:
50
- image_too_big: La bildo estas tro granda
51
49
  date:
52
50
  formats:
53
51
  decidim_short: "%d/%m/%Y"
@@ -57,12 +55,12 @@ eo:
57
55
  decidim_with_month_name_short: "%d %b"
58
56
  decidim:
59
57
  account:
60
- data_portability_export:
61
- file_no_exists: Dosiero ne ekzistas
62
- notice: La malŝarĝo de viaj datumoj nuntempe progresas. Vi ricevos retpoŝton kiam ĝi estos kompleta.
63
58
  delete:
64
59
  confirm:
65
60
  close: Fermu la fenestron
61
+ download_your_data_export:
62
+ file_no_exists: Dosiero ne ekzistas
63
+ notice: La malŝarĝo de viaj datumoj nuntempe progresas. Vi ricevos retpoŝton kiam ĝi estos kompleta.
66
64
  amendments:
67
65
  accepted:
68
66
  success: La amendo estis akceptita sukcese.