decidim-enhanced_textwork 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +64 -0
- data/Rakefile +3 -0
- data/app/cells/decidim/enhanced_textwork/amendment/show.erb +14 -0
- data/app/cells/decidim/enhanced_textwork/amendment_cell.rb +39 -0
- data/app/cells/decidim/enhanced_textwork/collaborative_draft_cell.rb +49 -0
- data/app/cells/decidim/enhanced_textwork/collaborative_draft_link_to_paragraph/show.erb +13 -0
- data/app/cells/decidim/enhanced_textwork/collaborative_draft_link_to_paragraph_cell.rb +57 -0
- data/app/cells/decidim/enhanced_textwork/collaborative_draft_m/footer.erb +6 -0
- data/app/cells/decidim/enhanced_textwork/collaborative_draft_m/tags.erb +1 -0
- data/app/cells/decidim/enhanced_textwork/collaborative_draft_m_cell.rb +44 -0
- data/app/cells/decidim/enhanced_textwork/collaborative_drafts/reported_content/show.erb +3 -0
- data/app/cells/decidim/enhanced_textwork/collaborative_drafts/reported_content_cell.rb +15 -0
- data/app/cells/decidim/enhanced_textwork/comments/show.erb +33 -0
- data/app/cells/decidim/enhanced_textwork/comments_cell.rb +8 -0
- data/app/cells/decidim/enhanced_textwork/content_blocks/highlighted_paragraphs/elements.erb +5 -0
- data/app/cells/decidim/enhanced_textwork/content_blocks/highlighted_paragraphs/heading.erb +1 -0
- data/app/cells/decidim/enhanced_textwork/content_blocks/highlighted_paragraphs_cell.rb +19 -0
- data/app/cells/decidim/enhanced_textwork/cost_report/show.erb +35 -0
- data/app/cells/decidim/enhanced_textwork/cost_report_cell.rb +42 -0
- data/app/cells/decidim/enhanced_textwork/highlighted_paragraphs/show.erb +3 -0
- data/app/cells/decidim/enhanced_textwork/highlighted_paragraphs_cell.rb +25 -0
- data/app/cells/decidim/enhanced_textwork/highlighted_paragraphs_for_component/show.erb +19 -0
- data/app/cells/decidim/enhanced_textwork/highlighted_paragraphs_for_component_cell.rb +41 -0
- data/app/cells/decidim/enhanced_textwork/irreversible_action_modal/show.erb +27 -0
- data/app/cells/decidim/enhanced_textwork/irreversible_action_modal_cell.rb +80 -0
- data/app/cells/decidim/enhanced_textwork/paragraph_activity_cell.rb +35 -0
- data/app/cells/decidim/enhanced_textwork/paragraph_cell.rb +53 -0
- data/app/cells/decidim/enhanced_textwork/paragraph_link_to_collaborative_draft_cell.rb +26 -0
- data/app/cells/decidim/enhanced_textwork/paragraph_link_to_rejected_emendation/show.erb +9 -0
- data/app/cells/decidim/enhanced_textwork/paragraph_link_to_rejected_emendation_cell.rb +34 -0
- data/app/cells/decidim/enhanced_textwork/paragraph_linked_resources/show.erb +9 -0
- data/app/cells/decidim/enhanced_textwork/paragraph_linked_resources_cell.rb +14 -0
- data/app/cells/decidim/enhanced_textwork/paragraph_m/footer.erb +26 -0
- data/app/cells/decidim/enhanced_textwork/paragraph_m/tags.erb +1 -0
- data/app/cells/decidim/enhanced_textwork/paragraph_m_cell.rb +152 -0
- data/app/cells/decidim/enhanced_textwork/paragraph_tags/show.erb +33 -0
- data/app/cells/decidim/enhanced_textwork/paragraph_tags_cell.rb +35 -0
- data/app/cells/decidim/enhanced_textwork/paragraphs_picker/paragraphs.erb +12 -0
- data/app/cells/decidim/enhanced_textwork/paragraphs_picker/show.erb +14 -0
- data/app/cells/decidim/enhanced_textwork/paragraphs_picker_cell.rb +72 -0
- data/app/cells/decidim/enhanced_textwork/participatory_text_paragraph/buttons.erb +33 -0
- data/app/cells/decidim/enhanced_textwork/participatory_text_paragraph/show.erb +38 -0
- data/app/cells/decidim/enhanced_textwork/participatory_text_paragraph_cell.rb +104 -0
- data/app/cells/decidim/enhanced_textwork/reported_content/show.erb +4 -0
- data/app/cells/decidim/enhanced_textwork/reported_content_cell.rb +13 -0
- data/app/commands/decidim/enhanced_textwork/accept_access_to_collaborative_draft.rb +70 -0
- data/app/commands/decidim/enhanced_textwork/admin/answer_paragraph.rb +74 -0
- data/app/commands/decidim/enhanced_textwork/admin/assign_paragraphs_to_valuator.rb +61 -0
- data/app/commands/decidim/enhanced_textwork/admin/create_paragraph.rb +97 -0
- data/app/commands/decidim/enhanced_textwork/admin/create_paragraph_note.rb +67 -0
- data/app/commands/decidim/enhanced_textwork/admin/destroy_paragraph.rb +32 -0
- data/app/commands/decidim/enhanced_textwork/admin/discard_participatory_text.rb +40 -0
- data/app/commands/decidim/enhanced_textwork/admin/import_from_editor_participatory_text.rb +53 -0
- data/app/commands/decidim/enhanced_textwork/admin/import_paragraphs.rb +101 -0
- data/app/commands/decidim/enhanced_textwork/admin/import_participatory_text.rb +55 -0
- data/app/commands/decidim/enhanced_textwork/admin/merge_paragraphs.rb +69 -0
- data/app/commands/decidim/enhanced_textwork/admin/notify_paragraph_answer.rb +85 -0
- data/app/commands/decidim/enhanced_textwork/admin/publish_answers.rb +67 -0
- data/app/commands/decidim/enhanced_textwork/admin/publish_participatory_text.rb +81 -0
- data/app/commands/decidim/enhanced_textwork/admin/split_paragraphs.rb +67 -0
- data/app/commands/decidim/enhanced_textwork/admin/unassign_paragraphs_from_valuator.rb +62 -0
- data/app/commands/decidim/enhanced_textwork/admin/update_paragraph.rb +86 -0
- data/app/commands/decidim/enhanced_textwork/admin/update_paragraph_category.rb +68 -0
- data/app/commands/decidim/enhanced_textwork/admin/update_paragraph_scope.rb +75 -0
- data/app/commands/decidim/enhanced_textwork/admin/update_participatory_text.rb +68 -0
- data/app/commands/decidim/enhanced_textwork/create_collaborative_draft.rb +81 -0
- data/app/commands/decidim/enhanced_textwork/create_paragraph.rb +106 -0
- data/app/commands/decidim/enhanced_textwork/destroy_paragraph.rb +33 -0
- data/app/commands/decidim/enhanced_textwork/gallery_methods.rb +18 -0
- data/app/commands/decidim/enhanced_textwork/hashtags_methods.rb +36 -0
- data/app/commands/decidim/enhanced_textwork/publish_collaborative_draft.rb +93 -0
- data/app/commands/decidim/enhanced_textwork/publish_paragraph.rb +105 -0
- data/app/commands/decidim/enhanced_textwork/reject_access_to_collaborative_draft.rb +62 -0
- data/app/commands/decidim/enhanced_textwork/request_access_to_collaborative_draft.rb +49 -0
- data/app/commands/decidim/enhanced_textwork/unvote_paragraph.rb +65 -0
- data/app/commands/decidim/enhanced_textwork/update_collaborative_draft.rb +63 -0
- data/app/commands/decidim/enhanced_textwork/update_paragraph.rb +135 -0
- data/app/commands/decidim/enhanced_textwork/vote_paragraph.rb +77 -0
- data/app/commands/decidim/enhanced_textwork/withdraw_collaborative_draft.rb +65 -0
- data/app/commands/decidim/enhanced_textwork/withdraw_paragraph.rb +50 -0
- data/app/controllers/concerns/decidim/enhanced_textwork/admin/filterable.rb +82 -0
- data/app/controllers/concerns/decidim/enhanced_textwork/admin/picker.rb +21 -0
- data/app/controllers/concerns/decidim/enhanced_textwork/collaborative_orderable.rb +42 -0
- data/app/controllers/concerns/decidim/enhanced_textwork/orderable.rb +78 -0
- data/app/controllers/decidim/enhanced_textwork/admin/application_controller.rb +16 -0
- data/app/controllers/decidim/enhanced_textwork/admin/paragraph_answers_controller.rb +50 -0
- data/app/controllers/decidim/enhanced_textwork/admin/paragraph_notes_controller.rb +39 -0
- data/app/controllers/decidim/enhanced_textwork/admin/paragraphs_controller.rb +237 -0
- data/app/controllers/decidim/enhanced_textwork/admin/paragraphs_imports_controller.rb +33 -0
- data/app/controllers/decidim/enhanced_textwork/admin/paragraphs_merges_controller.rb +30 -0
- data/app/controllers/decidim/enhanced_textwork/admin/paragraphs_splits_controller.rb +30 -0
- data/app/controllers/decidim/enhanced_textwork/admin/participatory_texts_controller.rb +128 -0
- data/app/controllers/decidim/enhanced_textwork/admin/valuation_assignments_controller.rb +58 -0
- data/app/controllers/decidim/enhanced_textwork/application_controller.rb +31 -0
- data/app/controllers/decidim/enhanced_textwork/collaborative_draft_collaborator_requests_controller.rb +53 -0
- data/app/controllers/decidim/enhanced_textwork/collaborative_drafts_controller.rb +161 -0
- data/app/controllers/decidim/enhanced_textwork/paragraph_votes_controller.rb +65 -0
- data/app/controllers/decidim/enhanced_textwork/paragraphs_controller.rb +316 -0
- data/app/controllers/decidim/enhanced_textwork/versions_controller.rb +21 -0
- data/app/controllers/decidim/enhanced_textwork/widgets_controller.rb +19 -0
- data/app/events/decidim/enhanced_textwork/accepted_paragraph_event.rb +17 -0
- data/app/events/decidim/enhanced_textwork/admin/paragraph_note_created_event.rb +27 -0
- data/app/events/decidim/enhanced_textwork/admin/update_paragraph_category_event.rb +11 -0
- data/app/events/decidim/enhanced_textwork/admin/update_paragraph_scope_event.rb +11 -0
- data/app/events/decidim/enhanced_textwork/collaborative_draft_access_accepted_event.rb +8 -0
- data/app/events/decidim/enhanced_textwork/collaborative_draft_access_rejected_event.rb +8 -0
- data/app/events/decidim/enhanced_textwork/collaborative_draft_access_request_event.rb +27 -0
- data/app/events/decidim/enhanced_textwork/collaborative_draft_access_requested_event.rb +8 -0
- data/app/events/decidim/enhanced_textwork/collaborative_draft_access_requester_accepted_event.rb +8 -0
- data/app/events/decidim/enhanced_textwork/collaborative_draft_access_requester_rejected_event.rb +8 -0
- data/app/events/decidim/enhanced_textwork/collaborative_draft_withdrawn_event.rb +29 -0
- data/app/events/decidim/enhanced_textwork/creation_enabled_event.rb +8 -0
- data/app/events/decidim/enhanced_textwork/endorsing_enabled_event.rb +8 -0
- data/app/events/decidim/enhanced_textwork/evaluating_paragraph_event.rb +11 -0
- data/app/events/decidim/enhanced_textwork/paragraph_endorsed_event.rb +33 -0
- data/app/events/decidim/enhanced_textwork/paragraph_mentioned_event.rb +21 -0
- data/app/events/decidim/enhanced_textwork/publish_paragraph_event.rb +25 -0
- data/app/events/decidim/enhanced_textwork/rejected_paragraph_event.rb +17 -0
- data/app/events/decidim/enhanced_textwork/voting_enabled_event.rb +8 -0
- data/app/forms/decidim/enhanced_textwork/accept_access_to_collaborative_draft_form.rb +10 -0
- data/app/forms/decidim/enhanced_textwork/access_to_collaborative_draft_form.rb +33 -0
- data/app/forms/decidim/enhanced_textwork/admin/import_editor_participatory_text_form.rb +35 -0
- data/app/forms/decidim/enhanced_textwork/admin/import_participatory_text_form.rb +68 -0
- data/app/forms/decidim/enhanced_textwork/admin/paragraph_answer_form.rb +44 -0
- data/app/forms/decidim/enhanced_textwork/admin/paragraph_base_form.rb +137 -0
- data/app/forms/decidim/enhanced_textwork/admin/paragraph_form.rb +32 -0
- data/app/forms/decidim/enhanced_textwork/admin/paragraph_note_form.rb +16 -0
- data/app/forms/decidim/enhanced_textwork/admin/paragraphs_fork_form.rb +63 -0
- data/app/forms/decidim/enhanced_textwork/admin/paragraphs_import_form.rb +67 -0
- data/app/forms/decidim/enhanced_textwork/admin/paragraphs_merge_form.rb +13 -0
- data/app/forms/decidim/enhanced_textwork/admin/paragraphs_split_form.rb +12 -0
- data/app/forms/decidim/enhanced_textwork/admin/participatory_text_paragraph_form.rb +20 -0
- data/app/forms/decidim/enhanced_textwork/admin/preview_participatory_text_form.rb +21 -0
- data/app/forms/decidim/enhanced_textwork/admin/valuation_assignment_form.rb +37 -0
- data/app/forms/decidim/enhanced_textwork/collaborative_draft_form.rb +20 -0
- data/app/forms/decidim/enhanced_textwork/paragraph_form.rb +126 -0
- data/app/forms/decidim/enhanced_textwork/paragraph_wizard_create_step_form.rb +41 -0
- data/app/forms/decidim/enhanced_textwork/reject_access_to_collaborative_draft_form.rb +9 -0
- data/app/forms/decidim/enhanced_textwork/request_access_to_collaborative_draft_form.rb +20 -0
- data/app/helpers/decidim/enhanced_textwork/admin/filterable_helper.rb +17 -0
- data/app/helpers/decidim/enhanced_textwork/admin/paragraph_bulk_actions_helper.rb +35 -0
- data/app/helpers/decidim/enhanced_textwork/admin/paragraph_rankings_helper.rb +63 -0
- data/app/helpers/decidim/enhanced_textwork/admin/paragraphs_helper.rb +144 -0
- data/app/helpers/decidim/enhanced_textwork/admin/paragraphs_picker_helper.rb +30 -0
- data/app/helpers/decidim/enhanced_textwork/application_helper.rb +191 -0
- data/app/helpers/decidim/enhanced_textwork/collaborative_draft_cells_helper.rb +48 -0
- data/app/helpers/decidim/enhanced_textwork/collaborative_draft_helper.rb +29 -0
- data/app/helpers/decidim/enhanced_textwork/control_version_helper.rb +12 -0
- data/app/helpers/decidim/enhanced_textwork/map_helper.rb +48 -0
- data/app/helpers/decidim/enhanced_textwork/paragraph_cells_helper.rb +75 -0
- data/app/helpers/decidim/enhanced_textwork/paragraph_votes_helper.rb +103 -0
- data/app/helpers/decidim/enhanced_textwork/paragraph_wizard_helper.rb +140 -0
- data/app/helpers/decidim/enhanced_textwork/paragraphs_helper.rb +63 -0
- data/app/helpers/decidim/enhanced_textwork/participatory_texts_helper.rb +49 -0
- data/app/jobs/decidim/enhanced_textwork/notify_paragraphs_mentioned_job.rb +27 -0
- data/app/jobs/decidim/enhanced_textwork/settings_change_job.rb +50 -0
- data/app/models/decidim/enhanced_textwork/application_record.rb +10 -0
- data/app/models/decidim/enhanced_textwork/collaborative_draft.rb +73 -0
- data/app/models/decidim/enhanced_textwork/collaborative_draft_collaborator_request.rb +13 -0
- data/app/models/decidim/enhanced_textwork/paragraph.rb +411 -0
- data/app/models/decidim/enhanced_textwork/paragraph_note.rb +20 -0
- data/app/models/decidim/enhanced_textwork/paragraph_vote.rb +50 -0
- data/app/models/decidim/enhanced_textwork/participatory_text.rb +16 -0
- data/app/models/decidim/enhanced_textwork/valuation_assignment.rb +24 -0
- data/app/packs/documents/decidim/enhanced_textwork/participatory_texts/participatory_text.md +52 -0
- data/app/packs/documents/decidim/enhanced_textwork/participatory_texts/participatory_text.odt +0 -0
- data/app/packs/entrypoints/decidim_enhanced_textwork.js +17 -0
- data/app/packs/entrypoints/decidim_enhanced_textwork_admin.js +3 -0
- data/app/packs/images/decidim/enhanced_textwork/decidim_paragraphs.svg +1 -0
- data/app/packs/images/decidim/gamification/badges/decidim_gamification_badges_accepted_paragraphs.svg +1 -0
- data/app/packs/images/decidim/gamification/badges/decidim_gamification_badges_paragraph_votes.svg +1 -0
- data/app/packs/images/decidim/gamification/badges/decidim_gamification_badges_paragraphs.svg +1 -0
- data/app/packs/src/decidim/enhanced_textwork/add_paragraph.js +49 -0
- data/app/packs/src/decidim/enhanced_textwork/admin/paragraphs.js +143 -0
- data/app/packs/src/decidim/enhanced_textwork/admin/paragraphs_form.js +29 -0
- data/app/packs/src/decidim/enhanced_textwork/admin/paragraphs_picker.js +35 -0
- data/app/packs/src/decidim/enhanced_textwork/toggle_element.js +21 -0
- data/app/packs/src/decidim/enhanced_textwork/utils.js +11 -0
- data/app/packs/stylesheets/decidim/enhanced_textwork/_paragraphs.scss +208 -0
- data/app/packs/stylesheets/decidim/enhanced_textwork/paragraphs/_preview.scss +3 -0
- data/app/permissions/decidim/enhanced_textwork/admin/permissions.rb +147 -0
- data/app/permissions/decidim/enhanced_textwork/permissions.rb +163 -0
- data/app/presenters/decidim/enhanced_textwork/admin_log/paragraph_note_presenter.rb +39 -0
- data/app/presenters/decidim/enhanced_textwork/admin_log/paragraph_presenter.rb +51 -0
- data/app/presenters/decidim/enhanced_textwork/admin_log/valuation_assignment_presenter.rb +51 -0
- data/app/presenters/decidim/enhanced_textwork/admin_log/value_types/paragraph_state_presenter.rb +17 -0
- data/app/presenters/decidim/enhanced_textwork/admin_log/value_types/paragraph_title_body_presenter.rb +23 -0
- data/app/presenters/decidim/enhanced_textwork/admin_log/value_types/valuator_role_user_presenter.rb +19 -0
- data/app/presenters/decidim/enhanced_textwork/collaborative_draft_presenter.rb +25 -0
- data/app/presenters/decidim/enhanced_textwork/log/resource_presenter.rb +22 -0
- data/app/presenters/decidim/enhanced_textwork/log/valuation_assignment_presenter.rb +22 -0
- data/app/presenters/decidim/enhanced_textwork/official_author_presenter.rb +14 -0
- data/app/presenters/decidim/enhanced_textwork/paragraph_presenter.rb +146 -0
- data/app/queries/decidim/enhanced_textwork/filtered_paragraphs.rb +37 -0
- data/app/queries/decidim/enhanced_textwork/metrics/accepted_paragraphs_metric_manage.rb +32 -0
- data/app/queries/decidim/enhanced_textwork/metrics/endorsements_metric_manage.rb +58 -0
- data/app/queries/decidim/enhanced_textwork/metrics/paragraph_followers_metric_measure.rb +58 -0
- data/app/queries/decidim/enhanced_textwork/metrics/paragraph_participants_metric_measure.rb +74 -0
- data/app/queries/decidim/enhanced_textwork/metrics/paragraphs_metric_manage.rb +48 -0
- data/app/queries/decidim/enhanced_textwork/metrics/votes_metric_manage.rb +52 -0
- data/app/queries/decidim/enhanced_textwork/similar_paragraphs.rb +67 -0
- data/app/services/decidim/enhanced_textwork/collaborative_draft_search.rb +59 -0
- data/app/services/decidim/enhanced_textwork/diff_renderer.rb +74 -0
- data/app/services/decidim/enhanced_textwork/paragraph_builder.rb +132 -0
- data/app/services/decidim/enhanced_textwork/paragraph_search.rb +85 -0
- data/app/validators/paragraph_length_validator.rb +40 -0
- data/app/views/decidim/enhanced_textwork/admin/paragraph_answers/_form.html.erb +35 -0
- data/app/views/decidim/enhanced_textwork/admin/paragraph_notes/_form.html.erb +8 -0
- data/app/views/decidim/enhanced_textwork/admin/paragraph_notes/_paragraph_notes.html.erb +45 -0
- data/app/views/decidim/enhanced_textwork/admin/paragraphs/_bulk-actions.html.erb +33 -0
- data/app/views/decidim/enhanced_textwork/admin/paragraphs/_form.html.erb +101 -0
- data/app/views/decidim/enhanced_textwork/admin/paragraphs/_js-callout.html.erb +6 -0
- data/app/views/decidim/enhanced_textwork/admin/paragraphs/_paragraph-tr.html.erb +76 -0
- data/app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_assign_to_valuator.html.erb +15 -0
- data/app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_dropdown.html.erb +56 -0
- data/app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_merge.html.erb +15 -0
- data/app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_publish_answers.html.erb +14 -0
- data/app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_recategorize.html.erb +15 -0
- data/app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_scope-change.html.erb +25 -0
- data/app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_split.html.erb +15 -0
- data/app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_unassign_from_valuator.html.erb +15 -0
- data/app/views/decidim/enhanced_textwork/admin/paragraphs/edit.html.erb +7 -0
- data/app/views/decidim/enhanced_textwork/admin/paragraphs/index.html.erb +84 -0
- data/app/views/decidim/enhanced_textwork/admin/paragraphs/new.html.erb +7 -0
- data/app/views/decidim/enhanced_textwork/admin/paragraphs/publish_answers.js.erb +12 -0
- data/app/views/decidim/enhanced_textwork/admin/paragraphs/show.html.erb +186 -0
- data/app/views/decidim/enhanced_textwork/admin/paragraphs/update_category.js.erb +26 -0
- data/app/views/decidim/enhanced_textwork/admin/paragraphs/update_scope.js.erb +27 -0
- data/app/views/decidim/enhanced_textwork/admin/paragraphs_imports/new.html.erb +37 -0
- data/app/views/decidim/enhanced_textwork/admin/participatory_texts/_article-preview.html.erb +16 -0
- data/app/views/decidim/enhanced_textwork/admin/participatory_texts/_bulk-actions.html.erb +3 -0
- data/app/views/decidim/enhanced_textwork/admin/participatory_texts/index.html.erb +55 -0
- data/app/views/decidim/enhanced_textwork/admin/participatory_texts/new_editor.html.erb +39 -0
- data/app/views/decidim/enhanced_textwork/admin/participatory_texts/new_import.html.erb +39 -0
- data/app/views/decidim/enhanced_textwork/collaborative_drafts/_accept_request_access_form.html.erb +8 -0
- data/app/views/decidim/enhanced_textwork/collaborative_drafts/_collaborative_drafts.html.erb +16 -0
- data/app/views/decidim/enhanced_textwork/collaborative_drafts/_collaborator_requests.html.erb +20 -0
- data/app/views/decidim/enhanced_textwork/collaborative_drafts/_count.html.erb +1 -0
- data/app/views/decidim/enhanced_textwork/collaborative_drafts/_edit_form_fields.html.erb +83 -0
- data/app/views/decidim/enhanced_textwork/collaborative_drafts/_filters.html.erb +32 -0
- data/app/views/decidim/enhanced_textwork/collaborative_drafts/_filters_small_view.html.erb +18 -0
- data/app/views/decidim/enhanced_textwork/collaborative_drafts/_new_collaborative_draft_button.html.erb +11 -0
- data/app/views/decidim/enhanced_textwork/collaborative_drafts/_reject_request_access_form.html.erb +10 -0
- data/app/views/decidim/enhanced_textwork/collaborative_drafts/_request_access_form.html.erb +7 -0
- data/app/views/decidim/enhanced_textwork/collaborative_drafts/_wizard_aside.html.erb +13 -0
- data/app/views/decidim/enhanced_textwork/collaborative_drafts/_wizard_header.html.erb +14 -0
- data/app/views/decidim/enhanced_textwork/collaborative_drafts/edit.html.erb +31 -0
- data/app/views/decidim/enhanced_textwork/collaborative_drafts/index.html.erb +23 -0
- data/app/views/decidim/enhanced_textwork/collaborative_drafts/index.js.erb +10 -0
- data/app/views/decidim/enhanced_textwork/collaborative_drafts/new.html.erb +24 -0
- data/app/views/decidim/enhanced_textwork/collaborative_drafts/show.html.erb +128 -0
- data/app/views/decidim/enhanced_textwork/paragraph_votes/update_buttons_and_counters.js.erb +41 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/_count.html.erb +1 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/_dynamic_map_instructions.html.erb +4 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/_edit_form_fields.html.erb +115 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/_endorsements_card_row.html.erb +0 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/_filters.html.erb +48 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/_filters_small_view.html.erb +18 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/_linked_paragraphs.html.erb +34 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/_paragraph.html.erb +1 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/_paragraph_badge.html.erb +3 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/_paragraph_similar.html.erb +22 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/_paragraphs.html.erb +46 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/_remaining_votes_count.html.erb +3 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/_vote_button.html.erb +61 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/_votes_count.html.erb +18 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/_voting_rules.html.erb +50 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/_wizard_aside.html.erb +20 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/_wizard_header.html.erb +42 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/compare.html.erb +23 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/complete.html.erb +24 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/edit.html.erb +31 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/edit_draft.html.erb +26 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/index.html.erb +56 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/index.js.erb +10 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/new.html.erb +38 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/participatory_texts/_index.html.erb +20 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/participatory_texts/_overview.html.erb +35 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/participatory_texts/_paragraph_vote_button.html.erb +53 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/participatory_texts/_paragraph_vote_button_chevron.html.erb +72 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/participatory_texts/_paragraph_votes_count.html.erb +41 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/participatory_texts/_view_index.html.erb +10 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/participatory_texts/participatory_text.html.erb +29 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/preview.html.erb +41 -0
- data/app/views/decidim/enhanced_textwork/paragraphs/show.html.erb +143 -0
- data/app/views/decidim/enhanced_textwork/versions/index.html.erb +16 -0
- data/app/views/decidim/enhanced_textwork/versions/show.html.erb +18 -0
- data/config/assets.rb +10 -0
- data/config/locales/de.yml +927 -0
- data/config/locales/en.yml +967 -0
- data/config/locales/todo/am-ET.yml +1 -0
- data/config/locales/todo/ar-SA.yml +801 -0
- data/config/locales/todo/ar.yml +791 -0
- data/config/locales/todo/bg-BG.yml +237 -0
- data/config/locales/todo/bg.yml +238 -0
- data/config/locales/todo/ca.yml +908 -0
- data/config/locales/todo/cs-CZ.yml +787 -0
- data/config/locales/todo/cs.yml +969 -0
- data/config/locales/todo/da-DK.yml +1 -0
- data/config/locales/todo/da.yml +1 -0
- data/config/locales/todo/el-GR.yml +1 -0
- data/config/locales/todo/el.yml +848 -0
- data/config/locales/todo/eo-UY.yml +1 -0
- data/config/locales/todo/eo.yml +1 -0
- data/config/locales/todo/es-MX.yml +908 -0
- data/config/locales/todo/es-PY.yml +908 -0
- data/config/locales/todo/es.yml +908 -0
- data/config/locales/todo/et-EE.yml +1 -0
- data/config/locales/todo/et.yml +1 -0
- data/config/locales/todo/eu.yml +717 -0
- data/config/locales/todo/fi-pl.yml +763 -0
- data/config/locales/todo/fi-plain.yml +920 -0
- data/config/locales/todo/fi.yml +920 -0
- data/config/locales/todo/fr-CA.yml +936 -0
- data/config/locales/todo/fr-LU.yml +903 -0
- data/config/locales/todo/fr.yml +936 -0
- data/config/locales/todo/ga-IE.yml +275 -0
- data/config/locales/todo/gl.yml +808 -0
- data/config/locales/todo/hr-HR.yml +1 -0
- data/config/locales/todo/hr.yml +1 -0
- data/config/locales/todo/hu.yml +847 -0
- data/config/locales/todo/id-ID.yml +704 -0
- data/config/locales/todo/is-IS.yml +269 -0
- data/config/locales/todo/is.yml +274 -0
- data/config/locales/todo/it.yml +908 -0
- data/config/locales/todo/ja.yml +922 -0
- data/config/locales/todo/ko-KR.yml +1 -0
- data/config/locales/todo/ko.yml +1 -0
- data/config/locales/todo/lb-LU.yml +1 -0
- data/config/locales/todo/lb.yml +40 -0
- data/config/locales/todo/lt-LT.yml +1 -0
- data/config/locales/todo/lt.yml +1 -0
- data/config/locales/todo/lv.yml +838 -0
- data/config/locales/todo/mt-MT.yml +1 -0
- data/config/locales/todo/mt.yml +1 -0
- data/config/locales/todo/nl.yml +882 -0
- data/config/locales/todo/no.yml +770 -0
- data/config/locales/todo/om-ET.yml +1 -0
- data/config/locales/todo/pl.yml +927 -0
- data/config/locales/todo/pt-BR.yml +908 -0
- data/config/locales/todo/pt.yml +945 -0
- data/config/locales/todo/ro-RO.yml +886 -0
- data/config/locales/todo/ru.yml +379 -0
- data/config/locales/todo/si-LK.yml +1 -0
- data/config/locales/todo/sk-SK.yml +896 -0
- data/config/locales/todo/sk.yml +851 -0
- data/config/locales/todo/sl.yml +26 -0
- data/config/locales/todo/so-SO.yml +1 -0
- data/config/locales/todo/sr-CS.yml +125 -0
- data/config/locales/todo/sv.yml +908 -0
- data/config/locales/todo/sw-KE.yml +1 -0
- data/config/locales/todo/ti-ER.yml +1 -0
- data/config/locales/todo/tr-TR.yml +890 -0
- data/config/locales/todo/uk.yml +379 -0
- data/config/locales/todo/vi-VN.yml +1 -0
- data/config/locales/todo/vi.yml +1 -0
- data/config/locales/todo/zh-CN.yml +857 -0
- data/config/locales/todo/zh-TW.yml +1 -0
- data/db/migrate/20161212110850_create_decidim_paragraphs.rb +16 -0
- data/db/migrate/20170112115253_create_paragraph_votes.rb +14 -0
- data/db/migrate/20170113114245_add_enhanced_textwork_text_search_indexes.rb +8 -0
- data/db/migrate/20170118120151_add_counter_cache_votes_to_paragraphs.rb +7 -0
- data/db/migrate/20170120151202_add_user_group_id_to_paragraphs.rb +7 -0
- data/db/migrate/20170131092413_add_answers_to_paragraphs.rb +9 -0
- data/db/migrate/20170205082832_add_index_to_decidim_enhanced_textwork_paragraphs_paragraph_votes_count.rb +9 -0
- data/db/migrate/20170215113152_create_paragraph_reports.rb +16 -0
- data/db/migrate/20170215131720_add_report_count_to_paragraphs.rb +7 -0
- data/db/migrate/20170215132030_add_reference_to_paragraphs.rb +13 -0
- data/db/migrate/20170220152416_add_hidden_at_to_paragraphs.rb +7 -0
- data/db/migrate/20170228105156_add_geolocalization_fields_to_paragraphs.rb +9 -0
- data/db/migrate/20170307085300_migrate_paragraph_reports_data_to_reports.rb +24 -0
- data/db/migrate/20170410073742_remove_not_null_reference_paragraphs.rb +7 -0
- data/db/migrate/20170612101809_migrate_paragraphs_category.rb +15 -0
- data/db/migrate/20171201115434_create_paragraph_endorsements.rb +16 -0
- data/db/migrate/20171201122623_add_counter_cache_endorsements_to_paragraphs.rb +8 -0
- data/db/migrate/20171212102250_enable_pg_trgm_extension_for_paragraphs.rb +18 -0
- data/db/migrate/20171220084719_add_published_at_to_paragraphs.rb +14 -0
- data/db/migrate/20180111110204_create_decidim_paragraph_notes.rb +15 -0
- data/db/migrate/20180115155220_add_index_created_at_paragraph_notes.rb +7 -0
- data/db/migrate/20180305133811_rename_features_to_components_at_paragraphs.rb +11 -0
- data/db/migrate/20180326091532_create_decidim_enhanced_textwork_collaborative_drafts.rb +29 -0
- data/db/migrate/20180413135249_fix_nil_threshold_per_paragraph.rb +18 -0
- data/db/migrate/20180529101323_add_counter_cache_coauthorships_to_paragraphs.rb +8 -0
- data/db/migrate/20180529110230_move_enhanced_textwork_authorships_to_coauthorships.rb +28 -0
- data/db/migrate/20180529110830_remove_authorships_from_paragraphs.rb +8 -0
- data/db/migrate/20180613151121_create_enhanced_textwork_collaborative_draft_collaborator_requests.rb +12 -0
- data/db/migrate/20180711074134_add_enhanced_textwork_counter_cache_coauthorships_to_collaborative_drafts.rb +7 -0
- data/db/migrate/20180711075004_remove_index_counter_cache_coauthorships_to_paragraphs.rb +7 -0
- data/db/migrate/20180927111721_create_enhanced_textwork_participatory_texts.rb +13 -0
- data/db/migrate/20180930125321_add_participatory_text_level_to_paragraphs.rb +7 -0
- data/db/migrate/20180930125321_add_position_to_paragraphs.rb +7 -0
- data/db/migrate/20181003074440_fix_user_groups_ids_in_paragraphs_endorsements.rb +20 -0
- data/db/migrate/20181010114622_add_enhanced_textwork_temporary_votes.rb +9 -0
- data/db/migrate/20181016132225_add_enhanced_textwork_organization_as_author.rb +13 -0
- data/db/migrate/20181017084221_make_author_polymorhpic_for_paragraph_endorsements.rb +31 -0
- data/db/migrate/20181026073215_add_enhanced_textwork_created_in_meeting.rb +7 -0
- data/db/migrate/20190215113158_use_enhanced_textwork_md5_indexes.rb +17 -0
- data/db/migrate/20191206154128_add_endorsements_counter_cache_to_paragraphs.rb +7 -0
- data/db/migrate/20200120215928_move_paragraph_endorsements_to_core_endorsements.rb +54 -0
- data/db/migrate/20200120230130_drop_paragraph_endorsements.rb +8 -0
- data/db/migrate/20200203111239_add_paragraph_valuation_assignments.rb +12 -0
- data/db/migrate/20200210135152_add_costs_to_paragraphs.rb +9 -0
- data/db/migrate/20200212120110_sync_paragraphs_state_with_amendments_state.rb +28 -0
- data/db/migrate/20200227175922_add_state_published_at_to_paragraphs.rb +7 -0
- data/db/migrate/20200306123652_publish_existing_paragraphs_state.rb +15 -0
- data/db/migrate/20200708091228_move_paragraphs_fields_to_i18n.rb +86 -0
- data/db/migrate/20200730131631_move_paragraph_endorsed_event_notifications_to_resource_endorsed_event.rb +20 -0
- data/db/migrate/20200827154156_add_commentable_counter_cache_to_paragraphs.rb +12 -0
- data/db/migrate/20201002085508_fix_paragraphs_data.rb +36 -0
- data/db/migrate/20210127115628_fix_answered_paragraphs_after_copy.rb +14 -0
- data/db/migrate/20210310102839_add_followable_counter_cache_to_paragraphs.rb +16 -0
- data/db/migrate/20210310120812_add_enhanced_textwork_followable_counter_cache_to_collaborative_drafts.rb +16 -0
- data/db/migrate/20210318082934_fix_counters_for_copied_paragraphs.rb +19 -0
- data/lib/decidim/api/paragraph_input_filter.rb +29 -0
- data/lib/decidim/api/paragraph_input_sort.rb +20 -0
- data/lib/decidim/api/paragraph_type.rb +56 -0
- data/lib/decidim/api/paragraphs_type.rb +43 -0
- data/lib/decidim/content_parsers/paragraph_parser.rb +101 -0
- data/lib/decidim/content_renderers/paragraph_renderer.rb +33 -0
- data/lib/decidim/enhanced_textwork/admin.rb +10 -0
- data/lib/decidim/enhanced_textwork/admin_engine.rb +52 -0
- data/lib/decidim/enhanced_textwork/api.rb +10 -0
- data/lib/decidim/enhanced_textwork/commentable_collaborative_draft.rb +38 -0
- data/lib/decidim/enhanced_textwork/commentable_paragraph.rb +36 -0
- data/lib/decidim/enhanced_textwork/component.rb +448 -0
- data/lib/decidim/enhanced_textwork/doc_to_markdown.rb +50 -0
- data/lib/decidim/enhanced_textwork/engine.rb +204 -0
- data/lib/decidim/enhanced_textwork/html_to_markdown.rb +22 -0
- data/lib/decidim/enhanced_textwork/markdown_to_paragraphs.rb +153 -0
- data/lib/decidim/enhanced_textwork/odt_to_markdown.rb +46 -0
- data/lib/decidim/enhanced_textwork/paragraph_creator.rb +98 -0
- data/lib/decidim/enhanced_textwork/paragraph_serializer.rb +95 -0
- data/lib/decidim/enhanced_textwork/participatory_text_section.rb +21 -0
- data/lib/decidim/enhanced_textwork/test/capybara_paragraphs_picker.rb +59 -0
- data/lib/decidim/enhanced_textwork/test/factories.rb +492 -0
- data/lib/decidim/enhanced_textwork/valuatable.rb +21 -0
- data/lib/decidim/enhanced_textwork/version.rb +14 -0
- data/lib/decidim/enhanced_textwork.rb +58 -0
- data/lib/decidim/exporters/word.rb +309 -0
- metadata +704 -0
metadata
ADDED
@@ -0,0 +1,704 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: decidim-enhanced_textwork
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Alexander Rusa
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-01-20 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: commonlit-caracal
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.7.2
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.7.2
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: decidim-comments
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.25'
|
34
|
+
- - "<="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '0.26'
|
37
|
+
type: :runtime
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0.25'
|
44
|
+
- - "<="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0.26'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: decidim-core
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.25'
|
54
|
+
- - "<="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '0.26'
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0.25'
|
64
|
+
- - "<="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0.26'
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: doc2text
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - "~>"
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: 0.4.3
|
74
|
+
type: :runtime
|
75
|
+
prerelease: false
|
76
|
+
version_requirements: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - "~>"
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: 0.4.3
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: redcarpet
|
83
|
+
requirement: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - "~>"
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '3.5'
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: 3.5.1
|
91
|
+
type: :runtime
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - "~>"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '3.5'
|
98
|
+
- - ">="
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: 3.5.1
|
101
|
+
- !ruby/object:Gem::Dependency
|
102
|
+
name: docx
|
103
|
+
requirement: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - "~>"
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: 0.6.2
|
108
|
+
type: :runtime
|
109
|
+
prerelease: false
|
110
|
+
version_requirements: !ruby/object:Gem::Requirement
|
111
|
+
requirements:
|
112
|
+
- - "~>"
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: 0.6.2
|
115
|
+
- !ruby/object:Gem::Dependency
|
116
|
+
name: decidim-admin
|
117
|
+
requirement: !ruby/object:Gem::Requirement
|
118
|
+
requirements:
|
119
|
+
- - ">="
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '0.25'
|
122
|
+
- - "<="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0.26'
|
125
|
+
type: :development
|
126
|
+
prerelease: false
|
127
|
+
version_requirements: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0.25'
|
132
|
+
- - "<="
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: '0.26'
|
135
|
+
- !ruby/object:Gem::Dependency
|
136
|
+
name: decidim-assemblies
|
137
|
+
requirement: !ruby/object:Gem::Requirement
|
138
|
+
requirements:
|
139
|
+
- - ">="
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0.25'
|
142
|
+
- - "<="
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '0.26'
|
145
|
+
type: :development
|
146
|
+
prerelease: false
|
147
|
+
version_requirements: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - ">="
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '0.25'
|
152
|
+
- - "<="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '0.26'
|
155
|
+
- !ruby/object:Gem::Dependency
|
156
|
+
name: decidim-budgets
|
157
|
+
requirement: !ruby/object:Gem::Requirement
|
158
|
+
requirements:
|
159
|
+
- - ">="
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: '0.25'
|
162
|
+
- - "<="
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '0.26'
|
165
|
+
type: :development
|
166
|
+
prerelease: false
|
167
|
+
version_requirements: !ruby/object:Gem::Requirement
|
168
|
+
requirements:
|
169
|
+
- - ">="
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: '0.25'
|
172
|
+
- - "<="
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '0.26'
|
175
|
+
- !ruby/object:Gem::Dependency
|
176
|
+
name: decidim-dev
|
177
|
+
requirement: !ruby/object:Gem::Requirement
|
178
|
+
requirements:
|
179
|
+
- - ">="
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '0.25'
|
182
|
+
- - "<="
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: '0.26'
|
185
|
+
type: :development
|
186
|
+
prerelease: false
|
187
|
+
version_requirements: !ruby/object:Gem::Requirement
|
188
|
+
requirements:
|
189
|
+
- - ">="
|
190
|
+
- !ruby/object:Gem::Version
|
191
|
+
version: '0.25'
|
192
|
+
- - "<="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0.26'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: decidim-meetings
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0.25'
|
202
|
+
- - "<="
|
203
|
+
- !ruby/object:Gem::Version
|
204
|
+
version: '0.26'
|
205
|
+
type: :development
|
206
|
+
prerelease: false
|
207
|
+
version_requirements: !ruby/object:Gem::Requirement
|
208
|
+
requirements:
|
209
|
+
- - ">="
|
210
|
+
- !ruby/object:Gem::Version
|
211
|
+
version: '0.25'
|
212
|
+
- - "<="
|
213
|
+
- !ruby/object:Gem::Version
|
214
|
+
version: '0.26'
|
215
|
+
- !ruby/object:Gem::Dependency
|
216
|
+
name: decidim-participatory_processes
|
217
|
+
requirement: !ruby/object:Gem::Requirement
|
218
|
+
requirements:
|
219
|
+
- - ">="
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '0.25'
|
222
|
+
- - "<="
|
223
|
+
- !ruby/object:Gem::Version
|
224
|
+
version: '0.26'
|
225
|
+
type: :development
|
226
|
+
prerelease: false
|
227
|
+
version_requirements: !ruby/object:Gem::Requirement
|
228
|
+
requirements:
|
229
|
+
- - ">="
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
version: '0.25'
|
232
|
+
- - "<="
|
233
|
+
- !ruby/object:Gem::Version
|
234
|
+
version: '0.26'
|
235
|
+
description: A text work component for decidim's participatory spaces.
|
236
|
+
email:
|
237
|
+
- alex@rusa.at
|
238
|
+
executables: []
|
239
|
+
extensions: []
|
240
|
+
extra_rdoc_files: []
|
241
|
+
files:
|
242
|
+
- README.md
|
243
|
+
- Rakefile
|
244
|
+
- app/cells/decidim/enhanced_textwork/amendment/show.erb
|
245
|
+
- app/cells/decidim/enhanced_textwork/amendment_cell.rb
|
246
|
+
- app/cells/decidim/enhanced_textwork/collaborative_draft_cell.rb
|
247
|
+
- app/cells/decidim/enhanced_textwork/collaborative_draft_link_to_paragraph/show.erb
|
248
|
+
- app/cells/decidim/enhanced_textwork/collaborative_draft_link_to_paragraph_cell.rb
|
249
|
+
- app/cells/decidim/enhanced_textwork/collaborative_draft_m/footer.erb
|
250
|
+
- app/cells/decidim/enhanced_textwork/collaborative_draft_m/tags.erb
|
251
|
+
- app/cells/decidim/enhanced_textwork/collaborative_draft_m_cell.rb
|
252
|
+
- app/cells/decidim/enhanced_textwork/collaborative_drafts/reported_content/show.erb
|
253
|
+
- app/cells/decidim/enhanced_textwork/collaborative_drafts/reported_content_cell.rb
|
254
|
+
- app/cells/decidim/enhanced_textwork/comments/show.erb
|
255
|
+
- app/cells/decidim/enhanced_textwork/comments_cell.rb
|
256
|
+
- app/cells/decidim/enhanced_textwork/content_blocks/highlighted_paragraphs/elements.erb
|
257
|
+
- app/cells/decidim/enhanced_textwork/content_blocks/highlighted_paragraphs/heading.erb
|
258
|
+
- app/cells/decidim/enhanced_textwork/content_blocks/highlighted_paragraphs_cell.rb
|
259
|
+
- app/cells/decidim/enhanced_textwork/cost_report/show.erb
|
260
|
+
- app/cells/decidim/enhanced_textwork/cost_report_cell.rb
|
261
|
+
- app/cells/decidim/enhanced_textwork/highlighted_paragraphs/show.erb
|
262
|
+
- app/cells/decidim/enhanced_textwork/highlighted_paragraphs_cell.rb
|
263
|
+
- app/cells/decidim/enhanced_textwork/highlighted_paragraphs_for_component/show.erb
|
264
|
+
- app/cells/decidim/enhanced_textwork/highlighted_paragraphs_for_component_cell.rb
|
265
|
+
- app/cells/decidim/enhanced_textwork/irreversible_action_modal/show.erb
|
266
|
+
- app/cells/decidim/enhanced_textwork/irreversible_action_modal_cell.rb
|
267
|
+
- app/cells/decidim/enhanced_textwork/paragraph_activity_cell.rb
|
268
|
+
- app/cells/decidim/enhanced_textwork/paragraph_cell.rb
|
269
|
+
- app/cells/decidim/enhanced_textwork/paragraph_link_to_collaborative_draft_cell.rb
|
270
|
+
- app/cells/decidim/enhanced_textwork/paragraph_link_to_rejected_emendation/show.erb
|
271
|
+
- app/cells/decidim/enhanced_textwork/paragraph_link_to_rejected_emendation_cell.rb
|
272
|
+
- app/cells/decidim/enhanced_textwork/paragraph_linked_resources/show.erb
|
273
|
+
- app/cells/decidim/enhanced_textwork/paragraph_linked_resources_cell.rb
|
274
|
+
- app/cells/decidim/enhanced_textwork/paragraph_m/footer.erb
|
275
|
+
- app/cells/decidim/enhanced_textwork/paragraph_m/tags.erb
|
276
|
+
- app/cells/decidim/enhanced_textwork/paragraph_m_cell.rb
|
277
|
+
- app/cells/decidim/enhanced_textwork/paragraph_tags/show.erb
|
278
|
+
- app/cells/decidim/enhanced_textwork/paragraph_tags_cell.rb
|
279
|
+
- app/cells/decidim/enhanced_textwork/paragraphs_picker/paragraphs.erb
|
280
|
+
- app/cells/decidim/enhanced_textwork/paragraphs_picker/show.erb
|
281
|
+
- app/cells/decidim/enhanced_textwork/paragraphs_picker_cell.rb
|
282
|
+
- app/cells/decidim/enhanced_textwork/participatory_text_paragraph/buttons.erb
|
283
|
+
- app/cells/decidim/enhanced_textwork/participatory_text_paragraph/show.erb
|
284
|
+
- app/cells/decidim/enhanced_textwork/participatory_text_paragraph_cell.rb
|
285
|
+
- app/cells/decidim/enhanced_textwork/reported_content/show.erb
|
286
|
+
- app/cells/decidim/enhanced_textwork/reported_content_cell.rb
|
287
|
+
- app/commands/decidim/enhanced_textwork/accept_access_to_collaborative_draft.rb
|
288
|
+
- app/commands/decidim/enhanced_textwork/admin/answer_paragraph.rb
|
289
|
+
- app/commands/decidim/enhanced_textwork/admin/assign_paragraphs_to_valuator.rb
|
290
|
+
- app/commands/decidim/enhanced_textwork/admin/create_paragraph.rb
|
291
|
+
- app/commands/decidim/enhanced_textwork/admin/create_paragraph_note.rb
|
292
|
+
- app/commands/decidim/enhanced_textwork/admin/destroy_paragraph.rb
|
293
|
+
- app/commands/decidim/enhanced_textwork/admin/discard_participatory_text.rb
|
294
|
+
- app/commands/decidim/enhanced_textwork/admin/import_from_editor_participatory_text.rb
|
295
|
+
- app/commands/decidim/enhanced_textwork/admin/import_paragraphs.rb
|
296
|
+
- app/commands/decidim/enhanced_textwork/admin/import_participatory_text.rb
|
297
|
+
- app/commands/decidim/enhanced_textwork/admin/merge_paragraphs.rb
|
298
|
+
- app/commands/decidim/enhanced_textwork/admin/notify_paragraph_answer.rb
|
299
|
+
- app/commands/decidim/enhanced_textwork/admin/publish_answers.rb
|
300
|
+
- app/commands/decidim/enhanced_textwork/admin/publish_participatory_text.rb
|
301
|
+
- app/commands/decidim/enhanced_textwork/admin/split_paragraphs.rb
|
302
|
+
- app/commands/decidim/enhanced_textwork/admin/unassign_paragraphs_from_valuator.rb
|
303
|
+
- app/commands/decidim/enhanced_textwork/admin/update_paragraph.rb
|
304
|
+
- app/commands/decidim/enhanced_textwork/admin/update_paragraph_category.rb
|
305
|
+
- app/commands/decidim/enhanced_textwork/admin/update_paragraph_scope.rb
|
306
|
+
- app/commands/decidim/enhanced_textwork/admin/update_participatory_text.rb
|
307
|
+
- app/commands/decidim/enhanced_textwork/create_collaborative_draft.rb
|
308
|
+
- app/commands/decidim/enhanced_textwork/create_paragraph.rb
|
309
|
+
- app/commands/decidim/enhanced_textwork/destroy_paragraph.rb
|
310
|
+
- app/commands/decidim/enhanced_textwork/gallery_methods.rb
|
311
|
+
- app/commands/decidim/enhanced_textwork/hashtags_methods.rb
|
312
|
+
- app/commands/decidim/enhanced_textwork/publish_collaborative_draft.rb
|
313
|
+
- app/commands/decidim/enhanced_textwork/publish_paragraph.rb
|
314
|
+
- app/commands/decidim/enhanced_textwork/reject_access_to_collaborative_draft.rb
|
315
|
+
- app/commands/decidim/enhanced_textwork/request_access_to_collaborative_draft.rb
|
316
|
+
- app/commands/decidim/enhanced_textwork/unvote_paragraph.rb
|
317
|
+
- app/commands/decidim/enhanced_textwork/update_collaborative_draft.rb
|
318
|
+
- app/commands/decidim/enhanced_textwork/update_paragraph.rb
|
319
|
+
- app/commands/decidim/enhanced_textwork/vote_paragraph.rb
|
320
|
+
- app/commands/decidim/enhanced_textwork/withdraw_collaborative_draft.rb
|
321
|
+
- app/commands/decidim/enhanced_textwork/withdraw_paragraph.rb
|
322
|
+
- app/controllers/concerns/decidim/enhanced_textwork/admin/filterable.rb
|
323
|
+
- app/controllers/concerns/decidim/enhanced_textwork/admin/picker.rb
|
324
|
+
- app/controllers/concerns/decidim/enhanced_textwork/collaborative_orderable.rb
|
325
|
+
- app/controllers/concerns/decidim/enhanced_textwork/orderable.rb
|
326
|
+
- app/controllers/decidim/enhanced_textwork/admin/application_controller.rb
|
327
|
+
- app/controllers/decidim/enhanced_textwork/admin/paragraph_answers_controller.rb
|
328
|
+
- app/controllers/decidim/enhanced_textwork/admin/paragraph_notes_controller.rb
|
329
|
+
- app/controllers/decidim/enhanced_textwork/admin/paragraphs_controller.rb
|
330
|
+
- app/controllers/decidim/enhanced_textwork/admin/paragraphs_imports_controller.rb
|
331
|
+
- app/controllers/decidim/enhanced_textwork/admin/paragraphs_merges_controller.rb
|
332
|
+
- app/controllers/decidim/enhanced_textwork/admin/paragraphs_splits_controller.rb
|
333
|
+
- app/controllers/decidim/enhanced_textwork/admin/participatory_texts_controller.rb
|
334
|
+
- app/controllers/decidim/enhanced_textwork/admin/valuation_assignments_controller.rb
|
335
|
+
- app/controllers/decidim/enhanced_textwork/application_controller.rb
|
336
|
+
- app/controllers/decidim/enhanced_textwork/collaborative_draft_collaborator_requests_controller.rb
|
337
|
+
- app/controllers/decidim/enhanced_textwork/collaborative_drafts_controller.rb
|
338
|
+
- app/controllers/decidim/enhanced_textwork/paragraph_votes_controller.rb
|
339
|
+
- app/controllers/decidim/enhanced_textwork/paragraphs_controller.rb
|
340
|
+
- app/controllers/decidim/enhanced_textwork/versions_controller.rb
|
341
|
+
- app/controllers/decidim/enhanced_textwork/widgets_controller.rb
|
342
|
+
- app/events/decidim/enhanced_textwork/accepted_paragraph_event.rb
|
343
|
+
- app/events/decidim/enhanced_textwork/admin/paragraph_note_created_event.rb
|
344
|
+
- app/events/decidim/enhanced_textwork/admin/update_paragraph_category_event.rb
|
345
|
+
- app/events/decidim/enhanced_textwork/admin/update_paragraph_scope_event.rb
|
346
|
+
- app/events/decidim/enhanced_textwork/collaborative_draft_access_accepted_event.rb
|
347
|
+
- app/events/decidim/enhanced_textwork/collaborative_draft_access_rejected_event.rb
|
348
|
+
- app/events/decidim/enhanced_textwork/collaborative_draft_access_request_event.rb
|
349
|
+
- app/events/decidim/enhanced_textwork/collaborative_draft_access_requested_event.rb
|
350
|
+
- app/events/decidim/enhanced_textwork/collaborative_draft_access_requester_accepted_event.rb
|
351
|
+
- app/events/decidim/enhanced_textwork/collaborative_draft_access_requester_rejected_event.rb
|
352
|
+
- app/events/decidim/enhanced_textwork/collaborative_draft_withdrawn_event.rb
|
353
|
+
- app/events/decidim/enhanced_textwork/creation_enabled_event.rb
|
354
|
+
- app/events/decidim/enhanced_textwork/endorsing_enabled_event.rb
|
355
|
+
- app/events/decidim/enhanced_textwork/evaluating_paragraph_event.rb
|
356
|
+
- app/events/decidim/enhanced_textwork/paragraph_endorsed_event.rb
|
357
|
+
- app/events/decidim/enhanced_textwork/paragraph_mentioned_event.rb
|
358
|
+
- app/events/decidim/enhanced_textwork/publish_paragraph_event.rb
|
359
|
+
- app/events/decidim/enhanced_textwork/rejected_paragraph_event.rb
|
360
|
+
- app/events/decidim/enhanced_textwork/voting_enabled_event.rb
|
361
|
+
- app/forms/decidim/enhanced_textwork/accept_access_to_collaborative_draft_form.rb
|
362
|
+
- app/forms/decidim/enhanced_textwork/access_to_collaborative_draft_form.rb
|
363
|
+
- app/forms/decidim/enhanced_textwork/admin/import_editor_participatory_text_form.rb
|
364
|
+
- app/forms/decidim/enhanced_textwork/admin/import_participatory_text_form.rb
|
365
|
+
- app/forms/decidim/enhanced_textwork/admin/paragraph_answer_form.rb
|
366
|
+
- app/forms/decidim/enhanced_textwork/admin/paragraph_base_form.rb
|
367
|
+
- app/forms/decidim/enhanced_textwork/admin/paragraph_form.rb
|
368
|
+
- app/forms/decidim/enhanced_textwork/admin/paragraph_note_form.rb
|
369
|
+
- app/forms/decidim/enhanced_textwork/admin/paragraphs_fork_form.rb
|
370
|
+
- app/forms/decidim/enhanced_textwork/admin/paragraphs_import_form.rb
|
371
|
+
- app/forms/decidim/enhanced_textwork/admin/paragraphs_merge_form.rb
|
372
|
+
- app/forms/decidim/enhanced_textwork/admin/paragraphs_split_form.rb
|
373
|
+
- app/forms/decidim/enhanced_textwork/admin/participatory_text_paragraph_form.rb
|
374
|
+
- app/forms/decidim/enhanced_textwork/admin/preview_participatory_text_form.rb
|
375
|
+
- app/forms/decidim/enhanced_textwork/admin/valuation_assignment_form.rb
|
376
|
+
- app/forms/decidim/enhanced_textwork/collaborative_draft_form.rb
|
377
|
+
- app/forms/decidim/enhanced_textwork/paragraph_form.rb
|
378
|
+
- app/forms/decidim/enhanced_textwork/paragraph_wizard_create_step_form.rb
|
379
|
+
- app/forms/decidim/enhanced_textwork/reject_access_to_collaborative_draft_form.rb
|
380
|
+
- app/forms/decidim/enhanced_textwork/request_access_to_collaborative_draft_form.rb
|
381
|
+
- app/helpers/decidim/enhanced_textwork/admin/filterable_helper.rb
|
382
|
+
- app/helpers/decidim/enhanced_textwork/admin/paragraph_bulk_actions_helper.rb
|
383
|
+
- app/helpers/decidim/enhanced_textwork/admin/paragraph_rankings_helper.rb
|
384
|
+
- app/helpers/decidim/enhanced_textwork/admin/paragraphs_helper.rb
|
385
|
+
- app/helpers/decidim/enhanced_textwork/admin/paragraphs_picker_helper.rb
|
386
|
+
- app/helpers/decidim/enhanced_textwork/application_helper.rb
|
387
|
+
- app/helpers/decidim/enhanced_textwork/collaborative_draft_cells_helper.rb
|
388
|
+
- app/helpers/decidim/enhanced_textwork/collaborative_draft_helper.rb
|
389
|
+
- app/helpers/decidim/enhanced_textwork/control_version_helper.rb
|
390
|
+
- app/helpers/decidim/enhanced_textwork/map_helper.rb
|
391
|
+
- app/helpers/decidim/enhanced_textwork/paragraph_cells_helper.rb
|
392
|
+
- app/helpers/decidim/enhanced_textwork/paragraph_votes_helper.rb
|
393
|
+
- app/helpers/decidim/enhanced_textwork/paragraph_wizard_helper.rb
|
394
|
+
- app/helpers/decidim/enhanced_textwork/paragraphs_helper.rb
|
395
|
+
- app/helpers/decidim/enhanced_textwork/participatory_texts_helper.rb
|
396
|
+
- app/jobs/decidim/enhanced_textwork/notify_paragraphs_mentioned_job.rb
|
397
|
+
- app/jobs/decidim/enhanced_textwork/settings_change_job.rb
|
398
|
+
- app/models/decidim/enhanced_textwork/application_record.rb
|
399
|
+
- app/models/decidim/enhanced_textwork/collaborative_draft.rb
|
400
|
+
- app/models/decidim/enhanced_textwork/collaborative_draft_collaborator_request.rb
|
401
|
+
- app/models/decidim/enhanced_textwork/paragraph.rb
|
402
|
+
- app/models/decidim/enhanced_textwork/paragraph_note.rb
|
403
|
+
- app/models/decidim/enhanced_textwork/paragraph_vote.rb
|
404
|
+
- app/models/decidim/enhanced_textwork/participatory_text.rb
|
405
|
+
- app/models/decidim/enhanced_textwork/valuation_assignment.rb
|
406
|
+
- app/packs/documents/decidim/enhanced_textwork/participatory_texts/participatory_text.md
|
407
|
+
- app/packs/documents/decidim/enhanced_textwork/participatory_texts/participatory_text.odt
|
408
|
+
- app/packs/entrypoints/decidim_enhanced_textwork.js
|
409
|
+
- app/packs/entrypoints/decidim_enhanced_textwork_admin.js
|
410
|
+
- app/packs/images/decidim/enhanced_textwork/decidim_paragraphs.svg
|
411
|
+
- app/packs/images/decidim/gamification/badges/decidim_gamification_badges_accepted_paragraphs.svg
|
412
|
+
- app/packs/images/decidim/gamification/badges/decidim_gamification_badges_paragraph_votes.svg
|
413
|
+
- app/packs/images/decidim/gamification/badges/decidim_gamification_badges_paragraphs.svg
|
414
|
+
- app/packs/src/decidim/enhanced_textwork/add_paragraph.js
|
415
|
+
- app/packs/src/decidim/enhanced_textwork/admin/paragraphs.js
|
416
|
+
- app/packs/src/decidim/enhanced_textwork/admin/paragraphs_form.js
|
417
|
+
- app/packs/src/decidim/enhanced_textwork/admin/paragraphs_picker.js
|
418
|
+
- app/packs/src/decidim/enhanced_textwork/toggle_element.js
|
419
|
+
- app/packs/src/decidim/enhanced_textwork/utils.js
|
420
|
+
- app/packs/stylesheets/decidim/enhanced_textwork/_paragraphs.scss
|
421
|
+
- app/packs/stylesheets/decidim/enhanced_textwork/paragraphs/_preview.scss
|
422
|
+
- app/permissions/decidim/enhanced_textwork/admin/permissions.rb
|
423
|
+
- app/permissions/decidim/enhanced_textwork/permissions.rb
|
424
|
+
- app/presenters/decidim/enhanced_textwork/admin_log/paragraph_note_presenter.rb
|
425
|
+
- app/presenters/decidim/enhanced_textwork/admin_log/paragraph_presenter.rb
|
426
|
+
- app/presenters/decidim/enhanced_textwork/admin_log/valuation_assignment_presenter.rb
|
427
|
+
- app/presenters/decidim/enhanced_textwork/admin_log/value_types/paragraph_state_presenter.rb
|
428
|
+
- app/presenters/decidim/enhanced_textwork/admin_log/value_types/paragraph_title_body_presenter.rb
|
429
|
+
- app/presenters/decidim/enhanced_textwork/admin_log/value_types/valuator_role_user_presenter.rb
|
430
|
+
- app/presenters/decidim/enhanced_textwork/collaborative_draft_presenter.rb
|
431
|
+
- app/presenters/decidim/enhanced_textwork/log/resource_presenter.rb
|
432
|
+
- app/presenters/decidim/enhanced_textwork/log/valuation_assignment_presenter.rb
|
433
|
+
- app/presenters/decidim/enhanced_textwork/official_author_presenter.rb
|
434
|
+
- app/presenters/decidim/enhanced_textwork/paragraph_presenter.rb
|
435
|
+
- app/queries/decidim/enhanced_textwork/filtered_paragraphs.rb
|
436
|
+
- app/queries/decidim/enhanced_textwork/metrics/accepted_paragraphs_metric_manage.rb
|
437
|
+
- app/queries/decidim/enhanced_textwork/metrics/endorsements_metric_manage.rb
|
438
|
+
- app/queries/decidim/enhanced_textwork/metrics/paragraph_followers_metric_measure.rb
|
439
|
+
- app/queries/decidim/enhanced_textwork/metrics/paragraph_participants_metric_measure.rb
|
440
|
+
- app/queries/decidim/enhanced_textwork/metrics/paragraphs_metric_manage.rb
|
441
|
+
- app/queries/decidim/enhanced_textwork/metrics/votes_metric_manage.rb
|
442
|
+
- app/queries/decidim/enhanced_textwork/similar_paragraphs.rb
|
443
|
+
- app/services/decidim/enhanced_textwork/collaborative_draft_search.rb
|
444
|
+
- app/services/decidim/enhanced_textwork/diff_renderer.rb
|
445
|
+
- app/services/decidim/enhanced_textwork/paragraph_builder.rb
|
446
|
+
- app/services/decidim/enhanced_textwork/paragraph_search.rb
|
447
|
+
- app/validators/paragraph_length_validator.rb
|
448
|
+
- app/views/decidim/enhanced_textwork/admin/paragraph_answers/_form.html.erb
|
449
|
+
- app/views/decidim/enhanced_textwork/admin/paragraph_notes/_form.html.erb
|
450
|
+
- app/views/decidim/enhanced_textwork/admin/paragraph_notes/_paragraph_notes.html.erb
|
451
|
+
- app/views/decidim/enhanced_textwork/admin/paragraphs/_bulk-actions.html.erb
|
452
|
+
- app/views/decidim/enhanced_textwork/admin/paragraphs/_form.html.erb
|
453
|
+
- app/views/decidim/enhanced_textwork/admin/paragraphs/_js-callout.html.erb
|
454
|
+
- app/views/decidim/enhanced_textwork/admin/paragraphs/_paragraph-tr.html.erb
|
455
|
+
- app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_assign_to_valuator.html.erb
|
456
|
+
- app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_dropdown.html.erb
|
457
|
+
- app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_merge.html.erb
|
458
|
+
- app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_publish_answers.html.erb
|
459
|
+
- app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_recategorize.html.erb
|
460
|
+
- app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_scope-change.html.erb
|
461
|
+
- app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_split.html.erb
|
462
|
+
- app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_unassign_from_valuator.html.erb
|
463
|
+
- app/views/decidim/enhanced_textwork/admin/paragraphs/edit.html.erb
|
464
|
+
- app/views/decidim/enhanced_textwork/admin/paragraphs/index.html.erb
|
465
|
+
- app/views/decidim/enhanced_textwork/admin/paragraphs/new.html.erb
|
466
|
+
- app/views/decidim/enhanced_textwork/admin/paragraphs/publish_answers.js.erb
|
467
|
+
- app/views/decidim/enhanced_textwork/admin/paragraphs/show.html.erb
|
468
|
+
- app/views/decidim/enhanced_textwork/admin/paragraphs/update_category.js.erb
|
469
|
+
- app/views/decidim/enhanced_textwork/admin/paragraphs/update_scope.js.erb
|
470
|
+
- app/views/decidim/enhanced_textwork/admin/paragraphs_imports/new.html.erb
|
471
|
+
- app/views/decidim/enhanced_textwork/admin/participatory_texts/_article-preview.html.erb
|
472
|
+
- app/views/decidim/enhanced_textwork/admin/participatory_texts/_bulk-actions.html.erb
|
473
|
+
- app/views/decidim/enhanced_textwork/admin/participatory_texts/index.html.erb
|
474
|
+
- app/views/decidim/enhanced_textwork/admin/participatory_texts/new_editor.html.erb
|
475
|
+
- app/views/decidim/enhanced_textwork/admin/participatory_texts/new_import.html.erb
|
476
|
+
- app/views/decidim/enhanced_textwork/collaborative_drafts/_accept_request_access_form.html.erb
|
477
|
+
- app/views/decidim/enhanced_textwork/collaborative_drafts/_collaborative_drafts.html.erb
|
478
|
+
- app/views/decidim/enhanced_textwork/collaborative_drafts/_collaborator_requests.html.erb
|
479
|
+
- app/views/decidim/enhanced_textwork/collaborative_drafts/_count.html.erb
|
480
|
+
- app/views/decidim/enhanced_textwork/collaborative_drafts/_edit_form_fields.html.erb
|
481
|
+
- app/views/decidim/enhanced_textwork/collaborative_drafts/_filters.html.erb
|
482
|
+
- app/views/decidim/enhanced_textwork/collaborative_drafts/_filters_small_view.html.erb
|
483
|
+
- app/views/decidim/enhanced_textwork/collaborative_drafts/_new_collaborative_draft_button.html.erb
|
484
|
+
- app/views/decidim/enhanced_textwork/collaborative_drafts/_reject_request_access_form.html.erb
|
485
|
+
- app/views/decidim/enhanced_textwork/collaborative_drafts/_request_access_form.html.erb
|
486
|
+
- app/views/decidim/enhanced_textwork/collaborative_drafts/_wizard_aside.html.erb
|
487
|
+
- app/views/decidim/enhanced_textwork/collaborative_drafts/_wizard_header.html.erb
|
488
|
+
- app/views/decidim/enhanced_textwork/collaborative_drafts/edit.html.erb
|
489
|
+
- app/views/decidim/enhanced_textwork/collaborative_drafts/index.html.erb
|
490
|
+
- app/views/decidim/enhanced_textwork/collaborative_drafts/index.js.erb
|
491
|
+
- app/views/decidim/enhanced_textwork/collaborative_drafts/new.html.erb
|
492
|
+
- app/views/decidim/enhanced_textwork/collaborative_drafts/show.html.erb
|
493
|
+
- app/views/decidim/enhanced_textwork/paragraph_votes/update_buttons_and_counters.js.erb
|
494
|
+
- app/views/decidim/enhanced_textwork/paragraphs/_count.html.erb
|
495
|
+
- app/views/decidim/enhanced_textwork/paragraphs/_dynamic_map_instructions.html.erb
|
496
|
+
- app/views/decidim/enhanced_textwork/paragraphs/_edit_form_fields.html.erb
|
497
|
+
- app/views/decidim/enhanced_textwork/paragraphs/_endorsements_card_row.html.erb
|
498
|
+
- app/views/decidim/enhanced_textwork/paragraphs/_filters.html.erb
|
499
|
+
- app/views/decidim/enhanced_textwork/paragraphs/_filters_small_view.html.erb
|
500
|
+
- app/views/decidim/enhanced_textwork/paragraphs/_linked_paragraphs.html.erb
|
501
|
+
- app/views/decidim/enhanced_textwork/paragraphs/_paragraph.html.erb
|
502
|
+
- app/views/decidim/enhanced_textwork/paragraphs/_paragraph_badge.html.erb
|
503
|
+
- app/views/decidim/enhanced_textwork/paragraphs/_paragraph_similar.html.erb
|
504
|
+
- app/views/decidim/enhanced_textwork/paragraphs/_paragraphs.html.erb
|
505
|
+
- app/views/decidim/enhanced_textwork/paragraphs/_remaining_votes_count.html.erb
|
506
|
+
- app/views/decidim/enhanced_textwork/paragraphs/_vote_button.html.erb
|
507
|
+
- app/views/decidim/enhanced_textwork/paragraphs/_votes_count.html.erb
|
508
|
+
- app/views/decidim/enhanced_textwork/paragraphs/_voting_rules.html.erb
|
509
|
+
- app/views/decidim/enhanced_textwork/paragraphs/_wizard_aside.html.erb
|
510
|
+
- app/views/decidim/enhanced_textwork/paragraphs/_wizard_header.html.erb
|
511
|
+
- app/views/decidim/enhanced_textwork/paragraphs/compare.html.erb
|
512
|
+
- app/views/decidim/enhanced_textwork/paragraphs/complete.html.erb
|
513
|
+
- app/views/decidim/enhanced_textwork/paragraphs/edit.html.erb
|
514
|
+
- app/views/decidim/enhanced_textwork/paragraphs/edit_draft.html.erb
|
515
|
+
- app/views/decidim/enhanced_textwork/paragraphs/index.html.erb
|
516
|
+
- app/views/decidim/enhanced_textwork/paragraphs/index.js.erb
|
517
|
+
- app/views/decidim/enhanced_textwork/paragraphs/new.html.erb
|
518
|
+
- app/views/decidim/enhanced_textwork/paragraphs/participatory_texts/_index.html.erb
|
519
|
+
- app/views/decidim/enhanced_textwork/paragraphs/participatory_texts/_overview.html.erb
|
520
|
+
- app/views/decidim/enhanced_textwork/paragraphs/participatory_texts/_paragraph_vote_button.html.erb
|
521
|
+
- app/views/decidim/enhanced_textwork/paragraphs/participatory_texts/_paragraph_vote_button_chevron.html.erb
|
522
|
+
- app/views/decidim/enhanced_textwork/paragraphs/participatory_texts/_paragraph_votes_count.html.erb
|
523
|
+
- app/views/decidim/enhanced_textwork/paragraphs/participatory_texts/_view_index.html.erb
|
524
|
+
- app/views/decidim/enhanced_textwork/paragraphs/participatory_texts/participatory_text.html.erb
|
525
|
+
- app/views/decidim/enhanced_textwork/paragraphs/preview.html.erb
|
526
|
+
- app/views/decidim/enhanced_textwork/paragraphs/show.html.erb
|
527
|
+
- app/views/decidim/enhanced_textwork/versions/index.html.erb
|
528
|
+
- app/views/decidim/enhanced_textwork/versions/show.html.erb
|
529
|
+
- config/assets.rb
|
530
|
+
- config/locales/de.yml
|
531
|
+
- config/locales/en.yml
|
532
|
+
- config/locales/todo/am-ET.yml
|
533
|
+
- config/locales/todo/ar-SA.yml
|
534
|
+
- config/locales/todo/ar.yml
|
535
|
+
- config/locales/todo/bg-BG.yml
|
536
|
+
- config/locales/todo/bg.yml
|
537
|
+
- config/locales/todo/ca.yml
|
538
|
+
- config/locales/todo/cs-CZ.yml
|
539
|
+
- config/locales/todo/cs.yml
|
540
|
+
- config/locales/todo/da-DK.yml
|
541
|
+
- config/locales/todo/da.yml
|
542
|
+
- config/locales/todo/el-GR.yml
|
543
|
+
- config/locales/todo/el.yml
|
544
|
+
- config/locales/todo/eo-UY.yml
|
545
|
+
- config/locales/todo/eo.yml
|
546
|
+
- config/locales/todo/es-MX.yml
|
547
|
+
- config/locales/todo/es-PY.yml
|
548
|
+
- config/locales/todo/es.yml
|
549
|
+
- config/locales/todo/et-EE.yml
|
550
|
+
- config/locales/todo/et.yml
|
551
|
+
- config/locales/todo/eu.yml
|
552
|
+
- config/locales/todo/fi-pl.yml
|
553
|
+
- config/locales/todo/fi-plain.yml
|
554
|
+
- config/locales/todo/fi.yml
|
555
|
+
- config/locales/todo/fr-CA.yml
|
556
|
+
- config/locales/todo/fr-LU.yml
|
557
|
+
- config/locales/todo/fr.yml
|
558
|
+
- config/locales/todo/ga-IE.yml
|
559
|
+
- config/locales/todo/gl.yml
|
560
|
+
- config/locales/todo/hr-HR.yml
|
561
|
+
- config/locales/todo/hr.yml
|
562
|
+
- config/locales/todo/hu.yml
|
563
|
+
- config/locales/todo/id-ID.yml
|
564
|
+
- config/locales/todo/is-IS.yml
|
565
|
+
- config/locales/todo/is.yml
|
566
|
+
- config/locales/todo/it.yml
|
567
|
+
- config/locales/todo/ja.yml
|
568
|
+
- config/locales/todo/ko-KR.yml
|
569
|
+
- config/locales/todo/ko.yml
|
570
|
+
- config/locales/todo/lb-LU.yml
|
571
|
+
- config/locales/todo/lb.yml
|
572
|
+
- config/locales/todo/lt-LT.yml
|
573
|
+
- config/locales/todo/lt.yml
|
574
|
+
- config/locales/todo/lv.yml
|
575
|
+
- config/locales/todo/mt-MT.yml
|
576
|
+
- config/locales/todo/mt.yml
|
577
|
+
- config/locales/todo/nl.yml
|
578
|
+
- config/locales/todo/no.yml
|
579
|
+
- config/locales/todo/om-ET.yml
|
580
|
+
- config/locales/todo/pl.yml
|
581
|
+
- config/locales/todo/pt-BR.yml
|
582
|
+
- config/locales/todo/pt.yml
|
583
|
+
- config/locales/todo/ro-RO.yml
|
584
|
+
- config/locales/todo/ru.yml
|
585
|
+
- config/locales/todo/si-LK.yml
|
586
|
+
- config/locales/todo/sk-SK.yml
|
587
|
+
- config/locales/todo/sk.yml
|
588
|
+
- config/locales/todo/sl.yml
|
589
|
+
- config/locales/todo/so-SO.yml
|
590
|
+
- config/locales/todo/sr-CS.yml
|
591
|
+
- config/locales/todo/sv.yml
|
592
|
+
- config/locales/todo/sw-KE.yml
|
593
|
+
- config/locales/todo/ti-ER.yml
|
594
|
+
- config/locales/todo/tr-TR.yml
|
595
|
+
- config/locales/todo/uk.yml
|
596
|
+
- config/locales/todo/vi-VN.yml
|
597
|
+
- config/locales/todo/vi.yml
|
598
|
+
- config/locales/todo/zh-CN.yml
|
599
|
+
- config/locales/todo/zh-TW.yml
|
600
|
+
- db/migrate/20161212110850_create_decidim_paragraphs.rb
|
601
|
+
- db/migrate/20170112115253_create_paragraph_votes.rb
|
602
|
+
- db/migrate/20170113114245_add_enhanced_textwork_text_search_indexes.rb
|
603
|
+
- db/migrate/20170118120151_add_counter_cache_votes_to_paragraphs.rb
|
604
|
+
- db/migrate/20170120151202_add_user_group_id_to_paragraphs.rb
|
605
|
+
- db/migrate/20170131092413_add_answers_to_paragraphs.rb
|
606
|
+
- db/migrate/20170205082832_add_index_to_decidim_enhanced_textwork_paragraphs_paragraph_votes_count.rb
|
607
|
+
- db/migrate/20170215113152_create_paragraph_reports.rb
|
608
|
+
- db/migrate/20170215131720_add_report_count_to_paragraphs.rb
|
609
|
+
- db/migrate/20170215132030_add_reference_to_paragraphs.rb
|
610
|
+
- db/migrate/20170220152416_add_hidden_at_to_paragraphs.rb
|
611
|
+
- db/migrate/20170228105156_add_geolocalization_fields_to_paragraphs.rb
|
612
|
+
- db/migrate/20170307085300_migrate_paragraph_reports_data_to_reports.rb
|
613
|
+
- db/migrate/20170410073742_remove_not_null_reference_paragraphs.rb
|
614
|
+
- db/migrate/20170612101809_migrate_paragraphs_category.rb
|
615
|
+
- db/migrate/20171201115434_create_paragraph_endorsements.rb
|
616
|
+
- db/migrate/20171201122623_add_counter_cache_endorsements_to_paragraphs.rb
|
617
|
+
- db/migrate/20171212102250_enable_pg_trgm_extension_for_paragraphs.rb
|
618
|
+
- db/migrate/20171220084719_add_published_at_to_paragraphs.rb
|
619
|
+
- db/migrate/20180111110204_create_decidim_paragraph_notes.rb
|
620
|
+
- db/migrate/20180115155220_add_index_created_at_paragraph_notes.rb
|
621
|
+
- db/migrate/20180305133811_rename_features_to_components_at_paragraphs.rb
|
622
|
+
- db/migrate/20180326091532_create_decidim_enhanced_textwork_collaborative_drafts.rb
|
623
|
+
- db/migrate/20180413135249_fix_nil_threshold_per_paragraph.rb
|
624
|
+
- db/migrate/20180529101323_add_counter_cache_coauthorships_to_paragraphs.rb
|
625
|
+
- db/migrate/20180529110230_move_enhanced_textwork_authorships_to_coauthorships.rb
|
626
|
+
- db/migrate/20180529110830_remove_authorships_from_paragraphs.rb
|
627
|
+
- db/migrate/20180613151121_create_enhanced_textwork_collaborative_draft_collaborator_requests.rb
|
628
|
+
- db/migrate/20180711074134_add_enhanced_textwork_counter_cache_coauthorships_to_collaborative_drafts.rb
|
629
|
+
- db/migrate/20180711075004_remove_index_counter_cache_coauthorships_to_paragraphs.rb
|
630
|
+
- db/migrate/20180927111721_create_enhanced_textwork_participatory_texts.rb
|
631
|
+
- db/migrate/20180930125321_add_participatory_text_level_to_paragraphs.rb
|
632
|
+
- db/migrate/20180930125321_add_position_to_paragraphs.rb
|
633
|
+
- db/migrate/20181003074440_fix_user_groups_ids_in_paragraphs_endorsements.rb
|
634
|
+
- db/migrate/20181010114622_add_enhanced_textwork_temporary_votes.rb
|
635
|
+
- db/migrate/20181016132225_add_enhanced_textwork_organization_as_author.rb
|
636
|
+
- db/migrate/20181017084221_make_author_polymorhpic_for_paragraph_endorsements.rb
|
637
|
+
- db/migrate/20181026073215_add_enhanced_textwork_created_in_meeting.rb
|
638
|
+
- db/migrate/20190215113158_use_enhanced_textwork_md5_indexes.rb
|
639
|
+
- db/migrate/20191206154128_add_endorsements_counter_cache_to_paragraphs.rb
|
640
|
+
- db/migrate/20200120215928_move_paragraph_endorsements_to_core_endorsements.rb
|
641
|
+
- db/migrate/20200120230130_drop_paragraph_endorsements.rb
|
642
|
+
- db/migrate/20200203111239_add_paragraph_valuation_assignments.rb
|
643
|
+
- db/migrate/20200210135152_add_costs_to_paragraphs.rb
|
644
|
+
- db/migrate/20200212120110_sync_paragraphs_state_with_amendments_state.rb
|
645
|
+
- db/migrate/20200227175922_add_state_published_at_to_paragraphs.rb
|
646
|
+
- db/migrate/20200306123652_publish_existing_paragraphs_state.rb
|
647
|
+
- db/migrate/20200708091228_move_paragraphs_fields_to_i18n.rb
|
648
|
+
- db/migrate/20200730131631_move_paragraph_endorsed_event_notifications_to_resource_endorsed_event.rb
|
649
|
+
- db/migrate/20200827154156_add_commentable_counter_cache_to_paragraphs.rb
|
650
|
+
- db/migrate/20201002085508_fix_paragraphs_data.rb
|
651
|
+
- db/migrate/20210127115628_fix_answered_paragraphs_after_copy.rb
|
652
|
+
- db/migrate/20210310102839_add_followable_counter_cache_to_paragraphs.rb
|
653
|
+
- db/migrate/20210310120812_add_enhanced_textwork_followable_counter_cache_to_collaborative_drafts.rb
|
654
|
+
- db/migrate/20210318082934_fix_counters_for_copied_paragraphs.rb
|
655
|
+
- lib/decidim/api/paragraph_input_filter.rb
|
656
|
+
- lib/decidim/api/paragraph_input_sort.rb
|
657
|
+
- lib/decidim/api/paragraph_type.rb
|
658
|
+
- lib/decidim/api/paragraphs_type.rb
|
659
|
+
- lib/decidim/content_parsers/paragraph_parser.rb
|
660
|
+
- lib/decidim/content_renderers/paragraph_renderer.rb
|
661
|
+
- lib/decidim/enhanced_textwork.rb
|
662
|
+
- lib/decidim/enhanced_textwork/admin.rb
|
663
|
+
- lib/decidim/enhanced_textwork/admin_engine.rb
|
664
|
+
- lib/decidim/enhanced_textwork/api.rb
|
665
|
+
- lib/decidim/enhanced_textwork/commentable_collaborative_draft.rb
|
666
|
+
- lib/decidim/enhanced_textwork/commentable_paragraph.rb
|
667
|
+
- lib/decidim/enhanced_textwork/component.rb
|
668
|
+
- lib/decidim/enhanced_textwork/doc_to_markdown.rb
|
669
|
+
- lib/decidim/enhanced_textwork/engine.rb
|
670
|
+
- lib/decidim/enhanced_textwork/html_to_markdown.rb
|
671
|
+
- lib/decidim/enhanced_textwork/markdown_to_paragraphs.rb
|
672
|
+
- lib/decidim/enhanced_textwork/odt_to_markdown.rb
|
673
|
+
- lib/decidim/enhanced_textwork/paragraph_creator.rb
|
674
|
+
- lib/decidim/enhanced_textwork/paragraph_serializer.rb
|
675
|
+
- lib/decidim/enhanced_textwork/participatory_text_section.rb
|
676
|
+
- lib/decidim/enhanced_textwork/test/capybara_paragraphs_picker.rb
|
677
|
+
- lib/decidim/enhanced_textwork/test/factories.rb
|
678
|
+
- lib/decidim/enhanced_textwork/valuatable.rb
|
679
|
+
- lib/decidim/enhanced_textwork/version.rb
|
680
|
+
- lib/decidim/exporters/word.rb
|
681
|
+
homepage: https://github.com/DecidimAustria/decidim-enhanced_textwork
|
682
|
+
licenses:
|
683
|
+
- AGPL-3.0
|
684
|
+
metadata: {}
|
685
|
+
post_install_message:
|
686
|
+
rdoc_options: []
|
687
|
+
require_paths:
|
688
|
+
- lib
|
689
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
690
|
+
requirements:
|
691
|
+
- - ">="
|
692
|
+
- !ruby/object:Gem::Version
|
693
|
+
version: '2.7'
|
694
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
695
|
+
requirements:
|
696
|
+
- - ">="
|
697
|
+
- !ruby/object:Gem::Version
|
698
|
+
version: '0'
|
699
|
+
requirements: []
|
700
|
+
rubygems_version: 3.1.6
|
701
|
+
signing_key:
|
702
|
+
specification_version: 4
|
703
|
+
summary: Decidim enhanced textwork module
|
704
|
+
test_files: []
|