decidim-core 0.28.4 → 0.29.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (679) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/app/cells/decidim/activities_cell.rb +0 -1
  4. data/app/cells/decidim/activity_cell.rb +5 -7
  5. data/app/cells/decidim/address/online.erb +2 -2
  6. data/app/cells/decidim/address_cell.rb +3 -9
  7. data/app/cells/decidim/amendable/amend_button_card_cell.rb +0 -2
  8. data/app/cells/decidim/amendable/amendments_cell.rb +0 -2
  9. data/app/cells/decidim/amendable/announcement_cell.rb +10 -14
  10. data/app/cells/decidim/amendable/emendation_actions_cell.rb +0 -2
  11. data/app/cells/decidim/amendable/promote_button_card_cell.rb +0 -2
  12. data/app/cells/decidim/amendable/wizard_step_form_cell.rb +6 -19
  13. data/app/cells/decidim/announcement/show.erb +1 -1
  14. data/app/cells/decidim/announcement_cell.rb +6 -2
  15. data/app/cells/decidim/attachments_file_tab/show.erb +3 -0
  16. data/app/cells/decidim/attachments_file_tab_cell.rb +11 -0
  17. data/app/cells/decidim/attachments_link_tab/show.erb +12 -0
  18. data/app/cells/decidim/attachments_link_tab_cell.rb +21 -0
  19. data/app/cells/decidim/author/flag.erb +2 -2
  20. data/app/cells/decidim/author_cell.rb +0 -2
  21. data/app/cells/decidim/authorization_modal_cell.rb +0 -3
  22. data/app/cells/decidim/badge_cell.rb +0 -4
  23. data/app/cells/decidim/badges_cell.rb +0 -2
  24. data/app/cells/decidim/button_cell.rb +0 -3
  25. data/app/cells/decidim/card_cell.rb +1 -5
  26. data/app/cells/decidim/card_g/show.erb +1 -1
  27. data/app/cells/decidim/card_g_cell.rb +4 -7
  28. data/app/cells/decidim/card_l/image.erb +2 -2
  29. data/app/cells/decidim/card_l/space.erb +1 -1
  30. data/app/cells/decidim/card_l_cell.rb +3 -8
  31. data/app/cells/decidim/card_metadata_cell.rb +1 -5
  32. data/app/cells/decidim/card_s_cell.rb +1 -4
  33. data/app/cells/decidim/coauthorships_cell.rb +0 -2
  34. data/app/cells/decidim/comments_button_cell.rb +0 -2
  35. data/app/cells/decidim/content_blocks/footer_sub_hero/show.erb +1 -1
  36. data/app/cells/decidim/content_blocks/footer_sub_hero_cell.rb +0 -3
  37. data/app/cells/decidim/content_blocks/hero/show.erb +1 -1
  38. data/app/cells/decidim/content_blocks/hero_cell.rb +1 -2
  39. data/app/cells/decidim/content_blocks/highlighted_content_banner/show.erb +1 -1
  40. data/app/cells/decidim/content_blocks/highlighted_content_banner_cell.rb +0 -2
  41. data/app/cells/decidim/content_blocks/how_to_participate/show.erb +1 -1
  42. data/app/cells/decidim/content_blocks/how_to_participate_cell.rb +0 -1
  43. data/app/cells/decidim/content_blocks/participatory_space_documents/content.erb +1 -1
  44. data/app/cells/decidim/content_blocks/participatory_space_documents_cell.rb +17 -1
  45. data/app/cells/decidim/content_blocks/participatory_space_hero_cell.rb +2 -4
  46. data/app/cells/decidim/content_blocks/participatory_space_last_activity_cell.rb +1 -3
  47. data/app/cells/decidim/content_blocks/stats/show.erb +1 -1
  48. data/app/cells/decidim/content_blocks/stats_cell.rb +1 -1
  49. data/app/cells/decidim/content_blocks/sub_hero_cell.rb +0 -3
  50. data/app/cells/decidim/date_range/show.erb +10 -10
  51. data/app/cells/decidim/date_range_cell.rb +0 -2
  52. data/app/cells/decidim/diff_cell.rb +0 -1
  53. data/app/cells/decidim/documents_panel/show.erb +4 -0
  54. data/app/cells/decidim/documents_panel_cell.rb +9 -1
  55. data/app/cells/decidim/endorsement_buttons_cell.rb +6 -14
  56. data/app/cells/decidim/flag_modal/flag_user.erb +3 -3
  57. data/app/cells/decidim/followers_cell.rb +0 -1
  58. data/app/cells/decidim/following_cell.rb +0 -1
  59. data/app/cells/decidim/footer_topics/show.erb +8 -0
  60. data/app/cells/decidim/footer_topics_cell.rb +39 -0
  61. data/app/cells/decidim/groups_cell.rb +0 -3
  62. data/app/cells/decidim/linked_resources_for_cell.rb +0 -3
  63. data/app/cells/decidim/members_cell.rb +0 -1
  64. data/app/cells/decidim/nav_links/show.erb +3 -3
  65. data/app/cells/decidim/navbar_admin_link_cell.rb +0 -2
  66. data/app/cells/decidim/newsletter_templates/base_cell.rb +0 -1
  67. data/app/cells/decidim/newsletter_templates/basic_only_text/show.erb +2 -2
  68. data/app/cells/decidim/newsletter_templates/image_text_cta/show.erb +2 -2
  69. data/app/cells/decidim/notification/show.erb +5 -0
  70. data/app/cells/decidim/notification_actions/base_cell.rb +13 -0
  71. data/app/cells/decidim/notification_actions/buttons/show.erb +5 -0
  72. data/app/cells/decidim/notification_actions/buttons_cell.rb +41 -0
  73. data/app/cells/decidim/notification_cell.rb +9 -3
  74. data/app/cells/decidim/notifications_cell.rb +0 -1
  75. data/app/cells/decidim/pad_iframe/show.erb +2 -2
  76. data/app/cells/decidim/pad_iframe_cell.rb +0 -1
  77. data/app/cells/decidim/participatory_space_dropdown_metadata_cell.rb +1 -2
  78. data/app/cells/decidim/photo_cell.rb +1 -5
  79. data/app/cells/decidim/photos_list_cell.rb +0 -2
  80. data/app/cells/decidim/profile_cell.rb +0 -2
  81. data/app/cells/decidim/profile_sidebar/show.erb +20 -20
  82. data/app/cells/decidim/profile_sidebar_cell.rb +1 -10
  83. data/app/cells/decidim/progress_bar/show.erb +8 -6
  84. data/app/cells/decidim/public_participation/show.erb +1 -1
  85. data/app/cells/decidim/report_button/flag_modal.erb +1 -1
  86. data/app/cells/decidim/resource_types_filter/show.erb +12 -11
  87. data/app/cells/decidim/resource_types_filter_cell.rb +0 -2
  88. data/app/cells/decidim/scopes_picker/show.erb +1 -1
  89. data/app/cells/decidim/scopes_picker_cell.rb +0 -1
  90. data/app/cells/decidim/search_results_cell.rb +1 -1
  91. data/app/cells/decidim/statistic_cell.rb +0 -2
  92. data/app/cells/decidim/tab_panels/show.erb +1 -1
  93. data/app/cells/decidim/tab_panels_cell.rb +12 -2
  94. data/app/cells/decidim/tags_cell.rb +0 -2
  95. data/app/cells/decidim/tos_page_cell.rb +0 -3
  96. data/app/cells/decidim/translation_bar/show.erb +1 -1
  97. data/app/cells/decidim/translation_bar_cell.rb +0 -2
  98. data/app/cells/decidim/upload_modal/files.erb +1 -1
  99. data/app/cells/decidim/upload_modal_cell.rb +1 -3
  100. data/app/cells/decidim/user_conversation/new.erb +1 -1
  101. data/app/cells/decidim/user_conversation/show.erb +1 -1
  102. data/app/cells/decidim/user_conversation_cell.rb +0 -1
  103. data/app/cells/decidim/user_conversations/show.erb +1 -1
  104. data/app/cells/decidim/user_conversations_cell.rb +0 -1
  105. data/app/cells/decidim/user_group_pending_invitations_list_cell.rb +0 -1
  106. data/app/cells/decidim/user_group_pending_requests_list_cell.rb +0 -1
  107. data/app/cells/decidim/user_timeline/show.erb +1 -1
  108. data/app/cells/decidim/version_cell.rb +3 -5
  109. data/app/cells/decidim/versions_list_cell.rb +1 -3
  110. data/app/cells/decidim/versions_list_item_cell.rb +2 -4
  111. data/app/cells/decidim/wizard_step_form/wizard_aside.erb +2 -2
  112. data/app/cells/decidim/wizard_step_form/wizard_header.erb +2 -3
  113. data/app/cells/decidim/wizard_step_form_cell.rb +0 -8
  114. data/app/commands/decidim/amendable/create_draft.rb +4 -4
  115. data/app/commands/decidim/amendable/promote.rb +3 -2
  116. data/app/commands/decidim/amendable/publish_draft.rb +3 -2
  117. data/app/commands/decidim/amendable/update_draft.rb +4 -3
  118. data/app/commands/decidim/amendable/withdraw.rb +1 -1
  119. data/app/commands/decidim/create_follow.rb +4 -4
  120. data/app/commands/decidim/create_omniauth_registration.rb +4 -10
  121. data/app/commands/decidim/create_report.rb +3 -3
  122. data/app/commands/decidim/create_user_report.rb +5 -5
  123. data/app/commands/decidim/delete_follow.rb +4 -4
  124. data/app/commands/decidim/demote_membership.rb +2 -2
  125. data/app/commands/decidim/destroy_account.rb +21 -19
  126. data/app/commands/decidim/endorse_resource.rb +1 -1
  127. data/app/commands/decidim/invite_user_to_group.rb +5 -4
  128. data/app/commands/decidim/update_account.rb +24 -22
  129. data/app/commands/decidim/update_notifications_settings.rb +13 -11
  130. data/app/commands/decidim/update_password.rb +7 -7
  131. data/app/commands/decidim/update_user_interests.rb +9 -7
  132. data/app/controllers/concerns/decidim/devise_authentication_methods.rb +1 -1
  133. data/app/controllers/concerns/decidim/devise_controllers.rb +2 -1
  134. data/app/controllers/concerns/decidim/filter_resource.rb +1 -1
  135. data/app/controllers/concerns/decidim/needs_rtl_direction.rb +23 -0
  136. data/app/controllers/concerns/decidim/paginable.rb +1 -1
  137. data/app/controllers/concerns/decidim/participatory_space_context.rb +1 -23
  138. data/app/controllers/concerns/decidim/payload_info.rb +2 -1
  139. data/app/controllers/concerns/decidim/registers_permissions.rb +4 -4
  140. data/app/controllers/concerns/decidim/use_organization_time_zone.rb +1 -1
  141. data/app/controllers/concerns/decidim/withdrawable.rb +1 -1
  142. data/app/controllers/decidim/account_controller.rb +2 -2
  143. data/app/controllers/{concerns/decidim → decidim}/amendments_controller.rb +3 -16
  144. data/app/controllers/decidim/application_controller.rb +1 -1
  145. data/app/controllers/decidim/components/base_controller.rb +1 -1
  146. data/app/controllers/decidim/devise/invitations_controller.rb +1 -1
  147. data/app/controllers/decidim/devise/passwords_controller.rb +2 -2
  148. data/app/controllers/decidim/endorsements_controller.rb +1 -1
  149. data/app/controllers/decidim/favicon_controller.rb +1 -1
  150. data/app/controllers/decidim/follows_controller.rb +2 -2
  151. data/app/controllers/decidim/group_invites_controller.rb +36 -9
  152. data/app/controllers/decidim/newsletters_opt_in_controller.rb +1 -1
  153. data/app/controllers/decidim/notifications_settings_controller.rb +1 -1
  154. data/app/controllers/decidim/report_users_controller.rb +1 -1
  155. data/app/controllers/decidim/reports_controller.rb +1 -1
  156. data/app/controllers/decidim/user_interests_controller.rb +1 -1
  157. data/app/events/decidim/change_nickname_event.rb +0 -1
  158. data/app/events/decidim/invited_to_group_event.rb +29 -0
  159. data/app/events/decidim/welcome_notification_event.rb +2 -4
  160. data/app/forms/decidim/form.rb +4 -0
  161. data/app/forms/decidim/omniauth_registration_form.rb +1 -1
  162. data/app/forms/decidim/upload_validation_form.rb +2 -2
  163. data/app/helpers/concerns/decidim/flash_helper_extensions.rb +1 -1
  164. data/app/helpers/decidim/amendments_helper.rb +4 -14
  165. data/app/helpers/decidim/application_helper.rb +8 -0
  166. data/app/helpers/decidim/authorization_form_helper.rb +2 -2
  167. data/app/helpers/decidim/breadcrumb_helper.rb +1 -1
  168. data/app/helpers/decidim/cells_helper.rb +1 -1
  169. data/app/helpers/decidim/check_boxes_tree_helper.rb +1 -1
  170. data/app/helpers/decidim/datalist_select_helper.rb +1 -1
  171. data/app/helpers/decidim/decidim_form_helper.rb +3 -3
  172. data/app/helpers/decidim/filters_helper.rb +1 -1
  173. data/app/helpers/decidim/layout_helper.rb +1 -64
  174. data/app/helpers/decidim/localized_locales_helper.rb +1 -1
  175. data/app/helpers/decidim/menu_helper.rb +9 -1
  176. data/app/helpers/decidim/meta_tags_helper.rb +26 -23
  177. data/app/helpers/decidim/modal_helper.rb +1 -1
  178. data/app/helpers/decidim/orders_helper.rb +1 -1
  179. data/app/helpers/decidim/organization_helper.rb +55 -0
  180. data/app/helpers/decidim/paginate_helper.rb +5 -3
  181. data/app/helpers/decidim/resource_helper.rb +0 -7
  182. data/app/helpers/decidim/scopes_helper.rb +3 -4
  183. data/app/helpers/decidim/searches_helper.rb +1 -1
  184. data/app/helpers/decidim/short_link_helper.rb +2 -2
  185. data/app/helpers/decidim/translations_helper.rb +2 -2
  186. data/app/helpers/decidim/twitter_search_helper.rb +1 -1
  187. data/app/helpers/decidim/user_profile_helper.rb +0 -1
  188. data/app/jobs/decidim/email_notifications_digest_generator_job.rb +2 -2
  189. data/app/mailers/decidim/application_mailer.rb +6 -2
  190. data/app/mailers/decidim/block_user_mailer.rb +1 -1
  191. data/app/mailers/decidim/decidim_devise_mailer.rb +7 -1
  192. data/app/mailers/decidim/newsletter_mailer.rb +1 -4
  193. data/app/mailers/decidim/newsletters_opt_in_mailer.rb +2 -2
  194. data/app/mailers/decidim/notification_mailer.rb +0 -1
  195. data/app/mailers/decidim/notifications_digest_mailer.rb +0 -1
  196. data/app/mailers/decidim/reported_mailer.rb +6 -3
  197. data/app/mailers/decidim/user_report_mailer.rb +1 -1
  198. data/app/models/decidim/action_log.rb +2 -12
  199. data/app/models/decidim/area_type.rb +1 -1
  200. data/app/models/decidim/attachment.rb +28 -4
  201. data/app/models/decidim/authorization.rb +1 -1
  202. data/app/models/decidim/authorization_transfer.rb +1 -0
  203. data/app/models/decidim/component.rb +3 -6
  204. data/app/models/decidim/content_block.rb +3 -3
  205. data/app/models/decidim/messaging/message.rb +2 -2
  206. data/app/models/decidim/newsletter.rb +9 -9
  207. data/app/models/decidim/notification.rb +2 -2
  208. data/app/models/decidim/organization.rb +23 -2
  209. data/app/models/decidim/push_notification_message.rb +1 -1
  210. data/app/models/decidim/resource_link.rb +1 -1
  211. data/app/models/decidim/user.rb +14 -14
  212. data/app/models/decidim/user_group.rb +2 -2
  213. data/app/packs/src/decidim/a11y.js +61 -11
  214. data/app/packs/src/decidim/append_redirect_url_to_modals.js +12 -14
  215. data/app/packs/src/decidim/attachments/file_or_link_tabs.js +55 -0
  216. data/app/packs/src/decidim/attachments/index.js +1 -0
  217. data/app/packs/src/decidim/back_to_list.js +1 -1
  218. data/app/packs/src/decidim/check_boxes_tree.js +1 -1
  219. data/app/packs/src/decidim/data_consent/consent_manager.js +1 -1
  220. data/app/packs/src/decidim/data_consent/consent_manager.test.js +6 -6
  221. data/app/packs/src/decidim/data_consent/index.js +1 -1
  222. data/app/packs/src/decidim/datepicker/datepicker_functions.js +243 -0
  223. data/app/packs/src/decidim/datepicker/datepicker_listeners.js +78 -0
  224. data/app/packs/src/decidim/datepicker/form_datepicker.js +91 -0
  225. data/app/packs/src/decidim/datepicker/generate_datepicker.js +148 -0
  226. data/app/packs/src/decidim/datepicker/generate_timepicker.js +298 -0
  227. data/app/packs/src/decidim/datepicker/test/date.test.js +118 -0
  228. data/app/packs/src/decidim/datepicker/test/time.test.js +227 -0
  229. data/app/packs/src/decidim/direct_uploads/upload_modal.js +0 -3
  230. data/app/packs/src/decidim/editor/extensions/indent/index.js +1 -1
  231. data/app/packs/src/decidim/editor/extensions/video_embed/index.js +4 -4
  232. data/app/packs/src/decidim/editor/test/extensions/decidim_kit.test.js +0 -15
  233. data/app/packs/src/decidim/editor/test/extensions/indent.test.js +1 -1
  234. data/app/packs/src/decidim/editor/test/fixtures/upload_templates.js +1 -1
  235. data/app/packs/src/decidim/editor/test/helpers.js +1 -14
  236. data/app/packs/src/decidim/editor/utilities/paste_transform.js +2 -2
  237. data/app/packs/src/decidim/external_domain_warning.js +2 -2
  238. data/app/packs/src/decidim/external_domain_warning.test.js +4 -4
  239. data/app/packs/src/decidim/form_filter.js +4 -4
  240. data/app/packs/src/decidim/impersonation.js +1 -1
  241. data/app/packs/src/decidim/index.js +11 -5
  242. data/app/packs/src/decidim/input_character_counter.js +2 -2
  243. data/app/packs/src/decidim/input_emoji.js +171 -72
  244. data/app/packs/src/decidim/input_hashtags.js +1 -1
  245. data/app/packs/src/decidim/input_mentions.js +1 -1
  246. data/app/packs/src/decidim/notifications_actions.js +40 -0
  247. data/app/packs/src/decidim/sticky_header.js +87 -0
  248. data/app/packs/src/decidim/sw/sw.js +8 -6
  249. data/app/packs/src/decidim/tooltips.js +1 -1
  250. data/app/packs/stylesheets/decidim/_buttons.scss +1 -1
  251. data/app/packs/stylesheets/decidim/_datepicker.scss +193 -0
  252. data/app/packs/stylesheets/decidim/_dropdown.scss +45 -9
  253. data/app/packs/stylesheets/decidim/_emoji.scss +36 -0
  254. data/app/packs/stylesheets/decidim/_filters.scss +4 -2
  255. data/app/packs/stylesheets/decidim/_flash.scss +2 -2
  256. data/app/packs/stylesheets/decidim/_footer.scss +1 -3
  257. data/app/packs/stylesheets/decidim/_forms.scss +13 -5
  258. data/app/packs/stylesheets/decidim/_header.scss +70 -50
  259. data/app/packs/stylesheets/decidim/_home.scss +1 -1
  260. data/app/packs/stylesheets/decidim/_layout.scss +13 -0
  261. data/app/packs/stylesheets/decidim/_modal.scss +1 -1
  262. data/app/packs/stylesheets/decidim/_modal_update.scss +1 -5
  263. data/app/packs/stylesheets/decidim/_notifications.scss +4 -0
  264. data/app/packs/stylesheets/decidim/_tabs_x.scss +5 -1
  265. data/app/packs/stylesheets/decidim/_tooltip.scss +10 -10
  266. data/app/packs/stylesheets/decidim/application.scss +4 -0
  267. data/app/packs/stylesheets/decidim/editor.scss +1 -1
  268. data/app/packs/stylesheets/decidim/legacy/leaflet.scss +1 -1
  269. data/app/packs/stylesheets/decidim/vendor/_datepicker_light.scss +228 -0
  270. data/app/permissions/decidim/default_permissions.rb +2 -2
  271. data/app/presenters/decidim/admin_log/organization_presenter.rb +1 -1
  272. data/app/presenters/decidim/admin_log/static_page_presenter.rb +1 -1
  273. data/app/presenters/decidim/authorization_transfer_presenter.rb +1 -1
  274. data/app/presenters/decidim/component_attachment_collection_presenter.rb +81 -0
  275. data/app/presenters/decidim/footer_menu_presenter.rb +1 -1
  276. data/app/presenters/decidim/home_stats_presenter.rb +1 -1
  277. data/app/presenters/decidim/menu_item_presenter.rb +1 -1
  278. data/app/presenters/decidim/organization_presenter.rb +1 -1
  279. data/app/queries/decidim/last_activity.rb +5 -16
  280. data/app/queries/decidim/metric_measure.rb +1 -1
  281. data/app/queries/decidim/public_activities.rb +1 -1
  282. data/app/queries/decidim/user_groups/admin_memberships.rb +1 -1
  283. data/app/queries/decidim/user_groups/member_memberships.rb +1 -1
  284. data/app/services/decidim/action_logger.rb +3 -3
  285. data/app/services/decidim/download_your_data_exporter.rb +25 -36
  286. data/app/services/decidim/log/diff_changeset_calculator.rb +2 -2
  287. data/app/services/decidim/notifications_digest_sending_decider.rb +1 -1
  288. data/app/services/decidim/open_data_exporter.rb +7 -8
  289. data/app/services/decidim/zip_stream/writer.rb +39 -0
  290. data/app/uploaders/decidim/organization_favicon_uploader.rb +1 -1
  291. data/app/uploaders/decidim/record_image_uploader.rb +2 -2
  292. data/app/validators/organization_present_validator.rb +1 -1
  293. data/app/validators/passthru_validator.rb +1 -1
  294. data/app/validators/uploader_image_dimensions_validator.rb +2 -2
  295. data/app/views/decidim/account/show.html.erb +1 -1
  296. data/app/views/decidim/amendments/_wizard_header.html.erb +1 -2
  297. data/app/views/decidim/application/_collection.html.erb +3 -1
  298. data/app/views/decidim/application/_component_documents.html.erb +4 -0
  299. data/app/views/decidim/application/_document.html.erb +23 -9
  300. data/app/views/decidim/block_user_mailer/notify.html.erb +2 -2
  301. data/app/views/decidim/devise/invitations/edit.html.erb +2 -2
  302. data/app/views/decidim/devise/omniauth_registrations/new.html.erb +2 -2
  303. data/app/views/decidim/devise/registrations/new.html.erb +1 -1
  304. data/app/views/decidim/devise/shared/_login_boxes.html.erb +1 -1
  305. data/app/views/decidim/doorkeeper/authorizations/new.html.erb +1 -1
  306. data/app/views/decidim/endorsements/_identity.html.erb +1 -1
  307. data/app/views/decidim/gamification/badges/index.html.erb +1 -1
  308. data/app/views/decidim/manifests/show.json.erb +4 -4
  309. data/app/views/decidim/messaging/conversations/_add_conversation_users.html.erb +2 -2
  310. data/app/views/decidim/messaging/conversations/_error_modal.html.erb +5 -5
  311. data/app/views/decidim/newsletter_mailer/newsletter.html.erb +1 -1
  312. data/app/views/decidim/newsletters/show.html.erb +1 -1
  313. data/app/views/decidim/newsletters_opt_in_mailer/notify.html.erb +2 -2
  314. data/app/views/decidim/offline/show.html.erb +1 -1
  315. data/app/views/decidim/pages/_tabbed.html.erb +3 -3
  316. data/app/views/decidim/pages/index.html.erb +1 -2
  317. data/app/views/decidim/reported_mailer/report.html.erb +4 -2
  318. data/app/views/decidim/scopes/picker.html.erb +5 -5
  319. data/app/views/decidim/searches/_resources_filter_block.html.erb +6 -6
  320. data/app/views/decidim/shared/_extended_navigation_bar.html.erb +8 -8
  321. data/app/views/decidim/shared/_filters.html.erb +5 -5
  322. data/app/views/decidim/shared/_login_modal.html.erb +1 -1
  323. data/app/views/decidim/shared/_orders.html.erb +2 -3
  324. data/app/views/decidim/shared/filters/_check_boxes_tree.html.erb +1 -1
  325. data/app/views/decidim/shared/filters/_collection.html.erb +1 -1
  326. data/app/views/decidim/user_interests/_areas.html.erb +2 -2
  327. data/app/views/decidim/user_report_mailer/notify.html.erb +2 -2
  328. data/app/views/decidim/user_update_mailer/notify.html.erb +1 -1
  329. data/app/views/decidim/widgets/_data_picker.html.erb +1 -1
  330. data/app/views/devise/mailer/invitation_instructions.html.erb +1 -1
  331. data/app/views/devise/mailer/invitation_instructions.text.erb +1 -1
  332. data/app/views/devise/mailer/invite_admin.html.erb +2 -2
  333. data/app/views/devise/mailer/invite_admin.text.erb +2 -2
  334. data/app/views/devise/mailer/invite_collaborator.html.erb +2 -2
  335. data/app/views/devise/mailer/invite_collaborator.text.erb +2 -2
  336. data/app/views/devise/mailer/invite_private_user.html.erb +2 -2
  337. data/app/views/devise/mailer/invite_private_user.text.erb +2 -2
  338. data/app/views/devise/mailer/organization_admin_invitation_instructions.html.erb +1 -1
  339. data/app/views/devise/mailer/organization_admin_invitation_instructions.text.erb +1 -1
  340. data/app/views/layouts/decidim/_application.html.erb +3 -6
  341. data/app/views/layouts/decidim/_data_consent_warning.html.erb +2 -2
  342. data/app/views/layouts/decidim/_decidim_javascript.html.erb +1 -1
  343. data/app/views/layouts/decidim/_head.html.erb +1 -1
  344. data/app/views/layouts/decidim/_head_extra.html.erb +2 -2
  345. data/app/views/layouts/decidim/_impersonation_warning.html.erb +1 -1
  346. data/app/views/layouts/decidim/_js_configuration.html.erb +7 -2
  347. data/app/views/layouts/decidim/_logo.html.erb +2 -2
  348. data/app/views/layouts/decidim/_logo_mobile.html.erb +11 -0
  349. data/app/views/layouts/decidim/_mailer_logo.html.erb +2 -2
  350. data/app/views/layouts/decidim/_meta_tags_config.html.erb +1 -1
  351. data/app/views/layouts/decidim/_wrapper.html.erb +16 -9
  352. data/app/views/layouts/decidim/footer/_main.html.erb +2 -3
  353. data/app/views/layouts/decidim/footer/_main_intro.html.erb +2 -2
  354. data/app/views/layouts/decidim/footer/_main_legal.html.erb +2 -3
  355. data/app/views/layouts/decidim/footer/_main_links.html.erb +13 -11
  356. data/app/views/layouts/decidim/footer/_main_social_media_links.html.erb +8 -8
  357. data/app/views/layouts/decidim/header/_main.html.erb +9 -22
  358. data/app/views/layouts/decidim/header/_main_links_desktop.html.erb +4 -5
  359. data/app/views/layouts/decidim/header/_main_links_mobile_account.html.erb +11 -4
  360. data/app/views/layouts/decidim/header/_main_links_mobile_item_account.html.erb +24 -0
  361. data/app/views/layouts/decidim/header/_main_links_mobile_search.html.erb +0 -21
  362. data/app/views/layouts/decidim/header/_main_menu_mobile.html.erb +12 -0
  363. data/app/views/layouts/decidim/header/_menu_breadcrumb_desktop.html.erb +1 -1
  364. data/app/views/layouts/decidim/header/_menu_breadcrumb_main_dropdown_mobile.html.erb +17 -0
  365. data/app/views/layouts/decidim/header/_menu_breadcrumb_main_dropdown_top_left.html.erb +1 -1
  366. data/app/views/layouts/decidim/header/_menu_breadcrumb_mobile_tablet.html.erb +1 -1
  367. data/app/views/layouts/decidim/header/_menu_form_search_mobile.html.erb +16 -0
  368. data/app/views/layouts/decidim/header/_mobile_language_choose.html.erb +25 -0
  369. data/app/views/layouts/decidim/mailer.html.erb +2 -2
  370. data/app/views/layouts/decidim/shared/_layout_center.html.erb +1 -1
  371. data/app/views/layouts/decidim/shared/_layout_item.html.erb +0 -14
  372. data/app/views/layouts/decidim/shared/_layout_user_profile.html.erb +2 -2
  373. data/config/initializers/active_storage.rb +3 -0
  374. data/config/initializers/devise.rb +1 -1
  375. data/config/initializers/new_framework_defaults_7_0.rb +145 -0
  376. data/config/locales/ar.yml +3 -42
  377. data/config/locales/bg.yml +56 -57
  378. data/config/locales/ca.yml +69 -58
  379. data/config/locales/cs.yml +54 -58
  380. data/config/locales/de.yml +65 -54
  381. data/config/locales/el.yml +1 -29
  382. data/config/locales/en.yml +69 -58
  383. data/config/locales/es-MX.yml +68 -57
  384. data/config/locales/es-PY.yml +68 -57
  385. data/config/locales/es.yml +67 -56
  386. data/config/locales/eu.yml +71 -60
  387. data/config/locales/fi-plain.yml +70 -59
  388. data/config/locales/fi.yml +94 -83
  389. data/config/locales/fr-CA.yml +61 -56
  390. data/config/locales/fr.yml +56 -51
  391. data/config/locales/ga-IE.yml +0 -11
  392. data/config/locales/gl.yml +1 -18
  393. data/config/locales/hu.yml +37 -56
  394. data/config/locales/id-ID.yml +0 -14
  395. data/config/locales/is-IS.yml +0 -13
  396. data/config/locales/it.yml +0 -25
  397. data/config/locales/ja.yml +70 -59
  398. data/config/locales/lb.yml +0 -25
  399. data/config/locales/lt.yml +1 -48
  400. data/config/locales/lv.yml +0 -21
  401. data/config/locales/nl.yml +0 -24
  402. data/config/locales/no.yml +0 -25
  403. data/config/locales/pl.yml +68 -56
  404. data/config/locales/pt-BR.yml +5 -250
  405. data/config/locales/pt.yml +0 -25
  406. data/config/locales/ro-RO.yml +49 -89
  407. data/config/locales/ru.yml +0 -15
  408. data/config/locales/sk.yml +0 -21
  409. data/config/locales/sl.yml +0 -8
  410. data/config/locales/sv.yml +159 -600
  411. data/config/locales/tr-TR.yml +4 -27
  412. data/config/locales/uk.yml +0 -10
  413. data/config/locales/zh-CN.yml +0 -22
  414. data/config/locales/zh-TW.yml +1 -47
  415. data/config/routes.rb +0 -1
  416. data/db/migrate/20170128112958_change_user_groups_verified_to_timestamp.rb +1 -1
  417. data/db/migrate/20181025082245_add_timestamps_to_components.rb +1 -5
  418. data/db/migrate/20240110150230_rename_external_domain_whitelist_to_external_domain_allowlist.rb +7 -0
  419. data/db/migrate/20240326104215_remove_show_in_footer_in_static_pages.rb +7 -0
  420. data/db/migrate/20240401192628_change_name_on_decidim_organizations.rb +31 -0
  421. data/db/seeds/avatars/001.jpg +0 -0
  422. data/db/seeds/avatars/002.jpg +0 -0
  423. data/db/seeds/avatars/003.jpg +0 -0
  424. data/db/seeds/avatars/004.jpg +0 -0
  425. data/db/seeds/avatars/005.jpg +0 -0
  426. data/db/seeds/avatars/006.jpg +0 -0
  427. data/db/seeds/avatars/007.jpg +0 -0
  428. data/db/seeds/avatars/008.jpg +0 -0
  429. data/db/seeds/avatars/009.jpg +0 -0
  430. data/db/seeds/avatars/010.jpg +0 -0
  431. data/db/seeds/avatars/011.jpg +0 -0
  432. data/db/seeds/avatars/012.jpg +0 -0
  433. data/db/seeds/avatars/013.jpg +0 -0
  434. data/db/seeds/avatars/014.jpg +0 -0
  435. data/db/seeds/avatars/015.jpg +0 -0
  436. data/db/seeds/avatars/016.jpg +0 -0
  437. data/db/seeds/avatars/017.jpg +0 -0
  438. data/db/seeds/avatars/018.jpg +0 -0
  439. data/db/seeds/avatars/019.jpg +0 -0
  440. data/db/seeds/avatars/020.jpg +0 -0
  441. data/db/seeds/avatars/021.jpg +0 -0
  442. data/db/seeds/avatars/022.jpg +0 -0
  443. data/db/seeds/avatars/023.jpg +0 -0
  444. data/db/seeds/avatars/024.jpg +0 -0
  445. data/db/seeds/avatars/025.jpg +0 -0
  446. data/db/seeds/avatars/026.jpg +0 -0
  447. data/db/seeds/avatars/027.jpg +0 -0
  448. data/db/seeds/avatars/028.jpg +0 -0
  449. data/db/seeds/avatars/029.jpg +0 -0
  450. data/db/seeds/avatars/030.jpg +0 -0
  451. data/db/seeds/avatars/031.jpg +0 -0
  452. data/db/seeds/avatars/032.jpg +0 -0
  453. data/db/seeds/avatars/033.jpg +0 -0
  454. data/db/seeds/avatars/034.jpg +0 -0
  455. data/db/seeds/avatars/035.jpg +0 -0
  456. data/db/seeds/avatars/036.jpg +0 -0
  457. data/db/seeds/avatars/037.jpg +0 -0
  458. data/db/seeds/avatars/038.jpg +0 -0
  459. data/db/seeds/avatars/039.jpg +0 -0
  460. data/db/seeds/avatars/040.jpg +0 -0
  461. data/db/seeds/avatars/041.jpg +0 -0
  462. data/db/seeds/avatars/042.jpg +0 -0
  463. data/db/seeds/avatars/043.jpg +0 -0
  464. data/db/seeds/avatars/044.jpg +0 -0
  465. data/db/seeds/avatars/045.jpg +0 -0
  466. data/db/seeds/avatars/046.jpg +0 -0
  467. data/db/seeds/avatars/047.jpg +0 -0
  468. data/db/seeds/avatars/048.jpg +0 -0
  469. data/db/seeds/avatars/049.jpg +0 -0
  470. data/db/seeds/avatars/050.jpg +0 -0
  471. data/db/seeds/avatars/051.jpg +0 -0
  472. data/db/seeds/avatars/052.jpg +0 -0
  473. data/db/seeds/avatars/053.jpg +0 -0
  474. data/db/seeds/avatars/054.jpg +0 -0
  475. data/db/seeds/avatars/055.jpg +0 -0
  476. data/db/seeds/avatars/056.jpg +0 -0
  477. data/db/seeds/avatars/057.jpg +0 -0
  478. data/db/seeds/avatars/058.jpg +0 -0
  479. data/db/seeds/avatars/059.jpg +0 -0
  480. data/db/seeds/avatars/060.jpg +0 -0
  481. data/db/seeds/avatars/061.jpg +0 -0
  482. data/db/seeds/avatars/062.jpg +0 -0
  483. data/db/seeds/avatars/063.jpg +0 -0
  484. data/db/seeds/avatars/064.jpg +0 -0
  485. data/db/seeds/avatars/065.jpg +0 -0
  486. data/db/seeds/avatars/066.jpg +0 -0
  487. data/db/seeds/avatars/067.jpg +0 -0
  488. data/db/seeds/avatars/068.jpg +0 -0
  489. data/db/seeds/avatars/069.jpg +0 -0
  490. data/db/seeds/avatars/070.jpg +0 -0
  491. data/db/seeds/avatars/071.jpg +0 -0
  492. data/db/seeds/avatars/072.jpg +0 -0
  493. data/db/seeds/avatars/073.jpg +0 -0
  494. data/db/seeds/avatars/074.jpg +0 -0
  495. data/db/seeds/avatars/075.jpg +0 -0
  496. data/db/seeds/avatars/076.jpg +0 -0
  497. data/db/seeds/avatars/077.jpg +0 -0
  498. data/db/seeds/avatars/078.jpg +0 -0
  499. data/db/seeds/avatars/079.jpg +0 -0
  500. data/db/seeds/avatars/080.jpg +0 -0
  501. data/db/seeds/avatars/081.jpg +0 -0
  502. data/db/seeds/avatars/082.jpg +0 -0
  503. data/db/seeds/avatars/083.jpg +0 -0
  504. data/db/seeds/avatars/084.jpg +0 -0
  505. data/db/seeds/avatars/085.jpg +0 -0
  506. data/db/seeds/avatars/086.jpg +0 -0
  507. data/db/seeds/avatars/087.jpg +0 -0
  508. data/db/seeds/avatars/088.jpg +0 -0
  509. data/db/seeds/avatars/089.jpg +0 -0
  510. data/db/seeds/avatars/090.jpg +0 -0
  511. data/db/seeds/avatars/091.jpg +0 -0
  512. data/db/seeds/avatars/092.jpg +0 -0
  513. data/db/seeds/avatars/093.jpg +0 -0
  514. data/db/seeds/avatars/094.jpg +0 -0
  515. data/db/seeds/avatars/095.jpg +0 -0
  516. data/db/seeds/avatars/096.jpg +0 -0
  517. data/db/seeds/avatars/097.jpg +0 -0
  518. data/db/seeds/avatars/098.jpg +0 -0
  519. data/db/seeds/avatars/099.jpg +0 -0
  520. data/db/seeds/avatars/100.jpg +0 -0
  521. data/db/seeds/avatars/CREDITS.md +114 -0
  522. data/db/seeds/avatars/README.md +25 -0
  523. data/decidim-core.gemspec +7 -5
  524. data/lib/decidim/acts_as_author.rb +1 -1
  525. data/lib/decidim/admin_filter.rb +44 -0
  526. data/lib/decidim/admin_filters_registry.rb +55 -0
  527. data/lib/decidim/amendable.rb +1 -2
  528. data/lib/decidim/api/functions/component_finder_base.rb +1 -1
  529. data/lib/decidim/api/functions/needs_api_filter_and_order.rb +3 -3
  530. data/lib/decidim/api/functions/participatory_space_finder_base.rb +1 -1
  531. data/lib/decidim/api/functions/participatory_space_list_base.rb +1 -1
  532. data/lib/decidim/api/input_filters/user_entity_input_filter.rb +3 -3
  533. data/lib/decidim/api/interfaces/author_interface.rb +1 -1
  534. data/lib/decidim/api/types/organization_type.rb +1 -1
  535. data/lib/decidim/api/types/user_group_type.rb +1 -1
  536. data/lib/decidim/api/types/user_type.rb +1 -1
  537. data/lib/decidim/asset_router/pipeline.rb +2 -2
  538. data/lib/decidim/asset_router/storage.rb +11 -214
  539. data/lib/decidim/assets/tailwind/instance.rb +1 -1
  540. data/lib/decidim/assets/tailwind/tailwind.config.js.erb +8 -3
  541. data/lib/decidim/attribute_object/model.rb +2 -2
  542. data/lib/decidim/attribute_object/type_resolver.rb +1 -3
  543. data/lib/decidim/attribute_object.rb +2 -2
  544. data/lib/decidim/attributes.rb +0 -4
  545. data/lib/decidim/authorable.rb +5 -0
  546. data/lib/decidim/command.rb +2 -2
  547. data/lib/decidim/commands/create_resource.rb +63 -0
  548. data/lib/decidim/commands/destroy_resource.rb +74 -0
  549. data/lib/decidim/commands/hook_error.rb +8 -0
  550. data/lib/decidim/commands/resource_handler.rb +85 -0
  551. data/lib/decidim/commands/update_resource.rb +64 -0
  552. data/lib/decidim/component_manifest.rb +3 -1
  553. data/lib/decidim/component_validator.rb +1 -1
  554. data/lib/decidim/content_blocks/has_related_components.rb +1 -1
  555. data/lib/decidim/content_parsers/resource_parser.rb +2 -2
  556. data/lib/decidim/content_processor.rb +1 -1
  557. data/lib/decidim/content_security_policy.rb +1 -1
  558. data/lib/decidim/core/engine.rb +12 -29
  559. data/lib/decidim/core/menu.rb +13 -3
  560. data/lib/decidim/core/seeds.rb +120 -147
  561. data/lib/decidim/core/test/factories.rb +24 -3
  562. data/lib/decidim/core/test/shared_examples/acts_as_author_examples.rb +1 -1
  563. data/lib/decidim/core/test/shared_examples/amendable/withdraw_amendment_examples.rb +2 -2
  564. data/lib/decidim/core/test/shared_examples/announcements_examples.rb +3 -3
  565. data/lib/decidim/core/test/shared_examples/assembly_announcements_examples.rb +4 -4
  566. data/lib/decidim/core/test/shared_examples/attachable_interface_examples.rb +1 -1
  567. data/lib/decidim/core/test/shared_examples/comments_examples.rb +88 -92
  568. data/lib/decidim/core/test/shared_examples/comments_reports_examples.rb +4 -4
  569. data/lib/decidim/core/test/shared_examples/digest_mail_examples.rb +1 -1
  570. data/lib/decidim/core/test/shared_examples/edit_link_shared_examples.rb +1 -1
  571. data/lib/decidim/core/test/shared_examples/editor_shared_examples.rb +7 -7
  572. data/lib/decidim/core/test/shared_examples/fingerprint_examples.rb +1 -1
  573. data/lib/decidim/core/test/shared_examples/follows_examples.rb +6 -11
  574. data/lib/decidim/core/test/shared_examples/has_attachment_collections.rb +4 -2
  575. data/lib/decidim/core/test/shared_examples/has_attachments.rb +3 -2
  576. data/lib/decidim/core/test/shared_examples/has_contextual_help.rb +4 -4
  577. data/lib/decidim/core/test/shared_examples/has_reference.rb +1 -1
  578. data/lib/decidim/core/test/shared_examples/logo_email.rb +1 -1
  579. data/lib/decidim/core/test/shared_examples/manage_component_share_tokens.rb +9 -9
  580. data/lib/decidim/core/test/shared_examples/map_examples.rb +5 -5
  581. data/lib/decidim/core/test/shared_examples/paginated_resource_examples.rb +7 -7
  582. data/lib/decidim/core/test/shared_examples/participatory_space_dropdown_metadata_cell_examples.rb +3 -3
  583. data/lib/decidim/core/test/shared_examples/preview_component_with_share_token_examples.rb +3 -3
  584. data/lib/decidim/core/test/shared_examples/process_announcements_examples.rb +4 -4
  585. data/lib/decidim/core/test/shared_examples/reports_examples.rb +5 -5
  586. data/lib/decidim/core/test/shared_examples/rich_text_editor_examples.rb +10 -10
  587. data/lib/decidim/core/test/shared_examples/searchable_participatory_space_examples.rb +1 -1
  588. data/lib/decidim/core/test/shared_examples/searchable_results_examples.rb +8 -8
  589. data/lib/decidim/core/test/shared_examples/share_link_examples.rb +2 -2
  590. data/lib/decidim/core/test/shared_examples/simple_event.rb +1 -1
  591. data/lib/decidim/core/test/shared_examples/space_cell_changes_button_text_cta.rb +3 -3
  592. data/lib/decidim/core/test/shared_examples/system_endorse_resource_examples.rb +15 -113
  593. data/lib/decidim/core/test/shared_examples/translated_event_examples.rb +2 -2
  594. data/lib/decidim/core/test/shared_examples/uncommentable_component_examples.rb +2 -2
  595. data/lib/decidim/core/test/shared_examples/with_endorsable_permissions_examples.rb +1 -1
  596. data/lib/decidim/core/version.rb +1 -1
  597. data/lib/decidim/core.rb +24 -17
  598. data/lib/decidim/dependency_resolver.rb +3 -3
  599. data/lib/decidim/diffy_extension.rb +1 -1
  600. data/lib/decidim/download_your_data_serializers/download_your_data_user_serializer.rb +2 -1
  601. data/lib/decidim/engine_router.rb +2 -2
  602. data/lib/decidim/events/base_event.rb +19 -0
  603. data/lib/decidim/events/simple_event.rb +1 -0
  604. data/lib/decidim/exporters/export_manifest.rb +1 -1
  605. data/lib/decidim/faker/localized.rb +3 -3
  606. data/lib/decidim/form_builder.rb +4 -4
  607. data/lib/decidim/hashtag.rb +1 -1
  608. data/lib/decidim/jsonb_attributes.rb +4 -4
  609. data/lib/decidim/manifest_messages.rb +2 -2
  610. data/lib/decidim/organization_settings.rb +5 -8
  611. data/lib/decidim/paddable.rb +1 -1
  612. data/lib/decidim/participable.rb +1 -1
  613. data/lib/decidim/participatory_space_manifest.rb +1 -1
  614. data/lib/decidim/resourceable.rb +1 -1
  615. data/lib/decidim/search_resource_fields_mapper.rb +2 -2
  616. data/lib/decidim/searchable.rb +3 -3
  617. data/lib/decidim/seeds.rb +62 -0
  618. data/lib/decidim/stats_registry.rb +2 -2
  619. data/lib/decidim/translatable_attributes.rb +3 -3
  620. data/lib/decidim/translatable_resource.rb +1 -1
  621. data/lib/decidim/view_hooks.rb +1 -1
  622. data/lib/decidim/view_model.rb +5 -1
  623. data/lib/decidim/webpacker/esbuild.config.js +14 -0
  624. data/lib/decidim/webpacker/shakapacker.yml +2 -2
  625. data/lib/decidim/webpacker/tsconfig.json +11 -0
  626. data/lib/decidim/webpacker/webpack/custom.js +13 -35
  627. data/lib/devise/models/decidim_newsletterable.rb +1 -1
  628. data/lib/tasks/decidim_download_your_data_tasks.rake +2 -2
  629. data/lib/tasks/decidim_locales_tasks.rake +1 -1
  630. data/lib/tasks/decidim_mailers_tasks.rake +2 -2
  631. data/lib/tasks/decidim_metrics_tasks.rake +6 -6
  632. data/lib/tasks/decidim_procfile.rake +9 -3
  633. data/lib/tasks/decidim_tasks.rake +5 -4
  634. data/lib/tasks/decidim_webpacker_tasks.rake +126 -117
  635. data/lib/tasks/upgrade/decidim_active_storage_migration_tasks.rake +80 -0
  636. data/lib/tasks/upgrade/decidim_content_blocks_tasks.rake +50 -0
  637. data/lib/tasks/upgrade/decidim_deduplicate_endorsements.rake +1 -1
  638. data/lib/tasks/upgrade/decidim_fix_categorization.rake +0 -100
  639. data/lib/tasks/upgrade/decidim_fix_nickname_uniqueness.rake +1 -1
  640. data/lib/tasks/upgrade/decidim_fix_short_url_resolver.rake +1 -1
  641. data/lib/tasks/upgrade/decidim_moderation_tasks.rake +1 -1
  642. data/lib/tasks/upgrade/decidim_user_moderation.rake +1 -1
  643. metadata +218 -79
  644. data/app/cells/decidim/content_blocks/cta/show.erb +0 -12
  645. data/app/cells/decidim/content_blocks/cta_cell.rb +0 -31
  646. data/app/cells/decidim/footer_pages/pages.erb +0 -3
  647. data/app/cells/decidim/footer_pages/topics.erb +0 -12
  648. data/app/cells/decidim/footer_pages_cell.rb +0 -68
  649. data/app/controllers/concerns/decidim/direct_upload.rb +0 -82
  650. data/app/packs/src/decidim/vendor/modernizr.js +0 -5
  651. data/app/queries/decidim/similar_emendations.rb +0 -56
  652. data/app/uploaders/decidim/cw/application_uploader.rb +0 -77
  653. data/app/uploaders/decidim/cw/attachment_uploader.rb +0 -56
  654. data/app/uploaders/decidim/cw/avatar_uploader.rb +0 -24
  655. data/app/uploaders/decidim/cw/banner_image_uploader.rb +0 -7
  656. data/app/uploaders/decidim/cw/download_your_data_uploader.rb +0 -15
  657. data/app/uploaders/decidim/cw/downloader.rb +0 -9
  658. data/app/uploaders/decidim/cw/hero_image_uploader.rb +0 -10
  659. data/app/uploaders/decidim/cw/homepage_image_uploader.rb +0 -14
  660. data/app/uploaders/decidim/cw/image_uploader.rb +0 -78
  661. data/app/uploaders/decidim/cw/newsletter_template_image_uploader.rb +0 -38
  662. data/app/uploaders/decidim/cw/oauth_application_logo_uploader.rb +0 -10
  663. data/app/uploaders/decidim/cw/official_image_footer_uploader.rb +0 -10
  664. data/app/uploaders/decidim/cw/official_image_header_uploader.rb +0 -10
  665. data/app/uploaders/decidim/cw/open_data_uploader.rb +0 -23
  666. data/app/uploaders/decidim/cw/organization_favicon_uploader.rb +0 -18
  667. data/app/uploaders/decidim/cw/organization_logo_uploader.rb +0 -10
  668. data/app/uploaders/decidim/cw/record_image_uploader.rb +0 -15
  669. data/app/uploaders/decidim/downloader.rb +0 -9
  670. data/app/views/decidim/amendments/compare_draft.html.erb +0 -18
  671. data/app/views/layouts/decidim/_edit_link.html.erb +0 -0
  672. data/app/views/layouts/decidim/header/_main_links_mobile.html.erb +0 -36
  673. data/config/initializers/carrierwave.rb +0 -15
  674. data/lib/decidim/carrier_wave_migrator_service.rb +0 -287
  675. data/lib/decidim/seven_zip_wrapper.rb +0 -29
  676. data/lib/tasks/decidim_active_storage_migration_tasks.rake +0 -114
  677. data/lib/tasks/decidim_content_blocks_tasks.rake +0 -48
  678. data/lib/tasks/upgrade/decidim_attachments.rake +0 -14
  679. /data/app/views/layouts/decidim/header/{_menu_breadcrumb_main_dropdown.html.erb → _menu_breadcrumb_main_dropdown_desktop.html.erb} +0 -0
@@ -163,10 +163,6 @@ tr:
163
163
  error: Bu kaynağı değiştiren bir hata oluştu.
164
164
  promote_button: '%{model_name} olarak yükselt'
165
165
  promote_confirm_text: Bu değişikliği tanıtmak istediğinizden emin misiniz?
166
- compare_draft:
167
- continue: Devam et
168
- no_similars_found: Hiç benzer düzeltme bulunamadı.
169
- title: Benzer Düzeltmeler
170
166
  created:
171
167
  error: Değişiklik taslağı oluşturulurken bir hata oluştu.
172
168
  success: Değişiklik taslağı başarı ile oluşturuldu.
@@ -213,9 +209,7 @@ tr:
213
209
  wizard_step_form:
214
210
  steps:
215
211
  '1': Değişikliğinizi oluşturun
216
- '2': Değişikliğinizi karşılaştırın
217
- '3': Değişikliğinizi tamamlayın
218
- '4': Değişikliğinizi yayınlayın
212
+ '2': Değişikliğinizi yayınlayın
219
213
  anonymous_user: Anonim
220
214
  application:
221
215
  document:
@@ -385,7 +379,6 @@ tr:
385
379
  complete_profile: Profilini tamamla
386
380
  nickname_help: Takma adınız %{organization}. Yalnızca harf, rakam, "-" ve "_" içerebilir.
387
381
  sign_up: Lütfen profilinizi tamamlayın
388
- subtitle: Kayıt işlemini tamamlamak için lütfen aşağıdaki formu doldurunuz.
389
382
  username_help: Gönderilerinizde görünen genel ad. Anonimliği garanti etmek amacıyla herhangi bir isim olabilir.
390
383
  registrations:
391
384
  new:
@@ -393,8 +386,6 @@ tr:
393
386
  log_in: "Giriş \nGiriş Yapın "
394
387
  newsletter: Ara sıra ilgili bilgileri içeren bir haber bülteni alın
395
388
  newsletter_title: İletişim izni
396
- sign_up: kaydol
397
- subtitle: Tartışmalara katılmak ve teklifleri desteklemek için kaydolun.
398
389
  tos_agreement: Kaydolarak %{link}kabul ediyorsunuz.
399
390
  tos_title: Kullanım Şartları
400
391
  username_help: Yayınlarınızda görünen genel ad. Anonimlik garantilemek amacıyla herhangi bir isim olabilir.
@@ -563,8 +554,6 @@ tr:
563
554
  email_outro: Bu bildirimi, platformun yöneticisi olduğunuz için aldınız.
564
555
  email_subject: Bir kullanıcı grubu profilini güncelledi
565
556
  notification_title: '%{user_group_name} kullanıcı grubu profilini güncelledi ve doğrulanmadan bırakıldı. Artık bunu <a href="%{groups_admin_path}"> yönetici panelinde </a> doğrulayabilirsiniz.'
566
- notification_event:
567
- notification_title: Bir olay <a href="%{resource_path}">%{resource_title}</a>.
568
557
  reports:
569
558
  resource_hidden:
570
559
  email_intro: Bir yönetici, %{resource_type}'nizi %{report_reasons} olarak bildirildiği için kaldırdı.
@@ -615,6 +604,7 @@ tr:
615
604
  create:
616
605
  button: Takip et
617
606
  error: Bu kaynağı takip eden bir hata oluştu.
607
+ participatory_space: <span>%{resource_name</span> Takip edilen
618
608
  destroy:
619
609
  button: Takibi bırak
620
610
  error: Bu kaynağı takip etmekten bir hata oluştu.
@@ -627,10 +617,8 @@ tr:
627
617
  file:
628
618
  explanation: 'Dosya kılavuzu:'
629
619
  message_1: Bir resim veya bir belge olmalı.
630
- message_2: Resimler için tercihen yatay resimleri kullanın, bu servis resmi kırpar.
631
620
  image:
632
621
  explanation: 'Dosya kılavuzu:'
633
- message_1: Tercihen herhangi bir metin içermeyen yatay bir resim.
634
622
  message_2: Bu servis görüntüyü kırpar.
635
623
  file_validation:
636
624
  allowed_file_extensions: 'İzin verilen dosya uzantıları: %{extensions}'
@@ -705,7 +693,7 @@ tr:
705
693
  default_page:
706
694
  content: "<p>%{organization}'da üst menüde gördüğünüz alanlar aracılığıyla katılabilir ve farklı konulara karar verebilirsiniz: Süreçler, Toplantılar, Girişimler, İstişareler. </p> <p> Her birinde farklı seçenekler bulacaksınız. katılmak: bireysel olarak veya diğer insanlarla birlikte teklifler yapın, tartışmalara katılın, uygulanacak projelere öncelik verin, yüz yüze toplantılara ve diğer eylemlere katılın. </p>\n"
707
695
  title: '%{organization} ne yapabilirim?'
708
- title: Genel Yardım
696
+ title: Genel
709
697
  last_activities:
710
698
  all: Tüm aktivite türleri
711
699
  index:
@@ -900,8 +888,6 @@ tr:
900
888
  metrics:
901
889
  headline: Metrikler
902
890
  link: Bütün istatistikleri göster
903
- participatory_space_private_users:
904
- not_allowed: Bu içeriği görüntüleme izniniz bulunmuyor
905
891
  profile:
906
892
  deleted: Silinmiş kullanıcı
907
893
  profiles:
@@ -1023,7 +1009,6 @@ tr:
1023
1009
  log_in_before_follow: Bu İşlemi gerçekleştirmeden önce lütfen giriş yapın
1024
1010
  login_modal:
1025
1011
  please_log_in: Lütfen Giriş Yapın
1026
- sign_up: kaydol
1027
1012
  participatory_space_filters:
1028
1013
  filters:
1029
1014
  areas: alanlar
@@ -1115,7 +1100,6 @@ tr:
1115
1100
  locked: Hesabınız kilitli.
1116
1101
  not_found_in_database: '%{authentication_keys} veya şifre geçersiz.'
1117
1102
  timeout: Oturumunuzun süresi doldu. Devam etmek için lütfen tekrar giriş yapın.
1118
- unauthenticated: Devam etmeden önce giriş yapmanız veya kaydolmanız gerekmektedir.
1119
1103
  invitations:
1120
1104
  edit:
1121
1105
  header: Hesabınızı oluşturmayı bitirin
@@ -1181,8 +1165,6 @@ tr:
1181
1165
  updated_not_active: Şifreniz başarıyla değiştirildi.
1182
1166
  registrations:
1183
1167
  destroyed: Hoşçakal! Hesabınız başarıyla iptal edildi. Kısa süre sonra tekrar görmeyi umuyoruz.
1184
- new:
1185
- sign_up: kaydol
1186
1168
  signed_up: Hoşgeldiniz! Başarıyla kaydoldunuz.
1187
1169
  signed_up_but_inactive: Başarıyla kaydoldunuz. Ancak, hesabınız henüz aktif olmadığından sizi oturum açamadık.
1188
1170
  signed_up_but_locked: Başarıyla kaydoldunuz. Ancak, hesabınız kilitlendiğinden sizi oturum açamadık.
@@ -1200,7 +1182,6 @@ tr:
1200
1182
  forgot_your_password: Parolanızı mı unuttunuz?
1201
1183
  log_in: "Giriş \nGiriş Yapın "
1202
1184
  log_in_with_provider: '%{provider} ile giriş yapın'
1203
- sign_up: kaydol
1204
1185
  minimum_password_length:
1205
1186
  one: "(En az%{count} karakter)"
1206
1187
  other: "(En az%{count} karakter)"
@@ -1223,7 +1204,6 @@ tr:
1223
1204
  invalid_time_zone: geçerli bir zaman değil
1224
1205
  long_words: çok uzun kelimeler içeriyor (35 karakterden fazla)
1225
1206
  must_start_with_caps: büyük harfle başlamalıdır
1226
- not_found: bulunamadı. Daha önce üye oldunuz mu?
1227
1207
  not_locked: kilitli değildi
1228
1208
  not_saved:
1229
1209
  one: 'İsteğiniz işlenirken bir hata oluştu:'
@@ -1253,7 +1233,7 @@ tr:
1253
1233
  download_open_data: Açık Veri dosyalarını indir
1254
1234
  log_in: "Giriş \nGiriş Yapın "
1255
1235
  made_with_open_source: Web sitesi <a target="_blank" href="https://github.com/decidim/decidim">ücretsiz yazılımla yapılmıştır</a>.
1256
- sign_up: Kaydol
1236
+ terms_of_service: Hizmet Kullanım Koşulları
1257
1237
  header:
1258
1238
  log_in: "Giriş \nGiriş Yapın "
1259
1239
  impersonation_warning:
@@ -1265,9 +1245,6 @@ tr:
1265
1245
  notifications_dashboard:
1266
1246
  mark_all_as_read: Tümünü okundu olarak işaretle
1267
1247
  mark_as_read: Okundu olarak işaretle
1268
- shared:
1269
- layout_item:
1270
- prev: Önceki
1271
1248
  social_media_links:
1272
1249
  facebook: "Facebook'ta %{organization}"
1273
1250
  github: "GitHub'da %{organization}"
@@ -196,7 +196,6 @@ uk:
196
196
  new:
197
197
  complete_profile: Заповнити профіль
198
198
  sign_up: Будь ласка, заповніть свій профіль
199
- subtitle: Щоб завершити реєстрацію, заповніть наступну форму
200
199
  username_help: Загальнодоступне ім'я, яке відображається у ваших дописах. З метою гарантування анонімності, може бути будь-яким.
201
200
  registrations:
202
201
  new:
@@ -204,8 +203,6 @@ uk:
204
203
  log_in: Увійти
205
204
  newsletter: Отримувати іноді розсилання зі свіжими новинами
206
205
  newsletter_title: Дозвіл на зв'язок
207
- sign_up: Зареєструватися
208
- subtitle: Зареєструйтесь, щоб брати участь у обговореннях та підтримувати пропозиції.
209
206
  tos_agreement: Реєструючись, ви приймаєте %{link}.
210
207
  tos_title: Умови участі
211
208
  username_help: Загальнодоступне ім'я, яке відображається у ваших дописах. З метою гарантування анонімності, може бути будь-яким.
@@ -264,8 +261,6 @@ uk:
264
261
  email_intro: '"%{resource_title}" було оновлено. Ви можете переглянути його на сторінці:'
265
262
  email_outro: Ви отримали це сповіщення, тому що ви стежите за "%{resource_title}". Ви можете припинити стежити за ним, перейшовши за наведеним вище посиланням.
266
263
  email_subject: Оновлення до %{resource_title}
267
- notification_event:
268
- notification_title: З <a href="%{resource_path}">%{resource_title}</a> відбулася подія.
269
264
  users:
270
265
  profile_updated:
271
266
  email_intro: Сторінка <a href="%{resource_url}">профілю</a> учасника %{name} (%{nickname}), за яким ви стежите, була оновлена.
@@ -389,8 +384,6 @@ uk:
389
384
  headline: Поточний стан %{organization}
390
385
  sub_hero:
391
386
  register: Зареєструватися
392
- participatory_space_private_users:
393
- not_allowed: У вас нема прав на перегляд цього вмісту
394
387
  profile:
395
388
  deleted: Видалений учасник
396
389
  profiles:
@@ -440,8 +433,6 @@ uk:
440
433
  report: Поскаржитись
441
434
  spam: Містить клацоловки (маніпулятивно-сенсаційні заголовки), рекламу, афери або лохотрони.
442
435
  title: Поскаржитись на ускладнення
443
- login_modal:
444
- sign_up: Зареєструватися
445
436
  reference:
446
437
  reference: 'Посилання на джерело: %{reference}'
447
438
  results_per_page:
@@ -502,7 +493,6 @@ uk:
502
493
  footer:
503
494
  log_in: Увійти
504
495
  made_with_open_source: Цей веб-сайт створено за допомогою <a target="_blank" href="https://github.com/decidim/decidim">безкоштовного програмного забезпечення</a>.
505
- sign_up: Зареєструватися
506
496
  header:
507
497
  log_in: Увійти
508
498
  impersonation_warning:
@@ -147,10 +147,6 @@ zh-CN:
147
147
  error: 修改此资源时出错。
148
148
  promote_button: 提升至 %{model_name}
149
149
  promote_confirm_text: 您确定要推广此修饰吗?
150
- compare_draft:
151
- continue: 继续
152
- no_similars_found: 未找到类似的修改。
153
- title: 类似的修改
154
150
  created:
155
151
  error: 创建修正草案时发生错误。
156
152
  success: 修正草稿已成功创建。
@@ -190,8 +186,6 @@ zh-CN:
190
186
  wizard_step_form:
191
187
  steps:
192
188
  '1': 创建您的修改
193
- '2': 比较您的修改
194
- '3': 完成您的修改
195
189
  anonymous_user: 匿名的
196
190
  application:
197
191
  document:
@@ -329,15 +323,12 @@ zh-CN:
329
323
  new:
330
324
  complete_profile: 完整资料
331
325
  sign_up: 请填写您的个人资料
332
- subtitle: 请填写以下表单以完成注册
333
326
  username_help: 在您的帖子上出现的公共名称。为了保证匿名,可以使用任何名称。
334
327
  registrations:
335
328
  new:
336
329
  already_have_an_account?: 已经有一个帐户?
337
330
  newsletter: 接收附带相关信息的时事通讯
338
331
  newsletter_title: 联系人权限
339
- sign_up: 注册
340
- subtitle: 注册参加讨论和支持建议。
341
332
  tos_agreement: 通过注册您同意 %{link}。
342
333
  tos_title: 服务条款
343
334
  username_help: 在您的帖子上出现的公共名称。为了保证匿名,可以使用任何名称。
@@ -495,8 +486,6 @@ zh-CN:
495
486
  email_outro: 您收到此通知是因为您是平台的管理员。
496
487
  email_subject: 用户组更新了它的个人资料
497
488
  notification_title: '%{user_group_name} 用户群组更新了它的个人资料,未验证。您现在可以在 <a href="%{groups_admin_path}">管理面板</a> 中验证它。'
498
- notification_event:
499
- notification_title: 事件发生到 <a href="%{resource_path}">%{resource_title}</a>
500
489
  resource_endorsed:
501
490
  email_intro: '%{endorser_name} %{endorser_nickname}, 你正在关注, 刚刚支持"%{resource_title}", 我们认为它对你可能很感兴趣。 查看并贡献:'
502
491
  email_outro: 您收到此通知是因为您正在关注 %{endorser_nickname}。您可以停止收到跟随上一个链接的通知。
@@ -552,7 +541,6 @@ zh-CN:
552
541
  message_1: 必须是图像或文档。
553
542
  image:
554
543
  explanation: '图像指南:'
555
- message_1: 更喜欢一个没有任何文本的横屏图像。
556
544
  message_2: 服务裁剪图像。
557
545
  file_validation:
558
546
  allowed_file_extensions: '允许的文件扩展名: %{extensions}'
@@ -627,7 +615,6 @@ zh-CN:
627
615
  default_page:
628
616
  content: "<p>在 %{organization} 中,您可以参与并决定不同的主题, 通过你在顶菜单中看到的空间:程序、集会、倡议、协商。</p> <p>在每个选项中,您都会发现不同的参与选项:单独或与其他人一起提出建议 • 参加辩论、确定执行项目的优先次序、参加面对面会议和其他行动。</p>\n"
629
617
  title: 我可以在 %{organization} 中做什么?
630
- title: 常规帮助
631
618
  last_activities:
632
619
  all: 所有活动类型
633
620
  index:
@@ -812,8 +799,6 @@ zh-CN:
812
799
  metrics:
813
800
  headline: 指标
814
801
  link: 显示所有指标
815
- participatory_space_private_users:
816
- not_allowed: 您无权查看此内容
817
802
  profile:
818
803
  deleted: 删除参与者
819
804
  profiles:
@@ -918,8 +903,6 @@ zh-CN:
918
903
  title: 报告不恰当的内容
919
904
  floating_help:
920
905
  help: 帮助
921
- login_modal:
922
- sign_up: 注册
923
906
  participatory_space_filters:
924
907
  filters:
925
908
  areas: 地区
@@ -1066,8 +1049,6 @@ zh-CN:
1066
1049
  updated_not_active: 您的密码已成功更改。
1067
1050
  registrations:
1068
1051
  destroyed: 您的帐户已成功取消。我们希望很快再见到您。
1069
- new:
1070
- sign_up: 注册
1071
1052
  signed_up: 欢迎!您已成功注册。
1072
1053
  signed_up_but_inactive: 您已成功注册。但我们无法登录,因为您的帐户尚未激活。
1073
1054
  signed_up_but_locked: 您已成功注册。但我们无法登录,因为您的帐户已被锁定。
@@ -1078,7 +1059,6 @@ zh-CN:
1078
1059
  links:
1079
1060
  back: 后退
1080
1061
  forgot_your_password: 忘记密码?
1081
- sign_up: 注册
1082
1062
  minimum_password_length:
1083
1063
  other: "(%{count} 个字符最小)"
1084
1064
  unlocks:
@@ -1098,7 +1078,6 @@ zh-CN:
1098
1078
  invalid_time_zone: 不是有效的时区
1099
1079
  long_words: 包含过长的单词 (超过 35 个字符)
1100
1080
  must_start_with_caps: 必须以大写字母开始
1101
- not_found: 找不到。您以前注册过吗?
1102
1081
  not_locked: 未锁定
1103
1082
  not_saved:
1104
1083
  other: '处理您的请求时发生多个错误:'
@@ -1124,7 +1103,6 @@ zh-CN:
1124
1103
  decidim_logo: 解码徽标
1125
1104
  download_open_data: 下载打开的数据文件
1126
1105
  made_with_open_source: 使用 <a target="_blank" href="https://github.com/decidim/decidim">免费软件</a> 创建的网站。
1127
- sign_up: 注册
1128
1106
  impersonation_warning:
1129
1107
  close_session: 关闭会话
1130
1108
  description_html: 您正在管理参与者 <b>%{user_name}</b>
@@ -72,9 +72,6 @@ zh-TW:
72
72
  booleans:
73
73
  'false': '否'
74
74
  'true': '是'
75
- carrierwave:
76
- errors:
77
- file_size_too_large: 檔案太大。
78
75
  date:
79
76
  formats:
80
77
  decidim_short: "%d/%m/%Y"
@@ -255,10 +252,6 @@ zh-TW:
255
252
  promote_button: 晉升為 %{model_name}
256
253
  promote_confirm_text: 您確定要晉升此修正嗎?
257
254
  promote_help_text: 您可以提升此修正,並將其發布為獨立的 %{model_name}.
258
- compare_draft:
259
- continue: 繼續
260
- no_similars_found: 找不到相似的修正案。
261
- title: 相似的修正案
262
255
  created:
263
256
  error: 創建修正案草稿時發生錯誤。
264
257
  success: 修正案草稿已成功創建。
@@ -313,8 +306,6 @@ zh-TW:
313
306
  wizard_step_form:
314
307
  steps:
315
308
  '1': 創建您的修正案
316
- '2': 比較您的修正案
317
- '3': 完成您的修正案
318
309
  anonymous_user: 匿名
319
310
  application:
320
311
  document:
@@ -498,7 +489,6 @@ zh-TW:
498
489
  name: 子英雄橫幅
499
490
  core:
500
491
  actions:
501
- login_before_access: 請先登入您的帳戶再進行訪問.
502
492
  unauthorized: 您無權限執行此操作.
503
493
  devise:
504
494
  omniauth_registrations:
@@ -508,7 +498,6 @@ zh-TW:
508
498
  complete_profile: 完成個人檔案
509
499
  nickname_help: 在 %{organization} 中的別名。只能包含字母、數字、'-' 和 '_'。
510
500
  sign_up: 請完成您的個人檔案
511
- subtitle: 請填寫以下表單以完成註冊。
512
501
  username_help: 在您的帖子中顯示的公開名稱。為確保匿名性,可以是任何名稱。
513
502
  registrations:
514
503
  new:
@@ -516,8 +505,6 @@ zh-TW:
516
505
  log_in: 登入
517
506
  newsletter: 偶爾收到包含相關信息的時事通訊。
518
507
  newsletter_title: 聯絡人權限
519
- sign_up: 註冊登記
520
- subtitle: 註冊以參與討論並支持提案。
521
508
  terms: 此服務條款
522
509
  tos_agreement: 通過註冊,您同意遵守 %{link}。
523
510
  tos_title: 服務條款
@@ -527,7 +514,6 @@ zh-TW:
527
514
  are_you_new?: 是第一次使用這個平台嗎?
528
515
  register: 建立一個帳號
529
516
  sign_in_disabled: 你可以使用外部帳戶登入。
530
- sign_up_disabled: 註冊已停用,您可以使用現有帳戶來登入。
531
517
  shared:
532
518
  newsletter_modal:
533
519
  buttons:
@@ -715,10 +701,6 @@ zh-TW:
715
701
  email_outro: 你收到了這個通知是因為你是該平台的管理員。
716
702
  email_subject: 一個使用者群組已更新其個人檔案。
717
703
  notification_title: '%{user_group_name} 使用者群組已更新其個人資料,讓它未經驗證。您現在可以在<a href="%{groups_admin_path}">管理面板</a>中進行驗證。'
718
- nickname_event:
719
- notification_body: 我們已更正暱稱使用的方式,以避免重複,所以我們已經移除了大小寫敏感的規則。<br/>你的暱稱是在已有同名暱稱之後創建的,因此我們已經自動重新命名。你可以從<a href="%{link_to_account_settings}">帳戶設置</a>更改它。
720
- notification_event:
721
- notification_title: 發生了一個事件於<a href="%{resource_path}">%{resource_title}</a>。
722
704
  reports:
723
705
  resource_hidden:
724
706
  email_intro: 一位管理員因為您的%{resource_type} 已被檢舉為%{report_reasons} 而將其移除。
@@ -779,7 +761,6 @@ zh-TW:
779
761
  create:
780
762
  button: 關注
781
763
  error: 追蹤此資源時發生問題。
782
- participatory_space: 追蹤中 <span class="show-for-sr">%{resource_name}</span>
783
764
  destroy:
784
765
  button: 取消追蹤
785
766
  error: 取消追蹤此資源時發生問題。
@@ -793,14 +774,12 @@ zh-TW:
793
774
  file:
794
775
  explanation: '檔案指南:'
795
776
  message_1: 必須是圖片或文件。
796
- message_2: 對於圖像,最好使用橫向圖像,服務將對圖像進行裁剪。
797
777
  icon:
798
778
  explanation: '圖示指南:'
799
779
  message_1: 必須為正方形影像。
800
780
  message_2: 此圖像的建議尺寸為 512x512。
801
781
  image:
802
782
  explanation: '圖像的指導'
803
- message_1: 最好選擇一張不含文字的橫向圖像。
804
783
  message_2: 該服務裁剪圖像。
805
784
  file_validation:
806
785
  allowed_file_extensions: '允許的檔案擴展名: %{extensions}'
@@ -824,6 +803,7 @@ zh-TW:
824
803
  title_required: 標題為必填欄位!
825
804
  uploaded: 已上傳
826
805
  validating: 驗證中...
806
+ validation_error: 驗證錯誤!
827
807
  select_file: 選擇檔案
828
808
  upload_help:
829
809
  dropzone: 將檔案拖曳到此處或點擊按鈕上傳。
@@ -941,7 +921,6 @@ zh-TW:
941
921
  content: "<p>在 %{organization} 中,您可以透過頂部畫面中的不同空間參與並決定各種議題,包括流程、集會、倡議和諮詢。</p> <p>在每個空間中,您將找到不同的參與選項:個人或與他人一起提出提案、參與辯論、優先考慮要實施的項目、參加面對面會議以及其他行動。</p>\n"
942
922
  title: 我可以在 %{organization} 做什麼?”
943
923
  description: 閱讀更多有關 %{organization} 的資訊.
944
- title: 一般幫助
945
924
  last_activities:
946
925
  all: 所有活動類型
947
926
  index:
@@ -1191,7 +1170,6 @@ zh-TW:
1191
1170
  headline: '%{organization} 的目前狀態'
1192
1171
  sub_hero:
1193
1172
  register: 註冊
1194
- register_title: 註冊以創建帳戶
1195
1173
  index:
1196
1174
  standalone_pages: 頁
1197
1175
  subheading: 瀏覽 %{name} 的幫助頁面
@@ -1218,8 +1196,6 @@ zh-TW:
1218
1196
  alert: 我們已更新我們的服務條款,請您查閱。
1219
1197
  body: 請花一點時間檢閱我們的服務條款更新,否則您將無法使用平台。
1220
1198
  title: '必須:檢閱我們的服務條款更新'
1221
- participatory_space_private_users:
1222
- not_allowed: 您無權查看此內容
1223
1199
  passwords:
1224
1200
  update:
1225
1201
  error: 密碼更新時發生問題.
@@ -1361,8 +1337,6 @@ zh-TW:
1361
1337
  title: 舉報不適當的使用者
1362
1338
  floating_help:
1363
1339
  help: 幫助
1364
- login_modal:
1365
- sign_up: 註冊登記
1366
1340
  mentions_modal:
1367
1341
  remove_recipient: 移除收件人 %{name}。
1368
1342
  participatory_space_filters:
@@ -1557,8 +1531,6 @@ zh-TW:
1557
1531
  updated_not_active: 您的密碼已變更成功。
1558
1532
  registrations:
1559
1533
  destroyed: 您的帳號已成功取消,期待再相逢。
1560
- new:
1561
- sign_up: 註冊登記
1562
1534
  signed_up: 歡迎!您已成功註冊。
1563
1535
  signed_up_but_inactive: 您已註冊成功,但由於您的帳號尚未啟用,我們暫時無法讓您登入。
1564
1536
  signed_up_but_locked: 你已成功註冊。然而,由於你的賬戶被鎖,我們無法讓你登入。
@@ -1575,7 +1547,6 @@ zh-TW:
1575
1547
  didn_t_receive_unlock_instructions: 沒有收到解鎖說明?
1576
1548
  forgot_your_password: 忘記密碼了嗎?
1577
1549
  log_in: 登入
1578
- sign_up: 註冊登記
1579
1550
  minimum_password_length:
1580
1551
  other: "One\n(最少%{count} 個字符)\n\nOther\n(最少%{count} 個字符)"
1581
1552
  unlocks:
@@ -1589,25 +1560,10 @@ zh-TW:
1589
1560
  emojis:
1590
1561
  button: 新增Emoji
1591
1562
  categories:
1592
- activities: 活躍狀態
1593
1563
  custom: 自訂
1594
1564
  flags: 旗幟
1595
1565
  objects: 目標
1596
- people-body: 人與身體
1597
- recents: 最近使用的
1598
- smileys-emotion: 表情符號和情感
1599
1566
  symbols: 符號
1600
- error:
1601
- load: 無法載入表情符號
1602
- recents:
1603
- clear: 清除最近的表情符號
1604
- none: 您尚未選擇任何表情符號。
1605
- retry: 再試一次
1606
- search:
1607
- _: 搜尋表情符號…
1608
- clear: 清除搜尋
1609
- error: 搜尋表情符號失敗。
1610
- not_found: 找不到結果
1611
1567
  errors:
1612
1568
  messages:
1613
1569
  allowed_file_content_types: '只允許使用以下擴展名的檔案: %{types}'
@@ -1624,7 +1580,6 @@ zh-TW:
1624
1580
  long_words: 包含過長的單詞(超過35個字符)
1625
1581
  must_start_with_caps: 必須以大寫字母開頭
1626
1582
  nesting_too_deep: 不能被放置在子類別中。
1627
- not_found: 找不到該項目。您之前註冊過嗎?
1628
1583
  not_locked: 未被鎖定
1629
1584
  not_saved:
1630
1585
  other: "One\n在處理您的請求時發生了錯誤:\n\nOther\n在處理您的請求時出現了多個錯誤:"
@@ -1701,7 +1656,6 @@ zh-TW:
1701
1656
  download_open_data: 下載開放數據檔案
1702
1657
  log_in: 登入
1703
1658
  made_with_open_source: 使用<a target="_blank" href="https://github.com/decidim/decidim">自由軟體</a>建立的網站。
1704
- sign_up: 註冊
1705
1659
  header:
1706
1660
  log_in: 登入
1707
1661
  main_menu: 主選單
data/config/routes.rb CHANGED
@@ -172,7 +172,6 @@ Decidim::Core::Engine.routes.draw do
172
172
  post :create
173
173
  end
174
174
  member do
175
- get :compare_draft
176
175
  get :edit_draft
177
176
  patch :update_draft
178
177
  delete :destroy_draft
@@ -4,7 +4,7 @@ class ChangeUserGroupsVerifiedToTimestamp < ActiveRecord::Migration[5.0]
4
4
  def change
5
5
  ActiveRecord::Base.transaction do
6
6
  add_column :decidim_user_groups, :verified_at, :datetime
7
- execute("UPDATE decidim_user_groups SET verified_at = '#{Time.current.to_s(:db)}' WHERE verified = 't'")
7
+ execute("UPDATE decidim_user_groups SET verified_at = '#{Time.current.to_fs(:db)}' WHERE verified = 't'")
8
8
  remove_column :decidim_user_groups, :verified
9
9
  end
10
10
  end
@@ -1,14 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class AddTimestampsToComponents < ActiveRecord::Migration[5.2]
4
- class Component < ApplicationRecord
5
- self.table_name = :decidim_components
6
- end
7
-
8
4
  def change
9
5
  add_timestamps :decidim_components, null: true
10
6
  # rubocop:disable Rails/SkipsModelValidations
11
- Component.update_all(created_at: Time.current, updated_at: Time.current)
7
+ Decidim::Component.update_all(created_at: Time.current, updated_at: Time.current)
12
8
  # rubocop:enable Rails/SkipsModelValidations
13
9
  change_column_null :decidim_components, :created_at, false
14
10
  change_column_null :decidim_components, :updated_at, false
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ class RenameExternalDomainWhitelistToExternalDomainAllowlist < ActiveRecord::Migration[6.1]
4
+ def change
5
+ rename_column :decidim_organizations, :external_domain_whitelist, :external_domain_allowlist
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ class RemoveShowInFooterInStaticPages < ActiveRecord::Migration[6.1]
4
+ def change
5
+ remove_column :decidim_static_pages, :show_in_footer, :boolean
6
+ end
7
+ end
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ class ChangeNameOnDecidimOrganizations < ActiveRecord::Migration[6.1]
4
+ class Organization < ApplicationRecord
5
+ self.table_name = :decidim_organizations
6
+ end
7
+
8
+ def up
9
+ rename_column :decidim_organizations, :name, :old_name
10
+ add_column :decidim_organizations, :name, :jsonb, null: false, default: {}
11
+
12
+ Organization.reset_column_information
13
+
14
+ Organization.find_each do |organization|
15
+ organization.update(name: { organization.default_locale => organization.old_name })
16
+ end
17
+ remove_column :decidim_organizations, :old_name
18
+ end
19
+
20
+ def down
21
+ rename_column :decidim_organizations, :name, :old_name
22
+ add_column :decidim_organizations, :name, :string, null: false, default: ""
23
+
24
+ Organization.reset_column_information
25
+
26
+ Organization.find_each do |organization|
27
+ organization.update(name: organization.old_name[organization.default_locale])
28
+ end
29
+ remove_column :decidim_organizations, :old_name
30
+ end
31
+ end
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file