decidim-decidim_awesome 0.8.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +363 -0
- data/README.md +375 -100
- data/Rakefile +2 -1
- data/app/cells/concerns/decidim/decidim_awesome/global_menu_cell_override.rb +20 -0
- data/app/cells/concerns/decidim/decidim_awesome/proposal_l_cell_override.rb +26 -0
- data/app/cells/decidim/decidim_awesome/content_blocks/map/show.erb +5 -12
- data/app/cells/decidim/decidim_awesome/content_blocks/map_cell.rb +7 -7
- data/app/cells/decidim/decidim_awesome/voting/proposal_metadata_cell.rb +69 -0
- data/app/cells/decidim/decidim_awesome/voting/voting_cards_base_cell.rb +40 -0
- data/app/cells/decidim/decidim_awesome/voting/voting_cards_proposal/modal.erb +18 -0
- data/app/cells/decidim/decidim_awesome/voting/voting_cards_proposal/show.erb +40 -0
- data/app/cells/decidim/decidim_awesome/voting/voting_cards_proposal/vote_block_for.erb +16 -0
- data/app/cells/decidim/decidim_awesome/voting/voting_cards_proposal_cell.rb +90 -0
- data/app/commands/concerns/decidim/decidim_awesome/admin/needs_constraint_helpers.rb +2 -2
- data/app/commands/concerns/decidim/decidim_awesome/proposals/admin/update_proposal_override.rb +31 -0
- data/app/commands/concerns/decidim/decidim_awesome/proposals/create_collaborative_draft_override.rb +27 -0
- data/app/commands/concerns/decidim/decidim_awesome/proposals/create_proposal_override.rb +27 -0
- data/app/commands/concerns/decidim/decidim_awesome/proposals/update_collaborative_draft_override.rb +27 -0
- data/app/commands/concerns/decidim/decidim_awesome/proposals/update_proposal_override.rb +26 -0
- data/app/commands/concerns/decidim/decidim_awesome/system/create_organization_override.rb +29 -0
- data/app/commands/concerns/decidim/decidim_awesome/system/update_organization_override.rb +35 -0
- data/app/commands/concerns/decidim/decidim_awesome/update_account_override.rb +30 -0
- data/app/commands/decidim/decidim_awesome/admin/create_constraint.rb +3 -3
- data/app/commands/decidim/decidim_awesome/admin/create_custom_redirect.rb +1 -1
- data/app/commands/decidim/decidim_awesome/admin/create_menu_hack.rb +1 -1
- data/app/commands/decidim/decidim_awesome/admin/create_proposal_custom_field.rb +5 -4
- data/app/commands/decidim/decidim_awesome/admin/create_scoped_admin.rb +1 -1
- data/app/commands/decidim/decidim_awesome/admin/create_scoped_style.rb +4 -3
- data/app/commands/decidim/decidim_awesome/admin/destroy_constraint.rb +1 -1
- data/app/commands/decidim/decidim_awesome/admin/destroy_custom_redirect.rb +2 -2
- data/app/commands/decidim/decidim_awesome/admin/destroy_menu_hack.rb +2 -2
- data/app/commands/decidim/decidim_awesome/admin/destroy_proposal_custom_field.rb +7 -4
- data/app/commands/decidim/decidim_awesome/admin/destroy_scoped_admin.rb +1 -1
- data/app/commands/decidim/decidim_awesome/admin/destroy_scoped_style.rb +7 -5
- data/app/commands/decidim/decidim_awesome/admin/rename_scope_label.rb +2 -2
- data/app/commands/decidim/decidim_awesome/admin/update_config.rb +2 -3
- data/app/commands/decidim/decidim_awesome/admin/update_constraint.rb +3 -3
- data/app/commands/decidim/decidim_awesome/admin/update_custom_redirect.rb +3 -3
- data/app/commands/decidim/decidim_awesome/admin/update_menu_hack.rb +1 -1
- data/app/commands/decidim/decidim_awesome/command.rb +8 -0
- data/app/commands/decidim/decidim_awesome/create_editor_image.rb +2 -2
- data/app/controllers/concerns/decidim/decidim_awesome/admin/maintenance_context.rb +43 -0
- data/app/controllers/concerns/decidim/decidim_awesome/admin_accountability/admin/filterable.rb +67 -0
- data/app/controllers/concerns/decidim/decidim_awesome/admin_accountability/admin/filterable_helper.rb +38 -0
- data/app/controllers/concerns/decidim/decidim_awesome/check_login_authorizations.rb +60 -0
- data/app/controllers/concerns/decidim/decidim_awesome/content_security_policy.rb +34 -0
- data/app/controllers/concerns/decidim/decidim_awesome/limit_pending_amendments.rb +35 -0
- data/app/controllers/concerns/decidim/decidim_awesome/needs_awesome_config.rb +0 -2
- data/app/controllers/concerns/decidim/decidim_awesome/not_found_redirect.rb +3 -3
- data/app/controllers/concerns/decidim/decidim_awesome/proposals/memoize_extra_fields.rb +23 -0
- data/app/controllers/concerns/decidim/decidim_awesome/proposals/orderable_override.rb +94 -0
- data/app/controllers/concerns/decidim/decidim_awesome/proposals/proposal_votes_controller_override.rb +64 -0
- data/app/controllers/concerns/decidim/decidim_awesome/use_user_time_zone.rb +32 -0
- data/app/controllers/decidim/decidim_awesome/admin/admin_accountability_controller.rb +72 -0
- data/app/controllers/decidim/decidim_awesome/admin/admin_authorizations_controller.rb +122 -0
- data/app/controllers/decidim/decidim_awesome/admin/application_controller.rb +2 -0
- data/app/controllers/decidim/decidim_awesome/admin/checks_controller.rb +21 -17
- data/app/controllers/decidim/decidim_awesome/admin/config_controller.rb +17 -8
- data/app/controllers/decidim/decidim_awesome/admin/constraints_controller.rb +27 -20
- data/app/controllers/decidim/decidim_awesome/admin/custom_redirects_controller.rb +6 -8
- data/app/controllers/decidim/decidim_awesome/admin/maintenance_controller.rb +76 -0
- data/app/controllers/decidim/decidim_awesome/admin/menu_hacks_controller.rb +6 -8
- data/app/controllers/decidim/decidim_awesome/admin/proposal_custom_fields_controller.rb +14 -6
- data/app/controllers/decidim/decidim_awesome/admin/scoped_admins_controller.rb +2 -2
- data/app/controllers/decidim/decidim_awesome/admin/scoped_styles_controller.rb +14 -6
- data/app/controllers/decidim/decidim_awesome/blank_component_controller.rb +8 -3
- data/app/controllers/decidim/decidim_awesome/editor_images_controller.rb +3 -5
- data/app/controllers/decidim/decidim_awesome/iframe_component/iframe_controller.rb +18 -5
- data/app/controllers/decidim/decidim_awesome/required_authorizations_controller.rb +58 -0
- data/app/forms/concerns/decidim/decidim_awesome/account_form_override.rb +25 -0
- data/app/forms/concerns/decidim/decidim_awesome/proposals/proposal_form_customizations.rb +57 -0
- data/app/forms/concerns/decidim/decidim_awesome/proposals/proposal_form_override.rb +21 -0
- data/app/forms/concerns/decidim/decidim_awesome/system/organization_form_override.rb +34 -0
- data/app/forms/decidim/decidim_awesome/admin/config_form.rb +88 -20
- data/app/forms/decidim/decidim_awesome/admin/custom_redirect_form.rb +3 -3
- data/app/forms/decidim/decidim_awesome/admin/intergram_form.rb +4 -0
- data/app/forms/decidim/decidim_awesome/admin/menu_form.rb +5 -5
- data/app/helpers/concerns/decidim/decidim_awesome/amendments_helper_override.rb +65 -0
- data/app/helpers/concerns/decidim/decidim_awesome/breadcrumb_helper_override.rb +23 -0
- data/app/helpers/concerns/decidim/decidim_awesome/proposals/application_helper_override.rb +110 -0
- data/app/helpers/decidim/decidim_awesome/admin/config_constraints_helpers.rb +12 -29
- data/app/helpers/decidim/decidim_awesome/admin/system_checker_helpers.rb +4 -0
- data/app/helpers/decidim/decidim_awesome/map_helper.rb +38 -52
- data/app/jobs/decidim/decidim_awesome/destroy_private_data_job.rb +22 -0
- data/app/jobs/decidim/decidim_awesome/export_admin_actions_job.rb +28 -0
- data/app/models/concerns/decidim/decidim_awesome/has_proposal_extra_fields.rb +80 -0
- data/app/models/concerns/decidim/decidim_awesome/has_vote_weight.rb +30 -0
- data/app/models/decidim/decidim_awesome/awesome_config.rb +1 -2
- data/app/models/decidim/decidim_awesome/config_constraint.rb +0 -2
- data/app/models/decidim/decidim_awesome/editor_image.rb +0 -3
- data/app/models/decidim/decidim_awesome/paper_trail_version.rb +117 -0
- data/app/models/decidim/decidim_awesome/proposal_extra_field.rb +45 -0
- data/app/models/decidim/decidim_awesome/vote_weight.rb +30 -0
- data/app/overrides/decidim/account/show/add_timezone_select.html.erb.deface +3 -0
- data/app/overrides/decidim/admin/officializations/index/add_modal.html.erb.deface +3 -0
- data/app/overrides/decidim/admin/officializations/index/add_td.html.erb.deface +5 -0
- data/app/overrides/decidim/admin/officializations/index/add_th.html.erb.deface +5 -0
- data/app/overrides/decidim/proposals/admin/proposals/_form/replace_editor.html.erb.deface +3 -0
- data/app/overrides/decidim/proposals/admin/proposals/show/add_private_body.html.erb.deface +7 -0
- data/app/overrides/decidim/proposals/admin/proposals/show/replace_body.html.erb.deface +5 -0
- data/app/overrides/decidim/proposals/proposals/_proposal_aside/limit_amendments_modal.html.erb.deface +5 -0
- data/app/overrides/decidim/proposals/proposals/_vote_button/replace_vote_button.html.erb.deface +7 -0
- data/app/overrides/decidim/proposals/proposals/_votes_count/replace_counter.html.erb.deface +10 -0
- data/app/overrides/decidim/system/organizations/_advanced_settings/add_awesome_config.html.erb.deface +9 -0
- data/app/{views/layouts/decidim/_head.html.erb → overrides/layouts/decidim/_decidim_javascript/add_awesome_tags.html.erb.deface} +2 -1
- data/app/overrides/layouts/decidim/_head/add_awesome_tags.html.erb.deface +7 -0
- data/app/overrides/layouts/decidim/admin/_header/add_awesome_custom_styles.html.erb.deface +3 -0
- data/app/overrides/layouts/decidim/admin/_header/add_awesome_tags.html.erb.deface +10 -0
- data/app/packs/entrypoints/decidim_admin_decidim_awesome.js +2 -2
- data/app/packs/entrypoints/decidim_admin_decidim_awesome_global.js +4 -0
- data/app/packs/entrypoints/decidim_admin_decidim_awesome_global.scss +1 -0
- data/app/packs/entrypoints/decidim_admin_decidim_awesome_search_form.scss +1 -0
- data/app/packs/entrypoints/decidim_decidim_awesome.js +2 -2
- data/app/packs/entrypoints/decidim_decidim_awesome_map.scss +1 -1
- data/app/packs/entrypoints/decidim_editor.js +14 -0
- data/app/packs/images/decidim/decidim_awesome/handcard.svg +14 -0
- data/app/packs/images/decidim/decidim_awesome/handcheck.svg +17 -0
- data/app/packs/images/decidim/decidim_awesome/pokecode-logo.png +0 -0
- data/app/packs/src/decidim/decidim_awesome/admin/auto_edit.js +96 -69
- data/app/packs/src/decidim/decidim_awesome/admin/check_redirections.js +46 -41
- data/app/packs/src/decidim/decidim_awesome/admin/codemirror.js +3 -3
- data/app/packs/src/decidim/decidim_awesome/admin/constraint_form_events.js +115 -0
- data/app/packs/src/decidim/decidim_awesome/admin/custom_fields_builder.js +19 -14
- data/app/packs/src/decidim/decidim_awesome/admin/form_exit_warn.js +23 -11
- data/app/packs/src/decidim/decidim_awesome/admin/proposal_sortings.js +26 -0
- data/app/packs/src/decidim/decidim_awesome/admin/tabs_change.js +31 -0
- data/app/packs/src/decidim/decidim_awesome/admin/user_picker.js +34 -20
- data/app/packs/src/decidim/decidim_awesome/admin/verification_selects.js +21 -0
- data/app/packs/src/decidim/decidim_awesome/admin/verifications.js +43 -0
- data/app/packs/src/decidim/decidim_awesome/amendments/show_modal_on_limits.js +28 -0
- data/app/packs/src/decidim/decidim_awesome/awesome_admin.js +7 -16
- data/app/packs/src/decidim/decidim_awesome/awesome_admin_global.js +2 -0
- data/app/packs/src/decidim/decidim_awesome/awesome_application.js +2 -15
- data/app/packs/src/decidim/decidim_awesome/awesome_map/api/fetcher.js +48 -23
- data/app/packs/src/decidim/decidim_awesome/awesome_map/api/meetings_fetcher.js +9 -12
- data/app/packs/src/decidim/decidim_awesome/awesome_map/api/proposals_fetcher.js +28 -0
- data/app/packs/src/decidim/decidim_awesome/awesome_map/awesome_map.js +15 -15
- data/app/packs/src/decidim/decidim_awesome/awesome_map/controllers/controller.js +70 -37
- data/app/packs/src/decidim/decidim_awesome/awesome_map/controllers/meetings_controller.js +11 -7
- data/app/packs/src/decidim/decidim_awesome/awesome_map/controllers/proposals_controller.js +9 -16
- data/app/packs/src/decidim/decidim_awesome/awesome_map/controls_ui.js +75 -45
- data/app/packs/src/decidim/decidim_awesome/awesome_map/load_map.js +28 -18
- data/app/packs/src/decidim/decidim_awesome/editor/index.js +94 -0
- data/app/packs/src/decidim/decidim_awesome/forms/autosave.js +29 -28
- data/app/packs/src/decidim/decidim_awesome/forms/custom_fields_renderer.js +55 -42
- data/app/packs/src/decidim/decidim_awesome/forms/rich_text_plugin.js +30 -32
- data/app/packs/src/decidim/decidim_awesome/proposals/custom_fields.js +32 -16
- data/app/packs/src/decidim/decidim_awesome/proposals/images.js +16 -10
- data/app/packs/src/decidim/decidim_awesome/voting/voting_cards.js +72 -0
- data/app/packs/stylesheets/decidim/decidim_awesome/admin/admin_accountability.scss +67 -0
- data/app/packs/stylesheets/decidim/decidim_awesome/admin/auto_edits.scss +11 -12
- data/app/packs/stylesheets/decidim/decidim_awesome/admin/check_redirections.scss +15 -0
- data/app/packs/stylesheets/decidim/decidim_awesome/admin/codemirror.scss +24 -12
- data/app/packs/stylesheets/decidim/decidim_awesome/admin/constraints.scss +49 -29
- data/app/packs/stylesheets/decidim/decidim_awesome/admin/custom_fields.scss +28 -71
- data/app/packs/stylesheets/decidim/decidim_awesome/admin/custom_styles.scss +48 -0
- data/app/packs/stylesheets/decidim/decidim_awesome/admin/intergram_fixes.scss +11 -0
- data/app/packs/stylesheets/decidim/decidim_awesome/admin/user_picker.scss +17 -26
- data/app/packs/stylesheets/decidim/decidim_awesome/admin/verifications.scss +99 -0
- data/app/packs/stylesheets/decidim/decidim_awesome/amendments/modal.scss +5 -0
- data/app/packs/stylesheets/decidim/decidim_awesome/awesome_admin.scss +14 -49
- data/app/packs/stylesheets/decidim/decidim_awesome/awesome_admin_global.scss +20 -0
- data/app/packs/stylesheets/decidim/decidim_awesome/awesome_application.scss +4 -18
- data/app/packs/stylesheets/decidim/decidim_awesome/awesome_iframe/iframe.scss +1 -1
- data/app/packs/stylesheets/decidim/decidim_awesome/awesome_map/map.scss +41 -35
- data/app/packs/stylesheets/decidim/decidim_awesome/forms/autosave.scss +6 -6
- data/app/packs/stylesheets/decidim/decidim_awesome/forms/custom_fields.scss +118 -0
- data/app/packs/stylesheets/decidim/decidim_awesome/shared/spinner.scss +26 -0
- data/app/packs/stylesheets/decidim/decidim_awesome/voting/voting_cards.scss +205 -0
- data/app/permissions/decidim/decidim_awesome/admin/permissions.rb +57 -1
- data/app/permissions/decidim/decidim_awesome/permissions.rb +11 -6
- data/app/presenters/concerns/decidim/decidim_awesome/breadcrumb_root_menu_item_presenter_override.rb +23 -0
- data/app/presenters/{decidim → concerns/decidim}/decidim_awesome/menu_item_presenter_override.rb +10 -2
- data/app/presenters/{decidim → concerns/decidim}/decidim_awesome/menu_presenter_override.rb +8 -0
- data/app/presenters/concerns/decidim/decidim_awesome/proposals/proposal_presenter_override.rb +20 -0
- data/app/presenters/decidim/decidim_awesome/admin_log/component_presenter_override.rb +28 -0
- data/app/presenters/decidim/decidim_awesome/admin_log/user_presenter_override.rb +46 -0
- data/app/presenters/decidim/decidim_awesome/paper_trail_base_presenter.rb +28 -0
- data/app/presenters/decidim/decidim_awesome/participatory_space_role_presenter.rb +45 -0
- data/app/presenters/decidim/decidim_awesome/private_data_presenter.rb +70 -0
- data/app/presenters/decidim/decidim_awesome/role_base_presenter.rb +102 -0
- data/app/presenters/decidim/decidim_awesome/user_entity_presenter.rb +50 -0
- data/app/queries/decidim/decidim_awesome/private_data_finder.rb +19 -0
- data/app/serializers/concerns/decidim/decidim_awesome/proposals/proposal_serializer_methods.rb +72 -0
- data/app/serializers/concerns/decidim/decidim_awesome/proposals/proposal_serializer_override.rb +38 -0
- data/app/serializers/decidim/decidim_awesome/paper_trail_version_serializer.rb +37 -0
- data/app/serializers/decidim/decidim_awesome/proposals/private_proposal_serializer.rb +34 -0
- data/app/types/concerns/decidim/decidim_awesome/add_proposal_type_custom_fields.rb +59 -0
- data/app/types/concerns/decidim/decidim_awesome/add_proposal_type_vote_weights.rb +20 -0
- data/app/uploaders/decidim/decidim_awesome/image_uploader.rb +12 -0
- data/app/validators/concerns/decidim/decidim_awesome/etiquette_validator_override.rb +41 -0
- data/app/views/decidim/decidim_awesome/account/_timezone_select.html.erb +3 -0
- data/app/views/decidim/decidim_awesome/admin/admin_accountability/index.html.erb +71 -0
- data/app/views/decidim/decidim_awesome/admin/admin_authorizations/authorization.html.erb +20 -0
- data/app/views/decidim/decidim_awesome/admin/admin_authorizations/callout.html.erb +3 -0
- data/app/views/decidim/decidim_awesome/admin/admin_authorizations/conflict.html.erb +5 -0
- data/app/views/decidim/decidim_awesome/admin/admin_authorizations/edit.html.erb +41 -0
- data/app/views/decidim/decidim_awesome/admin/checks/_assets_tester.html.erb +2 -0
- data/app/views/decidim/decidim_awesome/admin/checks/index.html.erb +51 -48
- data/app/views/decidim/decidim_awesome/admin/config/_autoedit_box_label.html.erb +7 -2
- data/app/views/decidim/decidim_awesome/admin/config/_constraints.html.erb +25 -18
- data/app/views/decidim/decidim_awesome/admin/config/_form_admins.html.erb +7 -6
- data/app/views/decidim/decidim_awesome/admin/config/_form_editors.html.erb +12 -16
- data/app/views/decidim/decidim_awesome/admin/config/_form_livechat.html.erb +39 -23
- data/app/views/decidim/decidim_awesome/admin/config/_form_proposal_custom_fields.html.erb +35 -17
- data/app/views/decidim/decidim_awesome/admin/config/_form_proposal_private_custom_fields.html.erb +1 -0
- data/app/views/decidim/decidim_awesome/admin/config/_form_proposals.html.erb +92 -6
- data/app/views/decidim/decidim_awesome/admin/config/_form_scoped_admin_styles.html.erb +1 -0
- data/app/views/decidim/decidim_awesome/admin/config/_form_scoped_styles.html.erb +48 -0
- data/app/views/decidim/decidim_awesome/admin/config/_form_surveys.html.erb +16 -6
- data/app/views/decidim/decidim_awesome/admin/config/_form_verifications.html.erb +15 -0
- data/app/views/decidim/decidim_awesome/admin/config/show.html.erb +22 -12
- data/app/views/decidim/decidim_awesome/admin/constraints/_form.html.erb +1 -49
- data/app/views/decidim/decidim_awesome/admin/constraints/new.html.erb +14 -9
- data/app/views/decidim/decidim_awesome/admin/constraints/no_permissions.html.erb +6 -0
- data/app/views/decidim/decidim_awesome/admin/constraints/show.html.erb +14 -9
- data/app/views/decidim/decidim_awesome/admin/custom_redirects/_form.html.erb +20 -5
- data/app/views/decidim/decidim_awesome/admin/custom_redirects/edit.html.erb +5 -5
- data/app/views/decidim/decidim_awesome/admin/custom_redirects/index.html.erb +14 -13
- data/app/views/decidim/decidim_awesome/admin/custom_redirects/new.html.erb +5 -5
- data/app/views/decidim/decidim_awesome/admin/maintenance/_private_data.html.erb +44 -0
- data/app/views/decidim/decidim_awesome/admin/maintenance/show.html.erb +44 -0
- data/app/views/decidim/decidim_awesome/admin/menu_hacks/_form.html.erb +6 -6
- data/app/views/decidim/decidim_awesome/admin/menu_hacks/edit.html.erb +21 -12
- data/app/views/decidim/decidim_awesome/admin/menu_hacks/index.html.erb +39 -42
- data/app/views/decidim/decidim_awesome/admin/menu_hacks/new.html.erb +21 -12
- data/app/views/decidim/decidim_awesome/admin/officializations/_participants_td.html.erb +25 -0
- data/app/views/decidim/decidim_awesome/admin/officializations/_participants_th.html.erb +1 -0
- data/app/views/decidim/decidim_awesome/admin/officializations/_verification_modal.html.erb +9 -0
- data/app/views/decidim/decidim_awesome/admin/proposals/_editor.html.erb +8 -5
- data/app/views/decidim/decidim_awesome/admin/proposals/_private_body.html.erb +20 -0
- data/app/views/decidim/decidim_awesome/admin/shared/_filters_with_date.html.erb +61 -0
- data/app/views/decidim/decidim_awesome/amendments/_modal.html.erb +23 -0
- data/app/views/decidim/decidim_awesome/custom_fields/_form_render.html.erb +8 -2
- data/app/views/decidim/decidim_awesome/iframe_component/iframe/show.html.erb +7 -12
- data/app/views/decidim/decidim_awesome/map_component/map/_map_template.html.erb +53 -37
- data/app/views/decidim/decidim_awesome/map_component/map/show.html.erb +14 -5
- data/app/views/decidim/decidim_awesome/required_authorizations/index.html.erb +66 -0
- data/app/views/decidim/decidim_awesome/system/organizations/_admin_allowed_authorizations.html.erb +5 -0
- data/app/views/decidim/decidim_awesome/voting/voting_cards/_show_vote_button.html.erb +3 -0
- data/app/views/decidim/decidim_awesome/voting/voting_cards/_show_votes_count.html.erb +1 -0
- data/app/views/layouts/decidim/decidim_awesome/_awesome_config.html.erb +11 -8
- data/app/views/layouts/decidim/decidim_awesome/_custom_styles.html.erb +1 -1
- data/app/views/layouts/decidim/decidim_awesome/_intergram_widget.html.erb +9 -6
- data/app/views/layouts/decidim/decidim_awesome/admin/_base.html.erb +12 -0
- data/app/views/layouts/decidim/decidim_awesome/admin/_custom_styles.html.erb +3 -0
- data/app/views/layouts/decidim/decidim_awesome/admin/admin_authorizations.html.erb +7 -0
- data/app/views/layouts/decidim/decidim_awesome/admin/application.html.erb +3 -0
- data/app/views/layouts/decidim/decidim_awesome/admin/maintenance.html.erb +19 -0
- data/config/assets.rb +5 -34
- data/config/i18n-tasks.yml +30 -0
- data/config/locales/ca.yml +335 -26
- data/config/locales/cs.yml +331 -22
- data/config/locales/de.yml +642 -0
- data/config/locales/en.yml +403 -33
- data/config/locales/es.yml +333 -24
- data/config/locales/eu.yml +623 -20
- data/config/locales/fr.yml +282 -23
- data/config/locales/hu.yml +268 -0
- data/config/locales/it.yml +155 -24
- data/config/locales/ja.yml +334 -25
- data/config/locales/lt.yml +94 -0
- data/config/locales/nl.yml +20 -19
- data/config/locales/pt-BR.yml +31 -24
- data/config/locales/ro-RO.yml +152 -0
- data/config/locales/sv.yml +28 -12
- data/config/rubocop/disabled.yml +11 -0
- data/config/rubocop/faker.yml +480 -0
- data/config/rubocop/rails.yml +88 -0
- data/config/rubocop/rspec.yml +65 -0
- data/config/rubocop/ruby.yml +1210 -0
- data/db/migrate/20231006113837_create_decidim_awesome_vote_weights.rb +13 -0
- data/db/migrate/20231006113841_create_decidim_awesome_proposal_extra_fields.rb +14 -0
- data/db/migrate/20240306175331_rename_editor_images_awesome_config.rb +18 -0
- data/db/migrate/20240531224204_add_decidim_awesome_proposal_private_fields.rb +29 -0
- data/db/migrate/20240729164227_add_decidim_awesome_proposal_private_fields_date.rb +20 -0
- data/db/seeds.rb +4 -4
- data/lib/decidim/decidim_awesome/admin_engine.rb +41 -6
- data/lib/decidim/decidim_awesome/api/types/localized_custom_fields_type.rb +22 -0
- data/lib/decidim/decidim_awesome/api/types/translated_custom_fields_type.rb +51 -0
- data/lib/decidim/decidim_awesome/authorizator.rb +34 -0
- data/lib/decidim/decidim_awesome/awesome.rb +236 -29
- data/lib/decidim/decidim_awesome/awesome_helpers.rb +57 -17
- data/lib/decidim/decidim_awesome/checksums.yml +95 -20
- data/lib/decidim/decidim_awesome/config.rb +25 -17
- data/lib/decidim/decidim_awesome/context_analyzers/request_analyzer.rb +3 -3
- data/lib/decidim/decidim_awesome/custom_fields.rb +13 -5
- data/lib/decidim/decidim_awesome/engine.rb +250 -19
- data/lib/decidim/decidim_awesome/iframe_component/component.rb +4 -4
- data/lib/decidim/decidim_awesome/lock.rb +47 -0
- data/lib/decidim/decidim_awesome/map_component/component.rb +2 -2
- data/lib/decidim/decidim_awesome/menu.rb +201 -0
- data/lib/decidim/decidim_awesome/menu_hacker.rb +7 -5
- data/{app/middleware/decidim/decidim_awesome → lib/decidim/decidim_awesome/middleware}/current_config.rb +5 -3
- data/lib/decidim/decidim_awesome/request_memoizer.rb +16 -0
- data/lib/decidim/decidim_awesome/system_checker.rb +6 -2
- data/lib/decidim/decidim_awesome/test/factories.rb +31 -9
- data/lib/decidim/decidim_awesome/test/initializer.rb +22 -6
- data/lib/decidim/decidim_awesome/test/layouts/decidim/_head.html.erb +2 -2
- data/lib/decidim/decidim_awesome/test/layouts/decidim/admin/_header.html.erb +2 -2
- data/lib/decidim/decidim_awesome/test/shared_examples/action_log_presenter_examples.rb +61 -0
- data/lib/decidim/decidim_awesome/test/shared_examples/{box_label_editor.rb → box_label_editor_examples.rb} +22 -22
- data/lib/decidim/decidim_awesome/test/shared_examples/config_examples.rb +24 -6
- data/lib/decidim/decidim_awesome/test/shared_examples/custom_fields_examples.rb +155 -0
- data/lib/decidim/decidim_awesome/test/shared_examples/custom_redirects_contexts.rb +7 -7
- data/lib/decidim/decidim_awesome/test/shared_examples/custom_styles_examples.rb +156 -0
- data/lib/decidim/decidim_awesome/test/shared_examples/editor_examples.rb +42 -58
- data/lib/decidim/decidim_awesome/test/shared_examples/menu_hack_contexts.rb +9 -8
- data/lib/decidim/decidim_awesome/test/shared_examples/scoped_admins_examples.rb +40 -29
- data/lib/decidim/decidim_awesome/test/shared_examples/summary_examples.rb +129 -38
- data/lib/decidim/decidim_awesome/version.rb +2 -2
- data/lib/decidim/decidim_awesome/voting_manifest.rb +55 -0
- data/lib/decidim/decidim_awesome.rb +1 -3
- data/lib/tasks/decidim_awesome_upgrade_tasks.rake +9 -0
- data/lib/tasks/decidim_awesome_webpacker_tasks.rake +2 -0
- data/package.json +54 -0
- metadata +192 -86
- data/app/forms/decidim/decidim_awesome/proposals/proposal_wizard_create_step_form_override.rb +0 -38
- data/app/helpers/decidim/decidim_awesome/amendments_helper_override.rb +0 -48
- data/app/helpers/decidim/decidim_awesome/proposals/application_helper_override.rb +0 -78
- data/app/jobs/decidim/decidim_awesome/migrate_legacy_images_job.rb +0 -106
- data/app/packs/entrypoints/decidim_admin_decidim_awesome_custom_fields.js +0 -2
- data/app/packs/entrypoints/decidim_decidim_awesome_admin_form_exit_warn.js +0 -1
- data/app/packs/images/decidim/decidim_awesome/platoniq-logo.png +0 -0
- data/app/packs/src/decidim/decidim_awesome/admin/constraints.js +0 -55
- data/app/packs/src/decidim/decidim_awesome/editors/editor.js +0 -190
- data/app/packs/src/decidim/decidim_awesome/editors/tabs_focus.js +0 -22
- data/app/packs/src/vendor/image-resize.min.js +0 -1
- data/app/packs/src/vendor/image-upload.min.js +0 -6
- data/app/packs/src/vendor/leaflet.featuregroup.subgroup.js +0 -184
- data/app/packs/stylesheets/decidim/decidim_awesome/editors/markdown_editor.scss +0 -19
- data/app/packs/stylesheets/decidim/decidim_awesome/editors/quill_editor.scss +0 -58
- data/app/packs/stylesheets/vendor/select2-foundation-theme.scss +0 -348
- data/app/uploaders/decidim/cw/decidim_awesome/image_uploader.rb +0 -26
- data/app/views/decidim/decidim_awesome/admin/config/_form_styles.html.erb +0 -26
- data/app/views/decidim/decidim_awesome/admin/config/_modal.html.erb +0 -11
- data/app/views/decidim/proposals/admin/proposals/_form.html.erb +0 -101
- data/app/views/decidim/proposals/collaborative_drafts/_edit_form_fields.html.erb +0 -83
- data/app/views/decidim/proposals/collaborative_drafts/show.html.erb +0 -1
- data/app/views/layouts/decidim/admin/_header.html.erb +0 -5
- data/app/views/layouts/decidim/admin/decidim_awesome.html.erb +0 -75
- data/app/views/v0.25/decidim/proposals/collaborative_drafts/_show.html.erb +0 -128
- data/app/views/v0.25/layouts/decidim/_head.html.erb +0 -41
- data/app/views/v0.25/layouts/decidim/admin/_header.html.erb +0 -11
- data/app/views/v0.26/decidim/proposals/collaborative_drafts/_show.html.erb +0 -128
- data/app/views/v0.26/layouts/decidim/_head.html.erb +0 -45
- data/app/views/v0.26/layouts/decidim/admin/_header.html.erb +0 -11
- data/lib/decidim/decidim_awesome/content_parsers/editor_images_parser.rb +0 -39
- data/lib/tasks/decidim_awesome_active_storage_migrations_tasks.rake +0 -37
- /data/app/models/{decidim → concerns/decidim}/decidim_awesome/user_override.rb +0 -0
data/config/locales/en.yml
CHANGED
@@ -3,11 +3,15 @@ en:
|
|
3
3
|
activemodel:
|
4
4
|
attributes:
|
5
5
|
config:
|
6
|
-
|
7
|
-
|
6
|
+
additional_proposal_sortings: Additional sorting options enabled
|
7
|
+
allow_images_in_editors: Allow images in the HTML editor
|
8
8
|
allow_images_in_proposals: Allow images in the proposals editor
|
9
|
-
|
9
|
+
allow_videos_in_editors: Allow videos in the HTML editor
|
10
10
|
auto_save_forms: Auto save forms in local storage
|
11
|
+
force_authorization_after_login: Force authorization after login/registering
|
12
|
+
force_authorization_help_text: Help text for the authorization page
|
13
|
+
force_authorization_with_any_method: Allow access if any of the authorizations
|
14
|
+
is granted (by default, all are required)
|
11
15
|
intergram_auto_no_response: A message that is sent one minute after the user
|
12
16
|
sends its first message and no response was received
|
13
17
|
intergram_auto_response: A message that is sent immediately after the user
|
@@ -23,9 +27,23 @@ en:
|
|
23
27
|
intergram_use_floating_button: If checked, the closed chat is always a button
|
24
28
|
instead of a text
|
25
29
|
proposal_custom_fields: Custom fields %{id}
|
30
|
+
proposal_private_custom_fields: Private Custom fields %{id}
|
31
|
+
scoped_admin_styles: Custom styles %{id}
|
26
32
|
scoped_admins: Scoped admins group %{id}
|
27
33
|
scoped_styles: Custom styles %{id}
|
28
|
-
|
34
|
+
user_timezone: Allow users to set their timezone in their profile
|
35
|
+
validate_body_max_caps_percent: Maximum allowed percentage of capital letters
|
36
|
+
for the body
|
37
|
+
validate_body_max_marks_together: Maximum consecutive marks symbols allowed
|
38
|
+
in the body
|
39
|
+
validate_body_min_length: Minimum required characters for the body
|
40
|
+
validate_body_start_with_caps: Force the body to start with a capital letter
|
41
|
+
validate_title_max_caps_percent: Maximum allowed percentage of capital letters
|
42
|
+
for the title
|
43
|
+
validate_title_max_marks_together: Maximum consecutive marks symbols allowed
|
44
|
+
in the title
|
45
|
+
validate_title_min_length: Minimum required characters for the title
|
46
|
+
validate_title_start_with_caps: Force the title to start with a capital letter
|
29
47
|
constraint:
|
30
48
|
component_id: or specifically in
|
31
49
|
component_manifest: Only in components of type
|
@@ -43,11 +61,32 @@ en:
|
|
43
61
|
target: Opens in
|
44
62
|
url: URL
|
45
63
|
visibility: Visibility
|
46
|
-
|
47
|
-
|
64
|
+
organization:
|
65
|
+
awesome_admins_available_authorizations: Allow admins to manually verify users
|
66
|
+
with these authorizations
|
67
|
+
user:
|
68
|
+
user_time_zone: Personal timezone
|
48
69
|
decidim:
|
49
70
|
admin:
|
71
|
+
actions:
|
72
|
+
manage: Manage
|
73
|
+
filters:
|
74
|
+
admin_accountability:
|
75
|
+
admin_role_type:
|
76
|
+
label: Role type
|
77
|
+
participatory_space_type_eq:
|
78
|
+
label: Participatory space type
|
79
|
+
role:
|
80
|
+
label: Role
|
81
|
+
role_type_eq:
|
82
|
+
label: Role type
|
83
|
+
label:
|
84
|
+
search_field_end_date: 'To date:'
|
85
|
+
search_field_start_date: 'From date:'
|
86
|
+
search_placeholder:
|
87
|
+
user_name_or_user_email_cont: Search by user name, email
|
50
88
|
menu:
|
89
|
+
admin_accountability: Admin accountability
|
51
90
|
decidim_awesome: Decidim awesome
|
52
91
|
components:
|
53
92
|
awesome_iframe:
|
@@ -60,7 +99,6 @@ en:
|
|
60
99
|
frameBorder="0" allowFullscreen src="..."></iframe>. Content will be
|
61
100
|
sanitized from other HTML tags. Ensure to use 100% as width to fill
|
62
101
|
the screen.'
|
63
|
-
no_margins: No margins between the iframe and the rest of the page
|
64
102
|
viewport_width: Limit maximum width to the application viewport
|
65
103
|
step:
|
66
104
|
announcement: Announcement
|
@@ -79,7 +117,7 @@ en:
|
|
79
117
|
map_zoom_help: Only applies if a map center is defined
|
80
118
|
menu_amendments: Show amendments
|
81
119
|
menu_categories: Show Category search menu
|
82
|
-
menu_hashtags: Show
|
120
|
+
menu_hashtags: Show Hashtag search menu
|
83
121
|
menu_meetings: Show meetings
|
84
122
|
menu_merge_components: Merge all components of the same type in the menu
|
85
123
|
truncate: Maximum characters for popup descriptions
|
@@ -90,8 +128,118 @@ en:
|
|
90
128
|
show_not_answered: Show not answered proposals
|
91
129
|
show_rejected: Show rejected proposals
|
92
130
|
show_withdrawn: Show withdrawn proposals
|
131
|
+
proposals:
|
132
|
+
settings:
|
133
|
+
global:
|
134
|
+
awesome_voting_manifest: Support type
|
135
|
+
awesome_voting_manifest_help_html: <span class="text-alert">Be aware that
|
136
|
+
changing this setting in the middle of a votation period can result
|
137
|
+
in innacurate or unexpected results.</span><br>Note also that this setting
|
138
|
+
can only be edited if the component has no supports yet.
|
139
|
+
awesome_voting_manifest_options:
|
140
|
+
default: Simple vote (default)
|
141
|
+
voting_cards: Voting using coloured cards
|
142
|
+
default_sort_order_options:
|
143
|
+
az: A-Z (Alphabetical)
|
144
|
+
supported_first: Supported first
|
145
|
+
supported_last: Supported last
|
146
|
+
za: Z-A (Reverse alphabetical)
|
147
|
+
limit_pending_amendments: Allow only one pending amendment on each proposal.
|
148
|
+
sort_orders_enabled: Enabled sorting types
|
149
|
+
voting_cards_box_title: Title for the voting box
|
150
|
+
voting_cards_box_title_help: Default is "Vote on this proposal". Use "-"
|
151
|
+
to hide it.
|
152
|
+
voting_cards_instructions: Support instructions/help (dissmissable modal
|
153
|
+
window)
|
154
|
+
voting_cards_instructions_help: Default is "Please read the election rules
|
155
|
+
carefully to understand how your vote will be used by %{organization}""
|
156
|
+
voting_cards_show_abstain: Add an abstention option
|
157
|
+
voting_cards_show_modal_help: Show instructions/help modal when support
|
158
|
+
is clicked
|
159
|
+
step:
|
160
|
+
default_sort_order_options:
|
161
|
+
az: A-Z (Alphabetical)
|
162
|
+
supported_first: Supported first
|
163
|
+
supported_last: Supported last
|
164
|
+
za: Z-A (Reverse alphabetical)
|
93
165
|
decidim_awesome:
|
166
|
+
account:
|
167
|
+
timezone_select:
|
168
|
+
time_zone_helper: Use your personal time zone to display dates in your local
|
169
|
+
time when you are logged in.
|
94
170
|
admin:
|
171
|
+
actions: Actions
|
172
|
+
admin_accountability:
|
173
|
+
admin_roles:
|
174
|
+
admin: Super admin
|
175
|
+
user_manager: User manager
|
176
|
+
created_at: Role created at
|
177
|
+
currently_active: Currently active
|
178
|
+
deleted_user: Deleted user
|
179
|
+
email: Email
|
180
|
+
exports:
|
181
|
+
button: Export this search
|
182
|
+
export_as: Export as %{export_format}
|
183
|
+
export_format:
|
184
|
+
csv: CSV
|
185
|
+
json: JSON
|
186
|
+
xlsx: XLSX
|
187
|
+
notice: Export job has been enqueued. You will receive an email when it's
|
188
|
+
ready.
|
189
|
+
index:
|
190
|
+
description: Listed here you'll find all users that have had some role
|
191
|
+
in the administration of a participatory space. Normal admins are not
|
192
|
+
listed.
|
193
|
+
global_description: Listed here you'll find all users that have had some
|
194
|
+
global role in administrating this organization. Participatory space
|
195
|
+
admins are not listed.
|
196
|
+
missing_users: 'NOTE: This list might not include users created/removed
|
197
|
+
before %{date}. This is because "user traceability" was introduced in
|
198
|
+
Decidim v0.24 and this installation is probably older.'
|
199
|
+
see_global: List global admins
|
200
|
+
see_spaces: List participatory space admins
|
201
|
+
title: Admin accountability
|
202
|
+
last_login: Last sign in date
|
203
|
+
missing_info: "(missing information)"
|
204
|
+
missing_user: User not in the database
|
205
|
+
name: Name
|
206
|
+
never_logged: Never logged yet
|
207
|
+
participatory_space: Participatory space
|
208
|
+
removal_date: Role removed at
|
209
|
+
role: Role
|
210
|
+
roles:
|
211
|
+
admin: Administrator
|
212
|
+
collaborator: Collaborator
|
213
|
+
moderator: Moderator
|
214
|
+
valuator: Valuator
|
215
|
+
admin_authorizations:
|
216
|
+
authorization:
|
217
|
+
confirm_destroy: Are you sure you want to destroy this authorization?
|
218
|
+
This might affect the user's access to the platform.
|
219
|
+
destroy: Destroy
|
220
|
+
granted_at: Granted at %{date}
|
221
|
+
metadata: Contains metadata? %{metadata}
|
222
|
+
authorization_destroyed: Authorization successfully destroyed.
|
223
|
+
authorization_not_destroyed: Authorization could not be destroyed!
|
224
|
+
authorization_transferred: 'Warning: There was verification conflict and
|
225
|
+
the verification has been transferred to %{user}'
|
226
|
+
conflict: There is a conflict with an existing authorization
|
227
|
+
conflict_help_html: "You must solve the conflict with the user %{user} before
|
228
|
+
you can authorize the user with this authorization.\n<br><br>\nA verfication
|
229
|
+
conflict happens when another user has the same data as the user you are
|
230
|
+
trying to authorize. \nYou can solve this conflict by removing the conflicting
|
231
|
+
authorization from the other user or using different data for this user.\n"
|
232
|
+
edit:
|
233
|
+
authorize: Authorize %{user} with %{name}
|
234
|
+
do_it_if_sure: Do this only if you are sure that the user has this authorization.
|
235
|
+
force_verification: Force verification with the current data
|
236
|
+
force_verification_help: Verification has failed, but you can force it
|
237
|
+
if you are sure the user has this authorization.
|
238
|
+
force_verification_reason: 'Give a reason to force the verification:'
|
239
|
+
warning: 'Warning: By forcing this authorization, you are overriding the
|
240
|
+
user''s current authorization status.'
|
241
|
+
user_authorized: "%{user} successfully authorized with %{name}"
|
242
|
+
user_not_authorized: "%{user} could not be authorized with %{name}"
|
95
243
|
checks:
|
96
244
|
index:
|
97
245
|
admin_head_tags: Awesome tags included in the admin application header
|
@@ -111,10 +259,9 @@ en:
|
|
111
259
|
Since version 0.25, Decidim uses a new technology to upload files.<br>
|
112
260
|
It looks that this installation needs to migrate <strong>%{total}</strong> of the old images to the new system.<br>
|
113
261
|
You can start the process now and it will be performed in the background.
|
114
|
-
start_image_migrations: "
|
115
|
-
title: System compatibility checks
|
262
|
+
start_image_migrations: "👉 Start the migration process now"
|
116
263
|
config:
|
117
|
-
caution: 'NOTE: This feature heavily modifies some default
|
264
|
+
caution: 'NOTE: This feature heavily modifies some default behaviors that
|
118
265
|
might lead to unexpected results. Use it with caution!'
|
119
266
|
constraints:
|
120
267
|
add_condition: Add case
|
@@ -143,19 +290,24 @@ en:
|
|
143
290
|
error: Error removing CSS box! %{error}
|
144
291
|
success: CSS box %{key} removed successfully
|
145
292
|
form:
|
293
|
+
additional_proposal_sortings:
|
294
|
+
enable_all: Enable all additional sorting options
|
295
|
+
help: These sorting options are additional to the default ones. Also,
|
296
|
+
remember that you can choose the default order in the proposals component
|
297
|
+
settings.
|
298
|
+
title: Customize sorting options for the proposals list
|
146
299
|
edit_label: Rename label
|
147
300
|
errors:
|
148
301
|
incorrect_css: 'CSS in box #%{key} is invalid'
|
149
302
|
incorrect_json: 'JSON definition in box #%{key} is invalid'
|
150
303
|
help:
|
151
|
-
|
152
|
-
|
153
|
-
allow_images_in_markdown_editor: This will allow markdown editor to
|
154
|
-
upload images by copy & paste or drag & drop.
|
304
|
+
allow_images_in_editors: This will add an image uploader icon in all
|
305
|
+
the WYSIWYG editors
|
155
306
|
allow_images_in_proposals: This will allow to upload images in the proposals
|
156
|
-
editor, available to any user
|
157
|
-
|
158
|
-
|
307
|
+
editor, available to any user. Images will be presented as links in
|
308
|
+
the public proposal view.
|
309
|
+
allow_videos_in_editors: This will add an video link icon in all the
|
310
|
+
WYSIWYG editors
|
159
311
|
auto_save_forms: This will use LocalStorage to automatically save data
|
160
312
|
introduced by users in surveys and other forms while they are filling
|
161
313
|
it. Data will be restored in a future visit with the same browser
|
@@ -165,6 +317,14 @@ en:
|
|
165
317
|
drag_and_drop_supported: When uploading images, Drag & Drop is supported.
|
166
318
|
Images will be uploaded to the server and inserted as external resources
|
167
319
|
(it doesn't use base64 inline encoding).
|
320
|
+
force_authorization_after_login: 'If enabled, users will be redirected
|
321
|
+
to the authorization page after login or registration if some of the
|
322
|
+
specified authorizations are not granted. This is useful if you want
|
323
|
+
to force users to be verified with a specific authorization before
|
324
|
+
they can login at all (ie: to prevent spam).'
|
325
|
+
force_authorization_help_text: Add a custom text to explain why authorization
|
326
|
+
is required. Also make sure you add a contact method in case users
|
327
|
+
need help.
|
168
328
|
intergram_about: Intergram uses Telegram messenger to handle a live
|
169
329
|
support chat widget embedded in the bottom of the page.
|
170
330
|
intergram_config: Invite the <a href="https://web.telegram.org/#/im?p=@IntergramBot">@Intergram
|
@@ -188,6 +348,19 @@ en:
|
|
188
348
|
instead of \"Address\"\nOr use your own keys in combination with other
|
189
349
|
tools to define translations (eg: using the module Term Customizer):\n
|
190
350
|
- \"myapp.custom_fields.bio\" instead of \"Biography\""
|
351
|
+
proposal_private_custom_fields: Similar as public fields, but this information
|
352
|
+
won't be disclosed publicly (only admins will have access to it).
|
353
|
+
proposal_private_custom_fields_translations: |
|
354
|
+
Private custom fields are displayed in distinct box with this information text:
|
355
|
+
%{warning}
|
356
|
+
This text can be customized with a custom translation by using the key:
|
357
|
+
%{key}
|
358
|
+
scoped_admin_styles: Be aware that hidding things here might left the
|
359
|
+
admin unusable. Please act with caution.
|
360
|
+
scoped_admin_styles_variables: 'You can use the following CSS variables
|
361
|
+
for organization customized color:'
|
362
|
+
scoped_admin_styles_warning: "<strong>Warning</strong>: In here add
|
363
|
+
custom CSS that applies only in this admin."
|
191
364
|
scoped_admins: Promote regular user to admins that can only administrate
|
192
365
|
certain parts of the public web (use the restrictions editor for that).
|
193
366
|
Note that users who already have regular admin permissions will be
|
@@ -196,31 +369,74 @@ en:
|
|
196
369
|
of the public web (use the restrictions editor for that)
|
197
370
|
scoped_styles_variables: 'You can use the following CSS variables for
|
198
371
|
organization customized colors:'
|
199
|
-
|
200
|
-
|
201
|
-
|
372
|
+
user_timezone: This will a add a select box in the user profile to set
|
373
|
+
the timezone. This will be used to show dates and times in the user
|
374
|
+
local time.
|
375
|
+
validate_body_max_caps_percent: Zero won't allow any capital letter,
|
376
|
+
100 will force to write everything in capital letters
|
377
|
+
validate_body_max_marks_together: 'Limit the number of question and
|
378
|
+
exclamation marks that can be written together. Ie: if it is 2, then
|
379
|
+
''!!!'' won''t be allowed in the text'
|
380
|
+
validate_body_min_length: This number can be zero, this will effectively
|
381
|
+
make this field non-mandatory
|
382
|
+
validate_title_max_caps_percent: Zero won't allow any capital letter,
|
383
|
+
100 will force to write everything in capital letters
|
384
|
+
validate_title_max_marks_together: 'Limit the number of question and
|
385
|
+
exclamation marks that can be written together. Ie: if it is 2, then
|
386
|
+
''!!!'' won''t be allowed in the text'
|
387
|
+
validate_title_min_length: Title is always mandatory and this number
|
388
|
+
cannot be zero
|
389
|
+
verifications_html: |
|
390
|
+
Here you can make some tweaks to the verification process.<br>
|
391
|
+
<b>NOTE:</b> Be aware that changing these settings might prevent some users from accessing the platform. Use it with caution!<br><br>
|
392
|
+
Also note that these settings are applied to all users. Admins will always have access to the admin backend though.
|
393
|
+
validators:
|
394
|
+
body: User input validations for the "body" field
|
395
|
+
title: User input validations for the "title" field
|
202
396
|
form_proposal_custom_fields:
|
397
|
+
delete: Delete
|
203
398
|
new: Add a new "custom fields" box
|
204
399
|
remove: Remove this "custom fields" box
|
205
400
|
sure_to_remove: Are you sure you want to destroy this fields box?
|
401
|
+
form_proposal_private_custom_fields:
|
402
|
+
delete: Delete
|
403
|
+
new: Add a new "private custom fields" box
|
404
|
+
remove: Remove this "private custom fields" box
|
405
|
+
sure_to_remove: Are you sure you want to destroy this private fields box?
|
406
|
+
form_scoped_admin_styles:
|
407
|
+
delete: Delete
|
408
|
+
new: Add a new "admin panel" CSS box
|
409
|
+
remove: Remove this CSS box
|
410
|
+
sure_to_remove: Are you sure you want to destroy this CSS box?
|
206
411
|
form_scoped_admins:
|
412
|
+
delete: Delete
|
207
413
|
new: Add a new "Scoped Admins" group
|
208
414
|
remove: Remove this "Scoped Admins" group
|
209
415
|
sure_to_remove: Are you sure you want to destroy this "Scoped Admins"
|
210
416
|
group?
|
211
417
|
form_scoped_styles:
|
212
|
-
|
418
|
+
delete: Delete
|
419
|
+
new: Add a new "public frontend" CSS box
|
213
420
|
remove: Remove this CSS box
|
214
421
|
sure_to_remove: Are you sure you want to destroy this CSS box?
|
215
422
|
none: "⛔ Never! - Deactivate any other constraint"
|
216
423
|
process_groups: Process groups
|
217
|
-
rich_text_editor_in_public_views: 'NOTE: "Rich text editor for participants"
|
218
|
-
is enabled, this option won''t apply. Use the editors hacks instead to
|
219
|
-
enable images in proposals.'
|
220
424
|
show:
|
221
425
|
title: Tweaks for %{setting}
|
222
426
|
update: Update configuration
|
223
427
|
system: Everywhere except participatory spaces
|
428
|
+
title:
|
429
|
+
admins: Scoped Admins
|
430
|
+
editors: Editor Hacks
|
431
|
+
livechat: Live Chat
|
432
|
+
proposal_custom_fields: 'Proposals Custom Fields: Public fields'
|
433
|
+
proposal_private_custom_fields: 'Proposals Custom Fields: Private fields'
|
434
|
+
proposals: Proposals Hacks
|
435
|
+
scoped_admin_styles: 'Custom Styles: Admin panel'
|
436
|
+
scoped_styles: 'Custom Styles: Public frontend'
|
437
|
+
styles: Custom Styles
|
438
|
+
surveys: Surveys & Forms
|
439
|
+
verifications: Verifications / Authorization Hacks
|
224
440
|
update:
|
225
441
|
error: Error updating configuration! %{error}
|
226
442
|
success: Configuration updated successfully
|
@@ -281,17 +497,54 @@ en:
|
|
281
497
|
update:
|
282
498
|
error: Error updating redirection! %{error}
|
283
499
|
success: Redirection updated successfully
|
500
|
+
maintenance:
|
501
|
+
private_data:
|
502
|
+
component: Space / Component
|
503
|
+
confirm_delete: Are you sure you want to delete all private data for this
|
504
|
+
resource? This cannot be undone.
|
505
|
+
delete: Delete all
|
506
|
+
destroying_private_data: Private data for %{title} is set to be destroyed.
|
507
|
+
Please check again in a few minutes.
|
508
|
+
done: Done
|
509
|
+
help_html: |
|
510
|
+
This tool allows you to delete all private data for a specific participatory space or component. This action is irreversible and will remove all private data from the database.
|
511
|
+
<br><br>
|
512
|
+
<strong>What is considered private data?</strong>
|
513
|
+
<br>
|
514
|
+
Private data is any information that is not publicly available and is only accessible to administrators. This, at the moment, includes private custom fields information.
|
515
|
+
<br><br>
|
516
|
+
<strong>What happens when I delete private data?</strong>
|
517
|
+
<br>
|
518
|
+
When you delete private data, all private information for the selected participatory space or component will be permanently removed from the database. A log of this action will be stored in the system for auditing purposes.
|
519
|
+
<br><br>
|
520
|
+
<strong>What happens to public data?</strong>
|
521
|
+
<br>
|
522
|
+
Public data will not be affected by this action. Only private data will be deleted.
|
523
|
+
<br><br>
|
524
|
+
<strong>Is there a minimum time to wait before deleting private data?</strong>
|
525
|
+
<br>
|
526
|
+
Yes, you cannot delete private data if the last update was less than %{time_ago} ago. You can change this configuration in the initializer file.
|
527
|
+
items_count: Total affected
|
528
|
+
last_date: Last update
|
529
|
+
no_data: No private data found older than %{time_ago} ago
|
530
|
+
not_destroyable: This resource cannot be destroyed yet
|
531
|
+
removing: Removing...
|
532
|
+
time_ago: "%{time} ago"
|
284
533
|
menu:
|
285
534
|
admins: Scoped Admins
|
286
|
-
checks: System Compatibility
|
287
535
|
custom_redirects: Custom Redirections
|
288
536
|
editors: Editor Hacks
|
289
537
|
livechat: Live Chat
|
538
|
+
maintenance:
|
539
|
+
checks: System Compatibility
|
540
|
+
maintenance: Maintenance
|
541
|
+
private_data: Private data
|
290
542
|
menu_hacks: Menu Tweaks
|
291
543
|
proposal_custom_fields: Proposals Custom Fields
|
292
544
|
proposals: Proposals Hacks
|
293
545
|
styles: Custom Styles
|
294
546
|
surveys: Surveys & Forms
|
547
|
+
verifications: Verifications
|
295
548
|
menu_hacks:
|
296
549
|
create:
|
297
550
|
error: Error creating menu item! %{error}
|
@@ -313,13 +566,17 @@ en:
|
|
313
566
|
hidden: Always hidden
|
314
567
|
logged: Only visible for logged users
|
315
568
|
non_logged: Only visible for non-logged users
|
569
|
+
verified_user: Only visible for users with a valid authorization
|
316
570
|
index:
|
317
571
|
confirm_destroy: Are you sure to remove this customization?
|
318
572
|
edit: Edit
|
573
|
+
home_content_block_menu:
|
574
|
+
title: Global menu home block
|
575
|
+
menu:
|
576
|
+
title: Main menu
|
319
577
|
new: New item
|
320
578
|
remove: Remove addition
|
321
579
|
remove_hack: Remove customization
|
322
|
-
title: Main menu
|
323
580
|
new:
|
324
581
|
save: Save
|
325
582
|
title: New menu item
|
@@ -328,6 +585,47 @@ en:
|
|
328
585
|
success: Menu item updated successfully
|
329
586
|
url_exists: The same URL is already configured, please edit that instead
|
330
587
|
of creating it again.
|
588
|
+
officializations:
|
589
|
+
authorizations: Authorizations
|
590
|
+
verification_modal:
|
591
|
+
authorizations_for: Authorizations for %{user}
|
592
|
+
close: Close
|
593
|
+
proposal_custom_fields:
|
594
|
+
menu:
|
595
|
+
title: Public fields
|
596
|
+
private_body: Private body
|
597
|
+
private_data_last_remove: This data was destroyed %{time_ago} ago.
|
598
|
+
private_data_last_update: This data was last updated %{time_ago} ago.
|
599
|
+
proposal_private_custom_fields: Private fields
|
600
|
+
remove_private_data: "👉 You might want to remove it"
|
601
|
+
scoped_admin_styles:
|
602
|
+
menu:
|
603
|
+
title: Admin panel
|
604
|
+
scoped_styles:
|
605
|
+
menu:
|
606
|
+
title: Public frontend
|
607
|
+
admin_log:
|
608
|
+
component:
|
609
|
+
destroy_private_data: "%{user_name} destroyed %{count} items of private
|
610
|
+
data for %{resource_name} in %{space_name}"
|
611
|
+
user:
|
612
|
+
admin_creates_authorization: "%{user_name} verified %{resource_name} with
|
613
|
+
%{handler_name}"
|
614
|
+
admin_destroys_authorization: "%{user_name} destroyed the verification %{handler_name}
|
615
|
+
on %{resource_name}"
|
616
|
+
admin_forces_authorization: "%{user_name} forced the verification %{handler_name}
|
617
|
+
on %{resource_name}. Reason: %{reason}"
|
618
|
+
amendments:
|
619
|
+
modal:
|
620
|
+
amendment_exists: An amendment already exists
|
621
|
+
current_amendment_html: <p>You can <a href="%{amendment_link}">access the
|
622
|
+
current amendment here</a>.</p>
|
623
|
+
dismiss: Ok, got it
|
624
|
+
explanation_html: |
|
625
|
+
<p>Currently, there's another amendment being evaluated for this proposal. In order to create a new one, you must wait until the current one is accepted or rejected.</p>
|
626
|
+
<p>You can also reach the author of this proposal by <a href="%{proposal_link}">leaving a comment</a> and try to speed up the resolution of the current amendment.</p>
|
627
|
+
pending_limit_reached: Sorry, there can only be one pending amendment at a
|
628
|
+
time. Please wait until "%{emendation}" is accepted or rejected.
|
331
629
|
config:
|
332
630
|
intergram:
|
333
631
|
auto_no_response: It seems that no one is available to answer right now.
|
@@ -359,7 +657,7 @@ en:
|
|
359
657
|
text_settings: Text settings
|
360
658
|
title: Title
|
361
659
|
truncate: Maximum characters for popup descriptions
|
362
|
-
credits: Decidim Awesome %{version} ·
|
660
|
+
credits: Decidim Awesome %{version} · Maintained with ♥ by %{company}
|
363
661
|
custom_fields:
|
364
662
|
errors:
|
365
663
|
invalid_fields: Content couldn't be parsed but has been assigned to the
|
@@ -378,20 +676,92 @@ en:
|
|
378
676
|
(for instance at the end of the <code>config/initializers/decidim.rb</code>) the following lines:<br>
|
379
677
|
<br>
|
380
678
|
<pre># Api configuration
|
381
|
-
|
382
|
-
|
679
|
+
Rails.application.config.to_prepare do
|
680
|
+
Decidim::Api::Schema.max_complexity = 5000
|
681
|
+
Decidim::Api::Schema.max_depth = 50
|
682
|
+
end</pre>
|
383
683
|
error:
|
384
684
|
unavailable: The map is unavailable. Please configure geocoding to enable
|
385
685
|
this component.
|
386
686
|
show:
|
387
687
|
view_meeting: View meeting
|
388
688
|
view_proposal: View proposal
|
689
|
+
proposal_private_custom_fields_disclosure: This information won't be published
|
690
|
+
required_authorizations:
|
691
|
+
index:
|
692
|
+
cancel: I'll do this in another moment, %{link}.
|
693
|
+
granted_title: Granted verifications
|
694
|
+
logout: let me logout
|
695
|
+
missing_title: Not verified yet
|
696
|
+
resume_title: Pending verifications
|
697
|
+
resume_with_method: Resume verification with %{name}
|
698
|
+
title: Verify your identity
|
699
|
+
verify_with_all_these_options: 'Please verify yourself with all these methods
|
700
|
+
before being able to access the platform:'
|
701
|
+
verify_with_any_of_these_options: 'Please verify yourself with at least
|
702
|
+
one of these options before being able to access the platform:'
|
703
|
+
verify_with_method: Verify with %{name}
|
704
|
+
session:
|
705
|
+
authorization_is_required: In order to participate in this platform, you need
|
706
|
+
to authorize your account with a valid authorization (%{authorizations}).
|
707
|
+
system:
|
708
|
+
organizations:
|
709
|
+
admin_allowed_authoritzations_help_html: |
|
710
|
+
Admins will be able to manually verify users with these authorizations.
|
711
|
+
<br>Use this feature with caution, as it can lead to security issues.
|
712
|
+
awesome_tweaks: Decidim Awesome Tweaks
|
713
|
+
validators:
|
714
|
+
too_much_caps: Is using too many capital letters (over %{percent}% of the
|
715
|
+
text)
|
716
|
+
voting:
|
717
|
+
voting_cards:
|
718
|
+
abstained: "✔ Abstained"
|
719
|
+
change_vote: Change my vote
|
720
|
+
default_box_title: Vote on this proposal
|
721
|
+
default_instructions_html: "<p>Please read the election rules carefully
|
722
|
+
to understand how your vote will be used by %{organization}</p>"
|
723
|
+
modal:
|
724
|
+
cancel: Cancel
|
725
|
+
message: Your vote will be considered final on %{date}. You can change
|
726
|
+
it until then
|
727
|
+
proceed: Proceed
|
728
|
+
skip: Check here to skip this window in the future
|
729
|
+
vote_button: Click to vote
|
730
|
+
voted: Voted
|
731
|
+
voting_for: My vote on "%{proposal}" is "%{type}"
|
732
|
+
weights:
|
733
|
+
weight_0: Abstain
|
734
|
+
weight_0_short: 'A:'
|
735
|
+
weight_1: Red
|
736
|
+
weight_1_short: 'R:'
|
737
|
+
weight_2: Yellow
|
738
|
+
weight_2_short: 'Y:'
|
739
|
+
weight_3: Green
|
740
|
+
weight_3_short: 'G:'
|
741
|
+
meetings:
|
742
|
+
meetings_map:
|
743
|
+
view_meeting: View meeting
|
744
|
+
proposals:
|
745
|
+
admin:
|
746
|
+
exports:
|
747
|
+
awesome_private_proposals: Proposals with private data
|
748
|
+
proposals:
|
749
|
+
orders:
|
750
|
+
az: A-Z (Alphabetical)
|
751
|
+
supported_first: Supported first
|
752
|
+
supported_last: Supported last
|
753
|
+
za: Z-A (Reverse alphabetical)
|
754
|
+
proposal:
|
755
|
+
view_proposal: View proposal
|
389
756
|
layouts:
|
390
757
|
decidim:
|
391
|
-
admin:
|
392
|
-
decidim_awesome:
|
393
|
-
title: Decidim Tweaks
|
394
758
|
decidim_awesome:
|
759
|
+
admin:
|
760
|
+
maintenance:
|
761
|
+
title: 'Maintenance tools: %{title}'
|
762
|
+
titles:
|
763
|
+
checks: System Compatibility Checks
|
764
|
+
private_data: Private Data Clean-Up
|
395
765
|
awesome_config:
|
396
766
|
amendments: Amendments
|
397
767
|
autosaved_error: LocalStorage is not supported in your browser, form cannot
|