decidim-core 0.27.4 → 0.28.0.rc5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/app/cells/decidim/activities/show.erb +5 -3
- data/app/cells/decidim/activities_cell.rb +5 -5
- data/app/cells/decidim/activity/show.erb +23 -22
- data/app/cells/decidim/activity_cell.rb +26 -6
- data/app/cells/decidim/address/online.erb +9 -0
- data/app/cells/decidim/address/show.erb +13 -13
- data/app/cells/decidim/address_cell.rb +3 -7
- data/app/cells/decidim/amendable/amend_button_card/show.erb +4 -9
- data/app/cells/decidim/amendable/amend_button_card_cell.rb +0 -17
- data/app/cells/decidim/amendable/amenders_list/show.erb +0 -12
- data/app/cells/decidim/amendable/amendments/show.erb +12 -0
- data/app/cells/decidim/amendable/amendments_cell.rb +25 -0
- data/app/cells/decidim/amendable/announcement_cell.rb +1 -1
- data/app/cells/decidim/amendable/emendation_actions/show.erb +12 -10
- data/app/cells/decidim/amendable/emendation_actions_cell.rb +0 -26
- data/app/cells/decidim/amendable/promote_button_card/show.erb +9 -9
- data/app/cells/decidim/amendable/promote_button_card_cell.rb +1 -5
- data/app/cells/decidim/amendable/wizard_step_form_cell.rb +5 -5
- data/app/cells/decidim/announcement/show.erb +10 -10
- data/app/cells/decidim/announcement_cell.rb +14 -4
- data/app/cells/decidim/author/avatar.erb +9 -0
- data/app/cells/decidim/author/avatar_image.erb +1 -0
- data/app/cells/decidim/author/cancelled_on.erb +4 -0
- data/app/cells/decidim/author/comments.erb +3 -5
- data/app/cells/decidim/author/date.erb +4 -5
- data/app/cells/decidim/author/endorsements.erb +3 -5
- data/app/cells/decidim/author/flag.erb +6 -8
- data/app/cells/decidim/author/flag_user.erb +10 -6
- data/app/cells/decidim/author/name.erb +5 -0
- data/app/cells/decidim/author/profile_minicard.erb +24 -19
- data/app/cells/decidim/author/show.erb +22 -14
- data/app/cells/decidim/author/withdraw.erb +3 -5
- data/app/cells/decidim/author_cell.rb +50 -32
- data/app/cells/decidim/authorization_modal/show.erb +28 -0
- data/app/cells/decidim/authorization_modal_cell.rb +92 -0
- data/app/cells/decidim/badge/show.erb +9 -31
- data/app/cells/decidim/badge/small.erb +3 -3
- data/app/cells/decidim/badges/show.erb +13 -6
- data/app/cells/decidim/badges_cell.rb +1 -0
- data/app/cells/decidim/button/button.erb +9 -0
- data/app/cells/decidim/button/content.erb +2 -0
- data/app/cells/decidim/button/link.erb +10 -0
- data/app/cells/decidim/button/show.erb +5 -0
- data/app/cells/decidim/button_cell.rb +48 -0
- data/app/cells/decidim/card/show.erb +8 -16
- data/app/cells/decidim/card/title.erb +1 -0
- data/app/cells/decidim/card_cell.rb +63 -6
- data/app/cells/decidim/card_g/show.erb +19 -0
- data/app/cells/decidim/card_g_cell.rb +102 -0
- data/app/cells/decidim/card_l/author.erb +3 -0
- data/app/cells/decidim/card_l/content.erb +10 -0
- data/app/cells/decidim/card_l/description.erb +3 -0
- data/app/cells/decidim/card_l/image.erb +11 -0
- data/app/cells/decidim/card_l/metadata.erb +3 -0
- data/app/cells/decidim/card_l/show.erb +13 -0
- data/app/cells/decidim/card_l/space.erb +1 -0
- data/app/cells/decidim/card_l/title_and_details.erb +5 -0
- data/app/cells/decidim/card_l_cell.rb +139 -0
- data/app/cells/decidim/card_metadata/show.erb +22 -0
- data/app/cells/decidim/card_metadata_cell.rb +218 -0
- data/app/cells/decidim/card_s/show.erb +10 -0
- data/app/cells/decidim/card_s_cell.rb +34 -0
- data/app/cells/decidim/coauthorships_cell.rb +2 -27
- data/app/cells/decidim/collapsible_authors/show.erb +17 -16
- data/app/cells/decidim/collapsible_authors/stack.erb +9 -0
- data/app/cells/decidim/collapsible_authors_cell.rb +13 -22
- data/app/cells/decidim/comments_button_cell.rb +31 -0
- data/app/cells/decidim/content_blocks/base/show.erb +3 -0
- data/app/cells/decidim/content_blocks/base_cell.rb +49 -0
- data/app/cells/decidim/content_blocks/cta/show.erb +10 -12
- data/app/cells/decidim/content_blocks/cta_cell.rb +0 -4
- data/app/cells/decidim/content_blocks/footer_sub_hero/show.erb +14 -12
- data/app/cells/decidim/content_blocks/global_menu/show.erb +11 -0
- data/app/cells/decidim/content_blocks/global_menu_cell.rb +35 -0
- data/app/cells/decidim/content_blocks/hero/cta_button.erb +4 -0
- data/app/cells/decidim/content_blocks/hero/show.erb +11 -18
- data/app/cells/decidim/content_blocks/hero_cell.rb +1 -1
- data/app/cells/decidim/content_blocks/highlighted_content_banner/show.erb +16 -20
- data/app/cells/decidim/content_blocks/highlighted_elements_cell.rb +7 -31
- data/app/cells/decidim/content_blocks/highlighted_elements_for_component_settings_form/show.erb +4 -0
- data/app/cells/decidim/content_blocks/highlighted_elements_for_component_settings_form_cell.rb +31 -0
- data/app/cells/decidim/content_blocks/highlighted_elements_settings_form/show.erb +1 -1
- data/app/cells/decidim/content_blocks/highlighted_elements_with_cell_for_list/content.erb +1 -0
- data/app/cells/decidim/content_blocks/highlighted_elements_with_cell_for_list_cell.rb +29 -0
- data/app/cells/decidim/content_blocks/highlighted_participatory_spaces/content.erb +16 -0
- data/app/cells/decidim/content_blocks/highlighted_participatory_spaces_cell.rb +39 -0
- data/app/cells/decidim/content_blocks/how_to_participate/show.erb +37 -41
- data/app/cells/decidim/content_blocks/html/show.erb +1 -1
- data/app/cells/decidim/content_blocks/html_cell.rb +4 -0
- data/app/cells/decidim/content_blocks/html_settings_form/show.erb +1 -1
- data/app/cells/decidim/content_blocks/last_activity/show.erb +11 -14
- data/app/cells/decidim/content_blocks/last_activity_cell.rb +2 -2
- data/app/cells/decidim/content_blocks/last_activity_settings_form/show.erb +3 -0
- data/app/cells/decidim/content_blocks/last_activity_settings_form_cell.rb +13 -0
- data/app/cells/decidim/content_blocks/menu_breadcrumb_last_activity/show.erb +10 -0
- data/app/cells/decidim/content_blocks/menu_breadcrumb_last_activity_cell.rb +43 -0
- data/app/cells/decidim/content_blocks/organization_metrics_cell.rb +21 -0
- data/app/cells/decidim/content_blocks/participatory_space_announcement/content.erb +1 -0
- data/app/cells/decidim/content_blocks/participatory_space_announcement_cell.rb +19 -0
- data/app/cells/decidim/content_blocks/participatory_space_documents/content.erb +5 -0
- data/app/cells/decidim/content_blocks/participatory_space_documents_cell.rb +7 -0
- data/app/cells/decidim/content_blocks/participatory_space_extra_data/content.erb +5 -0
- data/app/cells/decidim/content_blocks/participatory_space_extra_data/extra_data.erb +13 -0
- data/app/cells/decidim/content_blocks/participatory_space_extra_data/recent_users.erb +5 -0
- data/app/cells/decidim/content_blocks/participatory_space_extra_data_cell.rb +13 -0
- data/app/cells/decidim/content_blocks/participatory_space_hero/show.erb +20 -0
- data/app/cells/decidim/content_blocks/participatory_space_hero_cell.rb +41 -0
- data/app/cells/decidim/content_blocks/participatory_space_images/content.erb +5 -0
- data/app/cells/decidim/content_blocks/participatory_space_images_cell.rb +7 -0
- data/app/cells/decidim/content_blocks/participatory_space_last_activity/content.erb +11 -0
- data/app/cells/decidim/content_blocks/participatory_space_last_activity/recent_avatars.erb +5 -0
- data/app/cells/decidim/content_blocks/participatory_space_last_activity_cell.rb +45 -0
- data/app/cells/decidim/content_blocks/participatory_space_main_data/content.erb +7 -0
- data/app/cells/decidim/content_blocks/participatory_space_main_data/title.erb +32 -0
- data/app/cells/decidim/content_blocks/participatory_space_main_data_cell.rb +23 -0
- data/app/cells/decidim/content_blocks/participatory_space_metadata/content.erb +10 -0
- data/app/cells/decidim/content_blocks/participatory_space_metadata_cell.rb +40 -0
- data/app/cells/decidim/content_blocks/participatory_space_metrics/content.erb +18 -0
- data/app/cells/decidim/content_blocks/participatory_space_metrics_cell.rb +43 -0
- data/app/cells/decidim/content_blocks/participatory_space_social_networks/content.erb +10 -0
- data/app/cells/decidim/content_blocks/participatory_space_social_networks_cell.rb +31 -0
- data/app/cells/decidim/content_blocks/participatory_space_stats/content.erb +1 -0
- data/app/cells/decidim/content_blocks/participatory_space_stats_cell.rb +21 -0
- data/app/cells/decidim/content_blocks/static_page/section/show.erb +1 -0
- data/app/cells/decidim/content_blocks/static_page/section_cell.rb +13 -0
- data/app/cells/decidim/content_blocks/static_page/section_settings_form/show.erb +3 -0
- data/app/cells/decidim/content_blocks/static_page/section_settings_form_cell.rb +19 -0
- data/app/cells/decidim/content_blocks/static_page/summary/show.erb +1 -0
- data/app/cells/decidim/content_blocks/static_page/summary_cell.rb +13 -0
- data/app/cells/decidim/content_blocks/static_page/summary_settings_form/show.erb +3 -0
- data/app/cells/decidim/content_blocks/static_page/summary_settings_form_cell.rb +19 -0
- data/app/cells/decidim/content_blocks/static_page/two_pane_section/show.erb +8 -0
- data/app/cells/decidim/content_blocks/static_page/two_pane_section_cell.rb +17 -0
- data/app/cells/decidim/content_blocks/static_page/two_pane_section_settings_form/show.erb +4 -0
- data/app/cells/decidim/content_blocks/static_page/two_pane_section_settings_form_cell.rb +23 -0
- data/app/cells/decidim/content_blocks/stats/show.erb +5 -18
- data/app/cells/decidim/content_blocks/sub_hero/show.erb +11 -13
- data/app/cells/decidim/data_consent/category.erb +49 -45
- data/app/cells/decidim/data_consent/dialog.erb +20 -24
- data/app/cells/decidim/data_consent/modal.erb +32 -36
- data/app/cells/decidim/date_range/show.erb +4 -4
- data/app/cells/decidim/diff/attribute.erb +5 -25
- data/app/cells/decidim/diff/diff_mode_dropdown.erb +5 -33
- data/app/cells/decidim/diff/diff_mode_html.erb +5 -33
- data/app/cells/decidim/diff/diff_split.erb +2 -11
- data/app/cells/decidim/diff/diff_split_full.erb +8 -0
- data/app/cells/decidim/diff/diff_unified.erb +1 -7
- data/app/cells/decidim/diff/show.erb +10 -3
- data/app/cells/decidim/diff_cell.rb +35 -4
- data/app/cells/decidim/documents_panel/show.erb +1 -0
- data/app/cells/decidim/documents_panel_cell.rb +34 -0
- data/app/cells/decidim/endorsement_block/show.erb +4 -0
- data/app/cells/decidim/endorsement_block_cell.rb +7 -0
- data/app/cells/decidim/endorsement_buttons/button_content.erb +2 -0
- data/app/cells/decidim/endorsement_buttons/disabled_endorsements.erb +3 -0
- data/app/cells/decidim/endorsement_buttons/select_identity_button.erb +5 -7
- data/app/cells/decidim/endorsement_buttons/show.erb +16 -3
- data/app/cells/decidim/endorsement_buttons/verification_modal.erb +5 -0
- data/app/cells/decidim/endorsement_buttons_cell.rb +25 -138
- data/app/cells/decidim/endorsers_list/full.erb +6 -0
- data/app/cells/decidim/endorsers_list/full_endorsers_list.erb +3 -0
- data/app/cells/decidim/endorsers_list/show.erb +11 -16
- data/app/cells/decidim/endorsers_list_button/content.erb +1 -0
- data/app/cells/decidim/endorsers_list_button_cell.rb +15 -0
- data/app/cells/decidim/endorsers_list_cell.rb +25 -5
- data/app/cells/decidim/flag_modal/flag_user.erb +12 -2
- data/app/cells/decidim/flag_modal/show.erb +51 -26
- data/app/cells/decidim/flag_modal_cell.rb +22 -1
- data/app/cells/decidim/follow_button/content.erb +2 -0
- data/app/cells/decidim/follow_button/show.erb +24 -53
- data/app/cells/decidim/follow_button_cell.rb +23 -34
- data/app/cells/decidim/followers/show.erb +11 -8
- data/app/cells/decidim/followers_cell.rb +4 -0
- data/app/cells/decidim/following/show.erb +6 -11
- data/app/cells/decidim/following_cell.rb +9 -2
- data/app/cells/decidim/footer_pages/pages.erb +3 -0
- data/app/cells/decidim/footer_pages/topics.erb +12 -0
- data/app/cells/decidim/footer_pages_cell.rb +68 -0
- data/app/cells/decidim/group_admins/show.erb +32 -0
- data/app/cells/decidim/group_admins_cell.rb +8 -0
- data/app/cells/decidim/group_members/show.erb +42 -0
- data/app/cells/decidim/group_members_cell.rb +8 -0
- data/app/cells/decidim/groups/show.erb +12 -8
- data/app/cells/decidim/groups_cell.rb +6 -0
- data/app/cells/decidim/highlighted_participatory_process/show.erb +1 -0
- data/app/cells/decidim/highlighted_participatory_process_cell.rb +15 -0
- data/app/cells/decidim/images_panel/show.erb +7 -0
- data/app/cells/decidim/images_panel_cell.rb +29 -0
- data/app/cells/decidim/linked_resources_for/show.erb +3 -0
- data/app/cells/decidim/linked_resources_for_cell.rb +52 -0
- data/app/cells/decidim/members/show.erb +11 -8
- data/app/cells/decidim/members_cell.rb +9 -7
- data/app/cells/decidim/nav_links/show.erb +17 -0
- data/app/cells/decidim/nav_links_cell.rb +10 -0
- data/app/cells/decidim/navbar_admin_link/show.erb +4 -6
- data/app/cells/decidim/navbar_admin_link_cell.rb +2 -8
- data/app/cells/decidim/newsletter_templates/basic_only_text/show.erb +1 -12
- data/app/cells/decidim/newsletter_templates/image_text_cta/show.erb +1 -12
- data/app/cells/decidim/newsletter_templates/image_text_cta_settings_form/show.erb +1 -1
- data/app/cells/decidim/notification/show.erb +14 -30
- data/app/cells/decidim/notification_cell.rb +11 -0
- data/app/cells/decidim/notifications/show.erb +5 -20
- data/app/cells/decidim/notifications/validations.erb +3 -0
- data/app/cells/decidim/notifications_cell.rb +13 -0
- data/app/cells/decidim/pad_iframe/show.erb +1 -1
- data/app/cells/decidim/participatory_space_dropdown_metadata/links.erb +9 -0
- data/app/cells/decidim/participatory_space_dropdown_metadata/metadata.erb +9 -0
- data/app/cells/decidim/participatory_space_dropdown_metadata/show.erb +9 -0
- data/app/cells/decidim/participatory_space_dropdown_metadata_cell.rb +35 -0
- data/app/cells/decidim/photo/show.erb +19 -0
- data/app/cells/decidim/photo_cell.rb +44 -0
- data/app/cells/decidim/photos_list/show.erb +5 -0
- data/app/cells/decidim/photos_list_cell.rb +16 -0
- data/app/cells/decidim/profile/avatar.erb +7 -0
- data/app/cells/decidim/profile/badge.erb +4 -0
- data/app/cells/decidim/profile/details.erb +22 -0
- data/app/cells/decidim/profile/inaccessible.erb +1 -9
- data/app/cells/decidim/profile/invalid.erb +1 -9
- data/app/cells/decidim/profile/show.erb +24 -14
- data/app/cells/decidim/profile/tabs.erb +13 -0
- data/app/cells/decidim/profile_actions/dropdown_actions.erb +21 -0
- data/app/cells/decidim/profile_actions/profile_actions.erb +7 -0
- data/app/cells/decidim/profile_actions/show.erb +12 -0
- data/app/cells/decidim/profile_actions_cell.rb +144 -0
- data/app/cells/decidim/profile_cell.rb +77 -11
- data/app/cells/decidim/profile_sidebar/show.erb +11 -11
- data/app/cells/decidim/progress_bar/show.erb +9 -19
- data/app/cells/decidim/progress_bar_cell.rb +1 -30
- data/app/cells/decidim/public_participation/show.erb +1 -1
- data/app/cells/decidim/report_button/already_reported_modal.erb +11 -0
- data/app/cells/decidim/report_button/flag_modal.erb +60 -0
- data/app/cells/decidim/report_button/show.erb +2 -0
- data/app/cells/decidim/report_button_cell.rb +82 -0
- data/app/cells/decidim/represent_user_group/show.erb +5 -5
- data/app/cells/decidim/resource_types_filter/show.erb +22 -0
- data/app/cells/decidim/resource_types_filter_cell.rb +56 -0
- data/app/cells/decidim/search_results/show.erb +1 -2
- data/app/cells/decidim/search_results_section/show.erb +20 -20
- data/app/cells/decidim/search_results_section_cell.rb +0 -4
- data/app/cells/decidim/share_button_cell.rb +23 -0
- data/app/cells/decidim/statistic/show.erb +4 -5
- data/app/cells/decidim/statistics/show.erb +7 -19
- data/app/cells/decidim/statistics_cell.rb +0 -20
- data/app/cells/decidim/tab_panels/show.erb +19 -0
- data/app/cells/decidim/tab_panels_cell.rb +40 -0
- data/app/cells/decidim/tags/show.erb +3 -4
- data/app/cells/decidim/tags_cell.rb +24 -5
- data/app/cells/decidim/tos_page/form.erb +9 -15
- data/app/cells/decidim/tos_page/refuse_btn_modal.erb +17 -27
- data/app/cells/decidim/tos_page_cell.rb +3 -3
- data/app/cells/decidim/upload_modal/files.erb +50 -35
- data/app/cells/decidim/upload_modal/modal.erb +62 -44
- data/app/cells/decidim/upload_modal/show.erb +1 -2
- data/app/cells/decidim/upload_modal_cell.rb +19 -30
- data/app/cells/decidim/user_activity/show.erb +9 -27
- data/app/cells/decidim/user_activity_cell.rb +4 -2
- data/app/cells/decidim/user_conversation/conversation_header.erb +12 -12
- data/app/cells/decidim/user_conversation/messages.erb +1 -15
- data/app/cells/decidim/user_conversation/new.erb +4 -13
- data/app/cells/decidim/user_conversation/reply.erb +8 -16
- data/app/cells/decidim/user_conversation/show.erb +15 -18
- data/app/cells/decidim/user_conversation/start.erb +12 -0
- data/app/cells/decidim/user_conversation_cell.rb +7 -32
- data/app/cells/decidim/user_conversations/new_conversation_button.erb +20 -0
- data/app/cells/decidim/user_conversations/show.erb +11 -55
- data/app/cells/decidim/user_conversations_cell.rb +2 -21
- data/app/cells/decidim/user_group_pending_invitations_list/show.erb +22 -17
- data/app/cells/decidim/user_group_pending_requests_list/show.erb +21 -17
- data/app/cells/decidim/user_profile/badge.erb +4 -0
- data/app/cells/decidim/user_profile/role_badge.erb +3 -0
- data/app/cells/decidim/user_profile/show.erb +15 -0
- data/app/cells/decidim/user_profile_cell.rb +19 -24
- data/app/cells/decidim/user_timeline/show.erb +1 -3
- data/app/cells/decidim/version/show.erb +5 -30
- data/app/cells/decidim/version_author_cell.rb +13 -10
- data/app/cells/decidim/version_cell.rb +7 -22
- data/app/cells/decidim/versions_list/show.erb +3 -32
- data/app/cells/decidim/versions_list_cell.rb +10 -22
- data/app/cells/decidim/versions_list_item/show.erb +4 -20
- data/app/cells/decidim/versions_list_item_cell.rb +10 -3
- data/app/cells/decidim/wizard_step_form/wizard_aside.erb +1 -1
- data/app/cells/decidim/wizard_step_form/wizard_header.erb +2 -2
- data/app/cells/decidim/wizard_step_form_cell.rb +3 -3
- data/app/commands/decidim/accept_group_invitation.rb +2 -2
- data/app/commands/decidim/accept_user_group_join_request.rb +1 -1
- data/app/commands/decidim/amendable/accept.rb +1 -1
- data/app/commands/decidim/amendable/create_draft.rb +2 -2
- data/app/commands/decidim/amendable/publish_draft.rb +1 -1
- data/app/commands/decidim/amendable/reject.rb +1 -1
- data/app/commands/decidim/amendable/update_draft.rb +1 -1
- data/app/commands/decidim/attachment_methods.rb +1 -5
- data/app/commands/decidim/create_editor_image.rb +1 -1
- data/app/commands/decidim/create_follow.rb +1 -1
- data/app/commands/decidim/create_omniauth_registration.rb +4 -5
- data/app/commands/decidim/create_registration.rb +1 -2
- data/app/commands/decidim/create_report.rb +15 -24
- data/app/commands/decidim/create_user_group.rb +1 -1
- data/app/commands/decidim/create_user_report.rb +1 -1
- data/app/commands/decidim/delete_follow.rb +1 -1
- data/app/commands/decidim/demote_membership.rb +2 -2
- data/app/commands/decidim/endorse_resource.rb +3 -1
- data/app/commands/decidim/gallery_methods.rb +1 -1
- data/app/commands/decidim/invite_user_to_group.rb +3 -3
- data/app/commands/decidim/join_user_group.rb +3 -3
- data/app/commands/decidim/leave_user_group.rb +4 -4
- data/app/commands/decidim/messaging/reply_to_conversation.rb +2 -2
- data/app/commands/decidim/messaging/start_conversation.rb +2 -2
- data/app/commands/decidim/multiple_attachments_methods.rb +5 -3
- data/app/commands/decidim/promote_membership.rb +1 -1
- data/app/commands/decidim/reject_group_invitation.rb +2 -2
- data/app/commands/decidim/reject_user_group_join_request.rb +1 -1
- data/app/commands/decidim/remove_user_from_group.rb +1 -1
- data/app/commands/decidim/search.rb +3 -11
- data/app/commands/decidim/unendorse_resource.rb +2 -2
- data/app/commands/decidim/update_account.rb +21 -5
- data/app/commands/decidim/update_password.rb +0 -1
- data/app/commands/decidim/update_user_group.rb +1 -1
- data/app/constraints/decidim/current_component.rb +1 -1
- data/app/controllers/concerns/decidim/amendments_controller.rb +9 -1
- data/app/controllers/concerns/decidim/devise_controllers.rb +3 -0
- data/app/controllers/concerns/decidim/disable_redirection_to_external_host.rb +1 -1
- data/app/controllers/concerns/decidim/filter_resource.rb +9 -15
- data/app/controllers/concerns/decidim/force_authentication.rb +7 -3
- data/app/controllers/concerns/decidim/has_account_breadcrumb.rb +24 -0
- data/app/controllers/concerns/decidim/has_participatory_space_content_blocks.rb +31 -0
- data/app/controllers/concerns/decidim/has_profile_breadcrumb.rb +24 -0
- data/app/controllers/concerns/decidim/has_specific_breadcrumb.rb +23 -0
- data/app/controllers/concerns/decidim/has_stored_path.rb +2 -2
- data/app/controllers/concerns/decidim/headers/content_security_policy.rb +25 -0
- data/app/controllers/concerns/decidim/headers/http_caching_disabler.rb +23 -0
- data/app/controllers/concerns/decidim/html_safe_flash.rb +40 -0
- data/app/controllers/concerns/decidim/linked_resource_reference.rb +30 -0
- data/app/controllers/concerns/decidim/locale_switcher.rb +2 -2
- data/app/controllers/concerns/decidim/needs_permission.rb +1 -1
- data/app/controllers/concerns/decidim/needs_tos_accepted.rb +12 -5
- data/app/controllers/concerns/decidim/paginable.rb +1 -1
- data/app/controllers/concerns/decidim/participatory_space_context.rb +30 -1
- data/app/controllers/concerns/decidim/safe_redirect.rb +1 -1
- data/app/controllers/concerns/decidim/skip_timeoutable.rb +1 -1
- data/app/controllers/concerns/decidim/use_organization_time_zone.rb +2 -2
- data/app/controllers/concerns/decidim/user_profile.rb +2 -1
- data/app/controllers/decidim/account_controller.rb +13 -8
- data/app/controllers/decidim/application_controller.rb +8 -3
- data/app/controllers/decidim/authorization_modals_controller.rb +5 -5
- data/app/controllers/decidim/components/base_controller.rb +15 -4
- data/app/controllers/decidim/devise/confirmations_controller.rb +3 -1
- data/app/controllers/decidim/devise/invitations_controller.rb +1 -1
- data/app/controllers/decidim/devise/omniauth_registrations_controller.rb +1 -1
- data/app/controllers/decidim/devise/passwords_controller.rb +1 -1
- data/app/controllers/decidim/devise/registrations_controller.rb +2 -2
- data/app/controllers/decidim/devise/sessions_controller.rb +1 -1
- data/app/controllers/decidim/devise/unlocks_controller.rb +1 -1
- data/app/controllers/decidim/doorkeeper/authorizations_controller.rb +9 -0
- data/app/controllers/decidim/download_your_data_controller.rb +3 -3
- data/app/controllers/decidim/endorsements_controller.rb +3 -3
- data/app/controllers/decidim/errors_controller.rb +8 -0
- data/app/controllers/decidim/favicon_controller.rb +56 -0
- data/app/controllers/decidim/follows_controller.rb +13 -3
- data/app/controllers/decidim/free_resource_authorization_modals_controller.rb +4 -4
- data/app/controllers/decidim/gamification/badges_controller.rb +10 -0
- data/app/controllers/decidim/group_email_confirmations_controller.rb +1 -1
- data/app/controllers/decidim/group_invites_controller.rb +2 -2
- data/app/controllers/decidim/group_members_controller.rb +23 -10
- data/app/controllers/decidim/groups_controller.rb +5 -4
- data/app/controllers/decidim/homepage_controller.rb +0 -1
- data/app/controllers/decidim/last_activities_controller.rb +14 -12
- data/app/controllers/decidim/links_controller.rb +6 -5
- data/app/controllers/decidim/locales_controller.rb +1 -1
- data/app/controllers/decidim/messaging/conversations_controller.rb +26 -8
- data/app/controllers/decidim/newsletters_opt_in_controller.rb +1 -1
- data/app/controllers/decidim/notifications_controller.rb +11 -1
- data/app/controllers/decidim/notifications_settings_controller.rb +2 -2
- data/app/controllers/decidim/offline_controller.rb +9 -0
- data/app/controllers/decidim/pages_controller.rb +15 -2
- data/app/controllers/decidim/profiles_controller.rb +31 -2
- data/app/controllers/decidim/report_users_controller.rb +5 -1
- data/app/controllers/decidim/reports_controller.rb +1 -1
- data/app/controllers/decidim/scopes_controller.rb +7 -7
- data/app/controllers/decidim/searches_controller.rb +17 -4
- data/app/controllers/decidim/tos_controller.rb +3 -3
- data/app/controllers/decidim/user_activities_controller.rb +8 -4
- data/app/controllers/decidim/user_conversations_controller.rb +4 -3
- data/app/controllers/decidim/user_group_join_requests_controller.rb +7 -7
- data/app/controllers/decidim/user_interests_controller.rb +2 -2
- data/app/events/decidim/amendable/amendment_accepted_event.rb +1 -1
- data/app/events/decidim/amendable/amendment_base_event.rb +1 -1
- data/app/events/decidim/amendable/amendment_created_event.rb +1 -1
- data/app/events/decidim/amendable/amendment_rejected_event.rb +1 -1
- data/app/events/decidim/amendable/emendation_promoted_event.rb +1 -1
- data/app/events/decidim/change_nickname_event.rb +1 -1
- data/app/events/decidim/demoted_membership_event.rb +3 -3
- data/app/events/decidim/invited_to_group_event.rb +1 -1
- data/app/events/decidim/join_request_accepted_event.rb +1 -1
- data/app/events/decidim/join_request_created_event.rb +3 -3
- data/app/events/decidim/join_request_rejected_event.rb +1 -1
- data/app/events/decidim/profile_updated_event.rb +1 -1
- data/app/events/decidim/promoted_to_admin_event.rb +3 -3
- data/app/events/decidim/removed_from_group_event.rb +3 -3
- data/app/events/decidim/resource_endorsed_event.rb +1 -1
- data/app/events/decidim/user_group_admin_event.rb +1 -1
- data/app/events/decidim/user_group_created_event.rb +1 -1
- data/app/events/decidim/user_group_updated_event.rb +1 -1
- data/app/forms/decidim/account_form.rb +13 -8
- data/app/forms/decidim/amendable/form.rb +2 -2
- data/app/forms/decidim/follow_form.rb +1 -1
- data/app/forms/decidim/invite_user_form.rb +1 -1
- data/app/forms/decidim/notifications_settings_form.rb +0 -8
- data/app/forms/decidim/password_form.rb +1 -2
- data/app/forms/decidim/registration_form.rb +8 -12
- data/app/forms/decidim/report_form.rb +2 -0
- data/app/forms/decidim/user_group_form.rb +7 -7
- data/app/forms/decidim/user_interest_scope_form.rb +1 -1
- data/app/forms/decidim/user_interests_form.rb +1 -7
- data/app/helpers/concerns/decidim/flash_helper_extensions.rb +80 -12
- data/app/helpers/decidim/account_helper.rb +9 -0
- data/app/helpers/decidim/action_authorization_helper.rb +11 -11
- data/app/helpers/decidim/amendments_helper.rb +45 -27
- data/app/helpers/decidim/application_helper.rb +11 -11
- data/app/helpers/decidim/aria_selected_link_to_helper.rb +1 -1
- data/app/helpers/decidim/attachments_helper.rb +26 -3
- data/app/helpers/decidim/authorization_form_helper.rb +2 -2
- data/app/helpers/decidim/breadcrumb_helper.rb +60 -0
- data/app/helpers/decidim/cache_helper.rb +2 -2
- data/app/helpers/decidim/cells_paginate_helper.rb +1 -1
- data/app/helpers/decidim/check_boxes_tree_helper.rb +82 -17
- data/app/helpers/decidim/component_path_helper.rb +1 -1
- data/app/helpers/decidim/contextual_help_helper.rb +2 -2
- data/app/helpers/decidim/cta_button_helper.rb +5 -3
- data/app/helpers/decidim/date_range_helper.rb +19 -0
- data/app/helpers/decidim/decidim_form_helper.rb +24 -9
- data/app/helpers/decidim/endorsable_helper.rb +3 -3
- data/app/helpers/decidim/filters_helper.rb +16 -17
- data/app/helpers/decidim/followable_helper.rb +5 -2
- data/app/helpers/decidim/icon_helper.rb +20 -3
- data/app/helpers/decidim/layout_helper.rb +52 -39
- data/app/helpers/decidim/map_helper.rb +20 -46
- data/app/helpers/decidim/menu_helper.rb +47 -0
- data/app/helpers/decidim/messaging/conversation_helper.rb +34 -16
- data/app/helpers/decidim/meta_tags_helper.rb +3 -3
- data/app/helpers/decidim/modal_helper.rb +38 -0
- data/app/helpers/decidim/omniauth_helper.rb +7 -2
- data/app/helpers/decidim/orders_helper.rb +3 -3
- data/app/helpers/decidim/paginate_helper.rb +12 -1
- data/app/helpers/decidim/participatory_space_helpers.rb +4 -5
- data/app/helpers/decidim/passwords_helper.rb +19 -4
- data/app/helpers/decidim/resource_helper.rb +4 -26
- data/app/helpers/decidim/resource_reference_helper.rb +3 -3
- data/app/helpers/decidim/resource_versions_helper.rb +6 -4
- data/app/helpers/decidim/rich_text_editor_helper.rb +1 -0
- data/app/helpers/decidim/sanitize_helper.rb +8 -6
- data/app/helpers/decidim/scopes_helper.rb +23 -13
- data/app/helpers/decidim/searches_helper.rb +2 -2
- data/app/helpers/decidim/short_link_helper.rb +1 -1
- data/app/helpers/decidim/social_share_button_helper.rb +53 -0
- data/app/helpers/decidim/tooltip_helper.rb +4 -3
- data/app/helpers/decidim/traceability_helper.rb +3 -1
- data/app/helpers/decidim/twitter_search_helper.rb +1 -1
- data/app/helpers/decidim/view_hooks_helper.rb +1 -4
- data/app/jobs/decidim/download_your_data_export_job.rb +2 -1
- data/app/jobs/decidim/email_notifications_digest_generator_job.rb +2 -2
- data/app/jobs/decidim/event_publisher_job.rb +2 -2
- data/app/jobs/decidim/export_job.rb +4 -1
- data/app/jobs/decidim/find_and_update_descendants_job.rb +1 -1
- data/app/jobs/decidim/hide_all_created_by_author_job.rb +31 -0
- data/app/jobs/decidim/machine_translation_fields_job.rb +1 -1
- data/app/jobs/decidim/machine_translation_resource_job.rb +1 -1
- data/app/jobs/decidim/machine_translation_save_job.rb +2 -2
- data/app/jobs/decidim/open_data_job.rb +3 -1
- data/app/mailers/decidim/block_user_mailer.rb +1 -1
- data/app/mailers/decidim/decidim_devise_mailer.rb +1 -1
- data/app/mailers/decidim/messaging/conversation_mailer.rb +7 -7
- data/app/mailers/decidim/notification_mailer.rb +2 -2
- data/app/mailers/decidim/reported_mailer.rb +3 -3
- data/app/mailers/decidim/user_update_mailer.rb +28 -0
- data/app/models/decidim/action_log.rb +41 -9
- data/app/models/decidim/amendment.rb +8 -11
- data/app/models/decidim/authorization.rb +14 -4
- data/app/models/decidim/authorization_transfer.rb +257 -0
- data/app/models/decidim/authorization_transfer_record.rb +31 -0
- data/app/models/decidim/coauthorship.rb +7 -0
- data/app/models/decidim/component.rb +2 -2
- data/app/models/decidim/content_block.rb +5 -5
- data/app/models/decidim/contextual_help_section.rb +3 -3
- data/app/models/decidim/follow.rb +1 -3
- data/app/models/decidim/messaging/conversation.rb +7 -7
- data/app/models/decidim/messaging/message.rb +1 -1
- data/app/models/decidim/messaging/receipt.rb +1 -1
- data/app/models/decidim/newsletter.rb +2 -2
- data/app/models/decidim/notification.rb +5 -5
- data/app/models/decidim/organization.rb +16 -10
- data/app/models/decidim/participatory_space_private_user.rb +2 -23
- data/app/models/decidim/permission_action.rb +1 -1
- data/app/models/decidim/reminder_record.rb +3 -20
- data/app/models/decidim/report.rb +1 -1
- data/app/models/decidim/share_token.rb +2 -2
- data/app/models/decidim/short_link.rb +6 -6
- data/app/models/decidim/static_page.rb +5 -5
- data/app/models/decidim/user.rb +15 -6
- data/app/models/decidim/user_base_entity.rb +16 -2
- data/app/models/decidim/user_group.rb +4 -4
- data/app/packs/entrypoints/decidim_conference_diploma.scss +3 -1
- data/app/packs/entrypoints/decidim_core.js +4 -66
- data/app/packs/entrypoints/decidim_core.scss +2 -0
- data/app/packs/entrypoints/decidim_editor.js +7 -0
- data/app/packs/entrypoints/decidim_email.js +2 -1
- data/app/packs/entrypoints/decidim_map.scss +2 -0
- data/app/packs/fonts/decidim/source-sans-pro-v21-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-600.eot +0 -0
- data/app/packs/fonts/decidim/source-sans-pro-v21-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-600.svg +337 -0
- data/app/packs/fonts/decidim/source-sans-pro-v21-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-600.ttf +0 -0
- data/app/packs/fonts/decidim/source-sans-pro-v21-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-600.woff +0 -0
- data/app/packs/fonts/decidim/source-sans-pro-v21-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-600.woff2 +0 -0
- data/app/packs/fonts/decidim/source-sans-pro-v21-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-700.eot +0 -0
- data/app/packs/fonts/decidim/source-sans-pro-v21-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-700.svg +337 -0
- data/app/packs/fonts/decidim/source-sans-pro-v21-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-700.ttf +0 -0
- data/app/packs/fonts/decidim/source-sans-pro-v21-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-700.woff +0 -0
- data/app/packs/fonts/decidim/source-sans-pro-v21-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-700.woff2 +0 -0
- data/app/packs/fonts/decidim/source-sans-pro-v21-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-regular.eot +0 -0
- data/app/packs/fonts/decidim/source-sans-pro-v21-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-regular.svg +337 -0
- data/app/packs/fonts/decidim/source-sans-pro-v21-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-regular.ttf +0 -0
- data/app/packs/fonts/decidim/source-sans-pro-v21-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-regular.woff +0 -0
- data/app/packs/fonts/decidim/source-sans-pro-v21-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-regular.woff2 +0 -0
- data/app/packs/images/decidim/gamification/badges/decidim_gamification_badges_followers.svg +52 -1
- data/app/packs/images/decidim/icons.svg +1 -1
- data/app/packs/images/decidim/placeholder-card-g.svg +8 -0
- data/app/packs/images/decidim/placeholder-card-l.svg +7 -0
- data/app/packs/images/decidim/remixicon.symbol.svg +11 -0
- data/app/packs/images/decidim/vendor/social-share-button/x.svg +3 -0
- data/app/packs/src/decidim/a11y.js +186 -0
- data/app/packs/src/decidim/account_form.js +49 -30
- data/app/packs/src/decidim/append_redirect_url_to_modals.js +1 -1
- data/app/packs/src/decidim/autocomplete.js +26 -4
- data/app/packs/src/decidim/back_to_list.js +1 -1
- data/app/packs/src/decidim/change_report_form_behavior.js +45 -0
- data/app/packs/src/decidim/check_boxes_tree.js +31 -89
- data/app/packs/src/decidim/clipboard.js +2 -2
- data/app/packs/src/decidim/confirm.js +8 -25
- data/app/packs/src/decidim/data_consent/consent_manager.js +2 -1
- data/app/packs/src/decidim/data_consent/consent_manager.test.js +8 -8
- data/app/packs/src/decidim/data_consent/index.js +7 -23
- data/app/packs/src/decidim/direct_uploads/upload_field.js +110 -94
- data/app/packs/src/decidim/direct_uploads/upload_modal.js +195 -184
- data/app/packs/src/decidim/direct_uploads/upload_utility.js +0 -40
- data/app/packs/src/decidim/direct_uploads/uploader.js +22 -45
- data/app/packs/src/decidim/editor/common/bubble_menu.js +163 -0
- data/app/packs/src/decidim/editor/common/helpers.js +3 -0
- data/app/packs/src/decidim/editor/common/input_dialog.js +156 -0
- data/app/packs/src/decidim/editor/common/suggestion.js +179 -0
- data/app/packs/src/decidim/editor/common/upload_dialog.js +225 -0
- data/app/packs/src/decidim/editor/extensions/bold/index.js +34 -0
- data/app/packs/src/decidim/editor/extensions/character_count/index.js +35 -0
- data/app/packs/src/decidim/editor/extensions/decidim_kit/index.js +84 -0
- data/app/packs/src/decidim/editor/extensions/dialog/index.js +34 -0
- data/app/packs/src/decidim/editor/extensions/emoji/index.js +16 -0
- data/app/packs/src/decidim/editor/extensions/hashtag/index.js +66 -0
- data/app/packs/src/decidim/editor/extensions/heading/index.js +33 -0
- data/app/packs/src/decidim/editor/extensions/image/index.js +215 -0
- data/app/packs/src/decidim/editor/extensions/image/node_view.js +216 -0
- data/app/packs/src/decidim/editor/extensions/indent/index.js +188 -0
- data/app/packs/src/decidim/editor/extensions/link/bubble_menu.js +50 -0
- data/app/packs/src/decidim/editor/extensions/link/index.js +128 -0
- data/app/packs/src/decidim/editor/extensions/mention/index.js +66 -0
- data/app/packs/src/decidim/editor/extensions/ordered_list/index.js +188 -0
- data/app/packs/src/decidim/editor/extensions/video_embed/index.js +242 -0
- data/app/packs/src/decidim/editor/index.js +86 -0
- data/app/packs/src/decidim/editor/test/editor/create.test.js +38 -0
- data/app/packs/src/decidim/editor/test/extensions/bold.test.js +69 -0
- data/app/packs/src/decidim/editor/test/extensions/character_count.test.js +41 -0
- data/app/packs/src/decidim/editor/test/extensions/decidim_kit.test.js +110 -0
- data/app/packs/src/decidim/editor/test/extensions/dialog.test.js +32 -0
- data/app/packs/src/decidim/editor/test/extensions/emoji.test.js +35 -0
- data/app/packs/src/decidim/editor/test/extensions/hashtag.test.js +105 -0
- data/app/packs/src/decidim/editor/test/extensions/heading.test.js +56 -0
- data/app/packs/src/decidim/editor/test/extensions/image.test.js +294 -0
- data/app/packs/src/decidim/editor/test/extensions/indent.test.js +154 -0
- data/app/packs/src/decidim/editor/test/extensions/link.test.js +103 -0
- data/app/packs/src/decidim/editor/test/extensions/mention.test.js +129 -0
- data/app/packs/src/decidim/editor/test/extensions/ordered_list.test.js +219 -0
- data/app/packs/src/decidim/editor/test/extensions/video_embed.test.js +183 -0
- data/app/packs/src/decidim/editor/test/fixtures/editor_messages.js +57 -0
- data/app/packs/src/decidim/editor/test/fixtures/logo.png +0 -0
- data/app/packs/src/decidim/editor/test/fixtures/upload_templates.js +50 -0
- data/app/packs/src/decidim/editor/test/helpers.js +255 -0
- data/app/packs/src/decidim/editor/test/toolbar/basic.test.js +36 -0
- data/app/packs/src/decidim/editor/test/toolbar/content.test.js +37 -0
- data/app/packs/src/decidim/editor/test/toolbar/full.test.js +245 -0
- data/app/packs/src/decidim/editor/test/toolbar/shared/behaves_like_basic.js +23 -0
- data/app/packs/src/decidim/editor/test/toolbar/shared/behaves_like_basic_block.js +45 -0
- data/app/packs/src/decidim/editor/test/toolbar/shared/behaves_like_basic_formatting.js +17 -0
- data/app/packs/src/decidim/editor/test/toolbar/shared/behaves_like_basic_indent.js +61 -0
- data/app/packs/src/decidim/editor/test/toolbar/shared/behaves_like_basic_link.js +33 -0
- data/app/packs/src/decidim/editor/test/toolbar/shared/behaves_like_basic_list.js +47 -0
- data/app/packs/src/decidim/editor/test/toolbar/shared/behaves_like_basic_styling.js +95 -0
- data/app/packs/src/decidim/editor/test/toolbar/shared/behaves_like_content.js +25 -0
- data/app/packs/src/decidim/editor/test/toolbar/shared/behaves_like_content_styling.js +40 -0
- data/app/packs/src/decidim/editor/test/toolbar/shared/context.js +18 -0
- data/app/packs/src/decidim/editor/test/utilities/paste_transform.test.js +272 -0
- data/app/packs/src/decidim/editor/toolbar.js +263 -0
- data/app/packs/src/decidim/editor/utilities/file.js +3 -0
- data/app/packs/src/decidim/editor/utilities/html.js +53 -0
- data/app/packs/src/decidim/editor/utilities/paste_transform.js +251 -0
- data/app/packs/src/decidim/external_domain_warning.js +16 -23
- data/app/packs/src/decidim/external_domain_warning.test.js +59 -0
- data/app/packs/src/decidim/external_link.js +24 -56
- data/app/packs/src/decidim/external_link.test.js +8 -29
- data/app/packs/src/decidim/focus_guard.js +3 -1
- data/app/packs/src/decidim/form_filter.component_for_testing.js +1 -1
- data/app/packs/src/decidim/form_filter.js +12 -53
- data/app/packs/src/decidim/form_validator.js +1 -1
- data/app/packs/src/decidim/geocoding/attach_input.js +4 -1
- data/app/packs/src/decidim/geocoding/provider/here.js +17 -21
- data/app/packs/src/decidim/geocoding/provider/photon.js +1 -1
- data/app/packs/src/decidim/i18n.js +52 -0
- data/app/packs/src/decidim/i18n.test.js +64 -0
- data/app/packs/src/decidim/icon.js +13 -19
- data/app/packs/src/decidim/identity_selector_dialog.js +24 -51
- data/app/packs/src/decidim/index.js +159 -63
- data/app/packs/src/decidim/input_autojump.js +1 -1
- data/app/packs/src/decidim/input_character_counter.js +34 -38
- data/app/packs/src/decidim/input_emoji.js +130 -52
- data/app/packs/src/decidim/input_hashtags.js +6 -53
- data/app/packs/src/decidim/input_mentions.js +14 -59
- data/app/packs/src/decidim/input_multiple_mentions.js +10 -10
- data/app/packs/src/decidim/input_tags.js +12 -8
- data/app/packs/src/decidim/map/controller/markers.js +3 -3
- data/app/packs/src/decidim/map/controller.js +7 -4
- data/app/packs/src/decidim/map/factory.js +1 -3
- data/app/packs/src/decidim/map/legacy.js +1 -1
- data/app/packs/src/decidim/notifications.js +42 -30
- data/app/packs/src/decidim/password_toggler.js +104 -0
- data/app/packs/src/decidim/remote_modal.js +54 -0
- data/app/packs/src/decidim/scroll_to_last_child.js +14 -0
- data/app/packs/src/decidim/session_timeouter.js +3 -4
- data/app/packs/src/decidim/sw/loader.js +1 -1
- data/app/packs/src/decidim/sw/sw.js +1 -1
- data/app/packs/src/decidim/toggle.js +37 -0
- data/app/packs/src/decidim/tooltips.js +132 -0
- data/app/packs/src/decidim/user_registrations.js +10 -3
- data/app/packs/src/decidim/utilities/text.js +17 -0
- data/app/packs/src/decidim/vendor/jquery-tmpl.js +1 -1
- data/app/packs/src/decidim/vendor/leaflet-tilelayer-here.js +1 -1
- data/app/packs/src/decidim/vendor/tribute.js +3 -3
- data/app/packs/src/decidim/vizzs/areachart.js +7 -8
- data/app/packs/stylesheets/decidim/_accordion.scss +13 -0
- data/app/packs/stylesheets/decidim/_actions.scss +7 -0
- data/app/packs/stylesheets/decidim/_activity.scss +49 -0
- data/app/packs/stylesheets/decidim/_address.scss +25 -0
- data/app/packs/stylesheets/decidim/_author.scss +74 -0
- data/app/packs/stylesheets/decidim/_buttons.scss +100 -0
- data/app/packs/stylesheets/decidim/_callout.scss +55 -0
- data/app/packs/stylesheets/decidim/_cards.scss +186 -0
- data/app/packs/stylesheets/decidim/_content_blocks.scss +39 -0
- data/app/packs/stylesheets/decidim/_conversations.scss +122 -0
- data/app/packs/stylesheets/decidim/_cookies.scss +117 -0
- data/app/packs/stylesheets/decidim/_documents.scss +60 -0
- data/app/packs/stylesheets/decidim/_dropdown.scss +69 -0
- data/app/packs/stylesheets/decidim/_endorsers_list.scss +45 -0
- data/app/packs/stylesheets/decidim/_filters.scss +137 -0
- data/app/packs/stylesheets/decidim/_flash.scss +86 -0
- data/app/packs/stylesheets/decidim/_floating_help.scss +7 -0
- data/app/packs/stylesheets/decidim/_fonts.scss +70 -0
- data/app/packs/stylesheets/decidim/_footer.scss +59 -0
- data/app/packs/stylesheets/decidim/_forms.scss +199 -0
- data/app/packs/stylesheets/decidim/_header.scss +444 -0
- data/app/packs/stylesheets/decidim/_hero.scss +20 -0
- data/app/packs/stylesheets/decidim/_home.scss +105 -0
- data/app/packs/stylesheets/decidim/_labels.scss +26 -0
- data/app/packs/stylesheets/decidim/_layout.scss +107 -0
- data/app/packs/stylesheets/decidim/_login.scss +59 -0
- data/app/packs/stylesheets/decidim/_login_box.scss +31 -0
- data/app/packs/stylesheets/decidim/_metadata.scss +18 -0
- data/app/packs/stylesheets/decidim/_metrics.scss +70 -0
- data/app/packs/stylesheets/decidim/_modal.scss +45 -0
- data/app/packs/stylesheets/decidim/_modal_authorization.scss +21 -0
- data/app/packs/stylesheets/decidim/_modal_fingerprint.scss +17 -0
- data/app/packs/stylesheets/decidim/_modal_flag.scss +39 -0
- data/app/packs/stylesheets/decidim/_modal_identities.scss +23 -0
- data/app/packs/stylesheets/decidim/_modal_share.scss +28 -0
- data/app/packs/stylesheets/decidim/_modal_tos_refuse.scss +6 -0
- data/app/packs/stylesheets/decidim/_modal_update.scss +137 -0
- data/app/packs/stylesheets/decidim/_notifications.scss +35 -0
- data/app/packs/stylesheets/decidim/_omnipresent_banner.scss +7 -0
- data/app/packs/stylesheets/decidim/_order-by.scss +15 -0
- data/app/packs/stylesheets/decidim/_pages.scss +49 -0
- data/app/packs/stylesheets/decidim/_participatory_spaces.scss +201 -0
- data/app/packs/stylesheets/decidim/_photos.scss +53 -0
- data/app/packs/stylesheets/decidim/_profile.scss +258 -0
- data/app/packs/stylesheets/decidim/_progress-bar.scss +42 -0
- data/app/packs/stylesheets/decidim/_rich_text.scss +96 -0
- data/app/packs/stylesheets/decidim/_search.scss +17 -0
- data/app/packs/stylesheets/decidim/_spinner.scss +11 -0
- data/app/packs/stylesheets/decidim/_static-map.scss +15 -0
- data/app/packs/stylesheets/decidim/_statistics.scss +15 -0
- data/app/packs/stylesheets/decidim/_tabs_x.scss +20 -0
- data/app/packs/stylesheets/decidim/_tags.scss +11 -0
- data/app/packs/stylesheets/decidim/_toggle_switch.scss +77 -0
- data/app/packs/stylesheets/decidim/_tooltip.scss +69 -0
- data/app/packs/stylesheets/decidim/_tos.scss +7 -0
- data/app/packs/stylesheets/decidim/_typography.scss +80 -0
- data/app/packs/stylesheets/decidim/_versions.scss +63 -0
- data/app/packs/stylesheets/decidim/_vertical_tabs.scss +49 -0
- data/app/packs/stylesheets/decidim/_wizard_steps.scss +15 -0
- data/app/packs/stylesheets/decidim/application.scss +77 -3
- data/app/packs/stylesheets/decidim/decidim_application.scss +0 -2
- data/app/packs/stylesheets/decidim/editor.scss +204 -0
- data/app/packs/stylesheets/decidim/legacy/MarkerCluster.Default.scss +67 -0
- data/app/packs/stylesheets/decidim/legacy/MarkerCluster.scss +18 -0
- data/app/packs/stylesheets/decidim/{_variables.scss → legacy/_variables.scss} +8 -8
- data/app/packs/stylesheets/decidim/{conference-diploma.scss → legacy/conference-diploma.scss} +11 -11
- data/app/packs/stylesheets/decidim/{email.scss → legacy/email.scss} +312 -312
- data/app/packs/stylesheets/decidim/{plugins → legacy}/leaflet.scss +164 -140
- data/app/packs/stylesheets/decidim/map.scss +65 -3
- data/app/permissions/decidim/permissions.rb +2 -2
- data/app/presenters/decidim/admin_log/area_presenter.rb +2 -2
- data/app/presenters/decidim/admin_log/area_type_presenter.rb +2 -2
- data/app/presenters/decidim/admin_log/attachment_collection_presenter.rb +2 -2
- data/app/presenters/decidim/admin_log/attachment_presenter.rb +2 -2
- data/app/presenters/decidim/admin_log/category_presenter.rb +2 -2
- data/app/presenters/decidim/admin_log/component_presenter.rb +2 -2
- data/app/presenters/decidim/admin_log/contextual_help_section_presenter.rb +2 -2
- data/app/presenters/decidim/admin_log/impersonation_log_presenter.rb +2 -2
- data/app/presenters/decidim/admin_log/moderation_presenter.rb +2 -2
- data/app/presenters/decidim/admin_log/newsletter_presenter.rb +2 -2
- data/app/presenters/decidim/admin_log/oauth_application_presenter.rb +2 -2
- data/app/presenters/decidim/admin_log/organization_presenter.rb +2 -3
- data/app/presenters/decidim/admin_log/participatory_space_private_user_presenter.rb +2 -2
- data/app/presenters/decidim/admin_log/scope_presenter.rb +2 -2
- data/app/presenters/decidim/admin_log/scope_type_presenter.rb +2 -2
- data/app/presenters/decidim/admin_log/static_page_presenter.rb +2 -2
- data/app/presenters/decidim/admin_log/user_group_presenter.rb +2 -2
- data/app/presenters/decidim/admin_log/user_moderation_presenter.rb +2 -2
- data/app/presenters/decidim/admin_log/user_presenter.rb +2 -2
- data/app/presenters/decidim/area_presenter.rb +6 -0
- data/app/presenters/decidim/authorization_transfer_presenter.rb +57 -0
- data/app/presenters/decidim/breadcrumb_root_menu_item_presenter.rb +25 -0
- data/app/presenters/decidim/breadcrumb_root_menu_presenter.rb +18 -0
- data/app/presenters/decidim/footer_menu_presenter.rb +12 -0
- data/app/presenters/decidim/hashtag_presenter.rb +1 -1
- data/app/presenters/decidim/log/base_presenter.rb +13 -6
- data/app/presenters/decidim/log/diff_presenter.rb +9 -8
- data/app/presenters/decidim/log/resource_presenter.rb +1 -1
- data/app/presenters/decidim/log/space_presenter.rb +1 -1
- data/app/presenters/decidim/log/user_presenter.rb +3 -7
- data/app/presenters/decidim/log/value_types/default_presenter.rb +2 -2
- data/app/presenters/decidim/menu_item_presenter.rb +11 -3
- data/app/presenters/decidim/menu_presenter.rb +11 -3
- data/app/presenters/decidim/metric_charts_presenter.rb +25 -46
- data/app/presenters/decidim/nil_presenter.rb +4 -2
- data/app/presenters/decidim/notification_presenter.rb +1 -1
- data/app/presenters/decidim/notification_to_mailer_presenter.rb +5 -5
- data/app/presenters/decidim/notifications_digest_presenter.rb +1 -1
- data/app/presenters/decidim/official_author_presenter.rb +4 -0
- data/app/presenters/decidim/participatory_space_manifest_presenter.rb +24 -0
- data/app/presenters/decidim/resource_presenter.rb +18 -1
- data/app/presenters/decidim/stats_presenter.rb +54 -0
- data/app/presenters/decidim/user_group_presenter.rb +4 -0
- data/app/presenters/decidim/user_presenter.rb +4 -2
- data/app/queries/decidim/last_activity.rb +1 -1
- data/app/queries/decidim/metric_manage.rb +1 -1
- data/app/queries/decidim/participatory_processes_with_user_role.rb +2 -2
- data/app/queries/decidim/participatory_space_last_activity.rb +18 -0
- data/app/queries/decidim/public_activities.rb +1 -1
- data/app/queries/decidim/public_components.rb +2 -2
- data/app/queries/decidim/similar_emendations.rb +1 -1
- data/app/resolvers/decidim/core/metric_resolver.rb +1 -1
- data/app/scrubbers/decidim/admin_input_scrubber.rb +1 -1
- data/app/scrubbers/decidim/newsletter_scrubber.rb +1 -1
- data/app/serializers/decidim/exporters/serializer.rb +2 -2
- data/app/services/decidim/action_authorizer.rb +3 -3
- data/app/services/decidim/action_logger.rb +11 -11
- data/app/services/decidim/base_diff_renderer.rb +5 -5
- data/app/services/decidim/content_blocks_creator.rb +89 -0
- data/app/services/decidim/email_notification_generator.rb +3 -3
- data/app/services/decidim/engine_resolver.rb +2 -2
- data/app/services/decidim/events_manager.rb +6 -6
- data/app/services/decidim/log/diff_changeset_calculator.rb +2 -2
- data/app/services/decidim/log_reference_generator.rb +31 -0
- data/app/services/decidim/notification_generator.rb +3 -3
- data/app/services/decidim/notification_generator_for_recipient.rb +2 -2
- data/app/services/decidim/open_data_exporter.rb +3 -3
- data/app/services/decidim/send_push_notification.rb +5 -5
- data/app/services/decidim/static_map_generator.rb +4 -4
- data/app/uploaders/decidim/application_uploader.rb +1 -1
- data/app/uploaders/decidim/avatar_uploader.rb +2 -2
- data/app/uploaders/decidim/cw/application_uploader.rb +1 -1
- data/app/uploaders/decidim/image_uploader.rb +1 -1
- data/app/uploaders/decidim/organization_favicon_uploader.rb +15 -2
- data/app/validators/etiquette_validator.rb +1 -1
- data/app/validators/geocoding_validator.rb +1 -1
- data/app/validators/password_validator.rb +16 -12
- data/app/validators/uploader_image_dimensions_validator.rb +3 -3
- data/app/views/decidim/account/_account_notification.js.erb +4 -18
- data/app/views/decidim/account/_delete_modal.html.erb +17 -0
- data/app/views/decidim/account/_old_password_field.html.erb +15 -0
- data/app/views/decidim/account/_password_fields.html.erb +13 -2
- data/app/views/decidim/account/cancel_email_change.js.erb +1 -1
- data/app/views/decidim/account/delete.html.erb +23 -30
- data/app/views/decidim/account/show.html.erb +48 -33
- data/app/views/decidim/amendments/_edit_form_fields.html.erb +1 -3
- data/app/views/decidim/amendments/_wizard_header.html.erb +17 -0
- data/app/views/decidim/amendments/compare_draft.html.erb +14 -17
- data/app/views/decidim/amendments/edit_draft.html.erb +23 -25
- data/app/views/decidim/amendments/new.html.erb +21 -24
- data/app/views/decidim/amendments/preview_draft.html.erb +24 -25
- data/app/views/decidim/amendments/review.html.erb +26 -37
- data/app/views/decidim/application/_collection.html.erb +18 -15
- data/app/views/decidim/application/_document.html.erb +23 -0
- data/app/views/decidim/application/_documents.html.erb +13 -0
- data/app/views/decidim/authorization_modals/show.html.erb +1 -5
- data/app/views/decidim/devise/confirmations/new.html.erb +19 -25
- data/app/views/decidim/devise/invitations/edit.html.erb +42 -69
- data/app/views/decidim/devise/omniauth_registrations/new.html.erb +34 -45
- data/app/views/decidim/devise/passwords/edit.html.erb +23 -32
- data/app/views/decidim/devise/passwords/new.html.erb +20 -24
- data/app/views/decidim/devise/registrations/new.html.erb +59 -83
- data/app/views/decidim/devise/sessions/new.html.erb +52 -53
- data/app/views/decidim/devise/shared/_links.html.erb +5 -15
- data/app/views/decidim/devise/shared/_login_boxes.html.erb +28 -0
- data/app/views/decidim/devise/shared/_newsletter_modal.html.erb +15 -23
- data/app/views/decidim/devise/shared/_omniauth_buttons.html.erb +13 -19
- data/app/views/decidim/devise/unlocks/new.html.erb +20 -26
- data/app/views/decidim/doorkeeper/authorizations/new.html.erb +53 -57
- data/app/views/decidim/download_your_data/show.html.erb +15 -7
- data/app/views/decidim/endorsements/_identity.html.erb +4 -9
- data/app/views/decidim/endorsements/identities.html.erb +16 -10
- data/app/views/decidim/endorsements/update_buttons_and_counters.js.erb +24 -17
- data/app/views/decidim/errors/internal_server_error.html.erb +32 -8
- data/app/views/decidim/errors/not_found.html.erb +15 -11
- data/app/views/decidim/follows/update_button.js.erb +8 -1
- data/app/views/decidim/gamification/badges/index.html.erb +5 -7
- data/app/views/decidim/group_invites/index.html.erb +20 -24
- data/app/views/decidim/groups/_form.html.erb +15 -24
- data/app/views/decidim/groups/edit.html.erb +13 -22
- data/app/views/decidim/groups/new.html.erb +16 -24
- data/app/views/decidim/homepage/show.html.erb +6 -4
- data/app/views/decidim/last_activities/_activities.html.erb +4 -11
- data/app/views/decidim/last_activities/index.html.erb +8 -13
- data/app/views/decidim/last_activities/index.js.erb +7 -2
- data/app/views/decidim/links/_modal.html.erb +18 -19
- data/app/views/decidim/links/new.html.erb +17 -21
- data/app/views/decidim/links/new.js.erb +22 -6
- data/app/views/decidim/manifests/show.json.erb +2 -2
- data/app/views/decidim/messaging/conversations/_add_conversation_users.html.erb +18 -22
- data/app/views/decidim/messaging/conversations/_conversation.html.erb +39 -53
- data/app/views/decidim/messaging/conversations/_messages.html.erb +15 -19
- data/app/views/decidim/messaging/conversations/_new_conversation_button.html.erb +20 -32
- data/app/views/decidim/messaging/conversations/_reply.html.erb +7 -10
- data/app/views/decidim/messaging/conversations/_reply_form.html.erb +9 -0
- data/app/views/decidim/messaging/conversations/_show.html.erb +29 -35
- data/app/views/decidim/messaging/conversations/_start.html.erb +9 -14
- data/app/views/decidim/messaging/conversations/create.js.erb +1 -1
- data/app/views/decidim/messaging/conversations/error.js.erb +1 -1
- data/app/views/decidim/messaging/conversations/index.html.erb +17 -51
- data/app/views/decidim/messaging/conversations/new.html.erb +1 -2
- data/app/views/decidim/messaging/conversations/show.html.erb +3 -9
- data/app/views/decidim/newsletters/show.html.erb +1 -1
- data/app/views/decidim/newsletters_opt_in_mailer/notify.html.erb +1 -1
- data/app/views/decidim/notifications/index.html.erb +15 -4
- data/app/views/decidim/notifications_digest_mailer/digest_mail.erb +2 -2
- data/app/views/decidim/notifications_settings/show.html.erb +169 -70
- data/app/views/decidim/own_user_groups/index.html.erb +9 -29
- data/app/views/decidim/pages/_standalone.html.erb +17 -15
- data/app/views/decidim/pages/_tabbed.html.erb +38 -38
- data/app/views/decidim/pages/index.html.erb +48 -64
- data/app/views/decidim/pages/show.html.erb +9 -9
- data/app/views/decidim/profiles/show.html.erb +9 -1
- data/app/views/decidim/reported_mailer/report.html.erb +1 -1
- data/app/views/decidim/scopes/picker.html.erb +7 -4
- data/app/views/decidim/searches/_count.html.erb +19 -28
- data/app/views/decidim/searches/_filters.html.erb +41 -25
- data/app/views/decidim/searches/_resources_filter_block.html.erb +3 -3
- data/app/views/decidim/searches/index.html.erb +18 -12
- data/app/views/decidim/searches/index.js.erb +1 -7
- data/app/views/decidim/shared/_authorization_modal.html.erb +1 -1
- data/app/views/decidim/shared/_component_announcement.html.erb +5 -4
- data/app/views/decidim/shared/_confirm_modal.html.erb +15 -16
- data/app/views/decidim/shared/_extended_navigation_bar.html.erb +2 -2
- data/app/views/decidim/shared/_filters.html.erb +42 -0
- data/app/views/decidim/shared/_floating_help.html.erb +13 -27
- data/app/views/decidim/shared/_follow_button.html.erb +2 -1
- data/app/views/decidim/shared/_login_modal.html.erb +46 -50
- data/app/views/decidim/shared/_orders.html.erb +12 -26
- data/app/views/decidim/shared/_results_per_page.html.erb +24 -26
- data/app/views/decidim/shared/_share_modal.html.erb +21 -44
- data/app/views/decidim/shared/_static_map.html.erb +4 -17
- data/app/views/decidim/shared/_tags.html.erb +1 -1
- data/app/views/decidim/shared/filters/_check_boxes_tree.html.erb +12 -0
- data/app/views/decidim/shared/filters/_collection.html.erb +18 -0
- data/app/views/decidim/shared/filters/_dropdown_label.html.erb +46 -0
- data/app/views/decidim/user_activities/index.html.erb +15 -7
- data/app/views/decidim/user_activities/index.js.erb +1 -3
- data/app/views/decidim/user_conversations/index.html.erb +3 -3
- data/app/views/decidim/user_conversations/show.html.erb +3 -3
- data/app/views/decidim/user_interests/_scopes.html.erb +21 -16
- data/app/views/decidim/user_interests/show.html.erb +20 -13
- data/app/views/decidim/user_update_mailer/notify.html.erb +9 -0
- data/app/views/kaminari/decidim/_gap.html.erb +1 -1
- data/app/views/kaminari/decidim/_next_page.html.erb +8 -7
- data/app/views/kaminari/decidim/_page.html.erb +2 -2
- data/app/views/kaminari/decidim/_paginator.html.erb +3 -3
- data/app/views/kaminari/decidim/_prev_page.html.erb +8 -7
- data/app/views/layouts/decidim/_admin_links.html.erb +11 -2
- data/app/views/layouts/decidim/_application.html.erb +6 -1
- data/app/views/layouts/decidim/_cors.html.erb +8 -4
- data/app/views/layouts/decidim/_data_consent_warning.html.erb +2 -2
- data/app/views/layouts/decidim/_decidim_javascript.html.erb +6 -3
- data/app/views/layouts/decidim/_head.html.erb +7 -3
- data/app/views/layouts/decidim/_impersonation_warning.html.erb +7 -5
- data/app/views/layouts/decidim/_js_configuration.html.erb +7 -7
- data/app/views/layouts/decidim/_meta_tags_config.html.erb +6 -6
- data/app/views/layouts/decidim/_offline_banner.html.erb +3 -3
- data/app/views/layouts/decidim/_omnipresent_banner.html.erb +10 -12
- data/app/views/layouts/decidim/_organization_colors.html.erb +2 -3
- data/app/views/layouts/decidim/_timeout_modal.html.erb +26 -18
- data/app/views/layouts/decidim/_user_menu.html.erb +1 -1
- data/app/views/layouts/decidim/_wrapper.html.erb +19 -102
- data/app/views/layouts/decidim/footer/_main.html.erb +20 -0
- data/app/views/layouts/decidim/footer/_main_intro.html.erb +9 -0
- data/app/views/layouts/decidim/footer/_main_language_chooser.html.erb +26 -0
- data/app/views/layouts/decidim/footer/_main_legal.html.erb +9 -0
- data/app/views/layouts/decidim/footer/_main_links.html.erb +27 -0
- data/app/views/layouts/decidim/footer/_main_social_media_links.html.erb +42 -0
- data/app/views/layouts/decidim/footer/_mini.html.erb +18 -0
- data/app/views/layouts/decidim/header/_follow_space_menu_bar_button.html.erb +7 -0
- data/app/views/layouts/decidim/header/_main.html.erb +35 -0
- data/app/views/layouts/decidim/header/_main_links_desktop.html.erb +54 -0
- data/app/views/layouts/decidim/header/_main_links_dropdown.html.erb +45 -0
- data/app/views/layouts/decidim/header/_main_links_mobile.html.erb +36 -0
- data/app/views/layouts/decidim/header/_main_links_mobile_account.html.erb +32 -0
- data/app/views/layouts/decidim/header/_main_links_mobile_search.html.erb +34 -0
- data/app/views/layouts/decidim/header/_main_search.html.erb +15 -0
- data/app/views/layouts/decidim/header/_menu.html.erb +20 -0
- data/app/views/layouts/decidim/header/_menu_breadcrumb_desktop.html.erb +14 -0
- data/app/views/layouts/decidim/header/_menu_breadcrumb_items.html.erb +30 -0
- data/app/views/layouts/decidim/header/_menu_breadcrumb_main_dropdown.html.erb +16 -0
- data/app/views/layouts/decidim/header/_menu_breadcrumb_main_dropdown_top_left.html.erb +2 -0
- data/app/views/layouts/decidim/header/_menu_breadcrumb_mobile_tablet.html.erb +33 -0
- data/app/views/layouts/decidim/mailer.html.erb +16 -12
- data/app/views/layouts/decidim/newsletter_base.html.erb +2 -2
- data/app/views/layouts/decidim/shared/_layout_center.html.erb +15 -0
- data/app/views/layouts/decidim/shared/_layout_item.html.erb +35 -0
- data/app/views/layouts/decidim/shared/_layout_two_col.html.erb +12 -0
- data/app/views/layouts/decidim/shared/_layout_user_profile.html.erb +27 -0
- data/app/views/layouts/decidim/shared/_linked_resource.html.erb +6 -0
- data/app/views/layouts/decidim/user_profile.html.erb +1 -32
- data/config/assets.rb +1 -0
- data/config/brakeman.ignore +4 -116
- data/config/environment.rb +3 -0
- data/config/initializers/devise.rb +10 -10
- data/config/locales/ar.yml +95 -335
- data/config/locales/bg.yml +1 -276
- data/config/locales/ca.yml +414 -263
- data/config/locales/cs.yml +422 -273
- data/config/locales/de.yml +424 -271
- data/config/locales/el.yml +104 -265
- data/config/locales/en.yml +444 -293
- data/config/locales/eo.yml +0 -16
- data/config/locales/es-MX.yml +417 -267
- data/config/locales/es-PY.yml +420 -270
- data/config/locales/es.yml +406 -255
- data/config/locales/eu.yml +794 -505
- data/config/locales/fi-plain.yml +392 -243
- data/config/locales/fi.yml +404 -255
- data/config/locales/fr-CA.yml +412 -256
- data/config/locales/fr.yml +416 -260
- data/config/locales/ga-IE.yml +1 -58
- data/config/locales/gl.yml +1 -255
- data/config/locales/hu.yml +135 -281
- data/config/locales/id-ID.yml +0 -237
- data/config/locales/is-IS.yml +0 -73
- data/config/locales/it.yml +1 -312
- data/config/locales/ja.yml +415 -277
- data/config/locales/kaa.yml +4 -5
- data/config/locales/lb.yml +1 -303
- data/config/locales/lt.yml +408 -264
- data/config/locales/lv.yml +1 -282
- data/config/locales/nl.yml +5 -308
- data/config/locales/no.yml +2 -317
- data/config/locales/pl.yml +4 -308
- data/config/locales/pt-BR.yml +32 -303
- data/config/locales/pt.yml +1 -303
- data/config/locales/ro-RO.yml +43 -309
- data/config/locales/ru.yml +0 -154
- data/config/locales/sk.yml +1 -251
- data/config/locales/sl.yml +1 -10
- data/config/locales/sq-AL.yml +1 -0
- data/config/locales/sr-CS.yml +0 -20
- data/config/locales/sv.yml +183 -318
- data/config/locales/th-TH.yml +1 -0
- data/config/locales/tr-TR.yml +38 -295
- data/config/locales/uk.yml +0 -124
- data/config/locales/zh-CN.yml +1 -281
- data/config/locales/zh-TW.yml +161 -216
- data/config/routes.rb +6 -5
- data/db/migrate/20180508111640_add_tos_version_to_organization.rb +2 -2
- data/db/migrate/20180730071851_add_core_content_blocks.rb +1 -1
- data/db/migrate/20180810092428_move_organization_fields_to_hero_content_block.rb +1 -1
- data/db/migrate/20181001124950_move_users_groups_to_users_table.rb +1 -1
- data/db/migrate/20181022090732_add_columns_to_pages.rb +1 -1
- data/db/migrate/20190412131728_fix_user_names.rb +1 -1
- data/db/migrate/20201128130723_add_allow_public_access_to_static_pages.rb +1 -1
- data/db/migrate/20220629194812_create_decidim_authorization_transfers.rb +20 -0
- data/db/migrate/20230322101707_rename_terms_of_use.rb +23 -0
- data/db/migrate/20230409123300_add_content_policy_to_decidim_organizations.rb +7 -0
- data/db/migrate/20230427105700_change_states_on_amendments.rb +34 -0
- data/db/migrate/20230427105701_change_states_on_reminder_records.rb +33 -0
- data/db/migrate/20231027142329_change_default_value_for_decidim_endorsements.rb +11 -0
- data/db/migrate/20231123111229_remove_official_img_header.rb +11 -0
- data/db/seeds/Exampledocument.pdf +0 -0
- data/db/seeds/city.jpeg +0 -0
- data/db/seeds/city2.jpeg +0 -0
- data/db/seeds/logo.png +0 -0
- data/db/seeds.rb +2 -222
- data/lib/decidim/acts_as_tree.rb +15 -2
- data/lib/decidim/amendable.rb +2 -2
- data/lib/decidim/api/functions/component_finder_base.rb +1 -1
- data/lib/decidim/api/functions/component_list.rb +1 -1
- data/lib/decidim/api/functions/component_list_base.rb +1 -1
- data/lib/decidim/api/functions/needs_api_default_order.rb +1 -1
- data/lib/decidim/api/functions/participatory_space_list_base.rb +10 -1
- data/lib/decidim/api/input_filters/category_input_filter.rb +1 -1
- data/lib/decidim/api/interfaces/categories_container_interface.rb +1 -1
- data/lib/decidim/api/interfaces/participatory_space_interface.rb +7 -1
- data/lib/decidim/api/types/attachment_type.rb +3 -1
- data/lib/decidim/api/types/participatory_space_manifest_type.rb +19 -0
- data/lib/decidim/api/types/quantifiable_translated_field_type.rb +12 -0
- data/lib/decidim/api/types/translated_field_type.rb +1 -1
- data/lib/decidim/asset_router/pipeline.rb +1 -1
- data/lib/decidim/asset_router/storage.rb +20 -1
- data/lib/decidim/assets/tailwind/instance.rb +57 -0
- data/lib/decidim/assets/tailwind/tailwind.config.js.erb +80 -0
- data/lib/decidim/assets/tailwind.rb +16 -0
- data/lib/decidim/assets.rb +7 -0
- data/lib/decidim/attribute_object/nested_validator.rb +1 -1
- data/lib/decidim/attribute_object/type_resolver.rb +4 -4
- data/lib/decidim/authorable.rb +2 -2
- data/lib/decidim/block_registry.rb +46 -0
- data/lib/decidim/carrier_wave_migrator_service.rb +28 -36
- data/lib/decidim/coauthorable.rb +4 -4
- data/lib/decidim/command.rb +23 -4
- data/lib/decidim/component_manifest.rb +7 -4
- data/lib/decidim/components/namer.rb +1 -1
- data/lib/decidim/content_block_manifest.rb +2 -1
- data/lib/decidim/content_block_registry.rb +5 -4
- data/lib/decidim/content_blocks/has_related_components.rb +51 -0
- data/lib/decidim/content_blocks.rb +7 -0
- data/lib/decidim/content_parsers/base_parser.rb +2 -0
- data/lib/decidim/content_parsers/hashtag_parser.rb +17 -17
- data/lib/decidim/content_parsers/inline_images_parser.rb +3 -3
- data/lib/decidim/content_parsers/resource_parser.rb +2 -2
- data/lib/decidim/content_parsers/tag_parser.rb +63 -0
- data/lib/decidim/content_parsers/user_group_parser.rb +4 -29
- data/lib/decidim/content_parsers/user_parser.rb +29 -20
- data/lib/decidim/content_parsers.rb +1 -0
- data/lib/decidim/content_processor.rb +26 -1
- data/lib/decidim/content_renderers/base_renderer.rb +2 -0
- data/lib/decidim/content_renderers/hashtag_renderer.rb +6 -3
- data/lib/decidim/content_renderers/link_renderer.rb +15 -5
- data/lib/decidim/content_renderers/user_group_renderer.rb +8 -9
- data/lib/decidim/content_renderers/user_renderer.rb +33 -5
- data/lib/decidim/content_security_policy.rb +132 -0
- data/lib/decidim/core/api.rb +2 -0
- data/lib/decidim/core/content_blocks/registry_manager.rb +188 -0
- data/lib/decidim/core/engine.rb +321 -199
- data/lib/decidim/core/menu.rb +68 -0
- data/lib/decidim/core/seeds.rb +247 -0
- data/lib/decidim/core/test/factories.rb +70 -79
- data/lib/decidim/core/test/shared_examples/active_support_examples.rb +14 -0
- data/lib/decidim/core/test/shared_examples/admin_log_presenter_examples.rb +3 -3
- data/lib/decidim/core/test/shared_examples/amendable/amendment_event_examples.rb +20 -0
- data/lib/decidim/core/test/shared_examples/amendable/amendment_form_examples.rb +4 -4
- data/lib/decidim/core/test/shared_examples/amendable/amendment_rejected_event_examples.rb +6 -25
- data/lib/decidim/core/test/shared_examples/amendable/create_amendment_draft_examples.rb +1 -1
- data/lib/decidim/core/test/shared_examples/announcements_examples.rb +3 -3
- data/lib/decidim/core/test/shared_examples/assembly_announcements_examples.rb +8 -4
- data/lib/decidim/core/test/shared_examples/authorable.rb +2 -2
- data/lib/decidim/core/test/shared_examples/authorable_interface_examples.rb +3 -3
- data/lib/decidim/core/test/shared_examples/authorization_shared_context.rb +34 -0
- data/lib/decidim/core/test/shared_examples/categorizable_interface_examples.rb +1 -1
- data/lib/decidim/core/test/shared_examples/coauthorable.rb +2 -2
- data/lib/decidim/core/test/shared_examples/coauthorable_interface_examples.rb +3 -3
- data/lib/decidim/core/test/shared_examples/comments_examples.rb +280 -151
- data/lib/decidim/core/test/shared_examples/comments_reports_examples.rb +11 -21
- data/lib/decidim/core/test/shared_examples/controller_render_views.rb +2 -2
- data/lib/decidim/core/test/shared_examples/conversations_examples.rb +1 -1
- data/lib/decidim/core/test/shared_examples/counts_commentators_as_newsletter_participants.rb +1 -1
- data/lib/decidim/core/test/shared_examples/digest_mail_examples.rb +3 -3
- data/lib/decidim/core/test/shared_examples/edit_link_shared_examples.rb +8 -8
- data/lib/decidim/core/test/shared_examples/editor_shared_examples.rb +13 -2
- data/lib/decidim/core/test/shared_examples/endorsable.rb +5 -5
- data/lib/decidim/core/test/shared_examples/endorsements_controller_shared_context.rb +1 -1
- data/lib/decidim/core/test/shared_examples/errors.rb +3 -1
- data/lib/decidim/core/test/shared_examples/fingerprint_examples.rb +2 -2
- data/lib/decidim/core/test/shared_examples/follows_examples.rb +10 -7
- data/lib/decidim/core/test/shared_examples/form_builder_examples.rb +15 -0
- data/lib/decidim/core/test/shared_examples/has_attachment_collections.rb +15 -21
- data/lib/decidim/core/test/shared_examples/has_attachments.rb +59 -12
- data/lib/decidim/core/test/shared_examples/has_contextual_help.rb +11 -5
- data/lib/decidim/core/test/shared_examples/has_private_users.rb +1 -1
- data/lib/decidim/core/test/shared_examples/has_space_in_mcell_examples.rb +0 -1
- data/lib/decidim/core/test/shared_examples/hideable_resource_examples.rb +43 -0
- data/lib/decidim/core/test/shared_examples/localised_email.rb +2 -2
- data/lib/decidim/core/test/shared_examples/map_examples.rb +21 -15
- data/lib/decidim/core/test/shared_examples/paginated_resource_examples.rb +7 -7
- data/lib/decidim/core/test/shared_examples/participatory_space_dropdown_metadata_cell_examples.rb +99 -0
- data/lib/decidim/core/test/shared_examples/permissions.rb +8 -8
- data/lib/decidim/core/test/shared_examples/preview_component_with_share_token_examples.rb +3 -3
- data/lib/decidim/core/test/shared_examples/process_announcements_examples.rb +12 -6
- data/lib/decidim/core/test/shared_examples/reportable.rb +4 -4
- data/lib/decidim/core/test/shared_examples/reports_examples.rb +114 -31
- data/lib/decidim/core/test/shared_examples/resource_endorsed_event_examples.rb +3 -3
- data/lib/decidim/core/test/shared_examples/resource_search_examples.rb +17 -17
- data/lib/decidim/core/test/shared_examples/scopable_interface_examples.rb +1 -1
- data/lib/decidim/core/test/shared_examples/scopable_resource_examples.rb +2 -2
- data/lib/decidim/core/test/shared_examples/scope_helper_examples.rb +6 -6
- data/lib/decidim/core/test/shared_examples/searchable_participatory_space_examples.rb +9 -9
- data/lib/decidim/core/test/shared_examples/searchable_resources_shared_context.rb +2 -2
- data/lib/decidim/core/test/shared_examples/searchable_results_examples.rb +22 -21
- data/lib/decidim/core/test/shared_examples/share_link_examples.rb +8 -15
- data/lib/decidim/core/test/shared_examples/simple_event.rb +35 -6
- data/lib/decidim/core/test/shared_examples/static_pages_examples.rb +3 -3
- data/lib/decidim/core/test/shared_examples/statistics_cell_examples.rb +13 -0
- data/lib/decidim/core/test/shared_examples/system_endorse_resource_examples.rb +24 -36
- data/lib/decidim/core/test/shared_examples/translated_event_examples.rb +1 -1
- data/lib/decidim/core/test/shared_examples/uncommentable_component_examples.rb +3 -3
- data/lib/decidim/core/test/shared_examples/with_endorsable_permissions_examples.rb +1 -1
- data/lib/decidim/core/test.rb +5 -4
- data/lib/decidim/core/version.rb +1 -1
- data/lib/decidim/core.rb +113 -29
- data/lib/decidim/dependency_resolver.rb +4 -4
- data/lib/decidim/download_your_data_serializers/download_your_data_conversation_serializer.rb +1 -1
- data/lib/decidim/endorsable.rb +2 -2
- data/lib/decidim/event_recorder.rb +1 -1
- data/lib/decidim/events/email_event.rb +4 -4
- data/lib/decidim/events/machine_translated_event.rb +1 -1
- data/lib/decidim/events/notification_event.rb +2 -2
- data/lib/decidim/events/simple_event.rb +8 -8
- data/lib/decidim/exporters/csv.rb +1 -1
- data/lib/decidim/exporters/pdf.rb +5 -5
- data/lib/decidim/exporters.rb +10 -1
- data/lib/decidim/faker/localized.rb +1 -1
- data/lib/decidim/filter_form_builder.rb +43 -76
- data/lib/decidim/fingerprintable.rb +1 -1
- data/lib/decidim/form_builder.rb +131 -86
- data/lib/decidim/gamification/badge.rb +4 -4
- data/lib/decidim/gamification/badge_earned_event.rb +1 -1
- data/lib/decidim/gamification/badge_registry.rb +3 -3
- data/lib/decidim/gamification/badge_scorer.rb +6 -6
- data/lib/decidim/gamification.rb +3 -3
- data/lib/decidim/geocodable.rb +3 -3
- data/lib/decidim/has_category.rb +2 -2
- data/lib/decidim/has_reference.rb +1 -1
- data/lib/decidim/icon_registry.rb +56 -0
- data/lib/decidim/importers/import_manifest.rb +3 -3
- data/lib/decidim/map/autocomplete.rb +1 -10
- data/lib/decidim/map/dynamic_map.rb +6 -9
- data/lib/decidim/map/frontend.rb +2 -12
- data/lib/decidim/map/provider/autocomplete/here.rb +3 -3
- data/lib/decidim/map/provider/autocomplete/osm.rb +3 -3
- data/lib/decidim/map/provider/dynamic_map/here.rb +5 -4
- data/lib/decidim/map/provider/static_map/here.rb +3 -3
- data/lib/decidim/map/provider/static_map/osm.rb +3 -3
- data/lib/decidim/map/static_map.rb +19 -16
- data/lib/decidim/menu.rb +2 -0
- data/lib/decidim/menu_registry.rb +2 -2
- data/lib/decidim/metric_manifest.rb +1 -1
- data/lib/decidim/metric_operation.rb +3 -3
- data/lib/decidim/metric_registry.rb +3 -3
- data/lib/decidim/middleware/current_organization.rb +1 -1
- data/lib/decidim/middleware/static_dispatcher.rb +31 -0
- data/lib/decidim/moderation_tools.rb +91 -0
- data/lib/decidim/nicknamizable.rb +2 -2
- data/lib/decidim/organization_settings.rb +5 -6
- data/lib/decidim/paddable.rb +1 -1
- data/lib/decidim/participable.rb +1 -1
- data/lib/decidim/participatory_space_manifest.rb +15 -7
- data/lib/decidim/participatory_space_resourceable.rb +2 -2
- data/lib/decidim/participatory_space_user.rb +50 -0
- data/lib/decidim/processes_file_locally.rb +1 -1
- data/lib/decidim/publicable.rb +1 -3
- data/lib/decidim/query.rb +2 -2
- data/lib/decidim/query_extensions.rb +7 -7
- data/lib/decidim/reminder_manifest.rb +3 -3
- data/lib/decidim/reminder_registry.rb +2 -2
- data/lib/decidim/reportable.rb +15 -1
- data/lib/decidim/resource_manifest.rb +6 -3
- data/lib/decidim/resourceable.rb +5 -5
- data/lib/decidim/scopable.rb +1 -1
- data/lib/decidim/searchable.rb +18 -5
- data/lib/decidim/seeds.rb +95 -0
- data/lib/decidim/settings_manifest.rb +9 -2
- data/lib/decidim/social_share_service_manifest.rb +77 -0
- data/lib/decidim/stats_registry.rb +2 -2
- data/lib/decidim/translatable_attributes.rb +2 -2
- data/lib/decidim/translatable_resource.rb +3 -3
- data/lib/decidim/upgrade/wysiwyg_migrator.rb +429 -0
- data/lib/decidim/upgrade.rb +7 -0
- data/lib/decidim/user_reportable.rb +1 -1
- data/lib/decidim/view_hooks.rb +2 -2
- data/lib/decidim/view_model.rb +28 -3
- data/lib/decidim/webpacker/configuration.rb +4 -3
- data/lib/decidim/webpacker/postcss.config.js +4 -2
- data/lib/decidim/webpacker/runner.rb +6 -1
- data/lib/decidim/webpacker/{webpacker.yml → shakapacker.yml} +26 -2
- data/lib/decidim/webpacker/webpack/custom.js +25 -9
- data/lib/decidim/webpacker/webpack/webpack.config.js +10 -0
- data/lib/decidim/webpacker.rb +1 -1
- data/lib/devise/models/decidim_validatable.rb +4 -5
- data/lib/gem_overrides/{webpacker → shakapacker}/runner.rb +2 -2
- data/lib/tasks/decidim_active_storage_migration_tasks.rake +18 -13
- data/lib/tasks/decidim_content_blocks_tasks.rake +48 -0
- data/lib/tasks/decidim_mailers_tasks.rake +1 -1
- data/lib/tasks/decidim_procfile.rake +36 -0
- data/lib/tasks/decidim_pwa_tasks.rake +2 -2
- data/lib/tasks/decidim_robots.rake +15 -0
- data/lib/tasks/decidim_tasks.rake +9 -1
- data/lib/tasks/decidim_webpacker_tasks.rake +49 -11
- data/lib/tasks/upgrade/decidim_deduplicate_endorsements.rake +53 -0
- data/lib/tasks/upgrade/decidim_fix_short_url_resolver.rake +22 -0
- data/lib/tasks/upgrade/decidim_migrate_wysiwyg_content.rake +89 -0
- metadata +517 -341
- data/app/cells/decidim/address/details.erb +0 -7
- data/app/cells/decidim/amendable/amenders_list_cell.rb +0 -33
- data/app/cells/decidim/author/profile.erb +0 -9
- data/app/cells/decidim/author/profile_inline.erb +0 -39
- data/app/cells/decidim/card_m/badge.erb +0 -1
- data/app/cells/decidim/card_m/comments_counter.erb +0 -3
- data/app/cells/decidim/card_m/header.erb +0 -17
- data/app/cells/decidim/card_m/image.erb +0 -5
- data/app/cells/decidim/card_m/label.erb +0 -3
- data/app/cells/decidim/card_m/show.erb +0 -23
- data/app/cells/decidim/card_m/status.erb +0 -9
- data/app/cells/decidim/card_m/tags.erb +0 -0
- data/app/cells/decidim/card_m/top.erb +0 -7
- data/app/cells/decidim/card_m_cell.rb +0 -156
- data/app/cells/decidim/collapsible_list/show.erb +0 -28
- data/app/cells/decidim/collapsible_list_cell.rb +0 -69
- data/app/cells/decidim/content_blocks/highlighted_elements/elements.erb +0 -0
- data/app/cells/decidim/content_blocks/highlighted_elements/heading.erb +0 -0
- data/app/cells/decidim/content_blocks/highlighted_elements/show.erb +0 -4
- data/app/cells/decidim/content_blocks/metrics/show.erb +0 -13
- data/app/cells/decidim/content_blocks/metrics_cell.rb +0 -11
- data/app/cells/decidim/fingerprint/show.erb +0 -22
- data/app/cells/decidim/fingerprint_cell.rb +0 -19
- data/app/cells/decidim/profile/user_group_tabs.erb +0 -10
- data/app/cells/decidim/profile/user_tabs.erb +0 -16
- data/app/cells/decidim/statistic/homepage.erb +0 -9
- data/app/cells/decidim/tags/category.erb +0 -1
- data/app/cells/decidim/tags/scope.erb +0 -1
- data/app/cells/decidim/user_conversations/add_conversation_users.erb +0 -26
- data/app/cells/decidim/user_conversations/conversation_item.erb +0 -38
- data/app/cells/decidim/user_group_admin_membership_profile/footer.erb +0 -29
- data/app/cells/decidim/user_group_admin_membership_profile_cell.rb +0 -14
- data/app/cells/decidim/user_group_membership_profile/tags.erb +0 -1
- data/app/cells/decidim/user_group_membership_profile_cell.rb +0 -8
- data/app/cells/decidim/user_profile/footer.erb +0 -5
- data/app/cells/decidim/user_profile/header.erb +0 -5
- data/app/cells/decidim/user_profile/unlinked_user_data.erb +0 -16
- data/app/cells/decidim/user_profile/user_data.erb +0 -16
- data/app/cells/decidim/version_author/show.erb +0 -18
- data/app/controllers/concerns/decidim/http_caching_disabler.rb +0 -21
- data/app/controllers/decidim/group_admins_controller.rb +0 -44
- data/app/controllers/decidim/user_timeline_controller.rb +0 -56
- data/app/controllers/decidim/widgets_controller.rb +0 -34
- data/app/helpers/decidim/layout_helper.rb.orig +0 -225
- data/app/helpers/decidim/widget_urls_helper.rb +0 -13
- data/app/jobs/decidim/block_user_job.rb +0 -11
- data/app/packs/entrypoints/decidim_email.scss +0 -1
- data/app/packs/fonts/decidim/Roboto-Regular.eot +0 -0
- data/app/packs/fonts/decidim/Roboto-Regular.svg +0 -1
- data/app/packs/fonts/decidim/Roboto-Regular.ttf +0 -0
- data/app/packs/fonts/decidim/Roboto-Regular.woff +0 -0
- data/app/packs/fonts/decidim/Roboto-Regular.woff2 +0 -0
- data/app/packs/fonts/decidim/Source_Sans_Pro_400.eot +0 -0
- data/app/packs/fonts/decidim/Source_Sans_Pro_400.svg +0 -1
- data/app/packs/fonts/decidim/Source_Sans_Pro_400.ttf +0 -0
- data/app/packs/fonts/decidim/Source_Sans_Pro_400.woff +0 -0
- data/app/packs/fonts/decidim/Source_Sans_Pro_400.woff2 +0 -0
- data/app/packs/fonts/decidim/Source_Sans_Pro_600.eot +0 -0
- data/app/packs/fonts/decidim/Source_Sans_Pro_600.svg +0 -1
- data/app/packs/fonts/decidim/Source_Sans_Pro_600.ttf +0 -0
- data/app/packs/fonts/decidim/Source_Sans_Pro_600.woff +0 -0
- data/app/packs/fonts/decidim/Source_Sans_Pro_600.woff2 +0 -0
- data/app/packs/fonts/decidim/Source_Sans_Pro_900.eot +0 -0
- data/app/packs/fonts/decidim/Source_Sans_Pro_900.svg +0 -1
- data/app/packs/fonts/decidim/Source_Sans_Pro_900.ttf +0 -0
- data/app/packs/fonts/decidim/Source_Sans_Pro_900.woff +0 -0
- data/app/packs/fonts/decidim/Source_Sans_Pro_900.woff2 +0 -0
- data/app/packs/images/decidim/vendor/social-share-button/delicious.svg +0 -13
- data/app/packs/images/decidim/vendor/social-share-button/google_plus.svg +0 -10
- data/app/packs/images/decidim/vendor/social-share-button/qq.svg +0 -8
- data/app/packs/images/decidim/vendor/social-share-button/weibo.svg +0 -10
- data/app/packs/src/decidim/ajax_modals.js +0 -20
- data/app/packs/src/decidim/conferences.js +0 -15
- data/app/packs/src/decidim/conversations.js +0 -17
- data/app/packs/src/decidim/data_picker.js +0 -272
- data/app/packs/src/decidim/dialog_mode.js +0 -55
- data/app/packs/src/decidim/dialog_mode.test.js +0 -181
- data/app/packs/src/decidim/diff_mode_dropdown.js +0 -49
- data/app/packs/src/decidim/dropdowns_menus.js +0 -30
- data/app/packs/src/decidim/editor/attribute_diff.js +0 -28
- data/app/packs/src/decidim/editor/clipboard_override.js +0 -147
- data/app/packs/src/decidim/editor/clipboard_utilities.js +0 -119
- data/app/packs/src/decidim/editor/history_override.js +0 -110
- data/app/packs/src/decidim/editor/linebreak_module.js +0 -175
- data/app/packs/src/decidim/editor/modified_backspace_offset1.js +0 -96
- data/app/packs/src/decidim/editor/modified_backspace_offset_any.js +0 -46
- data/app/packs/src/decidim/editor/modified_enter.js +0 -116
- data/app/packs/src/decidim/editor.js +0 -151
- data/app/packs/src/decidim/floating_help.js +0 -47
- data/app/packs/src/decidim/form_datepicker.js +0 -21
- data/app/packs/src/decidim/form_filter.component.test.js +0 -299
- data/app/packs/src/decidim/foundation-datepicker/js/locales/foundation-datepicker.lb.js +0 -13
- data/app/packs/src/decidim/foundation_datepicker_locales.js +0 -67
- data/app/packs/src/decidim/map/icon.js +0 -31
- data/app/packs/src/decidim/map/svg-icon.js +0 -248
- data/app/packs/src/decidim/represent_user_group.js +0 -18
- data/app/packs/src/decidim/start_conversation_dialog.js +0 -13
- data/app/packs/src/decidim/tooltip_keep_on_hover.js +0 -18
- data/app/packs/src/decidim/vendor/foundation-datepicker.js +0 -1431
- data/app/packs/src/decidim/vendor/image-resize.min.js +0 -3
- data/app/packs/src/decidim/vendor/image-upload.min.js +0 -8
- data/app/packs/src/decidim/vendor/social-share-button.js +0 -174
- data/app/packs/src/decidim/vizzs/linechart.js +0 -268
- data/app/packs/src/decidim/vizzs/rowchart.js +0 -328
- data/app/packs/stylesheets/decidim/_decidim-settings.scss +0 -7
- data/app/packs/stylesheets/decidim/_decidim.scss +0 -19
- data/app/packs/stylesheets/decidim/_editor.scss +0 -142
- data/app/packs/stylesheets/decidim/_properties.scss +0 -25
- data/app/packs/stylesheets/decidim/extras/_add_comments.scss +0 -9
- data/app/packs/stylesheets/decidim/extras/_announcement.scss +0 -3
- data/app/packs/stylesheets/decidim/extras/_collection-sort-controls.scss +0 -5
- data/app/packs/stylesheets/decidim/extras/_embed.scss +0 -33
- data/app/packs/stylesheets/decidim/extras/_external-links.scss +0 -44
- data/app/packs/stylesheets/decidim/extras/_extras.scss +0 -15
- data/app/packs/stylesheets/decidim/extras/_impersonation-bar.scss +0 -26
- data/app/packs/stylesheets/decidim/extras/_label-required.scss +0 -12
- data/app/packs/stylesheets/decidim/extras/_leaflet.scss +0 -17
- data/app/packs/stylesheets/decidim/extras/_meeting-registrations.scss +0 -25
- data/app/packs/stylesheets/decidim/extras/_proposal_form.scss +0 -9
- data/app/packs/stylesheets/decidim/extras/_quill.scss +0 -13
- data/app/packs/stylesheets/decidim/extras/_reference.scss +0 -3
- data/app/packs/stylesheets/decidim/extras/_results-per-page.scss +0 -74
- data/app/packs/stylesheets/decidim/extras/_social_share.scss +0 -39
- data/app/packs/stylesheets/decidim/extras/_status-labels.scss +0 -3
- data/app/packs/stylesheets/decidim/layouts/_highlighted_banner.scss +0 -34
- data/app/packs/stylesheets/decidim/layouts/_home.scss +0 -371
- data/app/packs/stylesheets/decidim/layouts/_layouts.scss +0 -5
- data/app/packs/stylesheets/decidim/layouts/_logo.scss +0 -26
- data/app/packs/stylesheets/decidim/layouts/_user.scss +0 -64
- data/app/packs/stylesheets/decidim/layouts/_view.scss +0 -21
- data/app/packs/stylesheets/decidim/modules/_address.scss +0 -31
- data/app/packs/stylesheets/decidim/modules/_author-avatar.scss +0 -171
- data/app/packs/stylesheets/decidim/modules/_autocomplete.scss +0 -99
- data/app/packs/stylesheets/decidim/modules/_badges.scss +0 -116
- data/app/packs/stylesheets/decidim/modules/_block-banner.scss +0 -39
- data/app/packs/stylesheets/decidim/modules/_buttons.scss +0 -531
- data/app/packs/stylesheets/decidim/modules/_callout.scss +0 -33
- data/app/packs/stylesheets/decidim/modules/_card-grid.scss +0 -25
- data/app/packs/stylesheets/decidim/modules/_cards.scss +0 -1124
- data/app/packs/stylesheets/decidim/modules/_collapsible-list.scss +0 -60
- data/app/packs/stylesheets/decidim/modules/_comments.scss +0 -307
- data/app/packs/stylesheets/decidim/modules/_conference-diploma.scss +0 -75
- data/app/packs/stylesheets/decidim/modules/_conference-media.scss +0 -46
- data/app/packs/stylesheets/decidim/modules/_conference-nav.scss +0 -31
- data/app/packs/stylesheets/decidim/modules/_conference-programme.scss +0 -109
- data/app/packs/stylesheets/decidim/modules/_conference-registration.scss +0 -34
- data/app/packs/stylesheets/decidim/modules/_conference-speaker.scss +0 -87
- data/app/packs/stylesheets/decidim/modules/_confirm.scss +0 -5
- data/app/packs/stylesheets/decidim/modules/_conversation.scss +0 -113
- data/app/packs/stylesheets/decidim/modules/_data-consent.scss +0 -115
- data/app/packs/stylesheets/decidim/modules/_data-picker.scss +0 -190
- data/app/packs/stylesheets/decidim/modules/_datepicker.scss +0 -224
- data/app/packs/stylesheets/decidim/modules/_definition-data.scss +0 -95
- data/app/packs/stylesheets/decidim/modules/_docs-manager.scss +0 -15
- data/app/packs/stylesheets/decidim/modules/_dropdown_menu.scss +0 -9
- data/app/packs/stylesheets/decidim/modules/_extra.scss +0 -50
- data/app/packs/stylesheets/decidim/modules/_filter-tags.scss +0 -27
- data/app/packs/stylesheets/decidim/modules/_filters.scss +0 -193
- data/app/packs/stylesheets/decidim/modules/_fingerprint.scss +0 -8
- data/app/packs/stylesheets/decidim/modules/_flag.scss +0 -10
- data/app/packs/stylesheets/decidim/modules/_floating-helper.scss +0 -118
- data/app/packs/stylesheets/decidim/modules/_footer.scss +0 -115
- data/app/packs/stylesheets/decidim/modules/_forms.scss +0 -157
- data/app/packs/stylesheets/decidim/modules/_help.scss +0 -58
- data/app/packs/stylesheets/decidim/modules/_horizontal-tabs.scss +0 -114
- data/app/packs/stylesheets/decidim/modules/_hover-section.scss +0 -29
- data/app/packs/stylesheets/decidim/modules/_icons.scss +0 -56
- data/app/packs/stylesheets/decidim/modules/_inline-filters.scss +0 -66
- data/app/packs/stylesheets/decidim/modules/_input-gallery.scss +0 -35
- data/app/packs/stylesheets/decidim/modules/_input-mentions.scss +0 -142
- data/app/packs/stylesheets/decidim/modules/_input-multiple-mentions.scss +0 -32
- data/app/packs/stylesheets/decidim/modules/_input-tags.scss +0 -55
- data/app/packs/stylesheets/decidim/modules/_layout.scss +0 -82
- data/app/packs/stylesheets/decidim/modules/_list-docs.scss +0 -33
- data/app/packs/stylesheets/decidim/modules/_list-request.scss +0 -16
- data/app/packs/stylesheets/decidim/modules/_loading-spinner.scss +0 -46
- data/app/packs/stylesheets/decidim/modules/_main-container.scss +0 -72
- data/app/packs/stylesheets/decidim/modules/_map.scss +0 -130
- data/app/packs/stylesheets/decidim/modules/_margins.scss +0 -60
- data/app/packs/stylesheets/decidim/modules/_messages.scss +0 -36
- data/app/packs/stylesheets/decidim/modules/_modules.scss +0 -94
- data/app/packs/stylesheets/decidim/modules/_navbar.scss +0 -592
- data/app/packs/stylesheets/decidim/modules/_notification.scss +0 -5
- data/app/packs/stylesheets/decidim/modules/_omnipresent_banner.scss +0 -26
- data/app/packs/stylesheets/decidim/modules/_opinion-toggle.scss +0 -55
- data/app/packs/stylesheets/decidim/modules/_order-by.scss +0 -82
- data/app/packs/stylesheets/decidim/modules/_pagination.scss +0 -6
- data/app/packs/stylesheets/decidim/modules/_process-header.scss +0 -95
- data/app/packs/stylesheets/decidim/modules/_process-info.scss +0 -52
- data/app/packs/stylesheets/decidim/modules/_process-nav.scss +0 -182
- data/app/packs/stylesheets/decidim/modules/_process-phase.scss +0 -173
- data/app/packs/stylesheets/decidim/modules/_progress-bar.scss +0 -73
- data/app/packs/stylesheets/decidim/modules/_reference.scss +0 -5
- data/app/packs/stylesheets/decidim/modules/_reveal.scss +0 -111
- data/app/packs/stylesheets/decidim/modules/_share.scss +0 -34
- data/app/packs/stylesheets/decidim/modules/_signup.scss +0 -119
- data/app/packs/stylesheets/decidim/modules/_space-stats.scss +0 -53
- data/app/packs/stylesheets/decidim/modules/_static-pages.scss +0 -51
- data/app/packs/stylesheets/decidim/modules/_statistics.scss +0 -53
- data/app/packs/stylesheets/decidim/modules/_status-labels.scss +0 -33
- data/app/packs/stylesheets/decidim/modules/_sticky.scss +0 -5
- data/app/packs/stylesheets/decidim/modules/_tags.scss +0 -41
- data/app/packs/stylesheets/decidim/modules/_timeline.scss +0 -181
- data/app/packs/stylesheets/decidim/modules/_title-action.scss +0 -29
- data/app/packs/stylesheets/decidim/modules/_toggle.scss +0 -9
- data/app/packs/stylesheets/decidim/modules/_typography.scss +0 -309
- data/app/packs/stylesheets/decidim/modules/_upload_modal.scss +0 -139
- data/app/packs/stylesheets/decidim/modules/_user-form.scss +0 -15
- data/app/packs/stylesheets/decidim/modules/_versions.scss +0 -74
- data/app/packs/stylesheets/decidim/modules/_video.scss +0 -18
- data/app/packs/stylesheets/decidim/modules/_wizard-steps.scss +0 -45
- data/app/packs/stylesheets/decidim/plugins/MarkerCluster.Default.scss +0 -67
- data/app/packs/stylesheets/decidim/plugins/MarkerCluster.scss +0 -15
- data/app/packs/stylesheets/decidim/utils/_fontface.scss +0 -32
- data/app/packs/stylesheets/decidim/utils/_helpers.scss +0 -159
- data/app/packs/stylesheets/decidim/utils/_keyframes.scss +0 -21
- data/app/packs/stylesheets/decidim/utils/_mixins.scss +0 -252
- data/app/packs/stylesheets/decidim/utils/_settings.scss +0 -890
- data/app/packs/stylesheets/decidim/utils/_toggle-expand.scss +0 -23
- data/app/packs/stylesheets/decidim/vendor/_social_share_button.scss +0 -135
- data/app/packs/stylesheets/decidim/vizzs/_areachart.scss +0 -66
- data/app/packs/stylesheets/decidim/vizzs/_chart-tooltip.scss +0 -42
- data/app/packs/stylesheets/decidim/vizzs/_linechart.scss +0 -114
- data/app/packs/stylesheets/decidim/vizzs/_orgchart.scss +0 -54
- data/app/packs/stylesheets/decidim/vizzs/_rowchart.scss +0 -76
- data/app/packs/stylesheets/decidim/vizzs/_vizzs.scss +0 -5
- data/app/packs/stylesheets/decidim/vizzs.scss +0 -8
- data/app/packs/stylesheets/foundation-overrides/components/_button-group.scss +0 -321
- data/app/uploaders/decidim/official_image_header_uploader.rb +0 -10
- data/app/views/decidim/amendments/_similar_emendation.html.erb +0 -24
- data/app/views/decidim/application/_attachments.erb +0 -12
- data/app/views/decidim/application/_document.erb +0 -19
- data/app/views/decidim/application/_documents.erb +0 -15
- data/app/views/decidim/application/_photos.erb +0 -16
- data/app/views/decidim/authorization_modals/_content.html.erb +0 -45
- data/app/views/decidim/devise/registrations/new.html.erb.orig +0 -231
- data/app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb +0 -23
- data/app/views/decidim/group_admins/index.html.erb +0 -20
- data/app/views/decidim/group_members/index.html.erb +0 -21
- data/app/views/decidim/links/_invalid_url_modal.html.erb +0 -17
- data/app/views/decidim/links/_warning.html.erb +0 -4
- data/app/views/decidim/links/invalid_url.js.erb +0 -24
- data/app/views/decidim/profiles/_followers.html.erb +0 -5
- data/app/views/decidim/profiles/_following.html.erb +0 -5
- data/app/views/decidim/profiles/_notifications.html.erb +0 -0
- data/app/views/decidim/profiles/_user_follow.erb +0 -32
- data/app/views/decidim/searches/_filters_small_view.html.erb +0 -18
- data/app/views/decidim/shared/_address_details.html.erb +0 -7
- data/app/views/decidim/shared/_check_boxes_tree.html.erb +0 -56
- data/app/views/decidim/shared/_embed_modal.html.erb +0 -22
- data/app/views/decidim/shared/_filter_form_help.erb +0 -8
- data/app/views/decidim/shared/_private_participatory_space.html.erb +0 -5
- data/app/views/decidim/shared/participatory_space_filters/_filters.html.erb +0 -16
- data/app/views/decidim/shared/participatory_space_filters/_filters_small_view.html.erb +0 -19
- data/app/views/decidim/shared/participatory_space_filters/_show.html.erb +0 -9
- data/app/views/decidim/user_timeline/index.html.erb +0 -8
- data/app/views/decidim/user_timeline/index.js.erb +0 -14
- data/app/views/decidim/widgets/show.html.erb +0 -4
- data/app/views/decidim/widgets/show.js.erb +0 -32
- data/app/views/kaminari/decidim/_first_page.html.erb +0 -14
- data/app/views/kaminari/decidim/_last_page.html.erb +0 -14
- data/app/views/layouts/decidim/_language_chooser.html.erb +0 -26
- data/app/views/layouts/decidim/_main_footer.html.erb +0 -31
- data/app/views/layouts/decidim/_mini_footer.html.erb +0 -21
- data/app/views/layouts/decidim/_social_media_links.html.erb +0 -44
- data/app/views/layouts/decidim/_topbar_search.html.erb +0 -18
- data/app/views/layouts/decidim/widget.html.erb +0 -34
- data/lib/decidim/core/test/shared_examples/amendable/amendment_accepted_event_examples.rb +0 -42
- data/lib/decidim/core/test/shared_examples/back_to_list_button_examples.rb +0 -17
- data/lib/decidim/core/test/shared_examples/embed_resource_examples.rb +0 -49
- data/lib/decidim/webpacker/thread_safe_compiler.rb +0 -30
- data/lib/decidim/webpacker/webpack/base.js +0 -6
- data/lib/decidim/webpacker/webpack/development.js +0 -7
- data/lib/decidim/webpacker/webpack/production.js +0 -7
- data/lib/decidim/webpacker/webpack/test.js +0 -7
- /data/app/cells/decidim/{card_m/data.erb → card_l/extra_data.erb} +0 -0
- /data/app/cells/decidim/{card_m/footer.erb → content_blocks/base/content.erb} +0 -0
- /data/app/{forms → validators}/translatable_presence_validator.rb +0 -0
- /data/app/{forms → validators}/url_validator.rb +0 -0
@@ -1,231 +0,0 @@
|
|
1
|
-
<% add_decidim_page_title(t(".sign_up")) %>
|
2
|
-
|
3
|
-
<% content_for :devise_links do %>
|
4
|
-
<%= render "decidim/devise/shared/links" %>
|
5
|
-
<% end %>
|
6
|
-
|
7
|
-
<%= render layout: "layouts/decidim/shared/layout_center" do %>
|
8
|
-
<div class="flex justify-center">
|
9
|
-
<h1 class="h3 md:h1 decorator my-12"><%= t("decidim.devise.registrations.new.sign_up") %></h1>
|
10
|
-
</div>
|
11
|
-
|
12
|
-
<div class="login__info">
|
13
|
-
<p>
|
14
|
-
<%= t("decidim.devise.registrations.new.subtitle") %>
|
15
|
-
</p>
|
16
|
-
<p class="font-semibold">
|
17
|
-
<%= t("decidim.devise.registrations.new.already_have_an_account?") %>
|
18
|
-
<%= link_to t("decidim.devise.registrations.new.sign_in"), new_user_session_path %>
|
19
|
-
</p>
|
20
|
-
</div>
|
21
|
-
|
22
|
-
<div class="login__info-required">
|
23
|
-
<%= form_required_explanation %>
|
24
|
-
</div>
|
25
|
-
|
26
|
-
<div class="login__omniauth-container">
|
27
|
-
<% cache current_organization do %>
|
28
|
-
<%= render "decidim/devise/shared/omniauth_buttons" %>
|
29
|
-
<% end %>
|
30
|
-
</div>
|
31
|
-
|
32
|
-
<%= decidim_form_for(@form, namespace: "registration", as: resource_name, url: registration_path(resource_name), html: { id: "register-form" }) do |f| %>
|
33
|
-
<%= invisible_captcha %>
|
34
|
-
|
35
|
-
<div class="form__wrapper">
|
36
|
-
<%= f.text_field :name, help_text: t("decidim.devise.registrations.new.username_help"), autocomplete: "name", placeholder: "John Doe" %>
|
37
|
-
|
38
|
-
<%= f.text_field :nickname, help_text: t("decidim.devise.registrations.new.nickname_help", organization: current_organization.name), autocomplete: "nickname", placeholder: "johndoe" %>
|
39
|
-
|
40
|
-
<%= f.email_field :email, autocomplete: "email", placeholder: "hi@email.com" %>
|
41
|
-
|
42
|
-
<%= f.password_field :password, password_field_options_for(:user) %>
|
43
|
-
|
44
|
-
<%= f.password_field :password_confirmation, password_field_options_for(:user).except(:help_text) %>
|
45
|
-
</div>
|
46
|
-
|
47
|
-
<div id="card__tos" class="form__wrapper-block">
|
48
|
-
<h4 class="h4"><%= t("decidim.devise.registrations.new.tos_title") %></h4>
|
49
|
-
|
50
|
-
<div class="tos-text">
|
51
|
-
<% terms_of_service_summary_content_blocks.each do |content_block| %>
|
52
|
-
<%= cell content_block.manifest.cell, content_block %>
|
53
|
-
<% end %>
|
54
|
-
</div>
|
55
|
-
|
56
|
-
<%= f.check_box :tos_agreement, label: t("decidim.devise.registrations.new.tos_agreement", link: link_to(t("decidim.devise.registrations.new.terms"), page_path("terms-of-service"))), label_options: { class: "form__wrapper-checkbox-label" } %>
|
57
|
-
</div>
|
58
|
-
|
59
|
-
<div id="card__newsletter" class="form__wrapper-block">
|
60
|
-
<h4 class="h4"><%= t("decidim.devise.registrations.new.newsletter_title") %></h4>
|
61
|
-
<%= f.check_box :newsletter, label: t("decidim.devise.registrations.new.newsletter"), checked: @form.newsletter, label_options: { class: "form__wrapper-checkbox-label" } %>
|
62
|
-
</div>
|
63
|
-
|
64
|
-
<div class="form__wrapper-block">
|
65
|
-
<button type="submit" class="button button__lg button__secondary">
|
66
|
-
<%= t("decidim.devise.registrations.new.sign_up") %>
|
67
|
-
<%= icon "arrow-right-line", class: "fill-current" %>
|
68
|
-
</button>
|
69
|
-
</div>
|
70
|
-
|
71
|
-
<div class="login__links">
|
72
|
-
<%= render "decidim/devise/shared/redesigned_links" %>
|
73
|
-
</div>
|
74
|
-
<% end %>
|
75
|
-
<% end %>
|
76
|
-
|
77
|
-
<<<<<<< HEAD
|
78
|
-
||||||| parent of 4e14afa36c (add password toggle via unobstructive javascript)
|
79
|
-
<div class="row">
|
80
|
-
<div class="columns large-6 medium-10 medium-centered">
|
81
|
-
|
82
|
-
<%= decidim_form_for(@form, namespace: "registration", as: resource_name, url: registration_path(resource_name), html: { class: "register-form new_user", id: "register-form" }) do |f| %>
|
83
|
-
<%= invisible_captcha %>
|
84
|
-
<div class="card">
|
85
|
-
<div class="card__content">
|
86
|
-
<%= form_required_explanation %>
|
87
|
-
|
88
|
-
<div class="user-person">
|
89
|
-
<div class="field">
|
90
|
-
<%= f.text_field :name, help_text: t(".username_help"), autocomplete: "name" %>
|
91
|
-
</div>
|
92
|
-
</div>
|
93
|
-
|
94
|
-
<div class="user-nickname">
|
95
|
-
<div class="field">
|
96
|
-
<%= f.text_field :nickname, help_text: t(".nickname_help", organization: current_organization.name), prefix: { value: "@", small: 1, large: 1 }, autocomplete: "nickname" %>
|
97
|
-
</div>
|
98
|
-
</div>
|
99
|
-
|
100
|
-
<div class="field">
|
101
|
-
<%= f.email_field :email, autocomplete: "email" %>
|
102
|
-
</div>
|
103
|
-
|
104
|
-
<div class="field">
|
105
|
-
<%= f.password_field :password, password_field_options_for(:user) %>
|
106
|
-
</div>
|
107
|
-
|
108
|
-
<div class="field">
|
109
|
-
<%= f.password_field :password_confirmation, password_field_options_for(:user).except(:help_text) %>
|
110
|
-
</div>
|
111
|
-
</div>
|
112
|
-
</div>
|
113
|
-
|
114
|
-
<div class="card" id="card__tos">
|
115
|
-
<div class="card__content">
|
116
|
-
<h3><%= t(".tos_title") %></h3>
|
117
|
-
|
118
|
-
<p class="tos-text">
|
119
|
-
<%= strip_tags(translated_attribute(terms_and_conditions_page.content)) %>
|
120
|
-
</p>
|
121
|
-
|
122
|
-
<div class="field">
|
123
|
-
<%= f.check_box :tos_agreement, label: t(".tos_agreement", link: link_to(t(".terms"), page_path("terms-and-conditions"))) %>
|
124
|
-
</div>
|
125
|
-
</div>
|
126
|
-
</div>
|
127
|
-
|
128
|
-
<div class="card" id="card__newsletter">
|
129
|
-
<div class="card__content">
|
130
|
-
<h3><%= t(".newsletter_title") %></h3>
|
131
|
-
<div class="field">
|
132
|
-
<%= f.check_box :newsletter, label: t(".newsletter"), checked: @form.newsletter %>
|
133
|
-
</div>
|
134
|
-
</div>
|
135
|
-
</div>
|
136
|
-
|
137
|
-
<div class="card">
|
138
|
-
<div class="card__content">
|
139
|
-
<div class="actions">
|
140
|
-
<%= f.submit t("devise.registrations.new.sign_up"), class: "button expanded" %>
|
141
|
-
</div>
|
142
|
-
<%= yield :devise_links %>
|
143
|
-
</div>
|
144
|
-
</div>
|
145
|
-
<% end %>
|
146
|
-
</div>
|
147
|
-
</div>
|
148
|
-
</div>
|
149
|
-
</div>
|
150
|
-
=======
|
151
|
-
<div class="row">
|
152
|
-
<div class="columns large-6 medium-10 medium-centered">
|
153
|
-
|
154
|
-
<%= decidim_form_for(@form, namespace: "registration", as: resource_name, url: registration_path(resource_name), html: { class: "register-form new_user", id: "register-form" }) do |f| %>
|
155
|
-
<%= invisible_captcha %>
|
156
|
-
<div class="card">
|
157
|
-
<div class="card__content">
|
158
|
-
<%= form_required_explanation %>
|
159
|
-
|
160
|
-
<div class="user-person">
|
161
|
-
<div class="field">
|
162
|
-
<%= f.text_field :name, help_text: t(".username_help"), autocomplete: "off" %>
|
163
|
-
</div>
|
164
|
-
</div>
|
165
|
-
|
166
|
-
<div class="user-nickname">
|
167
|
-
<div class="field">
|
168
|
-
<%= f.text_field :nickname, help_text: t(".nickname_help", organization: current_organization.name), prefix: { value: "@", small: 1, large: 1 }, autocomplete: "off" %>
|
169
|
-
</div>
|
170
|
-
</div>
|
171
|
-
|
172
|
-
<div class="field">
|
173
|
-
<%= f.email_field :email, autocomplete: "email" %>
|
174
|
-
</div>
|
175
|
-
|
176
|
-
<div class="user-password">
|
177
|
-
<div class="field">
|
178
|
-
<%= f.password_field :password, password_field_options_for(:user) %>
|
179
|
-
</div>
|
180
|
-
</div>
|
181
|
-
|
182
|
-
<div class="user-password-confirmation">
|
183
|
-
<div class="field">
|
184
|
-
<%= f.password_field :password_confirmation, password_field_options_for(:user).except(:help_text) %>
|
185
|
-
</div>
|
186
|
-
</div>
|
187
|
-
</div>
|
188
|
-
</div>
|
189
|
-
|
190
|
-
<div class="card" id="card__tos">
|
191
|
-
<div class="card__content">
|
192
|
-
<h3><%= t(".tos_title") %></h3>
|
193
|
-
|
194
|
-
<p class="tos-text">
|
195
|
-
<%= strip_tags(translated_attribute(terms_and_conditions_page.content)) %>
|
196
|
-
</p>
|
197
|
-
|
198
|
-
<div class="field">
|
199
|
-
<%= f.check_box :tos_agreement, label: t(".tos_agreement", link: link_to(t(".terms"), page_path("terms-and-conditions"))) %>
|
200
|
-
</div>
|
201
|
-
</div>
|
202
|
-
</div>
|
203
|
-
|
204
|
-
<div class="card" id="card__newsletter">
|
205
|
-
<div class="card__content">
|
206
|
-
<h3><%= t(".newsletter_title") %></h3>
|
207
|
-
<div class="field">
|
208
|
-
<%= f.check_box :newsletter, label: t(".newsletter"), checked: @form.newsletter %>
|
209
|
-
</div>
|
210
|
-
</div>
|
211
|
-
</div>
|
212
|
-
|
213
|
-
<div class="card">
|
214
|
-
<div class="card__content">
|
215
|
-
<div class="actions">
|
216
|
-
<%= f.submit t("devise.registrations.new.sign_up"), class: "button expanded" %>
|
217
|
-
</div>
|
218
|
-
<%= yield :devise_links %>
|
219
|
-
</div>
|
220
|
-
</div>
|
221
|
-
<% end %>
|
222
|
-
</div>
|
223
|
-
</div>
|
224
|
-
</div>
|
225
|
-
</div>
|
226
|
-
>>>>>>> 4e14afa36c (add password toggle via unobstructive javascript)
|
227
|
-
<%= render "decidim/devise/shared/newsletter_modal" %>
|
228
|
-
|
229
|
-
<% content_for :js_content do %>
|
230
|
-
<%= javascript_pack_tag "decidim_registrations" %>
|
231
|
-
<% end %>
|
@@ -1,23 +0,0 @@
|
|
1
|
-
<% if Devise.mappings[:user].omniauthable? && current_organization.enabled_omniauth_providers.any? %>
|
2
|
-
<div class="row">
|
3
|
-
<div class="columns medium-8 medium-centered">
|
4
|
-
<div class="text-center">
|
5
|
-
<%- current_organization.enabled_omniauth_providers.keys.each do |provider| %>
|
6
|
-
<div class="social-register">
|
7
|
-
<%= link_to decidim.send("user_#{provider}_omniauth_authorize_path"), class: "button button--social button--#{normalize_provider_name(provider)} button--social--mini", method: :post do %>
|
8
|
-
<span class="button--social__icon" aria-hidden="true">
|
9
|
-
<%= oauth_icon provider %>
|
10
|
-
</span>
|
11
|
-
<span class="button--social__text">
|
12
|
-
<%= t("devise.shared.links.sign_in_with_provider", provider: normalize_provider_name(provider).titleize) %>
|
13
|
-
</span>
|
14
|
-
<% end %>
|
15
|
-
</div>
|
16
|
-
<% end %>
|
17
|
-
</div>
|
18
|
-
<span class="register__separator">
|
19
|
-
<span class="register__separator__text"><%= t("or", scope: "decidim.devise.shared.omniauth_buttons") %></span>
|
20
|
-
</span>
|
21
|
-
</div>
|
22
|
-
</div>
|
23
|
-
<% end %>
|
@@ -1,20 +0,0 @@
|
|
1
|
-
<% add_decidim_page_title(t(".manage_admins")) %>
|
2
|
-
|
3
|
-
<div class="wrapper">
|
4
|
-
<div class="row">
|
5
|
-
<div class="columns medium-9 medium-offset-3">
|
6
|
-
<h5><%= t(".manage_admins") %></h5>
|
7
|
-
</div>
|
8
|
-
</div>
|
9
|
-
<div class="row">
|
10
|
-
<div class="columns medium-3">
|
11
|
-
<%= cell "decidim/profile_sidebar", user_group %>
|
12
|
-
</div>
|
13
|
-
<div class="columns medium-9">
|
14
|
-
<div class="section">
|
15
|
-
<p><%= t(".current_admins") %></p>
|
16
|
-
<%= cell "decidim/members", user_group, role: "admin", from_admin: true %>
|
17
|
-
</div>
|
18
|
-
</div>
|
19
|
-
</div>
|
20
|
-
</div>
|
@@ -1,21 +0,0 @@
|
|
1
|
-
<% add_decidim_page_title(t(".manage_members")) %>
|
2
|
-
|
3
|
-
<div class="wrapper">
|
4
|
-
<div class="row">
|
5
|
-
<div class="columns medium-9 medium-offset-3">
|
6
|
-
<h5><%= t(".manage_members") %></h5>
|
7
|
-
</div>
|
8
|
-
</div>
|
9
|
-
<div class="row">
|
10
|
-
<div class="columns medium-3">
|
11
|
-
<%= cell "decidim/profile_sidebar", user_group %>
|
12
|
-
</div>
|
13
|
-
<div class="columns medium-9">
|
14
|
-
<%= cell "decidim/user_group_pending_requests_list", user_group %>
|
15
|
-
<div class="section">
|
16
|
-
<p><%= t(".current_members_without_admins") %></p>
|
17
|
-
<%= cell "decidim/members", user_group, role: "member", from_admin: true %>
|
18
|
-
</div>
|
19
|
-
</div>
|
20
|
-
</div>
|
21
|
-
</div>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<%= decidim_modal id: "external-domain-warning" do %>
|
2
|
-
<div data-dialog-container>
|
3
|
-
<%= icon "external-link-line" %>
|
4
|
-
<h2 id="dialog-title-external-domain-warning" tabindex="-1" data-dialog-title><%= t("decidim.links.warning.title") %></h2>
|
5
|
-
<div>
|
6
|
-
|
7
|
-
<code class="mt-5 block break-all text-alert">
|
8
|
-
<%= flash[:alert] %>
|
9
|
-
</code>
|
10
|
-
</div>
|
11
|
-
</div>
|
12
|
-
<div data-dialog-actions>
|
13
|
-
<button class="button button__lg button__transparent-secondary" data-dialog-close="external-domain-warning">
|
14
|
-
<%= t("decidim.links.warning.cancel") %>
|
15
|
-
</button>
|
16
|
-
</div>
|
17
|
-
<% end %>
|
@@ -1,24 +0,0 @@
|
|
1
|
-
(function() {
|
2
|
-
const create = (selector) => {
|
3
|
-
const element = document.createElement("div")
|
4
|
-
element.id = selector
|
5
|
-
document.body.append(element)
|
6
|
-
return element
|
7
|
-
}
|
8
|
-
|
9
|
-
const selector = "external-domain-warning"
|
10
|
-
const selectorContainer = `${selector}-container`
|
11
|
-
|
12
|
-
// if the container does not exist in the DOM, it creates a new one, otherwise, replace the content
|
13
|
-
const externalDomainWarning = document.getElementById(selectorContainer) || create(selectorContainer)
|
14
|
-
|
15
|
-
externalDomainWarning.innerHTML = ''
|
16
|
-
externalDomainWarning.innerHTML = '<%= j(render partial: "invalid_url_modal").strip.html_safe %>'
|
17
|
-
|
18
|
-
new window.Decidim.Dialogs(`#${selector}`, {
|
19
|
-
closingSelector: `[data-dialog-close="${selector}"]`,
|
20
|
-
backdropSelector: `[data-dialog="${selector}"]`,
|
21
|
-
labelledby: `dialog-title-${selector}`,
|
22
|
-
describedby: `dialog-desc-${selector}`
|
23
|
-
}).open()
|
24
|
-
})()
|
File without changes
|
@@ -1,32 +0,0 @@
|
|
1
|
-
<% present(user) do |profile_user| %>
|
2
|
-
<div class="column">
|
3
|
-
<div class="card card--member">
|
4
|
-
<div class="card__content">
|
5
|
-
<div class="card__header collapse">
|
6
|
-
<div class="author-data author-data--big">
|
7
|
-
<div class="author-data__main">
|
8
|
-
<div class="author author--flex">
|
9
|
-
<%= link_to profile_user.profile_path, class: "author__avatar" do %>
|
10
|
-
<%= image_tag profile_user.avatar_url(:thumb) %>
|
11
|
-
<% end %>
|
12
|
-
<div>
|
13
|
-
<div class="author__name--container">
|
14
|
-
<%= link_to profile_user.name, profile_user.profile_path, class: "author__name" %>
|
15
|
-
<% if profile_user.badge.present? %>
|
16
|
-
<%= icon profile_user.badge, class: "author__verified" %>
|
17
|
-
<% end %>
|
18
|
-
</div>
|
19
|
-
<%= link_to profile_user.nickname, profile_user.profile_path, class: "author__nickname" %>
|
20
|
-
</div>
|
21
|
-
</div>
|
22
|
-
</div>
|
23
|
-
</div>
|
24
|
-
</div>
|
25
|
-
<div class="card__text card--picture-offset">
|
26
|
-
<p><%= html_truncate decidim_html_escape(profile_user.about.to_s), length: 80 %></p>
|
27
|
-
<%= render partial: "decidim/shared/follow_button.html", locals: { followable: user } %>
|
28
|
-
</div>
|
29
|
-
</div>
|
30
|
-
</div>
|
31
|
-
</div>
|
32
|
-
<% end %>
|
@@ -1,18 +0,0 @@
|
|
1
|
-
<div class="filters-controls hide-for-mediumlarge">
|
2
|
-
<button data-open="filter-box" class="filters-controls__trigger" aria-controls="filter-box" aria-haspopup="dialog">
|
3
|
-
<%= t ".filter" %>
|
4
|
-
<%= icon "caret-bottom", class: "icon--small float-right", aria_label: t(".unfold"), role: "img" %>
|
5
|
-
</button>
|
6
|
-
</div>
|
7
|
-
|
8
|
-
<div class="reveal" id="filter-box" data-reveal role="dialog" aria-modal="true" aria-labelledby="filter-box-label">
|
9
|
-
<div class="reveal__header">
|
10
|
-
<h3 id="filter-box-label" class="reveal__title"><%= t ".filter_by" %>:</h3>
|
11
|
-
<button class="close-button" data-close aria-label="<%= t(".close_modal") %>" type="button">
|
12
|
-
<span aria-hidden="true">×</span>
|
13
|
-
</button>
|
14
|
-
</div>
|
15
|
-
<div class="filters">
|
16
|
-
<%= render partial: "filters", locals: { type: :small } %>
|
17
|
-
</div>
|
18
|
-
</div>
|
@@ -1,7 +0,0 @@
|
|
1
|
-
<% if geolocalizable.respond_to? :location %>
|
2
|
-
<strong><%= translated_attribute geolocalizable.location %></strong><br>
|
3
|
-
<% end %>
|
4
|
-
<span><%= geolocalizable.address %></span><br>
|
5
|
-
<% if geolocalizable.respond_to? :location_hints %>
|
6
|
-
<span><%= translated_attribute geolocalizable.location_hints %></span>
|
7
|
-
<% end %>
|
@@ -1,56 +0,0 @@
|
|
1
|
-
<% if collection.leaf %>
|
2
|
-
<% options = options.map { |k, v| [k.to_sym, v] }.to_h if options.is_a?(Hash) %>
|
3
|
-
<% data_checkboxes_tree_id = "#{check_boxes_tree_id}-#{collection.leaf.value}" %>
|
4
|
-
<% hide_node = (hide_node.present? and hide_node == "true") ? true : false %>
|
5
|
-
<% is_root_check_box = (collection.leaf.value == "") ? true : false %>
|
6
|
-
<% if is_root_check_box %>
|
7
|
-
<%= hidden_field_tag "#{form.object_name}[#{attribute}][]", "", id: "#{form.options[:namespace] rescue 'default'}_filter_#{attribute}_all" %>
|
8
|
-
<% else %>
|
9
|
-
<div class="filters__has-subfilters">
|
10
|
-
<% end %>
|
11
|
-
<%= form.check_box attribute,
|
12
|
-
check_boxes_tree_options(
|
13
|
-
collection.leaf.value,
|
14
|
-
collection.leaf.label,
|
15
|
-
**({
|
16
|
-
"data-checkboxes-tree": data_checkboxes_tree_id,
|
17
|
-
is_root_check_box: is_root_check_box
|
18
|
-
}.merge(options))),
|
19
|
-
collection.leaf.value.to_s, nil %>
|
20
|
-
|
21
|
-
<% unless is_root_check_box %>
|
22
|
-
<% if collection.node.present? %>
|
23
|
-
<button type="button" aria-label="show/hide" data-toggle="<%= data_checkboxes_tree_id %> <%= data_checkboxes_tree_id %>-trigger">
|
24
|
-
<span id="<%= data_checkboxes_tree_id %>-trigger" data-toggler=".filters__is-open">
|
25
|
-
<span class="filters__icon-is-closed" aria-hidden="true"><%= icon "chevron-bottom" %></span>
|
26
|
-
<span class="filters__icon-is-open" aria-hidden="true"><%= icon "chevron-top" %></span>
|
27
|
-
</span>
|
28
|
-
</button>
|
29
|
-
<% end %>
|
30
|
-
</div>
|
31
|
-
<% end %>
|
32
|
-
|
33
|
-
<% if collection.node.present? %>
|
34
|
-
<div id="<%= data_checkboxes_tree_id %>" class="filters__subfilters <%= "hide" if hide_node %>" <%= %{data-toggler=.hide} unless is_root_check_box %>>
|
35
|
-
<% collection.node.each do |item| %>
|
36
|
-
<% if item.tree_node? %>
|
37
|
-
<%= render "decidim/shared/check_boxes_tree",
|
38
|
-
form: form,
|
39
|
-
attribute: attribute,
|
40
|
-
collection: item,
|
41
|
-
check_boxes_tree_id: "#{check_boxes_tree_id}-#{item.leaf.value}",
|
42
|
-
hide_node: "true",
|
43
|
-
options: options %>
|
44
|
-
<% else %>
|
45
|
-
<%= form.check_box attribute,
|
46
|
-
check_boxes_tree_options(
|
47
|
-
item.value,
|
48
|
-
item.label,
|
49
|
-
**options
|
50
|
-
),
|
51
|
-
item.value, nil %>
|
52
|
-
<% end %>
|
53
|
-
<% end %>
|
54
|
-
</div>
|
55
|
-
<% end %>
|
56
|
-
<% end %>
|
@@ -1,22 +0,0 @@
|
|
1
|
-
<div class="text-center">
|
2
|
-
<button class="share-link link text-center" data-open="processEmbed">
|
3
|
-
<%= t(".embed_link") %>
|
4
|
-
<% if try(:resource) %>
|
5
|
-
<span class="show-for-sr"><%= resource_title(resource) %></span>
|
6
|
-
<% end %>
|
7
|
-
<%= icon "code", class: "icon--after", role: "img", "aria-hidden": true %>
|
8
|
-
</button>
|
9
|
-
</div>
|
10
|
-
<div class="reveal reveal--embed" id="processEmbed" data-reveal>
|
11
|
-
<div class="reveal__header">
|
12
|
-
<h3 class="reveal__title"><%= t(".embed") %>:</h3>
|
13
|
-
<button class="close-button" data-close aria-label="<%= t(".close_window") %>" type="button">
|
14
|
-
<span aria-hidden="true">×</span>
|
15
|
-
</button>
|
16
|
-
</div>
|
17
|
-
<p class="embed__code">
|
18
|
-
<%= js_embed_code %>
|
19
|
-
<br>
|
20
|
-
<%= embed_code %>
|
21
|
-
</p>
|
22
|
-
</div>
|
@@ -1,16 +0,0 @@
|
|
1
|
-
<%= filter_form_for filter do |form| %>
|
2
|
-
<div class="columns mediumlarge-6 large-5">
|
3
|
-
<%= scopes_picker_filter form, :with_scope, checkboxes_on_top: checkboxes_on_top %>
|
4
|
-
</div>
|
5
|
-
<div class="columns mediumlarge-6 large-5">
|
6
|
-
<%= form.areas_select :with_area,
|
7
|
-
areas_for_select(current_organization),
|
8
|
-
{
|
9
|
-
legend_title: t(".areas"),
|
10
|
-
label: "",
|
11
|
-
selected: filter.with_area,
|
12
|
-
include_blank: t(".select_an_area")
|
13
|
-
},
|
14
|
-
"aria-label": t(".areas") %>
|
15
|
-
</div>
|
16
|
-
<% end %>
|
@@ -1,19 +0,0 @@
|
|
1
|
-
<div class="filters-controls hide-for-mediumlarge">
|
2
|
-
<button data-open="filter-box" class="filters-controls__trigger" aria-controls="filter-box" aria-haspopup="dialog">
|
3
|
-
<%= t("filter", scope: "decidim.searches.filters_small_view") %>
|
4
|
-
<%= icon "caret-bottom", class: "icon--small float-right", aria_label: t("unfold", scope: "decidim.searches.filters_small_view"), role: "img" %>
|
5
|
-
</button>
|
6
|
-
</div>
|
7
|
-
|
8
|
-
<div class="reveal" id="filter-box" data-reveal role="dialog" aria-modal="true" aria-labelledby="filter-box-label">
|
9
|
-
<div class="reveal__header">
|
10
|
-
<h3 id="filter-box-label" class="reveal__title"><%= t("filter_by", scope: "decidim.searches.filters_small_view") %>:</h3>
|
11
|
-
<button class="close-button" data-close aria-label="<%= 't("close_modal", scope: "decidim.searches.filters_small_view")' %>" type="button">
|
12
|
-
<span aria-hidden="true">×</span>
|
13
|
-
</button>
|
14
|
-
</div>
|
15
|
-
<div class="filters">
|
16
|
-
<%= render partial: "decidim/shared/participatory_space_filters/filters",
|
17
|
-
locals: { checkboxes_on_top: true } %>
|
18
|
-
</div>
|
19
|
-
</div>
|
@@ -1,9 +0,0 @@
|
|
1
|
-
<% if current_organization.enable_participatory_space_filters %>
|
2
|
-
<div class="row" id="participatory-space-filters">
|
3
|
-
<%= render partial: "decidim/shared/participatory_space_filters/filters_small_view" %>
|
4
|
-
<div class="show-for-mediumlarge">
|
5
|
-
<%= render partial: "decidim/shared/participatory_space_filters/filters",
|
6
|
-
locals: { checkboxes_on_top: false } %>
|
7
|
-
</div>
|
8
|
-
</div>
|
9
|
-
<% end %>
|
@@ -1,14 +0,0 @@
|
|
1
|
-
var $activitiesContainer = $('#activities-container'),
|
2
|
-
$decidimPaginateContainer = $('#decidim-paginate-container');
|
3
|
-
|
4
|
-
<% if(activities_cell = cell("decidim/activities", activities).show) %>
|
5
|
-
$activitiesContainer.html('<%= j(activities_cell).strip.html_safe %>');
|
6
|
-
$decidimPaginateContainer.html('<%= j(decidim_paginate(activities).to_s).strip.html_safe %>');
|
7
|
-
<% else %>
|
8
|
-
$activitiesContainer.html(`
|
9
|
-
<div class="callout warning">
|
10
|
-
<h5><%= t("no_content", scope: "decidim.components.component_order_selector") %></h5>
|
11
|
-
</div>
|
12
|
-
`);
|
13
|
-
$decidimPaginateContainer.html('');
|
14
|
-
<% end %>
|
@@ -1,32 +0,0 @@
|
|
1
|
-
/* eslint-disable no-var, prefer-template */
|
2
|
-
(function () {
|
3
|
-
var iframe = document.createElement('iframe');
|
4
|
-
var scripts = document.getElementsByTagName('script');
|
5
|
-
var me = null;
|
6
|
-
|
7
|
-
if (document.currentScript) {
|
8
|
-
me = document.currentScript;
|
9
|
-
} else {
|
10
|
-
me = scripts[scripts.length - 1];
|
11
|
-
}
|
12
|
-
|
13
|
-
iframe.src = "<%= iframe_url %>";
|
14
|
-
iframe.frameBorder = "0"
|
15
|
-
iframe.scrolling = "no";
|
16
|
-
iframe.style.visibility = 'hidden';
|
17
|
-
iframe.style.height = "10px";
|
18
|
-
iframe.onload = function () {
|
19
|
-
iframe.contentWindow.postMessage({ type: "GET_HEIGHT" }, "*");
|
20
|
-
}
|
21
|
-
|
22
|
-
me.insertAdjacentElement('afterend', iframe);
|
23
|
-
|
24
|
-
window.addEventListener("message", function (event) {
|
25
|
-
var height = event.data.height;
|
26
|
-
|
27
|
-
if (event.data.type === "SET_HEIGHT") {
|
28
|
-
iframe.style.height = height + "px";
|
29
|
-
iframe.style.visibility = 'visible';
|
30
|
-
}
|
31
|
-
});
|
32
|
-
}());
|
@@ -1,14 +0,0 @@
|
|
1
|
-
<%# Link to the "First" page
|
2
|
-
- available local variables
|
3
|
-
url: url to the first page
|
4
|
-
current_page: a page object for the currently displayed page
|
5
|
-
total_pages: total number of pages
|
6
|
-
per_page: number of items to fetch per page
|
7
|
-
remote: data-remote -%>
|
8
|
-
<li class="first">
|
9
|
-
<%= link_to_unless current_page.first?,
|
10
|
-
t("views.pagination.first").html_safe,
|
11
|
-
url,
|
12
|
-
remote: remote,
|
13
|
-
title: t("views.pagination.first_title").html_safe %>
|
14
|
-
</li>
|