decidim-core 0.30.4 → 0.31.0.rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (794) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +0 -4
  3. data/app/cells/decidim/activity_cell.rb +0 -9
  4. data/app/cells/decidim/address/show.erb +1 -0
  5. data/app/cells/decidim/address_cell.rb +7 -1
  6. data/app/cells/decidim/amendable/amend_button_card/show.erb +2 -2
  7. data/app/cells/decidim/author/likes.erb +4 -0
  8. data/app/cells/decidim/author/show.erb +2 -8
  9. data/app/cells/decidim/author_cell.rb +5 -38
  10. data/app/cells/decidim/badge_cell.rb +1 -7
  11. data/app/cells/decidim/card_cell.rb +2 -12
  12. data/app/cells/decidim/card_metadata_cell.rb +4 -4
  13. data/app/cells/decidim/coauthorships_cell.rb +1 -1
  14. data/app/cells/decidim/collapsible_authors/show.erb +1 -1
  15. data/app/cells/decidim/content_blocks/hero_cell.rb +23 -4
  16. data/app/cells/decidim/content_blocks/hero_settings_form/show.erb +16 -2
  17. data/app/cells/decidim/content_blocks/highlighted_content_banner/show.erb +6 -6
  18. data/app/cells/decidim/content_blocks/highlighted_content_banner_cell.rb +28 -1
  19. data/app/cells/decidim/content_blocks/highlighted_content_banner_settings_form/show.erb +27 -0
  20. data/app/cells/decidim/content_blocks/highlighted_content_banner_settings_form_cell.rb +13 -0
  21. data/app/cells/decidim/content_blocks/highlighted_elements_for_component_settings_form/show.erb +9 -2
  22. data/app/cells/decidim/content_blocks/html_settings_form/show.erb +3 -1
  23. data/app/cells/decidim/content_blocks/last_activity_cell.rb +1 -1
  24. data/app/cells/decidim/content_blocks/last_activity_settings_form/show.erb +3 -1
  25. data/app/cells/decidim/content_blocks/menu_breadcrumb_last_activity_cell.rb +1 -1
  26. data/app/cells/decidim/content_blocks/participatory_space_extra_data/recent_users.erb +1 -1
  27. data/app/cells/decidim/content_blocks/participatory_space_hero/show.erb +0 -5
  28. data/app/cells/decidim/content_blocks/participatory_space_hero_cell.rb +1 -13
  29. data/app/cells/decidim/content_blocks/participatory_space_hero_settings_form/show.erb +10 -3
  30. data/app/cells/decidim/content_blocks/participatory_space_last_activity/content.erb +1 -1
  31. data/app/cells/decidim/content_blocks/participatory_space_last_activity/recent_avatars.erb +1 -1
  32. data/app/cells/decidim/content_blocks/participatory_space_last_activity_cell.rb +3 -3
  33. data/app/cells/decidim/content_blocks/participatory_space_main_data/title.erb +17 -5
  34. data/app/cells/decidim/content_blocks/participatory_space_main_data_cell.rb +4 -0
  35. data/app/cells/decidim/content_blocks/stats/show.erb +2 -3
  36. data/app/cells/decidim/data_consent/modal.erb +1 -1
  37. data/app/cells/decidim/like_block/show.erb +3 -0
  38. data/app/cells/decidim/{endorsement_block_cell.rb → like_block_cell.rb} +2 -2
  39. data/app/cells/decidim/like_buttons/button_content.erb +2 -0
  40. data/app/cells/decidim/like_buttons/show.erb +17 -0
  41. data/app/cells/decidim/{endorsement_buttons → like_buttons}/verification_modal.erb +3 -3
  42. data/app/cells/decidim/like_buttons_cell.rb +77 -0
  43. data/app/cells/decidim/likers_list/empty.erb +3 -0
  44. data/app/cells/decidim/{endorsers_list → likers_list}/full.erb +3 -3
  45. data/app/cells/decidim/likers_list/show.erb +20 -0
  46. data/app/cells/decidim/likers_list_cell.rb +64 -0
  47. data/app/cells/decidim/nav_links/show.erb +1 -1
  48. data/app/cells/decidim/notification_actions/buttons_cell.rb +1 -1
  49. data/app/cells/decidim/onboarding_action_message_cell.rb +1 -1
  50. data/app/cells/decidim/participatory_space_dropdown_metadata/metadata.erb +0 -8
  51. data/app/cells/decidim/participatory_space_dropdown_metadata_cell.rb +0 -8
  52. data/app/cells/decidim/profile/avatar.erb +2 -0
  53. data/app/cells/decidim/profile/badge.erb +3 -3
  54. data/app/cells/decidim/profile/details.erb +2 -3
  55. data/app/cells/decidim/profile/tabs.erb +1 -1
  56. data/app/cells/decidim/profile_actions/show.erb +0 -1
  57. data/app/cells/decidim/profile_actions_cell.rb +5 -91
  58. data/app/cells/decidim/profile_cell.rb +4 -39
  59. data/app/cells/decidim/report_button/content.erb +2 -0
  60. data/app/cells/decidim/report_button/flag_modal.erb +1 -1
  61. data/app/cells/decidim/report_button_cell.rb +1 -1
  62. data/app/cells/decidim/report_user_button/flag_modal.erb +1 -1
  63. data/app/cells/decidim/resource_history_cell.rb +2 -1
  64. data/app/cells/decidim/resource_types_filter/show.erb +1 -1
  65. data/app/cells/decidim/share_button_cell.rb +1 -1
  66. data/app/cells/decidim/share_text_widget/modal.erb +16 -0
  67. data/app/cells/decidim/share_text_widget/show.erb +2 -0
  68. data/app/cells/decidim/share_text_widget_cell.rb +27 -0
  69. data/app/cells/decidim/share_widget/modal.erb +19 -8
  70. data/app/cells/decidim/share_widget/qr_code_modal.erb +26 -0
  71. data/app/cells/decidim/share_widget/show.erb +1 -0
  72. data/app/cells/decidim/share_widget_cell.rb +10 -6
  73. data/app/cells/decidim/statistic/show.erb +23 -5
  74. data/app/cells/decidim/statistic_cell.rb +28 -3
  75. data/app/cells/decidim/tab_panels/show.erb +1 -1
  76. data/app/cells/decidim/user_activity_cell.rb +1 -6
  77. data/app/cells/decidim/user_profile/show.erb +1 -1
  78. data/app/cells/decidim/user_profile_cell.rb +1 -9
  79. data/app/cells/decidim/version_author_cell.rb +0 -7
  80. data/app/commands/decidim/amendable/accept.rb +1 -3
  81. data/app/commands/decidim/amendable/create_draft.rb +2 -3
  82. data/app/commands/decidim/amendable/update_draft.rb +2 -3
  83. data/app/commands/decidim/create_ephemeral_user.rb +7 -1
  84. data/app/commands/decidim/create_omniauth_registration.rb +8 -7
  85. data/app/commands/decidim/create_report.rb +9 -1
  86. data/app/commands/decidim/destroy_account.rb +0 -5
  87. data/app/commands/decidim/like_resource.rb +52 -0
  88. data/app/commands/decidim/messaging/reply_to_conversation.rb +2 -21
  89. data/app/commands/decidim/messaging/start_conversation.rb +2 -21
  90. data/app/commands/decidim/unlike_resource.rb +34 -0
  91. data/app/commands/decidim/update_account.rb +1 -1
  92. data/app/controllers/concerns/decidim/ephemeral_session_checker.rb +6 -2
  93. data/app/controllers/concerns/decidim/user_profile.rb +0 -1
  94. data/app/controllers/decidim/account_controller.rb +1 -1
  95. data/app/controllers/decidim/amendments_controller.rb +4 -5
  96. data/app/controllers/decidim/application_controller.rb +2 -1
  97. data/app/controllers/decidim/devise/confirmations_controller.rb +0 -5
  98. data/app/controllers/decidim/devise/omniauth_registrations_controller.rb +1 -1
  99. data/app/controllers/decidim/devise/passwords_controller.rb +1 -1
  100. data/app/controllers/decidim/devise/registrations_controller.rb +1 -1
  101. data/app/controllers/decidim/doorkeeper/authorizations_controller.rb +19 -1
  102. data/app/controllers/decidim/download_your_data_controller.rb +4 -7
  103. data/app/controllers/decidim/likes_controller.rb +57 -0
  104. data/app/controllers/decidim/links_controller.rb +1 -0
  105. data/app/controllers/decidim/messaging/conversations_controller.rb +1 -8
  106. data/app/controllers/decidim/newsletters_controller.rb +1 -1
  107. data/app/controllers/decidim/notifications_settings_controller.rb +2 -2
  108. data/app/controllers/decidim/pages_controller.rb +0 -1
  109. data/app/controllers/decidim/profiles_controller.rb +2 -57
  110. data/app/controllers/decidim/qr_controller.rb +73 -0
  111. data/app/controllers/decidim/resource_autocomplete_controller.rb +56 -0
  112. data/app/controllers/decidim/user_activities_controller.rb +0 -1
  113. data/app/events/decidim/resource_liked_event.rb +36 -0
  114. data/app/forms/decidim/amendable/create_form.rb +0 -1
  115. data/app/forms/decidim/amendable/edit_form.rb +0 -1
  116. data/app/forms/decidim/amendable/form.rb +4 -4
  117. data/app/forms/decidim/ephemeral_user_form.rb +1 -0
  118. data/app/forms/decidim/notifications_settings_form.rb +1 -1
  119. data/app/forms/decidim/omniauth_registration_form.rb +1 -1
  120. data/app/forms/decidim/upload_validation_form.rb +9 -1
  121. data/app/helpers/decidim/amendments_helper.rb +1 -2
  122. data/app/helpers/decidim/animations_helper.rb +14 -0
  123. data/app/helpers/decidim/decidim_form_helper.rb +17 -6
  124. data/app/helpers/decidim/layout_helper.rb +1 -15
  125. data/app/helpers/decidim/likeable_helper.rb +46 -0
  126. data/app/helpers/decidim/map_helper.rb +1 -1
  127. data/app/helpers/decidim/menu_helper.rb +2 -8
  128. data/app/helpers/decidim/messaging/conversation_helper.rb +1 -1
  129. data/app/helpers/decidim/omniauth_helper.rb +1 -1
  130. data/app/helpers/decidim/qr_code_helper.rb +37 -0
  131. data/app/helpers/decidim/rich_text_editor_helper.rb +0 -1
  132. data/app/helpers/decidim/sanitize_helper.rb +5 -5
  133. data/app/helpers/decidim/social_share_button_helper.rb +11 -10
  134. data/app/jobs/decidim/delete_inactive_participants_job.rb +41 -0
  135. data/app/jobs/decidim/process_inactive_participant_job.rb +48 -0
  136. data/app/mailers/decidim/participants_account_mailer.rb +38 -0
  137. data/app/mailers/decidim/user_group_mailer.rb +28 -0
  138. data/app/models/decidim/action_log.rb +3 -5
  139. data/app/models/decidim/amendment.rb +1 -1
  140. data/app/models/decidim/attachment_collection.rb +2 -0
  141. data/app/models/decidim/authorization_transfer.rb +0 -1
  142. data/app/models/decidim/coauthorship.rb +1 -1
  143. data/app/models/decidim/component.rb +4 -1
  144. data/app/models/decidim/{endorsement.rb → like.rb} +4 -4
  145. data/app/models/decidim/messaging/conversation.rb +3 -5
  146. data/app/models/decidim/messaging/message.rb +3 -15
  147. data/app/models/decidim/omniauth_provider.rb +1 -1
  148. data/app/models/decidim/organization.rb +3 -8
  149. data/app/models/decidim/participatory_space_role_config/{valuator.rb → evaluator.rb} +1 -1
  150. data/app/models/decidim/private_export.rb +0 -4
  151. data/app/models/decidim/reminder_record.rb +1 -1
  152. data/app/models/decidim/searchable_resource.rb +16 -0
  153. data/app/models/decidim/taxonomy.rb +6 -1
  154. data/app/models/decidim/user.rb +32 -15
  155. data/app/models/decidim/user_base_entity.rb +2 -2
  156. data/app/packs/entrypoints/decidim_conference_diploma.scss +2 -2
  157. data/app/packs/entrypoints/decidim_core.scss +2 -2
  158. data/app/packs/entrypoints/decidim_editor.js +0 -4
  159. data/app/packs/entrypoints/decidim_map.scss +2 -2
  160. data/app/packs/entrypoints/decidim_overrides.scss +1 -1
  161. data/app/packs/entrypoints/decidim_qr.js +1 -0
  162. data/app/packs/images/decidim/remixicon.symbol.svg +3 -3
  163. data/app/packs/src/decidim/a11y.js +1 -120
  164. data/app/packs/src/decidim/append_redirect_url_to_modals.js +1 -1
  165. data/app/packs/src/decidim/attachments/file_or_link_tabs.js +1 -1
  166. data/app/packs/src/decidim/confirm.js +27 -20
  167. data/app/packs/src/decidim/controllers/.keep +0 -0
  168. data/app/packs/src/decidim/controllers/accordion/controller.js +100 -0
  169. data/app/packs/src/decidim/controllers/account_form/account_form.test.js +423 -0
  170. data/app/packs/src/decidim/controllers/account_form/controller.js +69 -0
  171. data/app/packs/src/decidim/{input_character_counter.js → controllers/character_counter/controller.js} +90 -106
  172. data/app/packs/src/decidim/controllers/clipboard_copy/clipboard_copy.test.js +305 -0
  173. data/app/packs/src/decidim/controllers/clipboard_copy/controller.js +403 -0
  174. data/app/packs/src/decidim/controllers/date_picker/controller.js +12 -0
  175. data/app/packs/src/decidim/controllers/delete_account_form/controller.js +45 -0
  176. data/app/packs/src/decidim/controllers/delete_account_form/delete_account_form.test.js +216 -0
  177. data/app/packs/src/decidim/controllers/dropdown/controller.js +125 -0
  178. data/app/packs/src/decidim/controllers/editor/controller.js +8 -0
  179. data/app/packs/src/decidim/controllers/emoji/controller.js +26 -0
  180. data/app/packs/src/decidim/{input_emoji.js → controllers/emoji/emoji.js} +1 -15
  181. data/app/packs/src/decidim/{form_filter.js → controllers/form_filter/controller.js} +68 -57
  182. data/app/packs/src/decidim/controllers/form_filter/form_filter.test.js +648 -0
  183. data/app/packs/src/decidim/controllers/form_validator/controller.js +23 -0
  184. data/app/packs/src/decidim/controllers/form_validator/form_validator.js +789 -0
  185. data/app/packs/src/decidim/controllers/form_validator/form_validator.test.js +685 -0
  186. data/app/packs/src/decidim/controllers/impersonation_warning/controller.js +137 -0
  187. data/app/packs/src/decidim/controllers/impersonation_warning/impersonation.test.js +382 -0
  188. data/app/packs/src/decidim/controllers/input_tags/controller.js +28 -0
  189. data/app/packs/src/decidim/controllers/mention/controller.js +243 -0
  190. data/app/packs/src/decidim/controllers/mention/input_mentions.test.js +562 -0
  191. data/app/packs/src/decidim/controllers/multiple_mentions/controller.js +215 -0
  192. data/app/packs/src/decidim/controllers/multiple_mentions/input_multiple_mentions.test.js +645 -0
  193. data/app/packs/src/decidim/controllers/notification_action/controller.js +210 -0
  194. data/app/packs/src/decidim/controllers/notification_action/notification_action.test.js +388 -0
  195. data/app/packs/src/decidim/controllers/password_toggler/controller.js +232 -0
  196. data/app/packs/src/decidim/controllers/password_toggler/password_toggler.test.js +229 -0
  197. data/app/packs/src/decidim/controllers/report_form/controller.js +184 -0
  198. data/app/packs/src/decidim/controllers/report_form/report_form_manager.test.js +511 -0
  199. data/app/packs/src/decidim/controllers/scroll_to_last/controller.js +9 -0
  200. data/app/packs/src/decidim/controllers/scroll_to_last/scroll_to_last_child.test.js +225 -0
  201. data/app/packs/src/decidim/controllers/sticky_buttons/controller.js +55 -0
  202. data/app/packs/src/decidim/controllers/sticky_buttons/sticky_buttons.test.js +334 -0
  203. data/app/packs/src/decidim/controllers/sticky_header/controller.js +116 -0
  204. data/app/packs/src/decidim/controllers/sticky_header/sticky_header.test.js +320 -0
  205. data/app/packs/src/decidim/controllers/toggle/controller.js +111 -0
  206. data/app/packs/src/decidim/controllers/toggle/toggle.test.js +260 -0
  207. data/app/packs/src/decidim/controllers/tooltip/controller.js +287 -0
  208. data/app/packs/src/decidim/controllers/tooltip/tooltip.test.js +380 -0
  209. data/app/packs/src/decidim/controllers/user_registration_form/controller.js +160 -0
  210. data/app/packs/src/decidim/controllers/user_registration_form/omniauth_registration_form.test.js +441 -0
  211. data/app/packs/src/decidim/controllers/user_registration_form/user_registration_form.test.js +386 -0
  212. data/app/packs/src/decidim/data_consent/index.js +1 -1
  213. data/app/packs/src/decidim/datalist_select.js +1 -1
  214. data/app/packs/src/decidim/datepicker/form_datepicker.js +1 -1
  215. data/app/packs/src/decidim/datepicker/generate_datepicker.js +2 -2
  216. data/app/packs/src/decidim/datepicker/generate_timepicker.js +2 -2
  217. data/app/packs/src/decidim/direct_uploads/upload_field.js +3 -5
  218. data/app/packs/src/decidim/direct_uploads/upload_modal.js +1 -1
  219. data/app/packs/src/decidim/dropdown_menu.js +1 -1
  220. data/app/packs/src/decidim/editor/common/input_dialog.js +1 -1
  221. data/app/packs/src/decidim/editor/common/suggestion.js +10 -2
  222. data/app/packs/src/decidim/editor/common/upload_dialog.js +1 -1
  223. data/app/packs/src/decidim/editor/extensions/decidim_kit/index.js +7 -7
  224. data/app/packs/src/decidim/editor/extensions/emoji/index.js +2 -3
  225. data/app/packs/src/decidim/editor/extensions/image/index.js +1 -1
  226. data/app/packs/src/decidim/editor/extensions/image/node_view.js +1 -1
  227. data/app/packs/src/decidim/editor/extensions/link/bubble_menu.js +1 -1
  228. data/app/packs/src/decidim/editor/extensions/link/index.js +1 -1
  229. data/app/packs/src/decidim/editor/extensions/mention/index.js +1 -2
  230. data/app/packs/src/decidim/editor/extensions/mention_resource/index.js +69 -0
  231. data/app/packs/src/decidim/editor/extensions/video_embed/index.js +1 -1
  232. data/app/packs/src/decidim/editor/index.js +6 -5
  233. data/app/packs/src/decidim/editor/test/extensions/decidim_kit.test.js +1 -2
  234. data/app/packs/src/decidim/editor/test/extensions/emoji.test.js +17 -0
  235. data/app/packs/src/decidim/editor/test/extensions/heading.test.js +2 -2
  236. data/app/packs/src/decidim/editor/toolbar.js +1 -1
  237. data/app/packs/src/decidim/form_attachments.js +1 -1
  238. data/app/packs/src/decidim/geocoding/attach_input.js +3 -0
  239. data/app/packs/src/decidim/geocoding/provider/here.js +1 -1
  240. data/app/packs/src/decidim/geocoding/provider/photon.js +1 -1
  241. data/app/packs/src/decidim/geocoding/reverse_geocoding.js +2 -2
  242. data/app/packs/src/decidim/geocoding.js +2 -2
  243. data/app/packs/src/decidim/index.js +127 -95
  244. data/app/packs/src/decidim/map/controller/markers.js +1 -3
  245. data/app/packs/src/decidim/map/integration/forms.js +1 -1
  246. data/app/packs/src/decidim/map/legacy.js +1 -1
  247. data/app/packs/src/decidim/map/provider/default.js +1 -1
  248. data/app/packs/src/decidim/map/provider/here.js +1 -1
  249. data/app/packs/src/decidim/map.js +1 -1
  250. data/app/packs/src/decidim/{external_link.js → refactor/implementation/external_link.js} +1 -1
  251. data/app/packs/src/decidim/{onboarding_pending_action.js → refactor/integration/onboarding_pending_action.js} +4 -4
  252. data/app/packs/src/decidim/{check_boxes_tree.js → refactor/moved/check_boxes_tree.js} +24 -9
  253. data/app/packs/src/decidim/{i18n.test.js → refactor/moved/i18n.test.js} +1 -1
  254. data/app/packs/src/decidim/{icon.js → refactor/moved/icon.js} +2 -0
  255. data/app/packs/src/decidim/refactor/support/stimulus.js +39 -0
  256. data/app/packs/src/decidim/refactor/test/configuration.test.js +360 -0
  257. data/app/packs/src/decidim/{external_domain_warning.test.js → refactor/test/external_domain_warning.test.js} +1 -1
  258. data/app/packs/src/decidim/{external_link.test.js → refactor/test/external_link.test.js} +1 -1
  259. data/app/packs/src/decidim/results_listing.js +2 -2
  260. data/app/packs/src/decidim/security/selfxss_warning.js +1 -1
  261. data/app/packs/src/decidim/session_timeouter.js +1 -1
  262. data/app/packs/src/decidim/sw/push-permissions.js +1 -1
  263. data/app/packs/src/decidim/utilities/dom.js +1 -1
  264. data/app/packs/stylesheets/decidim/_accordion.scss +37 -3
  265. data/app/packs/stylesheets/decidim/_author.scss +0 -29
  266. data/app/packs/stylesheets/decidim/_buttons.scss +4 -0
  267. data/app/packs/stylesheets/decidim/_callout.scss +1 -1
  268. data/app/packs/stylesheets/decidim/_cards.scss +2 -6
  269. data/app/packs/stylesheets/decidim/_content_blocks.scss +1 -1
  270. data/app/packs/stylesheets/decidim/_cookies.scss +1 -1
  271. data/app/packs/stylesheets/decidim/_datepicker.scss +0 -4
  272. data/app/packs/stylesheets/decidim/_dropdown.scss +56 -19
  273. data/app/packs/stylesheets/decidim/_footer.scss +0 -5
  274. data/app/packs/stylesheets/decidim/_forms.scss +6 -6
  275. data/app/packs/stylesheets/decidim/_header.scss +17 -1
  276. data/app/packs/stylesheets/decidim/_labels.scss +1 -1
  277. data/app/packs/stylesheets/decidim/_layout.scss +12 -2
  278. data/app/packs/stylesheets/decidim/{_endorsers_list.scss → _likes_list.scss} +1 -1
  279. data/app/packs/stylesheets/decidim/_modal.scss +5 -1
  280. data/app/packs/stylesheets/decidim/_modal_share.scss +83 -9
  281. data/app/packs/stylesheets/decidim/_modal_update.scss +1 -5
  282. data/app/packs/stylesheets/decidim/_participatory_spaces.scss +1 -1
  283. data/app/packs/stylesheets/decidim/_profile.scss +6 -6
  284. data/app/packs/stylesheets/decidim/_rich_text.scss +13 -0
  285. data/app/packs/stylesheets/decidim/_statistics.scss +35 -3
  286. data/app/packs/stylesheets/decidim/_tooltip.scss +1 -1
  287. data/app/packs/stylesheets/decidim/_typography.scss +6 -0
  288. data/app/packs/stylesheets/decidim/_wizard_steps.scss +1 -1
  289. data/app/packs/stylesheets/decidim/application.scss +76 -76
  290. data/app/packs/stylesheets/decidim/editor.scss +12 -15
  291. data/app/packs/stylesheets/decidim/legacy/email.scss +6 -5
  292. data/app/packs/stylesheets/decidim/map.scss +5 -3
  293. data/app/packs/stylesheets/decidim/qr.scss +65 -0
  294. data/app/permissions/decidim/default_permissions.rb +16 -0
  295. data/app/permissions/decidim/permissions.rb +5 -26
  296. data/app/presenters/decidim/admin_log/base_user_presenter.rb +2 -2
  297. data/app/presenters/decidim/admin_log/organization_presenter.rb +0 -15
  298. data/app/presenters/decidim/home_stats_presenter.rb +4 -54
  299. data/app/presenters/decidim/log/base_presenter.rb +1 -1
  300. data/app/presenters/decidim/menu_item_presenter.rb +10 -3
  301. data/app/presenters/decidim/official_author_presenter.rb +0 -4
  302. data/app/presenters/decidim/participatory_space_private_user_presenter.rb +0 -4
  303. data/app/presenters/decidim/resource_locator_presenter.rb +15 -4
  304. data/app/presenters/decidim/resource_presenter.rb +8 -8
  305. data/app/presenters/decidim/stats_presenter.rb +39 -60
  306. data/app/presenters/decidim/taxonomy_presenter.rb +5 -1
  307. data/app/presenters/decidim/user_presenter.rb +0 -6
  308. data/app/queries/decidim/authorized_users.rb +26 -0
  309. data/app/queries/decidim/inactive_users_query.rb +31 -0
  310. data/app/queries/decidim/public_activities.rb +2 -2
  311. data/app/queries/decidim/stats_followers_count.rb +43 -0
  312. data/app/queries/decidim/stats_participants_count.rb +102 -0
  313. data/app/serializers/decidim/exporters/open_data_user_serializer.rb +1 -5
  314. data/app/serializers/decidim/exporters/participatory_space_serializer.rb +0 -1
  315. data/app/services/decidim/action_logger.rb +2 -1
  316. data/app/services/decidim/base_diff_renderer.rb +0 -17
  317. data/app/services/decidim/download_your_data_exporter.rb +4 -15
  318. data/app/services/decidim/onboarding_manager.rb +4 -0
  319. data/app/services/decidim/open_data_exporter.rb +20 -13
  320. data/app/services/decidim/send_push_notification.rb +4 -3
  321. data/app/services/decidim/traceability.rb +1 -1
  322. data/app/validators/etiquette_validator.rb +9 -2
  323. data/app/validators/password_validator.rb +1 -3
  324. data/app/validators/translated_etiquette_validator.rb +1 -0
  325. data/app/views/decidim/account/_old_password_field.html.erb +1 -1
  326. data/app/views/decidim/account/_password_fields.html.erb +1 -1
  327. data/app/views/decidim/account/delete.html.erb +1 -1
  328. data/app/views/decidim/account/show.html.erb +3 -3
  329. data/app/views/decidim/amendments/edit_draft.html.erb +0 -4
  330. data/app/views/decidim/amendments/new.html.erb +0 -4
  331. data/app/views/decidim/amendments/preview_draft.html.erb +1 -1
  332. data/app/views/decidim/application/_accordion_section.html.erb +1 -1
  333. data/app/views/decidim/application/_collection.html.erb +1 -1
  334. data/app/views/decidim/application/_document.html.erb +2 -2
  335. data/app/views/decidim/application/_radio_accordion.html.erb +30 -0
  336. data/app/views/decidim/devise/omniauth_registrations/new.html.erb +1 -1
  337. data/app/views/decidim/devise/omniauth_registrations/new_tos_fields.html.erb +1 -1
  338. data/app/views/decidim/devise/registrations/new.html.erb +1 -1
  339. data/app/views/decidim/devise/shared/_links.html.erb +1 -1
  340. data/app/views/decidim/doorkeeper/authorizations/new.html.erb +39 -8
  341. data/app/views/decidim/download_your_data/_export.html.erb +1 -1
  342. data/app/views/decidim/errors/internal_server_error.html.erb +1 -0
  343. data/app/views/decidim/export_mailer/download_your_data_export.html.erb +1 -1
  344. data/app/views/decidim/export_mailer/export.html.erb +1 -1
  345. data/app/views/decidim/likes/update_buttons_and_counters.js.erb +21 -0
  346. data/app/views/decidim/messaging/conversations/_add_conversation_users.html.erb +2 -2
  347. data/app/views/decidim/messaging/conversations/_reply_form.html.erb +1 -1
  348. data/app/views/decidim/messaging/conversations/_start.html.erb +1 -1
  349. data/app/views/decidim/messaging/conversations/create.js.erb +0 -1
  350. data/app/views/decidim/messaging/conversations/new.html.erb +1 -1
  351. data/app/views/decidim/messaging/conversations/show.html.erb +1 -1
  352. data/app/views/decidim/notifications_settings/show.html.erb +3 -3
  353. data/app/views/decidim/pages/_tabbed.html.erb +1 -1
  354. data/app/views/decidim/pages/index.html.erb +1 -1
  355. data/app/views/decidim/participants_account_mailer/inactivity_notification.html.erb +13 -0
  356. data/app/views/decidim/participants_account_mailer/removal_notification.html.erb +11 -0
  357. data/app/views/decidim/profiles/show.html.erb +1 -1
  358. data/app/views/decidim/qr/show.html.erb +28 -0
  359. data/app/views/decidim/searches/_filters.html.erb +18 -2
  360. data/app/views/decidim/searches/index.html.erb +5 -2
  361. data/app/views/decidim/shared/_confirm_modal.html.erb +5 -3
  362. data/app/views/decidim/shared/_filters.html.erb +3 -3
  363. data/app/views/decidim/shared/_orders.html.erb +1 -1
  364. data/app/views/decidim/shared/_resource_actions.html.erb +8 -5
  365. data/app/views/decidim/user_activities/index.html.erb +1 -1
  366. data/app/views/decidim/user_group_mailer/notify_deprecation_to_member.html.erb +15 -0
  367. data/app/views/decidim/user_group_mailer/notify_deprecation_to_owner.html.erb +22 -0
  368. data/app/views/layouts/decidim/_application.html.erb +1 -1
  369. data/app/views/layouts/decidim/_head.html.erb +15 -12
  370. data/app/views/layouts/decidim/_impersonation_warning.html.erb +1 -1
  371. data/app/views/layouts/decidim/_js_configuration.html.erb +17 -19
  372. data/app/views/layouts/decidim/_meta_tags_context.html.erb +3 -0
  373. data/app/views/layouts/decidim/_offline_banner.html.erb +1 -1
  374. data/app/views/layouts/decidim/_wrapper.html.erb +8 -6
  375. data/app/views/layouts/decidim/footer/_focus_mode_main.html.erb +7 -0
  376. data/app/views/layouts/decidim/footer/_main_language_chooser.html.erb +1 -1
  377. data/app/views/layouts/decidim/header/_close_ephemeral_session.html.erb +12 -2
  378. data/app/views/layouts/decidim/header/_focus_mode_back_button.html.erb +24 -0
  379. data/app/views/layouts/decidim/header/_main.html.erb +28 -22
  380. data/app/views/layouts/decidim/header/_main_links_desktop.html.erb +1 -1
  381. data/app/views/layouts/decidim/header/_main_links_dropdown.html.erb +18 -18
  382. data/app/views/layouts/decidim/header/_main_links_mobile_item_account.html.erb +1 -1
  383. data/app/views/layouts/decidim/header/_main_menu_mobile.html.erb +1 -1
  384. data/app/views/layouts/decidim/header/_menu_breadcrumb_desktop.html.erb +1 -1
  385. data/app/views/layouts/decidim/header/_menu_breadcrumb_items.html.erb +1 -1
  386. data/app/views/layouts/decidim/header/_menu_breadcrumb_mobile_tablet.html.erb +1 -1
  387. data/app/views/layouts/decidim/header/_mobile_language_choose.html.erb +1 -1
  388. data/app/views/layouts/decidim/mailer.html.erb +2 -2
  389. data/app/views/layouts/decidim/newsletter_base.html.erb +2 -2
  390. data/app/views/layouts/decidim/shared/_layout_two_col.html.erb +3 -1
  391. data/app/views/layouts/decidim/shared/_layout_user_profile.html.erb +7 -3
  392. data/config/assets.rb +3 -3
  393. data/config/initializers/devise.rb +8 -0
  394. data/config/initializers/omniauth.rb +1 -1
  395. data/config/locales/ar.yml +0 -209
  396. data/config/locales/bg.yml +0 -238
  397. data/config/locales/bs-BA.yml +0 -30
  398. data/config/locales/ca-IT.yml +122 -298
  399. data/config/locales/ca.yml +120 -296
  400. data/config/locales/cs.yml +85 -284
  401. data/config/locales/de.yml +112 -286
  402. data/config/locales/el.yml +0 -224
  403. data/config/locales/en.yml +112 -288
  404. data/config/locales/eo.yml +0 -2
  405. data/config/locales/es-MX.yml +112 -288
  406. data/config/locales/es-PY.yml +112 -288
  407. data/config/locales/es.yml +112 -288
  408. data/config/locales/eu.yml +148 -324
  409. data/config/locales/fi-plain.yml +112 -287
  410. data/config/locales/fi.yml +112 -287
  411. data/config/locales/fr-CA.yml +86 -278
  412. data/config/locales/fr.yml +86 -278
  413. data/config/locales/ga-IE.yml +0 -28
  414. data/config/locales/gl.yml +0 -140
  415. data/config/locales/hu.yml +0 -237
  416. data/config/locales/id-ID.yml +0 -136
  417. data/config/locales/is-IS.yml +0 -14
  418. data/config/locales/it.yml +1 -236
  419. data/config/locales/ja.yml +107 -284
  420. data/config/locales/lb.yml +0 -189
  421. data/config/locales/lt.yml +0 -240
  422. data/config/locales/lv.yml +0 -186
  423. data/config/locales/nl.yml +0 -189
  424. data/config/locales/no.yml +0 -189
  425. data/config/locales/pl.yml +0 -244
  426. data/config/locales/pt-BR.yml +0 -213
  427. data/config/locales/pt.yml +0 -189
  428. data/config/locales/ro-RO.yml +54 -218
  429. data/config/locales/ru.yml +1 -62
  430. data/config/locales/sk.yml +0 -164
  431. data/config/locales/sl.yml +1 -0
  432. data/config/locales/sr-CS.yml +0 -31
  433. data/config/locales/sv.yml +80 -263
  434. data/config/locales/tr-TR.yml +0 -189
  435. data/config/locales/uk.yml +0 -23
  436. data/config/locales/zh-CN.yml +0 -180
  437. data/config/locales/zh-TW.yml +0 -229
  438. data/config/routes.rb +3 -36
  439. data/db/migrate/20250217192438_convert_user_groups_into_users.rb +38 -0
  440. data/db/migrate/20250221085317_add_user_type_to_action_logs.rb +12 -0
  441. data/db/migrate/20250221090905_create_decidim_api_jwt_denylist.rb +11 -0
  442. data/db/migrate/20250221091348_add_api_key_to_decidim_api_user.rb +7 -0
  443. data/db/migrate/20250327143657_remove_metrics_content_blocks.rb +9 -0
  444. data/db/migrate/20250401153444_enable_pkce.rb +8 -0
  445. data/db/migrate/20250416130426_rename_doorkeeper_scopes.rb +25 -0
  446. data/db/migrate/20250515105231_rename_endorsements_to_likes.rb +62 -0
  447. data/db/migrate/20250523104311_move_cta_to_hero_content_block.rb +34 -0
  448. data/db/migrate/20250527122040_move_highlighted_content_banner_settings_to_content_block.rb +69 -0
  449. data/db/migrate/20250603103953_add_refresh_tokens_enabled_to_doorkeeper_applications.rb +7 -0
  450. data/db/migrate/20250609073104_remove_not_null_on_active_storage_blobs_checksum.active_storage.rb +10 -0
  451. data/db/migrate/20250613122148_remove_hashtag_table_from_core.rb +7 -0
  452. data/decidim-core.gemspec +4 -4
  453. data/{app/helpers → lib}/decidim/action_authorization_helper.rb +5 -4
  454. data/lib/decidim/amendable.rb +4 -4
  455. data/lib/decidim/api/functions/user_entity_finder.rb +1 -1
  456. data/lib/decidim/api/input_filters/component_input_filter.rb +3 -3
  457. data/lib/decidim/api/input_filters/user_entity_input_filter.rb +0 -21
  458. data/lib/decidim/api/input_sorts/has_likeable_input_sort.rb +15 -0
  459. data/lib/decidim/api/interfaces/attachable_collection_interface.rb +13 -0
  460. data/lib/decidim/api/interfaces/author_interface.rb +1 -2
  461. data/lib/decidim/api/interfaces/authorable_interface.rb +2 -2
  462. data/lib/decidim/api/interfaces/coauthorable_interface.rb +1 -1
  463. data/lib/decidim/api/interfaces/component_interface.rb +6 -0
  464. data/lib/decidim/api/interfaces/followable_interface.rb +13 -0
  465. data/lib/decidim/api/interfaces/likeable_interface.rb +19 -0
  466. data/lib/decidim/api/interfaces/localizable_interface.rb +18 -0
  467. data/lib/decidim/api/interfaces/participatory_space_interface.rb +6 -8
  468. data/lib/decidim/api/interfaces/referable_interface.rb +13 -0
  469. data/lib/decidim/api/interfaces/timestamps_interface.rb +0 -1
  470. data/lib/decidim/api/interfaces/traceable_interface.rb +1 -1
  471. data/lib/decidim/api/types/attachment_collection_type.rb +14 -0
  472. data/lib/decidim/api/types/organization_type.rb +3 -1
  473. data/lib/decidim/api/types/session_type.rb +0 -5
  474. data/lib/decidim/api/types/statistic_type.rb +29 -3
  475. data/lib/decidim/api/types/trace_version_type.rb +1 -1
  476. data/lib/decidim/api/types/user_type.rb +1 -2
  477. data/lib/decidim/api_response_helper.rb +12 -0
  478. data/lib/decidim/asset_router/storage.rb +10 -12
  479. data/lib/decidim/assets/tailwind/instance.rb +1 -1
  480. data/lib/decidim/assets/tailwind/tailwind.config.js.erb +4 -3
  481. data/lib/decidim/attribute_encryptor.rb +1 -1
  482. data/lib/decidim/attributes/time_with_zone.rb +1 -1
  483. data/lib/decidim/authorable.rb +5 -34
  484. data/lib/decidim/coauthorable.rb +13 -31
  485. data/lib/decidim/content_parsers/blob_parser.rb +1 -1
  486. data/lib/decidim/content_parsers/mention_resource_parser.rb +23 -0
  487. data/lib/decidim/content_parsers/tag_parser.rb +2 -2
  488. data/lib/decidim/content_parsers/user_parser.rb +2 -2
  489. data/lib/decidim/content_parsers.rb +14 -2
  490. data/lib/decidim/content_processor.rb +1 -1
  491. data/lib/decidim/content_renderers/mention_resource_renderer.rb +77 -0
  492. data/lib/decidim/content_renderers.rb +1 -2
  493. data/lib/decidim/core/api.rb +7 -8
  494. data/lib/decidim/core/content_blocks/registry_manager.rb +19 -5
  495. data/lib/decidim/core/engine.rb +72 -105
  496. data/lib/decidim/core/menu.rb +0 -7
  497. data/lib/decidim/core/seeds.rb +11 -39
  498. data/lib/decidim/core/test/factories.rb +24 -128
  499. data/lib/decidim/core/test/shared_examples/authorable.rb +0 -17
  500. data/lib/decidim/core/test/shared_examples/coauthorable.rb +5 -48
  501. data/lib/decidim/core/test/shared_examples/comments_examples.rb +7 -80
  502. data/lib/decidim/core/test/shared_examples/likeable.rb +22 -0
  503. data/lib/decidim/core/test/shared_examples/manage_share_tokens_examples.rb +16 -3
  504. data/lib/decidim/core/test/shared_examples/map_examples.rb +1 -1
  505. data/lib/decidim/core/test/shared_examples/oauth_application_examples.rb +137 -0
  506. data/lib/decidim/core/test/shared_examples/participatory_space_dropdown_metadata_cell_examples.rb +0 -18
  507. data/lib/decidim/core/test/shared_examples/permissions.rb +0 -46
  508. data/lib/decidim/core/test/shared_examples/reports_examples.rb +2 -2
  509. data/lib/decidim/core/test/shared_examples/{resource_endorsed_event_examples.rb → resource_liked_event_examples.rb} +7 -7
  510. data/lib/decidim/core/test/shared_examples/resource_search_examples.rb +0 -14
  511. data/lib/decidim/core/test/shared_examples/searchable_results_examples.rb +8 -34
  512. data/lib/decidim/core/test/shared_examples/social_share_examples.rb +79 -0
  513. data/lib/decidim/core/test/shared_examples/system_like_resource_examples.rb +192 -0
  514. data/lib/decidim/core/test/shared_examples/uncommentable_component_examples.rb +2 -2
  515. data/lib/decidim/core/test/shared_examples/{with_endorsable_permissions_examples.rb → with_likeable_permissions_examples.rb} +22 -22
  516. data/lib/decidim/core/test.rb +6 -9
  517. data/lib/decidim/core/version.rb +1 -1
  518. data/lib/decidim/core.rb +237 -88
  519. data/lib/decidim/deprecations.rb +1 -1
  520. data/lib/decidim/download_your_data_serializers.rb +6 -3
  521. data/lib/decidim/env.rb +3 -1
  522. data/lib/decidim/events.rb +0 -1
  523. data/lib/decidim/form_builder.rb +27 -44
  524. data/lib/decidim/gamification/badge_scorer.rb +0 -2
  525. data/lib/decidim/gamification.rb +1 -1
  526. data/lib/decidim/has_conversations.rb +0 -44
  527. data/lib/decidim/has_workflows.rb +42 -0
  528. data/lib/decidim/icon_registry.rb +4 -4
  529. data/lib/decidim/legacy_form_builder.rb +17 -2
  530. data/lib/decidim/likeable.rb +24 -0
  531. data/lib/decidim/manifest_registry.rb +1 -1
  532. data/lib/decidim/map/provider/dynamic_map/here.rb +0 -19
  533. data/lib/decidim/map/provider/static_map/here.rb +2 -10
  534. data/lib/decidim/menu.rb +1 -1
  535. data/lib/decidim/moderation_tools.rb +1 -1
  536. data/lib/decidim/mutation_registry.rb +17 -0
  537. data/lib/decidim/newsletter_encryptor.rb +1 -1
  538. data/lib/decidim/oauth/token_generator.rb +35 -0
  539. data/lib/decidim/oauth.rb +7 -0
  540. data/lib/decidim/organization_settings.rb +2 -10
  541. data/lib/decidim/paddable.rb +1 -1
  542. data/lib/decidim/participatory_space_resourceable.rb +2 -2
  543. data/lib/decidim/participatory_space_user.rb +1 -1
  544. data/lib/decidim/pdf_signature_example.rb +108 -0
  545. data/lib/decidim/query.rb +1 -1
  546. data/lib/decidim/query_extensions.rb +0 -33
  547. data/lib/decidim/reportable.rb +1 -1
  548. data/lib/decidim/searchable.rb +4 -2
  549. data/lib/decidim/seeds.rb +8 -0
  550. data/lib/decidim/settings_manifest.rb +3 -2
  551. data/lib/decidim/{webpacker → shakapacker}/configuration.rb +4 -8
  552. data/lib/decidim/{webpacker → shakapacker}/runner.rb +3 -3
  553. data/lib/decidim/shakapacker/shakapacker.rb +8 -0
  554. data/lib/decidim/{webpacker → shakapacker}/shakapacker.yml +3 -1
  555. data/lib/decidim/{webpacker → shakapacker}/webpack/custom.js +1 -1
  556. data/lib/decidim/shakapacker.rb +34 -0
  557. data/lib/decidim/social_share_service_manifest.rb +7 -12
  558. data/lib/decidim/stats_registry.rb +15 -3
  559. data/{app/helpers → lib}/decidim/tooltip_helper.rb +3 -3
  560. data/lib/decidim/url_option_resolver.rb +1 -1
  561. data/lib/decidim/view_model.rb +0 -3
  562. data/lib/decidim/webpacker.rb +11 -20
  563. data/lib/decidim/workflow_registry.rb +61 -0
  564. data/lib/tasks/decidim_participants_tasks.rake +22 -0
  565. data/lib/tasks/{decidim_webpacker_tasks.rake → decidim_shakapacker_tasks.rake} +35 -33
  566. data/lib/tasks/decidim_tasks.rake +4 -1
  567. data/lib/tasks/decidim_taxonomies.rake +0 -34
  568. data/lib/tasks/upgrade/clean.rake +1 -12
  569. data/lib/tasks/upgrade/decidim_action_log_valuation_assignment.rake +13 -0
  570. data/lib/tasks/upgrade/decidim_change_valuator_tasks.rake +12 -0
  571. data/lib/tasks/upgrade/{decidim_deduplicate_endorsements.rake → decidim_deduplicate_likes.rake} +10 -10
  572. data/lib/tasks/upgrade/decidim_migrate_wysiwyg_content.rake +2 -2
  573. data/lib/tasks/upgrade/decidim_paper_trail_valuation_assignment.rake +13 -0
  574. data/lib/tasks/upgrade/user_groups_migration.rake +155 -0
  575. metadata +204 -259
  576. data/app/cells/decidim/author/badge.erb +0 -6
  577. data/app/cells/decidim/author/endorsements.erb +0 -4
  578. data/app/cells/decidim/author/profile_minicard.erb +0 -30
  579. data/app/cells/decidim/content_blocks/organization_metrics_cell.rb +0 -21
  580. data/app/cells/decidim/content_blocks/participatory_space_metrics/content.erb +0 -18
  581. data/app/cells/decidim/content_blocks/participatory_space_metrics_cell.rb +0 -43
  582. data/app/cells/decidim/endorsement_block/show.erb +0 -3
  583. data/app/cells/decidim/endorsement_buttons/button_content.erb +0 -2
  584. data/app/cells/decidim/endorsement_buttons/select_identity_button.erb +0 -7
  585. data/app/cells/decidim/endorsement_buttons/show.erb +0 -17
  586. data/app/cells/decidim/endorsement_buttons_cell.rb +0 -87
  587. data/app/cells/decidim/endorsers_list/empty.erb +0 -3
  588. data/app/cells/decidim/endorsers_list/show.erb +0 -20
  589. data/app/cells/decidim/endorsers_list_cell.rb +0 -64
  590. data/app/cells/decidim/group_admins/show.erb +0 -34
  591. data/app/cells/decidim/group_admins_cell.rb +0 -8
  592. data/app/cells/decidim/group_members/show.erb +0 -46
  593. data/app/cells/decidim/group_members_cell.rb +0 -8
  594. data/app/cells/decidim/groups/show.erb +0 -14
  595. data/app/cells/decidim/groups_cell.rb +0 -22
  596. data/app/cells/decidim/members/show.erb +0 -12
  597. data/app/cells/decidim/members_cell.rb +0 -34
  598. data/app/cells/decidim/profile_actions/dropdown_actions.erb +0 -21
  599. data/app/cells/decidim/represent_user_group/show.erb +0 -11
  600. data/app/cells/decidim/represent_user_group_cell.rb +0 -46
  601. data/app/cells/decidim/user_conversation/conversation_header.erb +0 -14
  602. data/app/cells/decidim/user_conversation/messages.erb +0 -1
  603. data/app/cells/decidim/user_conversation/new.erb +0 -6
  604. data/app/cells/decidim/user_conversation/reply.erb +0 -9
  605. data/app/cells/decidim/user_conversation/show.erb +0 -19
  606. data/app/cells/decidim/user_conversation/start.erb +0 -12
  607. data/app/cells/decidim/user_conversation_cell.rb +0 -62
  608. data/app/cells/decidim/user_conversations/new_conversation_button.erb +0 -20
  609. data/app/cells/decidim/user_conversations/show.erb +0 -13
  610. data/app/cells/decidim/user_conversations_cell.rb +0 -28
  611. data/app/cells/decidim/user_group_pending_invitations_list/show.erb +0 -28
  612. data/app/cells/decidim/user_group_pending_invitations_list_cell.rb +0 -26
  613. data/app/cells/decidim/user_group_pending_requests_list/show.erb +0 -27
  614. data/app/cells/decidim/user_group_pending_requests_list_cell.rb +0 -26
  615. data/app/commands/decidim/accept_group_invitation.rb +0 -43
  616. data/app/commands/decidim/accept_user_group_join_request.rb +0 -53
  617. data/app/commands/decidim/create_user_group.rb +0 -73
  618. data/app/commands/decidim/demote_membership.rb +0 -57
  619. data/app/commands/decidim/endorse_resource.rb +0 -66
  620. data/app/commands/decidim/invite_user_to_group.rb +0 -63
  621. data/app/commands/decidim/join_user_group.rb +0 -57
  622. data/app/commands/decidim/leave_user_group.rb +0 -47
  623. data/app/commands/decidim/promote_membership.rb +0 -55
  624. data/app/commands/decidim/reject_group_invitation.rb +0 -42
  625. data/app/commands/decidim/reject_user_group_join_request.rb +0 -53
  626. data/app/commands/decidim/remove_user_from_group.rb +0 -53
  627. data/app/commands/decidim/unendorse_resource.rb +0 -39
  628. data/app/commands/decidim/update_user_group.rb +0 -72
  629. data/app/controllers/concerns/decidim/user_groups.rb +0 -23
  630. data/app/controllers/decidim/endorsements_controller.rb +0 -71
  631. data/app/controllers/decidim/group_email_confirmations_controller.rb +0 -32
  632. data/app/controllers/decidim/group_invites_controller.rb +0 -104
  633. data/app/controllers/decidim/group_members_controller.rb +0 -75
  634. data/app/controllers/decidim/groups_controller.rb +0 -99
  635. data/app/controllers/decidim/own_user_groups_controller.rb +0 -15
  636. data/app/controllers/decidim/user_conversations_controller.rb +0 -133
  637. data/app/controllers/decidim/user_group_join_requests_controller.rb +0 -72
  638. data/app/events/decidim/demoted_membership_event.rb +0 -28
  639. data/app/events/decidim/invited_to_group_event.rb +0 -62
  640. data/app/events/decidim/join_request_accepted_event.rb +0 -28
  641. data/app/events/decidim/join_request_created_event.rb +0 -28
  642. data/app/events/decidim/join_request_rejected_event.rb +0 -28
  643. data/app/events/decidim/promoted_to_admin_event.rb +0 -28
  644. data/app/events/decidim/removed_from_group_event.rb +0 -28
  645. data/app/events/decidim/resource_endorsed_event.rb +0 -36
  646. data/app/events/decidim/user_group_admin_event.rb +0 -37
  647. data/app/events/decidim/user_group_created_event.rb +0 -6
  648. data/app/events/decidim/user_group_updated_event.rb +0 -6
  649. data/app/forms/decidim/invite_user_to_group_form.rb +0 -29
  650. data/app/forms/decidim/user_group_form.rb +0 -87
  651. data/app/helpers/decidim/cta_button_helper.rb +0 -31
  652. data/app/helpers/decidim/endorsable_helper.rb +0 -84
  653. data/app/helpers/decidim/twitter_search_helper.rb +0 -14
  654. data/app/helpers/decidim/user_group_helper.rb +0 -22
  655. data/app/jobs/decidim/metric_job.rb +0 -15
  656. data/app/models/decidim/metric.rb +0 -25
  657. data/app/models/decidim/user_group.rb +0 -217
  658. data/app/models/decidim/user_group_membership.rb +0 -17
  659. data/app/packs/entrypoints/decidim_widget.js +0 -1
  660. data/app/packs/src/decidim/abide_form_validator_fixer.js +0 -44
  661. data/app/packs/src/decidim/account_form.js +0 -96
  662. data/app/packs/src/decidim/append_elements.js +0 -6
  663. data/app/packs/src/decidim/back_to_list.js +0 -26
  664. data/app/packs/src/decidim/change_report_form_behavior.js +0 -45
  665. data/app/packs/src/decidim/clipboard.js +0 -128
  666. data/app/packs/src/decidim/editor/extensions/hashtag/index.js +0 -66
  667. data/app/packs/src/decidim/editor/extensions/heading/index.js +0 -33
  668. data/app/packs/src/decidim/editor/test/extensions/hashtag.test.js +0 -105
  669. data/app/packs/src/decidim/form_filter.component_for_testing.js +0 -7
  670. data/app/packs/src/decidim/form_validator.js +0 -56
  671. data/app/packs/src/decidim/gallery.js +0 -5
  672. data/app/packs/src/decidim/impersonation.js +0 -23
  673. data/app/packs/src/decidim/input_autojump.js +0 -38
  674. data/app/packs/src/decidim/input_hashtags.js +0 -91
  675. data/app/packs/src/decidim/input_mentions.js +0 -143
  676. data/app/packs/src/decidim/input_multiple_mentions.js +0 -115
  677. data/app/packs/src/decidim/input_tags.js +0 -16
  678. data/app/packs/src/decidim/notifications_actions.js +0 -40
  679. data/app/packs/src/decidim/password_toggler.js +0 -104
  680. data/app/packs/src/decidim/remote_tooltips.js +0 -38
  681. data/app/packs/src/decidim/responsive_horizontal_tabs.js +0 -12
  682. data/app/packs/src/decidim/scroll_to_last_child.js +0 -14
  683. data/app/packs/src/decidim/slug_form.js +0 -9
  684. data/app/packs/src/decidim/sticky_footer.js +0 -48
  685. data/app/packs/src/decidim/sticky_header.js +0 -62
  686. data/app/packs/src/decidim/toggle.js +0 -37
  687. data/app/packs/src/decidim/tooltips.js +0 -152
  688. data/app/packs/src/decidim/user_registrations.js +0 -65
  689. data/app/packs/src/decidim/vizzs/areachart.js +0 -251
  690. data/app/packs/src/decidim/vizzs/index.js +0 -82
  691. data/app/packs/src/decidim/widget.js +0 -14
  692. data/app/packs/stylesheets/decidim/_hashtags.scss +0 -5
  693. data/app/packs/stylesheets/decidim/_metrics.scss +0 -70
  694. data/app/packs/stylesheets/decidim/_modal_identities.scss +0 -23
  695. data/app/presenters/decidim/admin_log/user_group_presenter.rb +0 -31
  696. data/app/presenters/decidim/hashtag_presenter.rb +0 -37
  697. data/app/presenters/decidim/metric_charts_presenter.rb +0 -92
  698. data/app/presenters/decidim/metric_object_presenter.rb +0 -32
  699. data/app/presenters/decidim/user_group_presenter.rb +0 -38
  700. data/app/queries/decidim/metric_manage.rb +0 -81
  701. data/app/queries/decidim/metric_measure.rb +0 -36
  702. data/app/queries/decidim/metrics/blocked_users_metric_manage.rb +0 -26
  703. data/app/queries/decidim/metrics/followers_metric_manage.rb +0 -65
  704. data/app/queries/decidim/metrics/participants_metric_manage.rb +0 -79
  705. data/app/queries/decidim/metrics/reported_users_metric_manage.rb +0 -26
  706. data/app/queries/decidim/metrics/user_reports_metric_manage.rb +0 -26
  707. data/app/queries/decidim/metrics/users_metric_manage.rb +0 -26
  708. data/app/queries/decidim/user_groups/accepted_memberships.rb +0 -36
  709. data/app/queries/decidim/user_groups/accepted_user_groups.rb +0 -38
  710. data/app/queries/decidim/user_groups/accepted_users.rb +0 -36
  711. data/app/queries/decidim/user_groups/admin_memberships.rb +0 -37
  712. data/app/queries/decidim/user_groups/invited_memberships.rb +0 -36
  713. data/app/queries/decidim/user_groups/manageable_user_groups.rb +0 -39
  714. data/app/queries/decidim/user_groups/member_memberships.rb +0 -37
  715. data/app/resolvers/decidim/core/metric_resolver.rb +0 -71
  716. data/app/resolvers/decidim/hashtags_resolver.rb +0 -15
  717. data/app/serializers/decidim/exporters/open_data_metric_serializer.rb +0 -22
  718. data/app/serializers/decidim/exporters/open_data_user_group_serializer.rb +0 -38
  719. data/app/views/decidim/endorsements/_identity.html.erb +0 -4
  720. data/app/views/decidim/endorsements/identities.html.erb +0 -18
  721. data/app/views/decidim/endorsements/update_buttons_and_counters.js.erb +0 -25
  722. data/app/views/decidim/group_invites/index.html.erb +0 -26
  723. data/app/views/decidim/groups/_form.html.erb +0 -17
  724. data/app/views/decidim/groups/edit.html.erb +0 -19
  725. data/app/views/decidim/groups/new.html.erb +0 -23
  726. data/app/views/decidim/messaging/conversation_mailer/comanagers_new_conversation.html.erb +0 -17
  727. data/app/views/decidim/messaging/conversation_mailer/comanagers_new_message.html.erb +0 -17
  728. data/app/views/decidim/messaging/conversation_mailer/new_group_conversation.html.erb +0 -17
  729. data/app/views/decidim/messaging/conversation_mailer/new_group_message.html.erb +0 -17
  730. data/app/views/decidim/own_user_groups/index.html.erb +0 -10
  731. data/app/views/decidim/shared/_extended_navigation_bar.html.erb +0 -50
  732. data/app/views/decidim/user_conversations/index.html.erb +0 -4
  733. data/app/views/decidim/user_conversations/show.html.erb +0 -4
  734. data/app/views/decidim/user_conversations/update.js.erb +0 -8
  735. data/config/initializers/new_framework_defaults_7_0.rb +0 -145
  736. data/db/migrate/20250819110800_convert_private_exports_id_to_uuid.rb +0 -55
  737. data/lib/decidim/api/input_filters/has_hastaggable_input_filter.rb +0 -15
  738. data/lib/decidim/api/input_sorts/has_endorsable_input_sort.rb +0 -15
  739. data/lib/decidim/api/interfaces/endorsable_interface.rb +0 -19
  740. data/lib/decidim/api/types/hashtag_type.rb +0 -13
  741. data/lib/decidim/api/types/metric_history_type.rb +0 -20
  742. data/lib/decidim/api/types/metric_type.rb +0 -13
  743. data/lib/decidim/api/types/user_group_type.rb +0 -55
  744. data/lib/decidim/content_parsers/hashtag_parser.rb +0 -66
  745. data/lib/decidim/content_parsers/user_group_parser.rb +0 -33
  746. data/lib/decidim/content_renderers/hashtag_renderer.rb +0 -78
  747. data/lib/decidim/content_renderers/user_group_renderer.rb +0 -31
  748. data/lib/decidim/core/test/shared_examples/amendable_interface_examples.rb +0 -14
  749. data/lib/decidim/core/test/shared_examples/amendable_proposals_interface_examples.rb +0 -50
  750. data/lib/decidim/core/test/shared_examples/assembly_announcements_examples.rb +0 -38
  751. data/lib/decidim/core/test/shared_examples/attachable_interface_examples.rb +0 -16
  752. data/lib/decidim/core/test/shared_examples/authorable_interface_examples.rb +0 -59
  753. data/lib/decidim/core/test/shared_examples/categories_container_examples.rb +0 -22
  754. data/lib/decidim/core/test/shared_examples/categorizable_interface_examples.rb +0 -27
  755. data/lib/decidim/core/test/shared_examples/coauthorable_interface_examples.rb +0 -91
  756. data/lib/decidim/core/test/shared_examples/endorsable.rb +0 -69
  757. data/lib/decidim/core/test/shared_examples/endorsable_interface_examples.rb +0 -22
  758. data/lib/decidim/core/test/shared_examples/fingerprintable_interface_examples.rb +0 -17
  759. data/lib/decidim/core/test/shared_examples/input_filter_examples.rb +0 -118
  760. data/lib/decidim/core/test/shared_examples/input_sort_examples.rb +0 -126
  761. data/lib/decidim/core/test/shared_examples/metric_manage_shared_context.rb +0 -9
  762. data/lib/decidim/core/test/shared_examples/participatory_space_resourcable_interface_examples.rb +0 -43
  763. data/lib/decidim/core/test/shared_examples/process_announcements_examples.rb +0 -37
  764. data/lib/decidim/core/test/shared_examples/scopable_interface_examples.rb +0 -19
  765. data/lib/decidim/core/test/shared_examples/system_endorse_resource_examples.rb +0 -298
  766. data/lib/decidim/core/test/shared_examples/taxonomizable_interface_examples.rb +0 -20
  767. data/lib/decidim/core/test/shared_examples/timestamps_interface_examples.rb +0 -21
  768. data/lib/decidim/core/test/shared_examples/traceable_interface_examples.rb +0 -47
  769. data/lib/decidim/download_your_data_serializers/download_your_data_user_group_serializer.rb +0 -21
  770. data/lib/decidim/endorsable.rb +0 -29
  771. data/lib/decidim/events/user_group_event.rb +0 -43
  772. data/lib/decidim/hashtag.rb +0 -13
  773. data/lib/decidim/metric_manifest.rb +0 -35
  774. data/lib/decidim/metric_operation.rb +0 -58
  775. data/lib/decidim/metric_operation_manifest.rb +0 -21
  776. data/lib/decidim/metric_registry.rb +0 -109
  777. data/lib/gem_overrides/shakapacker/runner.rb +0 -9
  778. data/lib/tasks/decidim_metrics_tasks.rake +0 -89
  779. data/lib/tasks/upgrade/decidim_fix_action_log.rake +0 -28
  780. /data/app/cells/decidim/{endorsement_buttons/disabled_endorsements.erb → like_buttons/disabled_likes.erb} +0 -0
  781. /data/app/packs/src/decidim/{configuration.js → refactor/implementation/configuration.js} +0 -0
  782. /data/app/packs/src/decidim/{external_domain_warning.js → refactor/implementation/external_domain_warning.js} +0 -0
  783. /data/app/packs/src/decidim/{autocomplete.js → refactor/moved/autocomplete.js} +0 -0
  784. /data/app/packs/src/decidim/{delayed.js → refactor/moved/delayed.js} +0 -0
  785. /data/app/packs/src/decidim/{focus_guard.js → refactor/moved/focus_guard.js} +0 -0
  786. /data/app/packs/src/decidim/{history.js → refactor/moved/history.js} +0 -0
  787. /data/app/packs/src/decidim/{i18n.js → refactor/moved/i18n.js} +0 -0
  788. /data/lib/decidim/core/test/shared_examples/{endorsements_controller_shared_context.rb → likes_controller_shared_context.rb} +0 -0
  789. /data/{app/helpers → lib}/decidim/resource_helper.rb +0 -0
  790. /data/lib/decidim/{webpacker → shakapacker}/esbuild.config.js +0 -0
  791. /data/lib/decidim/{webpacker → shakapacker}/postcss.config.js +0 -0
  792. /data/lib/decidim/{webpacker → shakapacker}/tsconfig.json +0 -0
  793. /data/lib/decidim/{webpacker → shakapacker}/webpack/.modernizrrc +0 -0
  794. /data/lib/decidim/{webpacker → shakapacker}/webpack/webpack.config.js +0 -0
@@ -54,8 +54,6 @@ en:
54
54
  personal_url: Personal URL
55
55
  remove_avatar: Remove avatar
56
56
  tos_agreement: Terms of service agreement
57
- user_group:
58
- avatar: Avatar
59
57
  errors:
60
58
  models:
61
59
  user:
@@ -75,9 +73,8 @@ en:
75
73
  decidim/promote_to_admin: Promoted to group admin
76
74
  decidim/promoted_to_admin_event: Promoted to group admin
77
75
  decidim/removed_from_group: Removed from group
78
- decidim/resource_endorsed_event: Resource endorsed
79
76
  decidim/resource_hidden_event: Resource hidden
80
- decidim/user_group_created_event: User group created
77
+ decidim/resource_liked_event: Resource liked
81
78
  decidim/welcome_notification_event: Welcome message
82
79
  activerecord:
83
80
  attributes:
@@ -99,15 +96,12 @@ en:
99
96
  decidim/amendment:
100
97
  one: Amendment
101
98
  other: Amendments
102
- decidim/endorsement:
103
- one: Endorsement
104
- other: Endorsements
99
+ decidim/like:
100
+ one: Like
101
+ other: Likes
105
102
  decidim/user:
106
103
  one: Participant
107
104
  other: Participants
108
- decidim/user_group:
109
- one: Group
110
- other: Groups
111
105
  booleans:
112
106
  'false': 'No'
113
107
  'true': 'Yes'
@@ -201,10 +195,10 @@ en:
201
195
  leaving_authorizations_behind: Some data bound to your authorization will be saved for security. If you create another account and authorize again, this data will be recovered to your new account.
202
196
  destroy:
203
197
  error: There was a problem deleting your account.
198
+ inactive_account_removal_reason: Account removed after %{inactivity_period} days of inactivity
204
199
  success: Your account was successfully deleted.
205
200
  download_your_data_export:
206
201
  export_expired: The export has expired. Try to generate a new export.
207
- export_not_found: The export you have accessed does not exist, or you do not have access to download it
208
202
  file_no_exists: File does not exist
209
203
  notice: The download of your data is currently in progress. You will receive an email when it is complete.
210
204
  email_change:
@@ -401,7 +395,6 @@ en:
401
395
  has been withdrawn by the author.
402
396
  name: Amendment
403
397
  new:
404
- amendment_author: Amendment author
405
398
  send: Create
406
399
  title: Create Amendment Draft
407
400
  preview_draft:
@@ -453,9 +446,9 @@ en:
453
446
  comments:
454
447
  one: comment
455
448
  other: comments
456
- endorsements:
457
- one: endorsement
458
- other: endorsements
449
+ likes:
450
+ one: like
451
+ other: likes
459
452
  official_author: Official
460
453
  authorization_handlers:
461
454
  another_dummy_authorization_handler:
@@ -602,9 +595,21 @@ en:
602
595
  name: Hero image and CTA
603
596
  hero_settings_form:
604
597
  background_image: Background image
598
+ cta_button_path: Call To Action button URL
599
+ cta_button_path_help: 'You can overwrite where the Call To Action button in the homepage links to. Use partial paths, not full URLs here. Accepts letters, numbers, dashes and slashes, and must start with a letter. The Call To Action button is shown in the homepage between the welcome text and the description. Example: %{url}'
600
+ cta_button_text: Call To Action button text
601
+ cta_button_text_help: You can overwrite the Call To Action button text in the homepage for each available language in your organization. If not set, the default value will be used. The Call To Action button is shown in the homepage between the welcome text and the description.
605
602
  welcome_text: Welcome text
606
603
  highlighted_content_banner:
607
604
  name: Highlighted content banner
605
+ highlighted_content_banner_settings_form:
606
+ action_button_subtitle: Action button subtitle
607
+ action_button_title: Action button title
608
+ action_button_url: Action button URL
609
+ background_image: Background image
610
+ short_description: Short description
611
+ subtitle: Subtitle
612
+ title: Title
608
613
  highlighted_elements_settings_form:
609
614
  components:
610
615
  all: All
@@ -628,10 +633,6 @@ en:
628
633
  name: Main data
629
634
  metadata:
630
635
  name: Metadata
631
- metrics:
632
- name: Organization metrics
633
- participatory_space_metrics:
634
- name: Metrics
635
636
  participatory_space_stats:
636
637
  name: Statistics
637
638
  social_networks_metadata:
@@ -729,6 +730,7 @@ en:
729
730
  doorkeeper:
730
731
  authorizations:
731
732
  new:
733
+ api_read: Read content through the API
732
734
  authorize: Authorize application
733
735
  by_organization_link_html: by %{link}
734
736
  cancel: Cancel
@@ -788,12 +790,6 @@ en:
788
790
  moderation: The moderation that this report has
789
791
  reason: The reason of this report
790
792
  updated_at: The date and time when this report was last updated
791
- user_groups:
792
- document_number: The document number of this user group
793
- id: The unique identifier of this user group
794
- name: The name of this user group
795
- phone: The phone number of this user group
796
- verified_at: The date and time when this user group was verified
797
793
  users:
798
794
  about: The biography of this user
799
795
  accepted_tos_version: The date when the Terms of Service of this platform was accepted by the user
@@ -856,20 +852,6 @@ en:
856
852
  error: Error uploading image.
857
853
  success: Image uploaded successfully.
858
854
  drag_and_drop_help: Add images by dragging & dropping or pasting them.
859
- endorsement_buttons_cell:
860
- already_endorsed: Undo the like
861
- endorse: Like
862
- endorsements:
863
- identities:
864
- done: Done
865
- select_identity: Select identity
866
- endorsers_list:
867
- endorsed_by:
868
- one: Liked by %{visible}
869
- other: Liked by %{visible} and %{others}
870
- others: "%{count} more"
871
- title: Liked by
872
- you: you
873
855
  ephemeral_user: Visitor
874
856
  errors:
875
857
  files:
@@ -971,52 +953,6 @@ en:
971
953
  email_outro: You have received this notification because you made activity on our website.
972
954
  email_subject: You have reached level %{current_level} on the %{badge_name} badge!
973
955
  notification_title: Congratulations! You have reached level %{current_level} on the <a href="%{resource_path}">%{badge_name} badge</a>!
974
- groups:
975
- demoted_membership:
976
- email_intro: An admin of the <a href="%{resource_url}">%{user_group_name}</a> group has removed your admin rights to that group.
977
- email_outro: You have received this notification because you are a member of that group.
978
- email_subject: You are no longer an admin of the %{user_group_name} group!
979
- notification_title: You are no longer an admin of the <a href="%{resource_path}">%{user_group_name}</a> group.
980
- invited_to_group:
981
- email_intro: An admin of the <a href="%{resource_url}">%{user_group_name}</a> group has invited you to join it.
982
- email_outro: You have received this notification because you have been invited to an group. Please check the Groups tab in your profile to approve it.
983
- email_subject: You have been invited to join the %{user_group_name} group!
984
- notification_title: You have been invited to join the <a href="%{resource_path}">%{user_group_name}</a> group. Check the <a href="%{groups_profile_tab_path}">Groups page</a> in your profile to approve it!
985
- join_request_accepted:
986
- email_intro: Congratulations! An admin of the <a href="%{resource_url}">%{user_group_name}</a> group has accepted your request to join it.
987
- email_outro: You have received this notification because your join request has been updated.
988
- email_subject: You have been accepted to the %{user_group_name} group!
989
- notification_title: You have been accepted to the <a href="%{resource_path}">%{user_group_name}</a> group.
990
- join_request_created:
991
- email_intro: Someone requested to join the %{user_group_name} group. You can accept or reject it from <a href="%{resource_url}">the group members page</a>.
992
- email_outro: You have received this notification because you can manage the %{user_group_name} group.
993
- email_subject: Someone requested to join the %{user_group_name} group!
994
- notification_title: Someone requested to join the %{user_group_name} group. You can accept or reject it from <a href="%{resource_path}">the group members page</a>.
995
- join_request_rejected:
996
- email_intro: An admin of the <a href="%{resource_url}">%{user_group_name}</a> group rejected your request to join it.
997
- email_outro: You have received this notification because your join request has been updated.
998
- email_subject: Your request to join the %{user_group_name} group has been rejected!
999
- notification_title: Your request to join the <a href="%{resource_path}">%{user_group_name}</a> group has been rejected.
1000
- promoted_to_admin:
1001
- email_intro: An admin of the <a href="%{resource_url}">%{user_group_name}</a> group has given you admin rights to that group.
1002
- email_outro: You have received this notification because you are a member of that group.
1003
- email_subject: You are now an admin of the %{user_group_name} group!
1004
- notification_title: You are now an admin of the <a href="%{resource_path}">%{user_group_name}</a> group.
1005
- removed_from_group:
1006
- email_intro: An admin of the <a href="%{resource_url}">%{user_group_name}</a> group has removed you from it.
1007
- email_outro: You have received this notification because you were a member of that group.
1008
- email_subject: You have been removed from the %{user_group_name} group!
1009
- notification_title: You have been removed from the <a href="%{resource_path}">%{user_group_name}</a> group.
1010
- user_group_created:
1011
- 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>.
1012
- email_outro: You have received this notification because you are an admin of the platform.
1013
- email_subject: A new user group has been created
1014
- 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>.
1015
- user_group_updated:
1016
- 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>.
1017
- email_outro: You have received this notification because you are an admin of the platform.
1018
- email_subject: A user group has updated its profile
1019
- 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>.
1020
956
  nickname_event:
1021
957
  notification_body: We have corrected the way nicknames are used so that there are no duplicates, and that is 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>.
1022
958
  notification_event:
@@ -1039,11 +975,11 @@ en:
1039
975
  notification_title: |-
1040
976
  An administrator removed your %{resource_type} because it has been reported as %{report_reasons}.</br>
1041
977
  <i>%{resource_content}</i>
1042
- resource_endorsed:
1043
- 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:'
1044
- email_outro: You have received this notification because you are following %{endorser_nickname}. You can stop receiving notifications following the previous link.
1045
- email_subject: "%{endorser_nickname} has performed a new endorsement"
1046
- 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>.
978
+ resource_liked:
979
+ email_intro: '%{liker_name} %{liker_nickname}, who you are following, has just liked "%{resource_title}" and we think it may be interesting to you. Check it out and contribute:'
980
+ email_outro: You have received this notification because you are following %{liker_nickname}. You can stop receiving notifications following the previous link.
981
+ email_subject: "%{liker_nickname} has performed a new like"
982
+ notification_title: The <a href="%{resource_path}">%{resource_title}</a> %{resource_type} has been liked by <a href="%{liker_path}">%{liker_name} %{liker_nickname}</a>.
1047
983
  resources:
1048
984
  soft_deleted:
1049
985
  notification_title: An admin has deleted your "%{resource_type}" "%{resource_title}".
@@ -1176,101 +1112,11 @@ en:
1176
1112
  level: Level %{level}
1177
1113
  reached_top: You have reached the top level for this badge.
1178
1114
  title: What are the badges?
1179
- group_admins:
1180
- actions:
1181
- confirm_modal:
1182
- ok_add: Add an administrator
1183
- ok_remove: Remove the administrator
1184
- title_add: Confirm the new administrator
1185
- title_remove: Remove the administrator
1186
- confirm_remove_from_admin: Are you sure you want to remove the administrator from this group?
1187
- demote_admin: Remove admin
1188
- demote:
1189
- error: There was a problem removing this participant from the admins list.
1190
- success: Participant successfully removed from admin.
1191
- index:
1192
- current_admins: 'Current admins:'
1193
- manage_admins: Manage admins
1194
- group_invites:
1195
- accept:
1196
- error: There was a problem accepting this invitation.
1197
- success: Invitation successfully accepted.
1198
- accept_invitation: Accept
1199
- accept_or_reject_group_invitations: 'The following groups have invited you to join them. Accept or reject their requests:'
1200
- index:
1201
- invite: Invite
1202
- invite_user: Invite a participant
1203
- invite:
1204
- error: There was a problem inviting this participant.
1205
- success: Participant successfully invited.
1206
- pending_invitations: Pending requests
1207
- reject:
1208
- error: There was a problem rejecting this invitation.
1209
- success: Invitation successfully rejected.
1210
- reject_invitation: Reject
1211
- group_members:
1212
- accept:
1213
- error: There was a problem accepting this join request.
1214
- success: Join request successfully accepted.
1215
- actions:
1216
- confirm_modal:
1217
- ok_remove: Remove the member
1218
- title_remove: Remove the member
1219
- confirm_promote_to_admin: Are you sure you want to add this user as an administrator?
1220
- confirm_remove_from_group: Are you sure you want to remove the user from this group?
1221
- promote_to_admin: Make admin
1222
- remove_from_group: Remove participant
1223
- index:
1224
- current_members_without_admins: 'Current members (without admins):'
1225
- manage_members: Manage members
1226
- promote:
1227
- error: There was a problem promoting this participant.
1228
- success: Participant promoted successfully.
1229
- reject:
1230
- error: There was a problem rejecting this join request.
1231
- success: Join request successfully rejected.
1232
- remove:
1233
- error: There was a problem removing this participant from the group.
1234
- success: Participant successfully removed from the group.
1235
1115
  groups:
1236
- actions:
1237
- are_you_sure: Are you sure?
1238
- create:
1239
- error: There was a problem creating the group.
1240
- success: Group successfully created.
1241
- edit:
1242
- edit_user_group: Edit group
1243
- update_user_group: Update group
1244
- form:
1245
- document_number_help: Do not use dashes nor spaces.
1246
- email_help: Email of your organization, association, collective, group, etc.
1247
- fill_in_for_verification: 'Fill in these fields if you want your group to be verified:'
1248
- name_help: Name of your organization, association, collective, group, etc.
1249
- nickname_help: Nickname of your organization, association, collective, group, etc. Do not use spaces nor accents.
1250
- phone_help: Do not use dashes nor spaces.
1251
- join:
1252
- error: There was a problem joining the group.
1253
- success: Join request successfully created. An admin will review your request before accepting you to the group.
1254
- leave:
1255
- error: There was a problem leaving the group.
1256
- last_admin: You cannot remove yourself from this group as you are the last administrator. Make another member an administrator in order to leave the group.
1257
- success: Group successfully abandoned.
1258
- members:
1259
- accept_or_reject_join_requests: 'The following users have applied to join this group. Accept or reject their requests:'
1260
- accept_request: Accept
1261
- reject_request: Reject
1262
- new:
1263
- create_user_group: Create group
1264
- new_user_group: New group
1265
- subtitle: Create a group and invite other users to join to participate in a collective level.
1266
- no_user_groups: Does not belong to any group yet.
1267
1116
  roles:
1268
1117
  admin: Administrator
1269
1118
  creator: Administrator
1270
1119
  member: Member
1271
- update:
1272
- error: There was a problem updating the group.
1273
- success: Group successfully updated.
1274
1120
  help:
1275
1121
  main_topic:
1276
1122
  default_page:
@@ -1284,6 +1130,16 @@ en:
1284
1130
  last_activity: Last activity
1285
1131
  name: Last activities
1286
1132
  no_activities_warning: There are no entries to show for this activity type.
1133
+ like_buttons_cell:
1134
+ already_liked: Undo the like
1135
+ like: Like
1136
+ likes_list:
1137
+ liked_by:
1138
+ one: Liked by %{visible}
1139
+ other: Liked by %{visible} and %{others}
1140
+ others: "%{count} more"
1141
+ title: Liked by
1142
+ you: you
1287
1143
  linked_resource_from:
1288
1144
  included_in: Included in
1289
1145
  links:
@@ -1300,7 +1156,6 @@ en:
1300
1156
  create_with_space: "%{user_name} created %{resource_name} in %{space_name}"
1301
1157
  delete: "%{user_name} deleted %{resource_name}"
1302
1158
  delete_with_space: "%{user_name} deleted %{resource_name} in %{space_name}"
1303
- publish: "%{user_name} published %{resource_name}"
1304
1159
  publish_with_space: "%{user_name} published %{resource_name} in %{space_name}"
1305
1160
  unknown_action: "%{user_name} performed some action on %{resource_name}"
1306
1161
  unknown_action_with_space: "%{user_name} performed some action on %{resource_name} in %{space_name}"
@@ -1332,42 +1187,16 @@ en:
1332
1187
  static:
1333
1188
  latlng_text: 'latitude: %{latitude}, longitude: %{longitude}'
1334
1189
  map_service_brand: OpenStreetMap
1335
- members:
1336
- no_members: This group does not have any members yet.
1337
1190
  menu:
1338
1191
  help: Help
1339
1192
  home: Home
1340
1193
  messaging:
1341
1194
  conversation_mailer:
1342
- comanagers_new_conversation:
1343
- admin_in_group: You are receiving this because you are an admin in %{group}.
1344
- greeting: Hi, %{recipient}!
1345
- intro: "%{manager} has started a new conversation in the name of %{group}. Click here to see it:"
1346
- outro: Enjoy the platform!
1347
- subject: "%{manager} has started a new conversation as a %{group}"
1348
- comanagers_new_message:
1349
- admin_in_group: You are receiving this because you are an admin in %{group}.
1350
- greeting: Hi, %{recipient}!
1351
- intro: "%{manager} has posted new messages in a conversation in the name of %{group}. Click here to see them:"
1352
- outro: Enjoy the platform!
1353
- subject: "%{manager} has send new messages as a %{group}"
1354
1195
  new_conversation:
1355
1196
  greeting: Hi, %{recipient}!
1356
1197
  intro: "%{sender} has started a new conversation with you. Click here to see it:"
1357
1198
  outro: Enjoy the platform!
1358
1199
  subject: "%{sender} has started a conversation with you"
1359
- new_group_conversation:
1360
- admin_in_group: You are receiving this because you are an admin in %{group}.
1361
- greeting: Hi, %{recipient}!
1362
- intro: "%{sender} has started a new conversation with the group %{group}. Click here to see it:"
1363
- outro: Enjoy the platform!
1364
- subject: "%{sender} has started a conversation with %{group}"
1365
- new_group_message:
1366
- admin_in_group: You are receiving this because you are an admin in %{group}.
1367
- greeting: Hi, %{recipient}!
1368
- intro: "%{sender} has posted new messages in a conversation with the group %{group}. Click here to see it:"
1369
- outro: Enjoy the platform!
1370
- subject: "%{group} have new messages from %{sender}"
1371
1200
  new_message:
1372
1201
  greeting: Hi, %{recipient}!
1373
1202
  intro: "%{sender} has posted new messages in your conversation. Click here to see them:"
@@ -1380,6 +1209,8 @@ en:
1380
1209
  modal_title: New conversation
1381
1210
  no_results: No results
1382
1211
  participant_with_disabled_message_reception: This participant does not want to receive private messages.
1212
+ participants:
1213
+ title: Participants
1383
1214
  create:
1384
1215
  error: Conversation not started. Try again later.
1385
1216
  error_modal:
@@ -1412,27 +1243,6 @@ en:
1412
1243
  finished: 'Finished: %{end_date}'
1413
1244
  not_started: Not started yet
1414
1245
  remaining: "%{time_distance} remaining"
1415
- metrics:
1416
- blocked_users:
1417
- description: Number of blocked participants
1418
- download:
1419
- csv: Download data (CSV)
1420
- followers:
1421
- description: Number of participants that follow this participation space
1422
- object: followers
1423
- title: Followers
1424
- participants:
1425
- description: Number of active participants in organization
1426
- object: participants
1427
- title: Participants
1428
- reported_users:
1429
- description: Number of reported participants
1430
- user_reports:
1431
- description: Number of reports done by participants
1432
- users:
1433
- description: Number of participants in organization
1434
- object: participants
1435
- title: Participants
1436
1246
  newsletter_mailer:
1437
1247
  newsletter:
1438
1248
  no_reply_notice: This email was sent from a notification email address that cannot accept incoming email. Please do not reply to this message.
@@ -1513,6 +1323,7 @@ en:
1513
1323
  assigned_to_proposal: I want to receive an email when someone assigns me a proposal to evaluate
1514
1324
  direct_messages: Receive direct messages from anyone
1515
1325
  email_on_moderations: I want to receive an email every time something or someone is reported for moderation.
1326
+ evaluators: Evaluators
1516
1327
  everything_followed: Everything I follow
1517
1328
  newsletter_notifications: I want to receive newsletters
1518
1329
  newsletters: Newsletters
@@ -1529,7 +1340,6 @@ en:
1529
1340
  push_notifications_reminder: To get notifications from the platform, you will need to allow them in your browser settings first.
1530
1341
  receive_notifications_about: I want to get notifications about
1531
1342
  update_notifications_settings: Save changes
1532
- valuators: Evaluators
1533
1343
  update:
1534
1344
  error: There was a problem updating your notifications settings.
1535
1345
  success: Your notifications settings were successfully updated.
@@ -1554,14 +1364,13 @@ en:
1554
1364
  core:
1555
1365
  components: Components
1556
1366
  description: This ZIP file contains files for studying and researching about this participation platform.
1367
+ generated_on_date: Generated on %{date}
1557
1368
  main: Core
1369
+ resources:
1370
+ one: "%{count} resource"
1371
+ other: "%{count} resources"
1558
1372
  spaces: Spaces
1559
1373
  title: Open Data files for %{organization}
1560
- metrics:
1561
- cumulative: The total number of the metric at this day
1562
- day: The day this metric was created
1563
- metric_type: The type of the metric
1564
- quantity: The number of the metrics for this day
1565
1374
  moderated_users:
1566
1375
  about: The about field of the user
1567
1376
  block_reasons: The reason why the admin user blocked the user
@@ -1592,16 +1401,6 @@ en:
1592
1401
  taxonomizations_count: The count of the resources that use this taxonomy
1593
1402
  updated_at: The date when this taxonomy was updated for the last time
1594
1403
  weight: The order in which this taxonomy is shown
1595
- user_groups:
1596
- avatar_url: The avatar of the user group
1597
- badge: The badge of the user group
1598
- deleted: Whether the user is deleted or not
1599
- id: The unique identifier of the user group
1600
- members: The id and name of the users belonging to the group
1601
- members_count: The number of the users belonging to the user group
1602
- name: The display name of user group
1603
- nickname: The username of the user group
1604
- profile_url: The profile url
1605
1404
  users:
1606
1405
  about: The about text of the user
1607
1406
  avatar_url: The avatar of the user
@@ -1685,7 +1484,7 @@ en:
1685
1484
  participate_title: Participate in the platform's processes
1686
1485
  welcome: Welcome to %{organization}!
1687
1486
  statistics:
1688
- headline: Current state of %{organization}
1487
+ headline: Statistics
1689
1488
  sub_hero:
1690
1489
  register: Register
1691
1490
  register_title: Create an account
@@ -1694,10 +1493,6 @@ en:
1694
1493
  subheading: Navigate through the help pages of %{name}
1695
1494
  title: Help
1696
1495
  topics: Topics
1697
- participatory_space:
1698
- metrics:
1699
- headline: Metrics
1700
- link: Show all
1701
1496
  terms_of_service:
1702
1497
  accept:
1703
1498
  error: There was a problem accepting the terms of service.
@@ -1715,6 +1510,26 @@ en:
1715
1510
  alert: We have updated our Terms of Service, please review them.
1716
1511
  body: Please take a moment to review updates to our Terms of Services. Otherwise you will not be able to use the platform.
1717
1512
  title: 'Required: Review updates to our terms of service'
1513
+ participants_account_mailer:
1514
+ inactivity_notification:
1515
+ body_html: |
1516
+ <p>Our records indicate you created a %{organization_name} account on <strong>%{date_account_creation}</strong> and have not been active since <strong>%{date_last_connection}</strong>.</p>
1517
+ <p>To protect your privacy, this account has been scheduled for automatic deletion in <strong>%{days} days</strong>.</p>
1518
+ <p>If you wish to keep your %{organization_name} account, simply %{login_url} before this time, and your account will be preserved.<p>
1519
+ greetings_html: |
1520
+ Kind regards,<br>
1521
+ %{organization_name}
1522
+ hello_html: Dear <strong>%{username}</strong>,
1523
+ log_in: log in
1524
+ never_logged_in: never logged in
1525
+ subject: Inactive account warning
1526
+ removal_notification:
1527
+ body: Your %{organization_name} account has been deleted due to inactivity.
1528
+ greetings_html: |
1529
+ Kind regards,<br>
1530
+ %{organization_name}
1531
+ hello: Dear %{username},
1532
+ subject: Inactive account deleted
1718
1533
  passwords:
1719
1534
  update:
1720
1535
  error: There was a problem updating the password.
@@ -1723,7 +1538,6 @@ en:
1723
1538
  deleted: Deleted participant
1724
1539
  inaccessible_message: This profile is inaccessible due to terms of service violation!
1725
1540
  profiles:
1726
- default_officialization_text_for_user_groups: This group is publicly verified, its name has been verified to correspond with its real name.
1727
1541
  default_officialization_text_for_users: This participant is publicly verified, his/her name or role has been verified to correspond with his/her real name and role.
1728
1542
  show:
1729
1543
  activity: Activity
@@ -1731,28 +1545,18 @@ en:
1731
1545
  conversations: Conversations
1732
1546
  followers: Followers
1733
1547
  following: Follows
1734
- group_admins: Manage admins
1735
- group_members: Manage members
1736
- groups: Groups
1737
- members: Members
1738
1548
  officialized: Official participant
1739
1549
  send_private_message: Send private message
1740
1550
  user:
1741
1551
  actions:
1742
- create_user_group: Create group
1743
1552
  disabled_message: Message
1744
1553
  edit_profile: Edit profile
1745
- edit_user_group: Edit group profile
1746
- invite_user: Invite participant
1747
- join_user_group: Request to join group
1748
- leave_user_group: Leave group
1749
- manage_user_group: Manage group
1750
- manage_user_group_admins: Manage admins
1751
- manage_user_group_users: Manage members
1752
1554
  message: Message
1753
1555
  resend_email_confirmation_instructions: Resend email confirmation instructions
1754
- confirmation_instructions_sent: Email confirmation instructions sent.
1755
- fill_in_email_to_confirm_it: Please, fill in your group's email to confirm it.
1556
+ qr:
1557
+ show:
1558
+ scan: Scan the QR code
1559
+ title: QR Code for %{resource_title}
1756
1560
  reported_mailer:
1757
1561
  hidden_automatically:
1758
1562
  content: Reported content
@@ -1795,16 +1599,18 @@ en:
1795
1599
  report_details: The parent resource was hidden
1796
1600
  resource:
1797
1601
  controls_label: Resource controls
1798
- resource_endorsements:
1602
+ resource_autocomplete:
1603
+ help: Type to search proposals
1604
+ resource_likes:
1799
1605
  create:
1800
- error: There was a problem during the endorsement action.
1606
+ error: There was a problem during the like action.
1801
1607
  scopes:
1802
1608
  global: Global scope
1803
1609
  prompt: Select a scope
1804
1610
  search:
1805
1611
  name: Search
1806
1612
  results: Search results
1807
- results_found_for_term: '%{count} Results for the search: "%{term}"'
1613
+ results_found_for_term: '%{count} results for the search: "%{term}"'
1808
1614
  term_input_placeholder: Search
1809
1615
  searches:
1810
1616
  filters:
@@ -1826,6 +1632,10 @@ en:
1826
1632
  selfxss_warning:
1827
1633
  description: This browser feature is meant for developers and you should not paste anything here if you were asked to do so. Pasting content in this window can compromise your privacy and give hackers access to your account.
1828
1634
  title: Stop!
1635
+ share_widget:
1636
+ download: Download
1637
+ print: Print poster
1638
+ qr_code: QR Code
1829
1639
  shared:
1830
1640
  confirm_modal:
1831
1641
  cancel: Cancel
@@ -1835,9 +1645,6 @@ en:
1835
1645
  confirm_unload: This page contains unsaved changes. Are you sure you want to leave this page?
1836
1646
  embed:
1837
1647
  title: Embedded video content
1838
- extended_navigation_bar:
1839
- more: More
1840
- unfold: Unfold
1841
1648
  filter_form_help:
1842
1649
  help: The form below filters the search results dynamically when the search conditions are changed.
1843
1650
  skip: Skip to results
@@ -1877,9 +1684,6 @@ en:
1877
1684
  public_participation: Show my attendance publicly
1878
1685
  reference:
1879
1686
  reference: 'Reference: %{reference}'
1880
- represent_user_group:
1881
- represent_user_group: I represent a group
1882
- select_user_group: Select a group
1883
1687
  results_per_page:
1884
1688
  label: 'Results per page:'
1885
1689
  title: Select number of results per page
@@ -1887,20 +1691,25 @@ en:
1887
1691
  copy_share_link: Copy
1888
1692
  copy_share_link_clarification: Copy share link to clipboard
1889
1693
  copy_share_link_copied: Copied!
1694
+ copy_share_link_cta: Or copy link
1890
1695
  copy_share_link_message: The link was successfully copied to clipboard.
1891
1696
  share: Share
1892
1697
  share_link: Share link
1893
1698
  share_to: Share to %{service}
1894
1699
  statistics:
1895
1700
  comments_count: Comments
1896
- endorsements_count: Endorsements
1701
+ comments_count_tooltip: The total number of comments posted in this space.
1897
1702
  followers_count: Followers
1703
+ followers_count_tooltip: The number of users following any part of this space to stay updated.
1898
1704
  headline: Statistics
1705
+ likes_count: Likes
1899
1706
  no_stats: There are no statistics yet.
1900
1707
  pages_count: Pages
1901
1708
  participants_count: Participants
1709
+ participants_count_tooltip: The number of unique users who have interacted in this space by submitting proposals, attending meetings, voting, or joining discussions.
1902
1710
  surveys_count: Surveys
1903
1711
  users_count: Participants
1712
+ users_count_tooltip: The total number of users who have signed up and confirmed their account via email.
1904
1713
  tags:
1905
1714
  filter_results_for_taxonomy: 'Filter results for: %{resource}'
1906
1715
  taxonomies:
@@ -1914,19 +1723,28 @@ en:
1914
1723
  no_activities_warning: This participant does not have any activity yet.
1915
1724
  user_contact_disabled: This participant does not accept direct messages.
1916
1725
  user_conversations:
1917
- create:
1918
- error: The message could not be created. Try again later.
1919
- existing_error: The message could not be created. The conversation already exists, please try again now.
1920
- success: Conversation started successfully!
1921
1726
  index:
1922
- 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.
1923
- no_conversations_warning: There are no conversations yet.
1924
1727
  time_ago: "%{time} ago"
1925
- reply:
1926
- placeholder: Your reply...
1927
- send: Send
1928
- update:
1929
- error: Message not sent. Try again later
1728
+ user_group_mailer:
1729
+ notify_deprecation_to_member:
1730
+ body_1: 'We are reaching out to inform you about an important update to the User Group you are a member of: <strong>%{group_name}</strong>.'
1731
+ body_2: As part of our efforts to simplify the experience for organizations, the "User Groups" feature is being deprecated. Your User Group profile has now been converted into a regular participant profile.
1732
+ greeting: Dear %{name},
1733
+ instructions_1: If you have access to that email account, please check your inbox for the instructions.
1734
+ instructions_intro: We have sent instructions to the email associated with the account to set a new password for the profile.
1735
+ instructions_title: "<strong>What This Means for You</strong>"
1736
+ subject: User group you are member of important update
1737
+ notify_deprecation_to_owner:
1738
+ body_1: We are reaching out to inform you about an important update regarding your Group profile on %{organization_name}.
1739
+ body_2: As part of our efforts to simplify and improve the experience for organizations like yours, we are deprecating the "User Groups" feature. Your Group, <strong>%{name}</strong>, has been converted into a regular account.
1740
+ body_3: To continue accessing your account, we need you to set a password.
1741
+ greeting: Dear %{name},
1742
+ instructions_1: 'Click the link below to start the password setup process:'
1743
+ instructions_2: On the form, enter the email address where you received this message and submit the request.
1744
+ instructions_3: Check your inbox for an email with further instructions to set your new password.
1745
+ instructions_title: "<strong>What You Need to Do</strong>"
1746
+ set_password: Start Password Setting Process
1747
+ subject: User group important update
1930
1748
  user_report_mailer:
1931
1749
  notify:
1932
1750
  body_1: User %{user} has been reported by %{token}
@@ -2298,15 +2116,17 @@ en:
2298
2116
  social_media: Social media
2299
2117
  terms_of_service: Terms of Service
2300
2118
  header:
2119
+ back: Back
2301
2120
  close: Close
2302
- confirm_close_ephemeral_session: If you navigate out of this page, your session will be closed. Are you sure?
2121
+ confirm_close_ephemeral_session: If you navigate away, your temporary session will be closed. However, all your progress and activity will be saved. If you have finished your activity, click Ok.
2122
+ confirm_title_close_ephemeral_session: Before leaving this page…
2303
2123
  log_in: Log in
2304
2124
  main_menu: Main menu
2305
2125
  user_menu: User menu
2306
2126
  impersonation_warning:
2307
2127
  close_session: Close session
2308
2128
  description_html: You are managing the participant <b>%{user_name}</b>.
2309
- expire_time_html: Your session will expire in <b><span class="minutes">%{minutes}</span> minutes</b>.
2129
+ expire_time_html: Your session will expire in <b><span data-impersonation-warning-target="minutes">%{minutes}</span> minutes</b>.
2310
2130
  language_chooser:
2311
2131
  choose_language: Choose language
2312
2132
  navigation:
@@ -2347,10 +2167,14 @@ en:
2347
2167
  notifications_settings: Notifications settings
2348
2168
  profile: Profile
2349
2169
  title: Participant settings
2350
- user_groups: Groups
2351
2170
  locale:
2352
2171
  name: English
2353
2172
  name_with_error: English (error!)
2173
+ number:
2174
+ currency:
2175
+ format:
2176
+ format: "%u %n"
2177
+ format_html: "<span>%u</span> %n"
2354
2178
  password_validator:
2355
2179
  denied: is denied
2356
2180
  domain_included_in_password: is too similar to this domain name