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