decidim-core 0.21.0 → 0.22.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-core might be problematic. Click here for more details.

Files changed (544) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/decidim_core_manifest.js +3 -0
  3. data/app/assets/fonts/decidim/Roboto-Regular.svg +1 -10520
  4. data/app/assets/fonts/decidim/Source_Sans_Pro_400.svg +1 -345
  5. data/app/assets/fonts/decidim/Source_Sans_Pro_600.svg +1 -339
  6. data/app/assets/fonts/decidim/Source_Sans_Pro_900.svg +1 -342
  7. data/app/assets/images/decidim/avatar-multiuser.png +0 -0
  8. data/app/assets/images/decidim/brands/google.svg +1 -1
  9. data/app/assets/images/decidim/decidim-logo.svg +1 -71
  10. data/app/assets/images/decidim/default-avatar.svg +1 -14
  11. data/app/assets/images/decidim/gamification/badges/followers.svg +1 -115
  12. data/app/assets/images/decidim/gamification/badges/invitations.svg +1 -117
  13. data/app/assets/images/decidim/icons.svg +1 -259
  14. data/app/assets/images/decidim/placeholder.jpg +0 -0
  15. data/app/assets/javascripts/decidim.js.es6 +23 -1
  16. data/app/assets/javascripts/decidim/ajax_modals.js.es6 +3 -0
  17. data/app/assets/javascripts/decidim/assets.js.erb +5 -0
  18. data/app/assets/javascripts/decidim/callout.js.es6 +18 -0
  19. data/app/assets/javascripts/decidim/configuration.js.es6 +23 -0
  20. data/app/assets/javascripts/decidim/confirm.js.es6 +178 -0
  21. data/app/assets/javascripts/decidim/conversations.js.es6 +17 -0
  22. data/app/assets/javascripts/decidim/core/bundle.js +1 -1
  23. data/app/assets/javascripts/decidim/core/bundle.js.map +1 -1
  24. data/app/assets/javascripts/decidim/core/extrapoly.js +6 -0
  25. data/app/assets/javascripts/decidim/data_picker.js.es6 +128 -50
  26. data/app/assets/javascripts/decidim/diff_mode_dropdown.js.es6 +5 -7
  27. data/app/assets/javascripts/decidim/dropdowns_menus.js.es6 +32 -0
  28. data/app/assets/javascripts/decidim/external_link.js.es6 +69 -0
  29. data/app/assets/javascripts/decidim/floating_help.js.es6 +7 -0
  30. data/app/assets/javascripts/decidim/form_filter.component.js.es6 +1 -1
  31. data/app/assets/javascripts/decidim/form_filter.component.test.js +4 -4
  32. data/app/assets/javascripts/decidim/form_validator.es6 +61 -0
  33. data/app/assets/javascripts/decidim/foundation.js.es6 +28 -28
  34. data/app/assets/javascripts/decidim/icon.js.es6 +42 -0
  35. data/app/assets/javascripts/decidim/identity_selector_dialog.js.es6 +61 -0
  36. data/app/assets/javascripts/decidim/input_character_counter.js.es6 +115 -0
  37. data/app/assets/javascripts/decidim/input_mentions.js.es6 +34 -9
  38. data/app/assets/javascripts/decidim/input_multiple_mentions.js.es6 +195 -0
  39. data/app/assets/javascripts/decidim/map.js.es6 +40 -3
  40. data/app/assets/javascripts/decidim/orders.js.es6 +9 -28
  41. data/app/assets/javascripts/decidim/responsive_horizontal_tabs.js.es6 +12 -0
  42. data/app/assets/javascripts/decidim/results_listing.js.es6 +44 -0
  43. data/app/assets/javascripts/decidim/start_conversation_dialog.js +13 -0
  44. data/app/assets/javascripts/decidim/vizzs.js.es6 +1 -0
  45. data/app/assets/stylesheets/decidim/_decidim-settings.scss +5 -0
  46. data/app/assets/stylesheets/decidim/_decidim.scss +13 -11
  47. data/app/assets/stylesheets/decidim/_properties.scss +25 -0
  48. data/app/assets/stylesheets/decidim/_variables.scss +6 -24
  49. data/app/assets/stylesheets/decidim/application.scss.erb +2 -2
  50. data/app/assets/stylesheets/decidim/editor.scss +2 -2
  51. data/app/assets/stylesheets/decidim/email.scss +1771 -0
  52. data/app/assets/stylesheets/decidim/extras/_external-links.scss +29 -0
  53. data/app/assets/stylesheets/decidim/extras/_extras.scss +17 -0
  54. data/app/assets/stylesheets/decidim/extras/_label-required.scss +9 -0
  55. data/app/assets/stylesheets/decidim/extras/_process_stats.scss +1 -1
  56. data/app/assets/stylesheets/decidim/extras/_quill.scss +5 -0
  57. data/app/assets/stylesheets/decidim/extras/_results-per-page.scss +8 -0
  58. data/app/assets/stylesheets/decidim/layouts/_home.scss +31 -7
  59. data/app/assets/stylesheets/decidim/layouts/_layouts.scss +5 -0
  60. data/app/assets/stylesheets/decidim/layouts/_logo.scss +26 -0
  61. data/app/assets/stylesheets/decidim/layouts/_user.scss +4 -0
  62. data/app/assets/stylesheets/decidim/modules/_author-avatar.scss +9 -13
  63. data/app/assets/stylesheets/decidim/modules/_buttons.scss +198 -26
  64. data/app/assets/stylesheets/decidim/modules/_cards.scss +174 -23
  65. data/app/assets/stylesheets/decidim/modules/_collapsible-list.scss +21 -0
  66. data/app/assets/stylesheets/decidim/modules/_comments.scss +25 -1
  67. data/app/assets/stylesheets/decidim/modules/_conference-programme.scss +0 -1
  68. data/app/assets/stylesheets/decidim/modules/_confirm.scss +5 -0
  69. data/app/assets/stylesheets/decidim/modules/_conversation.scss +50 -0
  70. data/app/assets/stylesheets/decidim/modules/_data-picker.scss +9 -11
  71. data/app/assets/stylesheets/decidim/modules/_definition-data.scss +6 -1
  72. data/app/assets/stylesheets/decidim/modules/_docs-manager.scss +0 -1
  73. data/app/assets/stylesheets/decidim/modules/_extra.scss +0 -2
  74. data/app/assets/stylesheets/decidim/modules/_filters.scss +25 -1
  75. data/app/assets/stylesheets/decidim/modules/_floating-helper.scss +20 -8
  76. data/app/assets/stylesheets/decidim/modules/_footer.scss +8 -4
  77. data/app/assets/stylesheets/decidim/modules/_forms.scss +63 -4
  78. data/app/assets/stylesheets/decidim/modules/_horizontal-tabs.scss +64 -1
  79. data/app/assets/stylesheets/decidim/modules/_inline-filters.scss +6 -3
  80. data/app/assets/stylesheets/decidim/modules/_input-gallery.scss +10 -0
  81. data/app/assets/stylesheets/decidim/modules/_input-mentions.scss +25 -7
  82. data/app/assets/stylesheets/decidim/modules/_input-multiple-mentions.scss +5 -0
  83. data/app/assets/stylesheets/decidim/modules/_map.scss +11 -0
  84. data/app/assets/stylesheets/decidim/modules/_margins.scss +8 -7
  85. data/app/assets/stylesheets/decidim/modules/_messages.scss +18 -18
  86. data/app/assets/stylesheets/decidim/modules/_modules.scss +75 -72
  87. data/app/assets/stylesheets/decidim/modules/_navbar.scss +176 -26
  88. data/app/assets/stylesheets/decidim/modules/_notification.scss +5 -0
  89. data/app/assets/stylesheets/decidim/modules/_order-by.scss +5 -0
  90. data/app/assets/stylesheets/decidim/modules/_process-nav.scss +5 -2
  91. data/app/assets/stylesheets/decidim/modules/_process-phase.scss +2 -4
  92. data/app/assets/stylesheets/decidim/modules/_process-stats.scss +2 -2
  93. data/app/assets/stylesheets/decidim/modules/_progress-bar.scss +1 -1
  94. data/app/assets/stylesheets/decidim/modules/_reveal.scss +6 -0
  95. data/app/assets/stylesheets/decidim/modules/_signup.scss +6 -5
  96. data/app/assets/stylesheets/decidim/modules/_static-pages.scss +0 -1
  97. data/app/assets/stylesheets/decidim/modules/_sticky.scss +5 -0
  98. data/app/assets/stylesheets/decidim/modules/_tags.scss +4 -0
  99. data/app/assets/stylesheets/decidim/modules/_timeline.scss +1 -2
  100. data/app/assets/stylesheets/decidim/modules/_typography.scss +47 -8
  101. data/app/assets/stylesheets/decidim/modules/_versions.scss +0 -1
  102. data/app/assets/stylesheets/decidim/utils/_helpers.scss +8 -0
  103. data/app/assets/stylesheets/decidim/utils/_mixins.scss +86 -7
  104. data/app/assets/stylesheets/decidim/utils/_settings.scss +81 -69
  105. data/app/assets/stylesheets/decidim/vizzs.scss +8 -0
  106. data/app/assets/stylesheets/decidim/vizzs/_areachart.scss +0 -1
  107. data/app/assets/stylesheets/decidim/vizzs/_linechart.scss +0 -1
  108. data/app/assets/stylesheets/decidim/vizzs/_rowchart.scss +0 -1
  109. data/app/assets/stylesheets/decidim/vizzs/_vizzs.scss +5 -0
  110. data/app/assets/stylesheets/foundation-overrides/components/_button-group.scss +319 -0
  111. data/app/cells/decidim/activity/show.erb +24 -21
  112. data/app/cells/decidim/activity_cell.rb +2 -0
  113. data/app/cells/decidim/address_cell.rb +1 -1
  114. data/app/cells/decidim/amendable/amend_button_card_cell.rb +1 -5
  115. data/app/cells/decidim/amendable/promote_button_card_cell.rb +1 -1
  116. data/app/cells/decidim/announcement/show.erb +1 -1
  117. data/app/cells/decidim/author/comments.erb +1 -1
  118. data/app/cells/decidim/author/endorsements.erb +6 -0
  119. data/app/cells/decidim/author/flag.erb +5 -2
  120. data/app/cells/decidim/author/profile_inline.erb +0 -1
  121. data/app/cells/decidim/author/show.erb +2 -0
  122. data/app/cells/decidim/author/withdraw.erb +2 -2
  123. data/app/cells/decidim/author_cell.rb +9 -13
  124. data/app/cells/decidim/badge/show.erb +6 -6
  125. data/app/cells/decidim/badge/small.erb +2 -1
  126. data/app/cells/decidim/card/show.erb +4 -4
  127. data/app/cells/decidim/card_m/comments_counter.erb +1 -1
  128. data/app/cells/decidim/card_m/header.erb +4 -4
  129. data/app/cells/decidim/card_m/image.erb +1 -1
  130. data/app/cells/decidim/card_m/show.erb +2 -2
  131. data/app/cells/decidim/card_m_cell.rb +3 -2
  132. data/app/cells/decidim/collapsible_list/show.erb +3 -3
  133. data/app/cells/decidim/content_blocks/footer_sub_hero/show.erb +4 -4
  134. data/app/cells/decidim/content_blocks/hero_settings_form/show.erb +2 -2
  135. data/app/cells/decidim/content_blocks/how_to_participate/show.erb +8 -8
  136. data/app/cells/decidim/content_blocks/last_activity_cell.rb +1 -1
  137. data/app/cells/decidim/content_blocks/stats/show.erb +1 -1
  138. data/app/cells/decidim/content_blocks/sub_hero/show.erb +3 -3
  139. data/app/cells/decidim/diff/attribute.erb +10 -10
  140. data/app/cells/decidim/diff_cell.rb +11 -1
  141. data/app/cells/decidim/endorsement_buttons/select_identity_button.erb +10 -0
  142. data/app/cells/decidim/endorsement_buttons/show.erb +4 -0
  143. data/app/cells/decidim/endorsement_buttons_cell.rb +208 -0
  144. data/app/cells/decidim/endorsers_list/show.erb +16 -0
  145. data/app/cells/decidim/endorsers_list_cell.rb +29 -0
  146. data/app/cells/decidim/fingerprint_cell.rb +1 -0
  147. data/app/cells/decidim/follow_button/show.erb +13 -5
  148. data/app/cells/decidim/follow_button_cell.rb +29 -5
  149. data/app/cells/decidim/navbar_admin_link/show.erb +1 -1
  150. data/app/cells/decidim/navbar_admin_link_cell.rb +6 -0
  151. data/app/cells/decidim/newsletter_templates/base_cell.rb +30 -0
  152. data/app/cells/decidim/newsletter_templates/base_settings_form_cell.rb +13 -0
  153. data/app/cells/decidim/newsletter_templates/basic_only_text/show.erb +86 -0
  154. data/app/cells/decidim/newsletter_templates/basic_only_text_cell.rb +21 -0
  155. data/app/cells/decidim/newsletter_templates/basic_only_text_settings_form/show.erb +7 -0
  156. data/app/cells/decidim/newsletter_templates/basic_only_text_settings_form_cell.rb +8 -0
  157. data/app/cells/decidim/newsletter_templates/image_text_cta/show.erb +125 -0
  158. data/app/cells/decidim/newsletter_templates/image_text_cta_cell.rb +61 -0
  159. data/app/cells/decidim/newsletter_templates/image_text_cta_settings_form/show.erb +17 -0
  160. data/app/cells/decidim/newsletter_templates/image_text_cta_settings_form_cell.rb +8 -0
  161. data/app/cells/decidim/notifications/show.erb +1 -1
  162. data/app/cells/decidim/profile/show.erb +2 -2
  163. data/app/cells/decidim/profile/user_group_tabs.erb +10 -5
  164. data/app/cells/decidim/profile/user_tabs.erb +16 -14
  165. data/app/cells/decidim/profile_cell.rb +18 -0
  166. data/app/cells/decidim/profile_sidebar/show.erb +16 -16
  167. data/app/cells/decidim/profile_sidebar_cell.rb +1 -0
  168. data/app/cells/decidim/search_results_section/show.erb +1 -1
  169. data/app/cells/decidim/tags_cell.rb +32 -2
  170. data/app/cells/decidim/user_activity/show.erb +19 -1
  171. data/app/cells/decidim/user_activity_cell.rb +6 -0
  172. data/app/cells/decidim/user_conversation/conversation_header.erb +14 -0
  173. data/app/cells/decidim/user_conversation/messages.erb +15 -0
  174. data/app/cells/decidim/user_conversation/new.erb +15 -0
  175. data/app/cells/decidim/user_conversation/reply.erb +17 -0
  176. data/app/cells/decidim/user_conversation/show.erb +20 -0
  177. data/app/cells/decidim/user_conversation_cell.rb +75 -0
  178. data/app/cells/decidim/user_conversations/add_conversation_users.erb +25 -0
  179. data/app/cells/decidim/user_conversations/conversation_item.erb +38 -0
  180. data/app/cells/decidim/user_conversations/show.erb +58 -0
  181. data/app/cells/decidim/user_conversations_cell.rb +40 -0
  182. data/app/cells/decidim/user_group_admin_membership_profile/footer.erb +3 -3
  183. data/app/cells/decidim/user_profile/footer.erb +1 -1
  184. data/app/cells/decidim/user_profile/unlinked_user_data.erb +16 -0
  185. data/app/cells/decidim/user_profile/user_data.erb +1 -1
  186. data/app/cells/decidim/user_profile_cell.rb +7 -1
  187. data/app/cells/decidim/user_timeline_cell.rb +4 -0
  188. data/app/cells/decidim/version/show.erb +31 -0
  189. data/app/{views/decidim/shared/_version_author.html.erb → cells/decidim/version_author/show.erb} +1 -1
  190. data/app/cells/decidim/version_author_cell.rb +9 -0
  191. data/app/cells/decidim/version_cell.rb +83 -0
  192. data/app/cells/decidim/versions_list/show.erb +32 -0
  193. data/app/cells/decidim/versions_list_cell.rb +64 -0
  194. data/app/cells/decidim/versions_list_item/show.erb +20 -0
  195. data/app/cells/decidim/versions_list_item_cell.rb +51 -0
  196. data/app/cells/decidim/wizard_step_form/wizard_aside.erb +1 -1
  197. data/app/cells/decidim/wizard_step_form/wizard_header.erb +2 -2
  198. data/app/cells/decidim/wizard_step_form_cell.rb +4 -1
  199. data/app/commands/decidim/attachment_methods.rb +40 -0
  200. data/app/commands/decidim/create_registration.rb +2 -1
  201. data/app/commands/decidim/create_user_group.rb +12 -0
  202. data/app/commands/decidim/destroy_account.rb +12 -0
  203. data/app/commands/decidim/endorse_resource.rb +64 -0
  204. data/app/commands/decidim/gallery_methods.rb +64 -0
  205. data/app/commands/decidim/invite_user_again.rb +2 -4
  206. data/app/commands/decidim/messaging/reply_to_conversation.rb +34 -3
  207. data/app/commands/decidim/messaging/start_conversation.rb +36 -5
  208. data/app/commands/decidim/unendorse_resource.rb +38 -0
  209. data/app/commands/decidim/update_notifications_settings.rb +1 -0
  210. data/app/commands/decidim/update_user_group.rb +14 -1
  211. data/app/controllers/concerns/decidim/impersonate_users.rb +13 -0
  212. data/app/controllers/concerns/decidim/resource_versions_concern.rb +28 -0
  213. data/app/controllers/decidim/devise/registrations_controller.rb +2 -4
  214. data/app/controllers/decidim/devise/sessions_controller.rb +5 -0
  215. data/app/controllers/decidim/endorsements_controller.rb +71 -0
  216. data/app/controllers/decidim/messaging/conversations_controller.rb +52 -12
  217. data/app/controllers/decidim/newsletters_controller.rb +2 -2
  218. data/app/controllers/decidim/profiles_controller.rb +6 -0
  219. data/app/controllers/decidim/scopes_controller.rb +1 -0
  220. data/app/controllers/decidim/user_activities_controller.rb +19 -2
  221. data/app/controllers/decidim/user_conversations_controller.rb +142 -0
  222. data/app/controllers/decidim/user_timeline_controller.rb +19 -2
  223. data/app/events/decidim/resource_endorsed_event.rb +35 -0
  224. data/app/events/decidim/user_group_admin_event.rb +37 -0
  225. data/app/events/decidim/user_group_created_event.rb +6 -0
  226. data/app/events/decidim/user_group_updated_event.rb +6 -0
  227. data/app/forms/decidim/attachment_form.rb +1 -0
  228. data/app/forms/decidim/messaging/conversation_form.rb +10 -4
  229. data/app/forms/decidim/notifications_settings_form.rb +6 -0
  230. data/app/forms/decidim/registration_form.rb +1 -0
  231. data/app/functions/decidim/core/component_finder_base.rb +10 -3
  232. data/app/functions/decidim/core/component_list_base.rb +8 -2
  233. data/app/functions/decidim/core/user_entity_finder.rb +33 -0
  234. data/app/functions/decidim/core/user_entity_list.rb +31 -0
  235. data/app/helpers/concerns/decidim/flash_helper_extensions.rb +47 -0
  236. data/app/helpers/decidim/action_authorization_helper.rb +24 -2
  237. data/app/helpers/decidim/amendments_helper.rb +5 -3
  238. data/app/helpers/decidim/application_helper.rb +7 -1
  239. data/app/helpers/decidim/check_boxes_tree_helper.rb +4 -5
  240. data/app/helpers/decidim/cta_button_helper.rb +1 -1
  241. data/app/helpers/decidim/decidim_form_helper.rb +23 -0
  242. data/app/helpers/decidim/endorsable_helper.rb +93 -0
  243. data/app/helpers/decidim/filters_helper.rb +15 -5
  244. data/app/helpers/decidim/followable_helper.rb +11 -0
  245. data/app/helpers/decidim/layout_helper.rb +23 -5
  246. data/app/helpers/decidim/map_helper.rb +15 -2
  247. data/app/helpers/decidim/markup_helper.rb +9 -0
  248. data/app/helpers/decidim/messaging/conversation_helper.rb +61 -7
  249. data/app/helpers/decidim/orders_helper.rb +10 -1
  250. data/app/helpers/decidim/participatory_space_helpers.rb +1 -1
  251. data/app/helpers/decidim/resource_versions_helper.rb +24 -7
  252. data/app/helpers/decidim/rich_text_editor_helper.rb +1 -0
  253. data/app/helpers/decidim/sanitize_helper.rb +10 -2
  254. data/app/helpers/decidim/tooltip_helper.rb +1 -1
  255. data/app/helpers/decidim/traceability_helper.rb +2 -8
  256. data/app/helpers/decidim/user_profile_helper.rb +1 -1
  257. data/app/helpers/decidim/widget_urls_helper.rb +4 -2
  258. data/app/jobs/decidim/event_publisher_job.rb +1 -1
  259. data/app/mailers/concerns/decidim/multitenant_asset_host.rb +33 -0
  260. data/app/mailers/decidim/application_mailer.rb +1 -0
  261. data/app/mailers/decidim/messaging/conversation_mailer.rb +53 -4
  262. data/app/mailers/decidim/newsletter_mailer.rb +22 -4
  263. data/app/middleware/decidim/strip_x_forwarded_host.rb +14 -0
  264. data/app/models/decidim/action_log.rb +1 -1
  265. data/app/models/decidim/amendment.rb +0 -18
  266. data/app/models/decidim/authorization.rb +24 -0
  267. data/app/models/decidim/component.rb +7 -0
  268. data/app/models/decidim/content_block.rb +5 -3
  269. data/app/models/decidim/endorsement.rb +30 -0
  270. data/app/models/decidim/messaging/conversation.rb +39 -11
  271. data/app/models/decidim/messaging/message.rb +31 -5
  272. data/app/models/decidim/messaging/participation.rb +1 -1
  273. data/app/models/decidim/messaging/receipt.rb +8 -0
  274. data/app/models/decidim/newsletter.rb +7 -1
  275. data/app/models/decidim/organization.rb +16 -7
  276. data/app/models/decidim/user.rb +32 -0
  277. data/app/models/decidim/user_group.rb +23 -0
  278. data/app/permissions/decidim/permissions.rb +19 -6
  279. data/app/presenters/decidim/admin_log/user_presenter.rb +1 -1
  280. data/app/presenters/decidim/metric_charts_presenter.rb +33 -13
  281. data/app/presenters/decidim/nil_presenter.rb +29 -0
  282. data/app/presenters/decidim/resource_locator_presenter.rb +2 -1
  283. data/app/presenters/decidim/user_group_presenter.rb +1 -1
  284. data/app/presenters/decidim/user_presenter.rb +6 -0
  285. data/app/queries/decidim/metric_manage.rb +5 -0
  286. data/app/queries/decidim/metrics/followers_metric_manage.rb +1 -6
  287. data/app/queries/decidim/user_groups/admin_memberships.rb +3 -3
  288. data/app/services/decidim/activity_search.rb +1 -0
  289. data/app/services/decidim/base_diff_renderer.rb +25 -3
  290. data/app/services/decidim/events_manager.rb +4 -1
  291. data/app/types/decidim/core/decidim_type.rb +0 -4
  292. data/app/types/decidim/core/has_endorsable_input_sort.rb +17 -0
  293. data/app/types/decidim/core/has_timestamp_input_filter.rb +52 -0
  294. data/app/types/decidim/core/has_timestamp_input_sort.rb +12 -0
  295. data/app/types/decidim/core/user_entity_input_filter.rb +81 -0
  296. data/app/types/decidim/core/user_entity_input_sort.rb +24 -0
  297. data/app/types/decidim/core/user_group_type.rb +17 -5
  298. data/app/types/decidim/core/user_type.rb +17 -6
  299. data/app/uploaders/decidim/attachment_uploader.rb +1 -1
  300. data/app/uploaders/decidim/avatar_uploader.rb +4 -0
  301. data/app/uploaders/decidim/image_uploader.rb +28 -4
  302. data/app/uploaders/decidim/newsletter_template_image_uploader.rb +36 -0
  303. data/app/views/decidim/account/delete.html.erb +6 -3
  304. data/app/views/decidim/account/show.html.erb +17 -10
  305. data/app/views/decidim/amendments/_edit_form_fields.html.erb +2 -0
  306. data/app/views/decidim/amendments/_similar_emendation.html.erb +4 -4
  307. data/app/views/decidim/amendments/compare_draft.html.erb +2 -2
  308. data/app/views/decidim/amendments/edit_draft.html.erb +2 -2
  309. data/app/views/decidim/amendments/new.html.erb +2 -2
  310. data/app/views/decidim/amendments/preview_draft.html.erb +2 -2
  311. data/app/views/decidim/amendments/review.html.erb +3 -3
  312. data/app/views/decidim/application/_collection.html.erb +2 -2
  313. data/app/views/decidim/application/_document.html.erb +4 -4
  314. data/app/views/decidim/application/_documents.html.erb +1 -1
  315. data/app/views/decidim/application/_photos.html.erb +1 -1
  316. data/app/views/decidim/authorization_modals/show.html.erb +1 -1
  317. data/app/views/decidim/data_portability/show.html.erb +3 -0
  318. data/app/views/decidim/devise/confirmations/new.html.erb +3 -3
  319. data/app/views/decidim/devise/invitations/edit.html.erb +13 -13
  320. data/app/views/decidim/devise/omniauth_registrations/new.html.erb +5 -3
  321. data/app/views/decidim/devise/passwords/edit.html.erb +5 -3
  322. data/app/views/decidim/devise/passwords/new.html.erb +3 -3
  323. data/app/views/decidim/devise/registrations/edit.html.erb +2 -1
  324. data/app/views/decidim/devise/registrations/new.html.erb +7 -8
  325. data/app/views/decidim/devise/sessions/new.html.erb +4 -6
  326. data/app/views/decidim/devise/shared/_newsletter_modal.html.erb +3 -3
  327. data/app/views/decidim/devise/shared/_omniauth_buttons.html.erb +3 -1
  328. data/app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb +4 -1
  329. data/app/views/decidim/devise/unlocks/new.html.erb +3 -3
  330. data/app/views/decidim/doorkeeper/authorizations/new.html.erb +2 -2
  331. data/app/views/decidim/endorsements/_identity.html.erb +9 -0
  332. data/app/views/decidim/endorsements/identities.html.erb +12 -0
  333. data/app/views/decidim/endorsements/update_buttons_and_counters.js.erb +20 -0
  334. data/app/views/decidim/errors/internal_server_error.html.erb +2 -2
  335. data/app/views/decidim/errors/not_found.html.erb +2 -2
  336. data/app/views/decidim/gamification/badges/index.html.erb +4 -4
  337. data/app/views/decidim/group_admins/index.html.erb +6 -4
  338. data/app/views/decidim/group_invites/index.html.erb +5 -2
  339. data/app/views/decidim/group_members/index.html.erb +6 -4
  340. data/app/views/decidim/groups/_form.html.erb +2 -0
  341. data/app/views/decidim/groups/edit.html.erb +4 -2
  342. data/app/views/decidim/groups/new.html.erb +2 -2
  343. data/app/views/decidim/last_activities/index.html.erb +2 -0
  344. data/app/views/decidim/messaging/conversation_mailer/comanagers_new_conversation.html.erb +17 -0
  345. data/app/views/decidim/messaging/conversation_mailer/comanagers_new_message.html.erb +17 -0
  346. data/app/views/decidim/messaging/conversation_mailer/new_conversation.html.erb +2 -2
  347. data/app/views/decidim/messaging/conversation_mailer/new_group_conversation.html.erb +17 -0
  348. data/app/views/decidim/messaging/conversation_mailer/new_group_message.html.erb +17 -0
  349. data/app/views/decidim/messaging/conversation_mailer/new_message.html.erb +2 -2
  350. data/app/views/decidim/messaging/conversations/_add_conversation_users.html.erb +24 -0
  351. data/app/views/decidim/messaging/conversations/_conversation.html.erb +54 -0
  352. data/app/views/decidim/messaging/conversations/_messages.html.erb +15 -0
  353. data/app/views/decidim/messaging/conversations/_new_conversation_button.html.erb +33 -0
  354. data/app/views/decidim/messaging/conversations/_reply.html.erb +3 -3
  355. data/app/views/decidim/messaging/conversations/_show.html.erb +34 -15
  356. data/app/views/decidim/messaging/conversations/_start.html.erb +7 -1
  357. data/app/views/decidim/messaging/conversations/create.js.erb +1 -1
  358. data/app/views/decidim/messaging/conversations/index.html.erb +34 -29
  359. data/app/views/decidim/messaging/conversations/new.html.erb +1 -1
  360. data/app/views/decidim/messaging/conversations/show.html.erb +8 -4
  361. data/app/views/decidim/messaging/conversations/update.js.erb +1 -1
  362. data/app/views/decidim/newsletter_mailer/newsletter.html.erb +2 -2
  363. data/app/views/decidim/newsletters/show.html.erb +8 -1
  364. data/app/views/decidim/notifications/index.html.erb +4 -2
  365. data/app/views/decidim/notifications_settings/show.html.erb +14 -1
  366. data/app/views/decidim/own_user_groups/index.html.erb +4 -0
  367. data/app/views/decidim/pages/_standalone.html.erb +1 -1
  368. data/app/views/decidim/pages/_tabbed.html.erb +5 -5
  369. data/app/views/decidim/pages/index.html.erb +22 -13
  370. data/app/views/decidim/profiles/_user_follow.erb +3 -3
  371. data/app/views/decidim/profiles/show.html.erb +2 -0
  372. data/app/views/decidim/scopes/_scopes_picker_input.html.erb +11 -4
  373. data/app/views/decidim/scopes/picker.html.erb +26 -16
  374. data/app/views/decidim/searches/_count.html.erb +14 -11
  375. data/app/views/decidim/searches/_filters.html.erb +2 -2
  376. data/app/views/decidim/searches/index.html.erb +5 -3
  377. data/app/views/decidim/shared/_check_boxes_tree.html.erb +5 -3
  378. data/app/views/decidim/shared/_confirm_modal.html.erb +18 -0
  379. data/app/views/decidim/shared/_embed_modal.html.erb +4 -1
  380. data/app/views/decidim/shared/_extended_navigation_bar.html.erb +2 -2
  381. data/app/views/decidim/shared/_filter_form_help.erb +8 -0
  382. data/app/views/decidim/shared/_floating_help.html.erb +7 -7
  383. data/app/views/decidim/shared/_login_modal.html.erb +4 -4
  384. data/app/views/decidim/shared/_orders.html.erb +16 -5
  385. data/app/views/decidim/shared/_results_per_page.html.erb +16 -6
  386. data/app/views/decidim/shared/_share_modal.html.erb +8 -4
  387. data/app/views/decidim/shared/_static_map.html.erb +1 -1
  388. data/app/views/decidim/shared/participatory_space_filters/_filters.html.erb +1 -1
  389. data/app/views/decidim/user_activities/index.html.erb +4 -0
  390. data/app/views/decidim/user_activities/index.js.erb +14 -0
  391. data/app/views/decidim/user_conversations/index.html.erb +4 -0
  392. data/app/views/decidim/user_conversations/show.html.erb +4 -0
  393. data/app/views/decidim/user_conversations/update.js.erb +8 -0
  394. data/app/views/decidim/user_interests/_scopes.html.erb +12 -10
  395. data/app/views/decidim/user_interests/show.html.erb +4 -1
  396. data/app/views/decidim/user_timeline/index.html.erb +5 -1
  397. data/app/views/decidim/user_timeline/index.js.erb +14 -0
  398. data/app/views/kaminari/decidim/_first_page.html.erb +5 -1
  399. data/app/views/kaminari/decidim/_last_page.html.erb +5 -1
  400. data/app/views/kaminari/decidim/_next_page.html.erb +6 -1
  401. data/app/views/kaminari/decidim/_page.html.erb +2 -2
  402. data/app/views/kaminari/decidim/_paginator.html.erb +16 -14
  403. data/app/views/kaminari/decidim/_prev_page.html.erb +6 -1
  404. data/app/views/layouts/decidim/_application.html.erb +4 -2
  405. data/app/views/layouts/decidim/_cookie_warning.html.erb +1 -1
  406. data/app/views/layouts/decidim/_edit_link.html.erb +0 -0
  407. data/app/views/layouts/decidim/_head.html.erb +2 -0
  408. data/app/views/layouts/decidim/_js_configuration.html.erb +28 -0
  409. data/app/views/layouts/decidim/_language_chooser.html.erb +10 -5
  410. data/app/views/layouts/decidim/_logo.html.erb +2 -22
  411. data/app/views/layouts/decidim/_mailer_logo.html.erb +2 -22
  412. data/app/views/layouts/decidim/_main_footer.html.erb +3 -1
  413. data/app/views/layouts/decidim/_mini_footer.html.erb +7 -7
  414. data/app/views/layouts/decidim/_omnipresent_banner.html.erb +1 -1
  415. data/app/views/layouts/decidim/_organization_colors.html.erb +4 -3
  416. data/app/views/layouts/decidim/_social_media_links.html.erb +15 -10
  417. data/app/views/layouts/decidim/_topbar_search.html.erb +12 -2
  418. data/app/views/layouts/decidim/_user_menu.html.erb +6 -6
  419. data/app/views/layouts/decidim/_wrapper.html.erb +21 -16
  420. data/app/views/layouts/decidim/newsletter_base.html.erb +46 -0
  421. data/app/views/layouts/decidim/user_profile.html.erb +8 -3
  422. data/app/views/layouts/decidim/widget.html.erb +1 -0
  423. data/config/initializers/devise.rb +11 -3
  424. data/config/initializers/invisible_captcha.rb +1 -0
  425. data/config/initializers/omniauth.rb +7 -1
  426. data/config/initializers/rack_attack.rb +25 -16
  427. data/config/locales/ar.yml +7 -5
  428. data/config/locales/bg-BG.yml +1512 -0
  429. data/config/locales/ca.yml +258 -6
  430. data/config/locales/cs.yml +297 -37
  431. data/config/locales/da-DK.yml +9 -0
  432. data/config/locales/de.yml +279 -5
  433. data/config/locales/el.yml +1443 -5
  434. data/config/locales/en.yml +263 -11
  435. data/config/locales/es-MX.yml +257 -5
  436. data/config/locales/es-PY.yml +257 -5
  437. data/config/locales/es.yml +257 -5
  438. data/config/locales/et-EE.yml +9 -0
  439. data/config/locales/eu.yml +7 -2
  440. data/config/locales/fi-plain.yml +258 -6
  441. data/config/locales/fi.yml +319 -67
  442. data/config/locales/fr-CA.yml +1585 -0
  443. data/config/locales/fr.yml +263 -5
  444. data/config/locales/ga-IE.yml +9 -0
  445. data/config/locales/gl.yml +7 -2
  446. data/config/locales/hr-HR.yml +9 -0
  447. data/config/locales/hu.yml +87 -5
  448. data/config/locales/id-ID.yml +7 -2
  449. data/config/locales/is-IS.yml +1 -0
  450. data/config/locales/it.yml +279 -27
  451. data/config/locales/ja-JP.yml +1578 -0
  452. data/config/locales/lt-LT.yml +9 -0
  453. data/config/locales/lv-LV.yml +1485 -0
  454. data/config/locales/mt-MT.yml +9 -0
  455. data/config/locales/nl.yml +261 -6
  456. data/config/locales/no.yml +117 -41
  457. data/config/locales/pl.yml +755 -406
  458. data/config/locales/pt-BR.yml +8 -4
  459. data/config/locales/pt.yml +875 -536
  460. data/config/locales/ro-RO.yml +1603 -0
  461. data/config/locales/ru.yml +6 -1
  462. data/config/locales/sk-SK.yml +1426 -0
  463. data/config/locales/sk.yml +1441 -0
  464. data/config/locales/sl.yml +71 -0
  465. data/config/locales/sr-CS.yml +129 -0
  466. data/config/locales/sv.yml +323 -24
  467. data/config/locales/tr-TR.yml +7 -2
  468. data/config/locales/uk.yml +6 -1
  469. data/config/routes.rb +5 -0
  470. data/db/migrate/20180810092428_move_organization_fields_to_hero_content_block.rb +2 -2
  471. data/db/migrate/20191130151925_create_decidim_endorsements.rb +13 -0
  472. data/db/migrate/20191204075509_add_session_token_to_users.rb +7 -0
  473. data/db/migrate/20200211173227_add_direct_message_types_to_users.rb +12 -0
  474. data/db/migrate/20200320105904_index_foreign_keys_in_decidim_action_logs.rb +9 -0
  475. data/db/migrate/20200320105905_index_foreign_keys_in_decidim_amendments.rb +7 -0
  476. data/db/migrate/20200320105909_index_foreign_keys_in_decidim_authorizations.rb +7 -0
  477. data/db/migrate/20200320105917_index_foreign_keys_in_decidim_contextual_help_sections.rb +7 -0
  478. data/db/migrate/20200320105919_index_foreign_keys_in_decidim_endorsements.rb +7 -0
  479. data/db/migrate/20200320105923_index_foreign_keys_in_decidim_notifications.rb +7 -0
  480. data/db/migrate/20200320105927_index_foreign_keys_in_oauth_access_grants.rb +7 -0
  481. data/db/migrate/20200323094443_add_id_to_content_blocks_scope.rb +7 -0
  482. data/db/migrate/20200326102407_rename_scope_column.rb +7 -0
  483. data/db/migrate/20200327082257_migrate_newsletters_to_templates.rb +33 -0
  484. data/db/migrate/20200327082954_remove_newsletter_body.rb +7 -0
  485. data/db/migrate/20200401073419_add_index_on_content_block_scope_id.rb +11 -0
  486. data/db/seeds.rb +1 -1
  487. data/{app/controllers/concerns → lib}/decidim/action_authorization.rb +0 -0
  488. data/lib/decidim/api/author_interface.rb +4 -0
  489. data/lib/decidim/api/endorsable_interface.rb +22 -0
  490. data/lib/decidim/api/participatory_space_interface.rb +2 -0
  491. data/lib/decidim/api/timestamps_interface.rb +2 -2
  492. data/lib/decidim/coauthorable.rb +1 -1
  493. data/lib/decidim/component_manifest.rb +14 -0
  494. data/lib/decidim/content_parsers.rb +1 -0
  495. data/lib/decidim/content_parsers/user_group_parser.rb +61 -0
  496. data/lib/decidim/content_parsers/user_parser.rb +3 -5
  497. data/lib/decidim/content_renderers.rb +1 -0
  498. data/lib/decidim/content_renderers/user_group_renderer.rb +30 -0
  499. data/lib/decidim/core.rb +65 -21
  500. data/lib/decidim/core/api.rb +1 -0
  501. data/lib/decidim/core/engine.rb +88 -6
  502. data/lib/decidim/core/test.rb +8 -0
  503. data/lib/decidim/core/test/factories.rb +103 -3
  504. data/lib/decidim/core/test/shared_examples/admin_resource_gallery_examples.rb +79 -0
  505. data/lib/decidim/core/test/shared_examples/back_to_list_button_examples.rb +17 -0
  506. data/lib/decidim/core/test/shared_examples/comments_examples.rb +17 -2
  507. data/lib/decidim/core/test/shared_examples/edit_link_shared_examples.rb +5 -1
  508. data/lib/decidim/core/test/shared_examples/endorsable_interface_examples.rb +22 -0
  509. data/lib/decidim/core/test/shared_examples/endorsements_controller_shared_context.rb +22 -0
  510. data/lib/decidim/core/test/shared_examples/follows_examples.rb +1 -1
  511. data/lib/decidim/core/test/shared_examples/input_sort_examples.rb +21 -0
  512. data/lib/decidim/core/test/shared_examples/logo_email.rb +20 -0
  513. data/lib/decidim/core/test/shared_examples/metric_manage_shared_context.rb +9 -0
  514. data/lib/decidim/core/test/shared_examples/permissions.rb +143 -0
  515. data/lib/decidim/core/test/shared_examples/reports_examples.rb +4 -4
  516. data/lib/decidim/core/test/shared_examples/rich_text_editor_examples.rb +3 -3
  517. data/lib/decidim/core/test/shared_examples/simple_event.rb +1 -0
  518. data/lib/decidim/core/test/shared_examples/system_endorse_resource_examples.rb +165 -0
  519. data/lib/decidim/core/test/shared_examples/traceable_interface_examples.rb +3 -3
  520. data/lib/decidim/core/test/shared_examples/with_endorsable_permissions_examples.rb +89 -0
  521. data/lib/decidim/core/version.rb +1 -1
  522. data/lib/decidim/endorsable.rb +25 -0
  523. data/lib/decidim/events.rb +1 -0
  524. data/lib/decidim/events/user_group_event.rb +45 -0
  525. data/lib/decidim/exporters/csv.rb +1 -1
  526. data/lib/decidim/filter_form_builder.rb +15 -6
  527. data/lib/decidim/form_builder.rb +209 -23
  528. data/lib/decidim/has_attachments.rb +1 -1
  529. data/lib/decidim/participable.rb +6 -0
  530. data/lib/decidim/participatory_space_manifest.rb +15 -0
  531. data/lib/decidim/query_extensions.rb +9 -15
  532. data/lib/decidim/settings_manifest.rb +15 -1
  533. data/lib/decidim/view_model.rb +4 -0
  534. data/lib/tasks/decidim_tasks.rake +1 -0
  535. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.ro.js +15 -0
  536. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.sk.js +14 -0
  537. data/vendor/assets/javascripts/svg4everybody.min.js +1 -2
  538. data/vendor/assets/javascripts/tribute.js +11 -4
  539. metadata +187 -31
  540. data/app/assets/javascripts/decidim/vizzs/orgchart.js.es6 +0 -699
  541. data/app/assets/stylesheets/decidim/email.css +0 -1403
  542. data/app/assets/stylesheets/decidim/modules/_input-hashtags.scss +0 -124
  543. data/app/resolvers/decidim/core/user_resolver.rb +0 -61
  544. data/app/views/decidim/messaging/conversations/_message.html.erb +0 -14
@@ -4,6 +4,8 @@ en:
4
4
  attributes:
5
5
  account:
6
6
  delete_reason: Reason to delete your account
7
+ common:
8
+ created_at: Created at
7
9
  group:
8
10
  about: About
9
11
  avatar: Avatar
@@ -34,6 +36,7 @@ en:
34
36
  decidim/profile_updated_event: Profile updated
35
37
  decidim/promote_to_admin: Promoted to group admin
36
38
  decidim/removed_from_group: Removed from group
39
+ decidim/resource_endorsed_event: Resurce endorsed
37
40
  activerecord:
38
41
  attributes:
39
42
  decidim/user:
@@ -47,6 +50,9 @@ en:
47
50
  decidim/amendment:
48
51
  one: Amendment
49
52
  other: Amendments
53
+ decidim/endorsement:
54
+ one: Endorsement
55
+ other: Endorsements
50
56
  decidim/user:
51
57
  one: Participant
52
58
  other: Participants
@@ -58,6 +64,7 @@ en:
58
64
  'true': 'Yes'
59
65
  carrierwave:
60
66
  errors:
67
+ general: Error processing image
61
68
  image_too_big: The image is too big
62
69
  date:
63
70
  formats:
@@ -67,6 +74,10 @@ en:
67
74
  decidim_with_month_name: "%d %B %Y"
68
75
  decidim_with_month_name_short: "%d %b"
69
76
  decidim:
77
+ accessibility:
78
+ external_link: External link
79
+ logo: "%{organization}'s official logo"
80
+ skip_button: Skip to main content
70
81
  account:
71
82
  data_portability_export:
72
83
  file_no_exists: File does not exist
@@ -135,6 +146,7 @@ en:
135
146
  invite: "%{user_name} invited the participant %{resource_name} with role: %{role}"
136
147
  officialize: "%{user_name} officialized the participant %{resource_name}"
137
148
  remove_from_admin: "%{user_name} removed the participant %{resource_name} with role: %{role}"
149
+ show_email: "%{user_name} retrieved the email of the participant %{resource_name}"
138
150
  unofficialize: "%{user_name} unofficialized the participant %{resource_name}"
139
151
  user_group:
140
152
  reject: "%{user_name} rejected the %{resource_name} group verification"
@@ -142,6 +154,8 @@ en:
142
154
  verify_via_csv: "%{user_name} verified the group %{resource_name} via a CSV file"
143
155
  admin_terms_of_use:
144
156
  default_body: "<h2>ADMIN TERMS OF USE</h2><p>We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:</p><ol><li>Respect the privacy of others.</li><li>Think before you click.</li><li>With great power comes great responsibility.</li></ol>"
157
+ alert:
158
+ dismiss: Dismiss notification
145
159
  amendments:
146
160
  accepted:
147
161
  error: An error ocurred while accepting the amendment.
@@ -212,9 +226,6 @@ en:
212
226
  update_draft:
213
227
  error: There was a problem updating the amendment draft.
214
228
  success: Amendment draft successfully updated.
215
- visibility_options:
216
- all: Amendments are visible to all
217
- participants: Amendments are visible only to their authors
218
229
  withdraw:
219
230
  error: An error ocurred while withdrawing the amendment
220
231
  success: The amendment has been withdrawn successfully
@@ -230,6 +241,8 @@ en:
230
241
  documents:
231
242
  one: Document
232
243
  other: Documents
244
+ document:
245
+ download: Download file
233
246
  documents:
234
247
  related_documents: Related documents
235
248
  photos:
@@ -239,11 +252,15 @@ en:
239
252
  comments:
240
253
  one: comment
241
254
  other: comments
255
+ endorsements:
256
+ one: endorsement
257
+ other: endorsements
242
258
  authorization_handlers:
243
259
  another_dummy_authorization_handler:
244
260
  explanation: Get verified by introducing a passport number starting with "A"
245
261
  fields:
246
262
  passport_number: Passport number
263
+ postal_code: Postal code
247
264
  name: Another example authorization
248
265
  dummy_authorization_handler:
249
266
  explanation: Get verified by introducing a document number ending with "X"
@@ -263,6 +280,7 @@ en:
263
280
  foo: Foo
264
281
  name: Foo authorization
265
282
  granted_at: Granted at %{timestamp}
283
+ renew: Renew verification
266
284
  sms:
267
285
  explanation: Submit your mobile phone number so we can check your identity.
268
286
  name: Code by SMS
@@ -297,6 +315,8 @@ en:
297
315
  explanation_html: In order to perform this action you need to be authorized, before doing that you need to confirm your email <strong>%{email}</strong>.
298
316
  request_confirmation_instructions: Request confirmation instructions
299
317
  title: Confirm your email
318
+ show:
319
+ close_modal: Close modal
300
320
  collapsible_list:
301
321
  hidden_elements_count:
302
322
  one: and %{count} more
@@ -304,6 +324,19 @@ en:
304
324
  see_less: "(see less)"
305
325
  see_more: "(see more)"
306
326
  components:
327
+ component_order_selector:
328
+ no_content: We couldn\'t find any content with this criteria
329
+ order:
330
+ all_types: All types
331
+ collaborative_draft: Collaborative Draft
332
+ comment: Comment
333
+ debate: Debate
334
+ initiative: Initiative
335
+ meeting: Meeting
336
+ post: Post
337
+ proposal: Proposal
338
+ question: Question
339
+ title: 'Show:'
307
340
  dummy:
308
341
  actions:
309
342
  bar: Bar
@@ -333,6 +366,9 @@ en:
333
366
  name: Footer sub hero banner
334
367
  hero:
335
368
  name: Hero image
369
+ hero_settings_form:
370
+ background_image: Background image
371
+ welcome_text: Welcome text
336
372
  highlighted_content_banner:
337
373
  name: Highlighted content banner
338
374
  how_to_participate:
@@ -430,6 +466,16 @@ en:
430
466
  this_application_will_not_be_able_to: 'This application will not be able to:'
431
467
  update_profile: Update your profile
432
468
  wants_to_use_your_account_html: "<strong>%{application_name}</strong> wants to use your account"
469
+ endorsable:
470
+ endorsements: Endorsements
471
+ endorsements_count: Endorsements count
472
+ endorsement_buttons_cell:
473
+ already_endorsed: Endorsed
474
+ endorse: Endorse
475
+ endorsements:
476
+ identities:
477
+ done: Done
478
+ select_identity: Select identity
433
479
  errors:
434
480
  internal_server_error:
435
481
  title: There was a problem with our server
@@ -548,8 +594,23 @@ en:
548
594
  email_outro: You have received this notification because you were a member of that group.
549
595
  email_subject: You have been removed from the %{user_group_name} group!
550
596
  notification_title: You have been removed from the <a href="%{resource_path}">%{user_group_name}</a> group.
597
+ user_group_created:
598
+ email_intro: A new user group has been created with the name %{user_group_name}. You can now verify it in the <a href="%{groups_admin_url}">admin panel</a>.
599
+ email_outro: You have received this notification because you are an admin of the platform.
600
+ email_subject: A new user group has been created
601
+ notification_title: The %{user_group_name} user group has been created. You can now verify it in the <a href="%{groups_admin_path}">admin panel</a>.
602
+ user_group_updated:
603
+ email_intro: A user group with the name %{user_group_name} has updated its profile, leaving it unverified. You can now verify it in the <a href="%{groups_admin_url}">admin panel</a>.
604
+ email_outro: You have received this notification because you are an admin of the platform.
605
+ email_subject: A user group has updated its profile
606
+ 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>.
551
607
  notification_event:
552
608
  notification_title: An event occured to <a href="%{resource_path}">%{resource_title}</a>.
609
+ resource_endorsed:
610
+ email_intro: '%{endorser_name} %{endorser_nickname}, who you are following, has just endorsed "%{resource_title}" and we think it may be interesting to you. Check it out and contribute:'
611
+ email_outro: You have received this notification because you are following %{endorser_nickname}. You can stop receiving notifications following the previous link.
612
+ email_subject: "%{endorser_nickname} has performed a new endorsement"
613
+ notification_title: The <a href="%{resource_path}">%{resource_title}</a> %{resource_type} has been endorsed by <a href="%{endorser_path}">%{endorser_name} %{endorser_nickname}</a>.
553
614
  users:
554
615
  profile_updated:
555
616
  email_intro: The <a href="%{resource_url}">profile page</a> of %{name} (%{nickname}), who you are following, has been updated.
@@ -581,6 +642,9 @@ en:
581
642
  title: Fingerprint
582
643
  value: Value
583
644
  followers:
645
+ followers_count:
646
+ one: "%{count} follower"
647
+ other: "%{count} followers"
584
648
  no_followers: No followers yet.
585
649
  following:
586
650
  no_followings: Doesn't follow anyone or anything yet.
@@ -588,7 +652,7 @@ en:
588
652
  create:
589
653
  button: Follow
590
654
  error: There was a problem following this resource.
591
- participatory_space: Already following the participatory space
655
+ participatory_space: Already following <span class="show-for-sr">%{resource_name}</span>
592
656
  destroy:
593
657
  button: Stop following
594
658
  error: There was a problem unfollowing this resource.
@@ -601,6 +665,18 @@ en:
601
665
  password: The password is too short.
602
666
  password_confirmation: Password confirmation must match the password.
603
667
  error: There's an error in this field.
668
+ file_help:
669
+ file:
670
+ explanation: 'Guidance for file:'
671
+ message_1: Has to be an image or a document.
672
+ message_2: For images, use preferrably landscape images, the service crops the image.
673
+ image:
674
+ explanation: 'Guidance for image:'
675
+ message_1: Preferrably a landscape image that does not have any text.
676
+ message_2: The service crops the image.
677
+ file_validation:
678
+ allowed_file_extensions: 'Allowed file extensions: %{extensions}'
679
+ max_file_size: 'Maximum file size: %{megabytes}MB'
604
680
  remove_this_file: Remove this file
605
681
  gamification:
606
682
  all_badges_link: See all available badges.
@@ -754,6 +830,13 @@ en:
754
830
  not_found: 'The scope type was not found on the database (ID: %{id})'
755
831
  managed_users:
756
832
  expired_session: The current administration session of a participant has expired.
833
+ map:
834
+ dynamic:
835
+ screen_reader_explanation: The following element is a map which presents the items on this page as map points. The element can be used with a screen reader but it may be hard to understand.
836
+ skip_button: Skip map
837
+ static:
838
+ latlng_text: 'latitude: %{latitude}, longitude: %{longitude}'
839
+ map_service_brand: OpenStreetMap
757
840
  members:
758
841
  no_members: This group doesn't have any members yet.
759
842
  menu:
@@ -761,26 +844,69 @@ en:
761
844
  home: Home
762
845
  messaging:
763
846
  conversation_mailer:
847
+ comanagers_new_conversation:
848
+ admin_in_group: You are receiving this because you are an admin in %{group}.
849
+ greeting: Hi, %{recipient}!
850
+ intro: "%{manager} has started a new conversation in the name of %{group}. Click here to see it:"
851
+ outro: Enjoy decidim!
852
+ subject: "%{manager} has started a new conversation as a %{group}"
853
+ comanagers_new_message:
854
+ admin_in_group: You are receiving this because you are an admin in %{group}.
855
+ greeting: Hi, %{recipient}!
856
+ intro: "%{manager} has posted new messages in a conversation in the name of %{group}. Click here to see them:"
857
+ outro: Enjoy decidim!
858
+ subject: "%{manager} has send new messages as a %{group}"
764
859
  new_conversation:
765
860
  greeting: Hi, %{recipient}!
766
861
  intro: "%{sender} has started a new conversation with you. Click here to see it:"
767
862
  outro: Enjoy decidim!
768
863
  subject: "%{sender} has started a conversation with you"
864
+ new_group_conversation:
865
+ admin_in_group: You are receiving this because you are an admin in %{group}.
866
+ greeting: Hi, %{recipient}!
867
+ intro: "%{sender} has started a new conversation with the group %{group}. Click here to see it:"
868
+ outro: Enjoy decidim!
869
+ subject: "%{sender} has started a conversation with %{group}"
870
+ new_group_message:
871
+ admin_in_group: You are receiving this because you are an admin in %{group}.
872
+ greeting: Hi, %{recipient}!
873
+ intro: "%{sender} has posted new messages in a conversation with the group %{group}. Click here to see it:"
874
+ outro: Enjoy decidim!
875
+ subject: "%{group} have new messages from %{sender}"
769
876
  new_message:
770
877
  greeting: Hi, %{recipient}!
771
878
  intro: "%{sender} has posted new messages in your conversation. Click here to see them:"
772
879
  outro: Enjoy decidim!
773
880
  subject: You have new messages from %{sender}
774
881
  conversations:
882
+ add_conversation_users:
883
+ add_max_users: 'Add users to conversation: 9 users max'
884
+ add_users_placeholder: Search...
885
+ modal_title: New conversation
886
+ no_results: No results
887
+ participant_with_disabled_message_reception: This participant has disabled message reception
888
+ conversation:
889
+ show: Show conversation with %{sender}
775
890
  create:
776
891
  error: Conversation not started. Try again later
777
892
  index:
893
+ ago: ago
894
+ close: Close modal
895
+ from: From
896
+ groups: My groups
897
+ last_message: Last message
898
+ new_conversation: New conversation
899
+ next: Next
778
900
  no_conversations: You have no conversations yet
779
901
  title: Conversations
780
902
  reply:
903
+ placeholder: Your reply...
781
904
  send: Send
782
905
  title: Reply
783
906
  show:
907
+ back: Back to all conversations
908
+ chat_with: Conversation with
909
+ not_allowed: This user does not accept any more direct messages.
784
910
  title: Conversation with %{usernames}
785
911
  start:
786
912
  send: Send
@@ -807,6 +933,25 @@ en:
807
933
  note: You received this email because you're subscribed to newsletters on %{organization_name}. You can change your settings on your <a href="%{link}">notifications page</a>.
808
934
  see_on_website: Can’t see this email correctly? View it on the <a href="%{link}" target="_blank">website</a>.
809
935
  unsubscribe: To opt out of receiving this type of email, <a href="%{link}" target="_blank" class="unsubscribe">Unsubscribe</a>.
936
+ newsletter_templates:
937
+ basic_only_text:
938
+ body_preview: 'Dummy text for body: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque fringilla nisl tellus. Donec sed mi dui. Sed efficitur libero a felis tempor sollicitudin. Nullam vestibulum fringilla felis, id efficitur lorem sagittis et. Vivamus aliquam maximus velit vel dapibus. Mauris pellentesque, enim eu varius lacinia, risus ante rutrum ipsum, non lobortis augue lorem quis urna. Aenean et malesuada arcu.'
939
+ name: Basic (only text)
940
+ basic_only_text_settings_form:
941
+ body: Body
942
+ interpolations_hint: 'Hint: You can use "%{name}" anywhere in the body or subject and it will be replaced by the recipient''s name.'
943
+ image_text_cta:
944
+ body_preview: 'Dummy text for body: Maecenas ac nisl vitae lectus pretium facilisis. Etiam facilisis sem nibh, sit amet rutrum mi aliquam nec. Sed id urna at nisl pretium mollis eu vel velit. Proin vitae suscipit urna, sed faucibus urna. Pellentesque id libero vulputate ipsum scelerisque suscipit. Nam aliquam sodales mi sit amet cursus. Donec mattis faucibus purus. Aenean tincidunt porta lorem ac commodo. Vestibulum in mollis mi. Morbi eros erat, cursus ut tortor sit amet, imperdiet dapibus arcu. Suspendisse id egestas enim. In eget magna sed enim efficitur elementum sit amet aliquam quam. Donec fermentum metus eget urna luctus pulvinar.'
945
+ cta_text_preview: Call To Action text
946
+ introduction_preview: 'Dummy text for introduction: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque fringilla nisl tellus. Donec sed mi dui. Sed efficitur libero a felis tempor sollicitudin. Nullam vestibulum fringilla felis, id efficitur lorem sagittis et. Vivamus aliquam maximus velit vel dapibus. Mauris pellentesque, enim eu varius lacinia, risus ante rutrum ipsum, non lobortis augue lorem quis urna. Aenean et malesuada arcu.'
947
+ name: Image, text and Call To Action button
948
+ image_text_cta_settings_form:
949
+ body: Body
950
+ cta_text: Call To Action button text
951
+ cta_url: Call To Action button URL
952
+ interpolations_hint: 'Hint: You can use "%{name}" anywhere in the introduction, body, CTA text or subject and it will be replaced by the recipient''s name.'
953
+ introduction: Introduction
954
+ main_image: Main image
810
955
  newsletters:
811
956
  unsubscribe:
812
957
  check_subscription: If you want to change your preferences, you can do so in the <a href="%{link}" target="_blank">configuration page</a>
@@ -832,6 +977,8 @@ en:
832
977
  no_notifications: No notifications yet.
833
978
  notifications_settings:
834
979
  show:
980
+ allow_public_contact: Allow anyone to send me a direct message, even if I don't follow them.
981
+ direct_messages: Receive direct messages from anyone
835
982
  email_on_notification: I want to receive an email every time I receive a notification.
836
983
  everything_followed: Everything I follow
837
984
  newsletter_notifications: I want to receive newsletters
@@ -862,7 +1009,7 @@ en:
862
1009
  how_to_participate: How do I take part in a process?
863
1010
  meetings: Meetings
864
1011
  meetings_explanation: Find out where and when you can participate in public meetings.
865
- more_info: More info
1012
+ more_info: More info about %{resource_name}
866
1013
  proposals: Proposals
867
1014
  proposals_explanation: Make proposals, support existing ones and promote the changes you want to see.
868
1015
  footer_sub_hero:
@@ -934,10 +1081,12 @@ en:
934
1081
  show:
935
1082
  activity: Activity
936
1083
  badges: Badges
1084
+ conversations: Conversations
937
1085
  followers: Followers
938
1086
  following: Follows
939
1087
  groups: Groups
940
1088
  members: Members
1089
+ officialized: Official participant
941
1090
  timeline: Timeline
942
1091
  view_full_profile: View full profile
943
1092
  sidebar:
@@ -971,15 +1120,23 @@ en:
971
1120
  create:
972
1121
  error: An error ocurred while creating the report. Please, try it again.
973
1122
  success: The report has been created successfully and it will be reviewed by an admin.
1123
+ resource_endorsements:
1124
+ create:
1125
+ error: There was a problem during the endorsement action.
974
1126
  scopes:
975
1127
  global: Global scope
976
1128
  picker:
977
1129
  cancel: Cancel
1130
+ change: Change selected scope
978
1131
  choose: Select
1132
+ currently_selected: Currently selected scope
979
1133
  title: Select %{field}
980
1134
  prompt: Select a scope
981
1135
  scopes: Scopes
1136
+ scopes_picker_input:
1137
+ select_scope: 'Select a scope (currently: %{current})'
982
1138
  search:
1139
+ results: Search results
983
1140
  results_found_for_term: '%{count} Results for the search: "%{term}"'
984
1141
  term_input_placeholder: Search
985
1142
  searches:
@@ -1002,6 +1159,11 @@ en:
1002
1159
  other: "%{count} results"
1003
1160
  view_all: View all (%{count})
1004
1161
  shared:
1162
+ confirm_modal:
1163
+ cancel: Cancel
1164
+ close_modal: Close modal
1165
+ ok: OK
1166
+ title: Confirm
1005
1167
  embed_modal:
1006
1168
  close_window: Close window
1007
1169
  embed: Please paste this code in your page
@@ -1009,6 +1171,9 @@ en:
1009
1171
  extended_navigation_bar:
1010
1172
  more: More
1011
1173
  unfold: Unfold
1174
+ filter_form_help:
1175
+ help: The form below filters the search results dynamically when the search conditions are changed.
1176
+ skip: Skip to results
1012
1177
  flag_modal:
1013
1178
  already_reported: This content is already reported and it will be reviewed by an admin.
1014
1179
  close: Close
@@ -1017,12 +1182,14 @@ en:
1017
1182
  offensive: Contains racism, sexism, slurs, personal attacks, death threats, suicide requests or any form of hate speech.
1018
1183
  report: Report
1019
1184
  spam: Contains clickbait, advertising, scams or script bots.
1020
- title: Report a problem
1185
+ title: Report inappropriate content
1021
1186
  floating_help:
1187
+ close: Close help
1022
1188
  help: Help
1023
1189
  follow_button:
1024
1190
  sign_in_before_follow: Please sign in before performing this action
1025
1191
  login_modal:
1192
+ close_modal: Close modal
1026
1193
  please_sign_in: Please sign in
1027
1194
  sign_up: Sign up
1028
1195
  participatory_space_filters:
@@ -1036,15 +1203,48 @@ en:
1036
1203
  select_user_group: Select a group
1037
1204
  results_per_page:
1038
1205
  label: 'Results per page:'
1206
+ title: Select number of results per page
1039
1207
  share_modal:
1040
1208
  close_window: Close window
1041
1209
  share: Share
1042
1210
  share_link: Share link
1043
- version_author:
1044
- deleted: Deleted participant
1211
+ tags:
1212
+ filter_results_for_category: 'Filter results for category: %{resource}'
1213
+ filter_results_for_scope: 'Filter results for scope: %{resource}'
1045
1214
  user_activity:
1046
1215
  index:
1047
1216
  no_activities_warning: This participant hasn't had any activity yet.
1217
+ user_contact_disabled: This participant does not accept direct messages.
1218
+ user_conversations:
1219
+ create:
1220
+ error: The message could not be created. Try again later
1221
+ existing_error: The message could not be created. The conversation already exists, please try again now.
1222
+ success: Conversation started successfully!
1223
+ index:
1224
+ add_max_users: 'Add users to conversation: 9 users max'
1225
+ add_users_placeholder: Search...
1226
+ close: Close
1227
+ conversations_info: Conversations are private. no one else can see them. A conversation can be started with any participant or group registered on the platform.
1228
+ from: From
1229
+ last_message: Last message
1230
+ modal_title: New conversation
1231
+ new_conversation: New conversation
1232
+ next: Next
1233
+ no_conversations_warning: There are no conversations yet.
1234
+ no_results: No results
1235
+ participant_with_disabled_message_reception: This participant has disabled message reception
1236
+ time_ago: "%{time} ago"
1237
+ new:
1238
+ title: Start a conversation
1239
+ reply:
1240
+ placeholder: Your reply...
1241
+ send: Send
1242
+ title_reply: Reply
1243
+ show:
1244
+ not_allowed: This user does not accept any more direct messages.
1245
+ title: Conversation with %{usernames}
1246
+ update:
1247
+ error: Message not sent. Try again later
1048
1248
  user_interests:
1049
1249
  show:
1050
1250
  my_interests: My interests
@@ -1054,6 +1254,33 @@ en:
1054
1254
  update:
1055
1255
  error: There was a problem updating your interests.
1056
1256
  success: Your interests have been successfully updated.
1257
+ version:
1258
+ show:
1259
+ back_to_resource: Go back
1260
+ changes_at_title: Changes at "%{title}"
1261
+ number_of_versions: Versions
1262
+ show_all_versions: Show all versions
1263
+ version_author: Version author
1264
+ version_created_at: Version created at
1265
+ version_number: Version number
1266
+ version_number_out_of_total: "%{current_version} out of %{total_count}"
1267
+ version_author:
1268
+ show:
1269
+ deleted: Deleted participant
1270
+ versions:
1271
+ resource_version:
1272
+ of_versions: "(of %{number})"
1273
+ see_other_versions: see other versions
1274
+ version: Version number %{number}
1275
+ versions_list:
1276
+ show:
1277
+ back_to_resource: Go back
1278
+ changes_at_title: Changes at "%{title}"
1279
+ number_of_versions: Versions
1280
+ title: Versions
1281
+ versions_list_item:
1282
+ show:
1283
+ version_index: Version %{index}
1057
1284
  welcome_notification:
1058
1285
  default_body: <p>Hi {{name}}, thanks for joining {{organization}} and welcome!</p><ul><li>If you want to get a quick idea of what you can do here, have a look at the <a href="{{help_url}}">Help</a> section.</li><li>Once you have read it you will get your first badge. Here's a <a href="{{badges_url}}">list of all the badges</a> you can get as you participate in {{organization}}</li><li>Last but not least, join other people, share with them the experience of being engaged and participating in {{organization}}. Make proposals, comments, debate, think about how to contribute to the common good, provide arguments to convince, listen and read to be convinced, express your ideas in a concrete and direct way, respond with patience and decision, defend your ideas and keep an open mind to collaborate and join other people's ideas.</li></ul>
1059
1286
  default_subject: Thanks for joining {{organization}}!
@@ -1229,19 +1456,27 @@ en:
1229
1456
  too_much_caps: is using too many capital letters (over 25% of the text)
1230
1457
  too_short: is too short (under 15 characters)
1231
1458
  forms:
1232
- required: Required
1459
+ correct_errors: There are errors on the form, please correct them to continue.
1460
+ length_validator:
1461
+ minimum:
1462
+ one: at least %{count} character
1463
+ other: at least %{count} characters
1464
+ required: Required field
1465
+ required_explanation: "* Required fields are marked with an asterisk"
1233
1466
  invisible_captcha:
1234
1467
  sentence_for_humans: If you are human, ignore this field
1235
1468
  timestamp_error_message: Sorry, that was too quick! Please resubmit.
1236
1469
  layouts:
1237
1470
  decidim:
1238
1471
  cookie_warning:
1239
- description_html: This site uses cookies. By continuing to browse the site, you agree to our use of cookies. Find out more about it %{link}.
1240
- link_label: here
1472
+ description_html: This site uses cookies. By continuing to browse the site, you agree to our use of cookies. %{link}.
1473
+ link_label: Find out more about cookies
1241
1474
  ok: I agree
1242
1475
  edit_link:
1243
1476
  edit: Edit
1244
1477
  footer:
1478
+ cc_by_license: Creative Commons License
1479
+ decidim_logo: Decidim Logo
1245
1480
  download_open_data: Download Open Data files
1246
1481
  made_with_open_source: Website made with <a target="_blank" href="https://github.com/decidim/decidim">free software</a>.
1247
1482
  header:
@@ -1253,9 +1488,19 @@ en:
1253
1488
  close_session: Close session
1254
1489
  description_html: You are managing the participant <b>%{user_name}</b>.
1255
1490
  expire_time_html: Your session will expire in <b><span class="minutes">%{minutes}</span> minutes</b>.
1491
+ language_chooser:
1492
+ choose_language: Choose language
1256
1493
  notifications_dashboard:
1257
1494
  mark_all_as_read: Mark all as read
1495
+ mark_as_read: Mark as read
1496
+ social_media_links:
1497
+ facebook: "%{organization} at Facebook"
1498
+ github: "%{organization} at GitHub"
1499
+ instagram: "%{organization} at Instagram"
1500
+ twitter: "%{organization} at Twitter"
1501
+ youtube: "%{organization} at YouTube"
1258
1502
  user_menu:
1503
+ account: 'User account: %{name}'
1259
1504
  admin_dashboard: Admin dashboard
1260
1505
  conversations: Conversations
1261
1506
  notifications: Notifications
@@ -1322,6 +1567,7 @@ en:
1322
1567
  invitation_instructions:
1323
1568
  accept_until_format: "%B %d, %Y %I:%M %p"
1324
1569
  long: "%B %d, %Y %H:%M"
1570
+ long_dashed: "%Y-%m-%d %H:%M:%S"
1325
1571
  short: "%d/%m/%Y %H:%M"
1326
1572
  time_of_day: "%H:%M"
1327
1573
  versions:
@@ -1338,7 +1584,13 @@ en:
1338
1584
  views:
1339
1585
  pagination:
1340
1586
  first: "&laquo; First"
1587
+ first_title: Link to the first page
1341
1588
  last: Last &raquo;
1589
+ last_title: Link to the last page
1342
1590
  next: Next &rsaquo;
1591
+ next_title: Link to the next page
1592
+ pagination: Pagination
1343
1593
  previous: "&lsaquo; Prev"
1594
+ previous_title: Link to the previous page
1595
+ title: 'Page number: '
1344
1596
  truncate: "&hellip;"