decidim 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of decidim might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.circleci/config.yml +28 -23
- data/.codeclimate.yml +3 -1
- data/.rubocop.yml +38 -34
- data/CHANGELOG.md +28 -0
- data/Dockerfile +3 -0
- data/Gemfile +2 -1
- data/Gemfile.lock +127 -117
- data/README.md +9 -7
- data/Rakefile +4 -7
- data/{decidim-core/config → config}/i18n-tasks.yml +39 -45
- data/decidim-admin/README.md +0 -7
- data/decidim-admin/app/assets/javascripts/decidim/admin/application.js.es6 +0 -1
- data/decidim-admin/app/assets/stylesheets/decidim/admin/extra/_quill.scss +5 -0
- data/decidim-admin/app/commands/decidim/admin/create_category.rb +4 -4
- data/decidim-admin/app/commands/decidim/admin/create_feature.rb +7 -7
- data/decidim-admin/app/commands/decidim/admin/create_managed_user.rb +0 -2
- data/decidim-admin/app/commands/decidim/admin/update_organization.rb +1 -0
- data/decidim-admin/app/controllers/decidim/admin/application_controller.rb +0 -2
- data/decidim-admin/app/controllers/decidim/admin/categories_controller.rb +10 -10
- data/decidim-admin/app/controllers/decidim/admin/exports_controller.rb +1 -2
- data/decidim-admin/app/controllers/decidim/admin/feature_permissions_controller.rb +2 -3
- data/decidim-admin/app/controllers/decidim/admin/features/base_controller.rb +9 -3
- data/decidim-admin/app/controllers/decidim/admin/features_controller.rb +5 -7
- data/decidim-admin/app/controllers/decidim/admin/moderations_controller.rb +5 -7
- data/decidim-admin/app/controllers/decidim/admin/scopes_controller.rb +12 -10
- data/decidim-admin/app/controllers/decidim/admin/users_controller.rb +1 -3
- data/decidim-admin/app/forms/decidim/admin/category_form.rb +2 -2
- data/decidim-admin/app/forms/decidim/admin/feature_form.rb +1 -18
- data/decidim-admin/app/forms/decidim/admin/organization_form.rb +1 -0
- data/decidim-admin/app/helpers/decidim/admin/exports_helper.rb +10 -0
- data/decidim-admin/app/models/decidim/admin/abilities/admin_ability.rb +0 -3
- data/decidim-admin/app/models/decidim/admin/abilities/participatory_process_admin_ability.rb +3 -3
- data/decidim-admin/app/views/decidim/admin/attachments/edit.html.erb +1 -1
- data/decidim-admin/app/views/decidim/admin/attachments/new.html.erb +1 -1
- data/decidim-admin/app/views/decidim/admin/categories/edit.html.erb +2 -2
- data/decidim-admin/app/views/decidim/admin/categories/index.html.erb +11 -11
- data/decidim-admin/app/views/decidim/admin/categories/new.html.erb +3 -3
- data/decidim-admin/app/views/decidim/admin/categories/show.html.erb +2 -2
- data/decidim-admin/app/views/decidim/admin/exports/_dropdown.html.erb +1 -1
- data/decidim-admin/app/views/decidim/admin/features/_form.html.erb +15 -15
- data/decidim-admin/app/views/decidim/admin/features/edit.html.erb +1 -1
- data/decidim-admin/app/views/decidim/admin/features/new.html.erb +1 -1
- data/decidim-admin/app/views/decidim/admin/moderations/index.html.erb +2 -2
- data/decidim-admin/app/views/decidim/admin/organization/_form.html.erb +5 -0
- data/decidim-admin/app/views/decidim/admin/users/index.html.erb +1 -1
- data/decidim-admin/config/locales/ca.yml +8 -195
- data/decidim-admin/config/locales/en.yml +6 -197
- data/decidim-admin/config/locales/es.yml +11 -198
- data/decidim-admin/config/locales/eu.yml +95 -208
- data/decidim-admin/config/locales/fi.yml +168 -123
- data/decidim-admin/config/locales/fr.yml +114 -191
- data/decidim-admin/config/locales/it.yml +150 -168
- data/decidim-admin/config/locales/nl.yml +443 -0
- data/decidim-admin/config/locales/pl.yml +444 -0
- data/decidim-admin/config/locales/uk.yml +451 -0
- data/decidim-admin/config/routes.rb +2 -46
- data/decidim-admin/decidim-admin.gemspec +1 -0
- data/decidim-admin/lib/decidim/admin/engine.rb +0 -14
- data/decidim-admin/{spec/commands/create_category_spec.rb → lib/decidim/admin/test/commands/create_category_examples.rb} +4 -5
- data/decidim-admin/{spec/commands/destroy_category_spec.rb → lib/decidim/admin/test/commands/destroy_category_examples.rb} +2 -3
- data/decidim-admin/{spec/commands/update_category_spec.rb → lib/decidim/admin/test/commands/update_category_examples.rb} +3 -4
- data/decidim-admin/{spec/forms/category_form_spec.rb → lib/decidim/admin/test/forms/category_form_examples.rb} +5 -5
- data/decidim-admin/lib/decidim/admin/test/manage_attachments_examples.rb +2 -2
- data/decidim-admin/{spec/features/admin_manages_feature_permissions_spec.rb → lib/decidim/admin/test/manage_feature_permissions_examples.rb} +3 -7
- data/decidim-admin/spec/commands/update_feature_spec.rb +1 -1
- data/decidim-admin/spec/factories.rb +1 -0
- data/decidim-admin/spec/features/admin_manages_organization_admins_spec.rb +1 -1
- data/decidim-admin/spec/forms/organization_form_spec.rb +19 -1
- data/decidim-admin/spec/helpers/exports_helper_spec.rb +1 -1
- data/decidim-admin/spec/helpers/menu_helper_spec.rb +2 -1
- data/decidim-admin/spec/models/abilities/admin_ability_spec.rb +0 -2
- data/decidim-admin/spec/models/abilities/participatory_process_admin_ability_spec.rb +1 -1
- data/decidim-api/decidim-api.gemspec +1 -0
- data/decidim-api/spec/factories.rb +1 -0
- data/decidim-assemblies/.gitignore +3 -0
- data/decidim-assemblies/README.md +34 -0
- data/decidim-assemblies/Rakefile +3 -0
- data/decidim-assemblies/app/assets/config/admin/decidim_assemblies_manifest.js +1 -0
- data/decidim-assemblies/app/assets/config/decidim_assemblies_manifest.js +1 -0
- data/decidim-assemblies/app/assets/images/decidim/assemblies/assembly.svg +6 -0
- data/decidim-assemblies/app/assets/javascripts/decidim/assemblies/admin/assemblies.js.es6 +12 -0
- data/decidim-assemblies/app/commands/decidim/assemblies/admin/copy_assembly.rb +88 -0
- data/decidim-assemblies/app/commands/decidim/assemblies/admin/create_assembly.rb +68 -0
- data/decidim-assemblies/app/commands/decidim/assemblies/admin/publish_assembly.rb +34 -0
- data/decidim-assemblies/app/commands/decidim/assemblies/admin/unpublish_assembly.rb +34 -0
- data/decidim-assemblies/app/commands/decidim/assemblies/admin/update_assembly.rb +73 -0
- data/decidim-assemblies/app/constraints/decidim/assemblies/current_assembly.rb +37 -0
- data/decidim-assemblies/app/constraints/decidim/assemblies/current_feature.rb +28 -0
- data/decidim-assemblies/app/controllers/concerns/decidim/assemblies/admin/assembly_context.rb +21 -0
- data/decidim-assemblies/app/controllers/concerns/decidim/assemblies/assembly_context.rb +25 -0
- data/decidim-assemblies/app/controllers/concerns/decidim/assemblies/needs_assembly.rb +50 -0
- data/decidim-assemblies/app/controllers/decidim/assemblies/admin/application_controller.rb +11 -0
- data/decidim-assemblies/app/controllers/decidim/assemblies/admin/assemblies_controller.rb +100 -0
- data/decidim-assemblies/app/controllers/decidim/assemblies/admin/assembly_attachments_controller.rb +27 -0
- data/decidim-assemblies/app/controllers/decidim/assemblies/admin/assembly_copies_controller.rb +35 -0
- data/decidim-assemblies/app/controllers/decidim/assemblies/admin/assembly_publications_controller.rb +45 -0
- data/decidim-assemblies/app/controllers/decidim/assemblies/admin/categories_controller.rb +13 -0
- data/decidim-assemblies/app/controllers/decidim/assemblies/admin/concerns/assembly_admin.rb +26 -0
- data/decidim-assemblies/app/controllers/decidim/assemblies/admin/exports_controller.rb +14 -0
- data/decidim-assemblies/app/controllers/decidim/assemblies/admin/feature_permissions_controller.rb +14 -0
- data/decidim-assemblies/app/controllers/decidim/assemblies/admin/features_controller.rb +14 -0
- data/decidim-assemblies/app/controllers/decidim/assemblies/admin/moderations_controller.rb +12 -0
- data/decidim-assemblies/app/controllers/decidim/assemblies/assemblies_controller.rb +43 -0
- data/decidim-assemblies/app/controllers/decidim/assemblies/assembly_widgets_controller.rb +21 -0
- data/decidim-assemblies/app/controllers/decidim/assemblies/categories_controller.rb +13 -0
- data/decidim-assemblies/app/forms/decidim/assemblies/admin/assembly_copy_form.rb +34 -0
- data/decidim-assemblies/app/forms/decidim/assemblies/admin/assembly_form.rb +63 -0
- data/decidim-assemblies/app/models/decidim/assemblies/abilities/admin/admin_ability.rb +18 -0
- data/decidim-assemblies/app/models/decidim/assemblies/abilities/admin_ability.rb +16 -0
- data/decidim-assemblies/app/models/decidim/assemblies/abilities/everyone_ability.rb +17 -0
- data/decidim-assemblies/app/models/decidim/assembly.rb +45 -0
- data/decidim-assemblies/app/presenters/decidim/assemblies/assembly_stats_presenter.rb +52 -0
- data/decidim-assemblies/app/queries/decidim/assemblies/admin/admin_users.rb +39 -0
- data/decidim-assemblies/app/queries/decidim/assemblies/organization_assemblies.rb +16 -0
- data/decidim-assemblies/app/queries/decidim/assemblies/organization_prioritized_assemblies.rb +20 -0
- data/decidim-assemblies/app/queries/decidim/assemblies/organization_published_assemblies.rb +19 -0
- data/decidim-assemblies/app/queries/decidim/assemblies/prioritized_assemblies.rb +13 -0
- data/decidim-assemblies/app/queries/decidim/assemblies/promoted_assemblies.rb +12 -0
- data/decidim-assemblies/app/queries/decidim/assemblies/published_assemblies.rb +12 -0
- data/decidim-assemblies/app/views/decidim/assemblies/_assembly.html.erb +22 -0
- data/decidim-assemblies/app/views/decidim/assemblies/_order_by_assemblies.html.erb +3 -0
- data/decidim-assemblies/app/views/decidim/assemblies/admin/assemblies/_form.html.erb +89 -0
- data/decidim-assemblies/app/views/decidim/assemblies/admin/assemblies/edit.html.erb +19 -0
- data/decidim-assemblies/app/views/decidim/assemblies/admin/assemblies/index.html.erb +66 -0
- data/decidim-assemblies/app/views/decidim/assemblies/admin/assemblies/new.html.erb +11 -0
- data/decidim-assemblies/app/views/decidim/assemblies/admin/assembly_copies/_form.html.erb +34 -0
- data/decidim-assemblies/app/views/decidim/assemblies/admin/assembly_copies/new.html.erb +7 -0
- data/decidim-assemblies/app/views/decidim/assemblies/assemblies/_no_assemblies_yet.html.erb +3 -0
- data/decidim-assemblies/app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb +27 -0
- data/decidim-assemblies/app/views/decidim/assemblies/assemblies/_statistics.html.erb +10 -0
- data/decidim-assemblies/app/views/decidim/assemblies/assemblies/index.html.erb +17 -0
- data/decidim-assemblies/app/views/decidim/assemblies/assemblies/show.html.erb +74 -0
- data/decidim-assemblies/app/views/decidim/assemblies/assembly_widgets/show.html.erb +11 -0
- data/decidim-assemblies/app/views/layouts/decidim/_assembly_header.html.erb +64 -0
- data/decidim-assemblies/app/views/layouts/decidim/admin/assemblies.html.erb +14 -0
- data/decidim-assemblies/app/views/layouts/decidim/admin/assembly.html.erb +54 -0
- data/decidim-assemblies/app/views/layouts/decidim/assembly.html.erb +30 -0
- data/decidim-assemblies/bin/rails +15 -0
- data/decidim-assemblies/config/locales/ca.yml +128 -0
- data/decidim-assemblies/config/locales/en.yml +128 -0
- data/decidim-assemblies/config/locales/es.yml +128 -0
- data/decidim-assemblies/config/locales/eu.yml +127 -0
- data/decidim-assemblies/config/locales/fi.yml +127 -0
- data/decidim-assemblies/config/locales/fr.yml +127 -0
- data/decidim-assemblies/config/locales/it.yml +127 -0
- data/decidim-assemblies/config/locales/nl.yml +127 -0
- data/decidim-assemblies/config/locales/pl.yml +128 -0
- data/decidim-assemblies/config/locales/uk.yml +129 -0
- data/decidim-assemblies/db/migrate/20170727190859_add_assemblies.rb +37 -0
- data/decidim-assemblies/db/migrate/20170822153055_add_scopes_enabled_to_assemblies.rb +7 -0
- data/{decidim-core → decidim-assemblies}/db/seeds/Exampledocument.pdf +0 -0
- data/{decidim-core → decidim-assemblies}/db/seeds/city.jpeg +0 -0
- data/{decidim-core → decidim-assemblies}/db/seeds/city2.jpeg +0 -0
- data/decidim-assemblies/db/seeds/homepage_image.jpg +0 -0
- data/decidim-assemblies/decidim-assemblies.gemspec +21 -0
- data/decidim-assemblies/lib/decidim/assemblies.rb +12 -0
- data/decidim-assemblies/lib/decidim/assemblies/admin.rb +10 -0
- data/decidim-assemblies/lib/decidim/assemblies/admin_engine.rb +79 -0
- data/decidim-assemblies/lib/decidim/assemblies/engine.rb +53 -0
- data/decidim-assemblies/lib/decidim/assemblies/participatory_space.rb +69 -0
- data/decidim-assemblies/lib/decidim/assemblies/test/factories.rb +41 -0
- data/decidim-assemblies/spec/commands/copy_assembly_spec.rb +106 -0
- data/decidim-assemblies/spec/commands/create_assembly_spec.rb +83 -0
- data/decidim-assemblies/spec/commands/create_category_spec.rb +10 -0
- data/decidim-assemblies/spec/commands/destroy_category_spec.rb +10 -0
- data/decidim-assemblies/spec/commands/publish_assembly_spec.rb +37 -0
- data/decidim-assemblies/spec/commands/unpublish_assembly_spec.rb +37 -0
- data/decidim-assemblies/spec/commands/update_assembly_spec.rb +120 -0
- data/decidim-assemblies/spec/commands/update_category_spec.rb +10 -0
- data/decidim-assemblies/spec/controllers/assemblies_controller_spec.rb +64 -0
- data/decidim-assemblies/spec/controllers/exports_controller_spec.rb +53 -0
- data/decidim-assemblies/spec/factories.rb +6 -0
- data/decidim-assemblies/spec/features/admin/admin_copy_assembly_spec.rb +93 -0
- data/decidim-assemblies/spec/features/admin/admin_manages_assemblies_spec.rb +251 -0
- data/decidim-assemblies/spec/features/admin/admin_manages_assembly_attachments_spec.rb +19 -0
- data/decidim-assemblies/spec/features/admin/admin_manages_assembly_categories_spec.rb +141 -0
- data/decidim-assemblies/spec/features/admin/admin_manages_assembly_feature_permissions_spec.rb +14 -0
- data/decidim-assemblies/spec/features/admin/admin_manages_assembly_features_spec.rb +207 -0
- data/decidim-assemblies/spec/features/assemblies_spec.rb +130 -0
- data/decidim-assemblies/spec/forms/assembly_form_spec.rb +170 -0
- data/decidim-assemblies/spec/forms/category_form_spec.rb +16 -0
- data/decidim-assemblies/spec/helpers/decidim/scopes_helper_spec.rb +16 -0
- data/decidim-assemblies/spec/lib/features/assemblies/current_feature_spec.rb +87 -0
- data/decidim-assemblies/spec/models/abilities/admin/admin_ability_spec.rb +11 -0
- data/decidim-assemblies/spec/models/abilities/admin_ability_spec.rb +12 -0
- data/decidim-assemblies/spec/models/abilities/everyone_ability_spec.rb +13 -0
- data/decidim-assemblies/spec/models/decidim/assembly_spec.rb +29 -0
- data/decidim-assemblies/spec/presenters/decidim/assemblies/assembly_stats_presenter.spec.rb +44 -0
- data/decidim-assemblies/spec/queries/admin/assembly_admins_spec.rb +18 -0
- data/decidim-assemblies/spec/queries/organization_assemblies_spec.rb +26 -0
- data/decidim-assemblies/spec/queries/organization_prioritized_assemblies_spec.rb +31 -0
- data/decidim-assemblies/spec/queries/organization_published_assemblies_spec.rb +35 -0
- data/decidim-assemblies/spec/shared/assembly_administration_shared_context.rb +15 -0
- data/decidim-assemblies/spec/spec_helper.rb +9 -0
- data/decidim-budgets/app/assets/images/decidim/budgets/icon.svg +10 -15
- data/decidim-budgets/app/commands/decidim/budgets/add_line_item.rb +1 -1
- data/decidim-budgets/app/forms/decidim/budgets/admin/project_form.rb +1 -1
- data/decidim-budgets/app/models/decidim/budgets/project.rb +7 -6
- data/decidim-budgets/app/views/decidim/budgets/admin/projects/_form.html.erb +3 -3
- data/decidim-budgets/app/views/decidim/budgets/projects/_filters.html.erb +1 -1
- data/decidim-budgets/app/views/decidim/budgets/projects/show.html.erb +1 -0
- data/decidim-budgets/config/locales/ca.yml +3 -0
- data/decidim-budgets/config/locales/en.yml +4 -10
- data/decidim-budgets/config/locales/es.yml +7 -4
- data/decidim-budgets/config/locales/eu.yml +11 -9
- data/decidim-budgets/config/locales/fi.yml +12 -0
- data/decidim-budgets/config/locales/fr.yml +7 -4
- data/decidim-budgets/config/locales/it.yml +6 -0
- data/decidim-budgets/config/locales/nl.yml +127 -0
- data/decidim-budgets/config/locales/pl.yml +130 -0
- data/decidim-budgets/config/locales/uk.yml +138 -0
- data/decidim-budgets/lib/decidim/budgets/feature.rb +5 -5
- data/decidim-budgets/lib/decidim/budgets/test/factories.rb +4 -4
- data/decidim-budgets/spec/commands/add_line_item_spec.rb +2 -2
- data/decidim-budgets/spec/commands/create_project_spec.rb +3 -3
- data/decidim-budgets/spec/commands/update_project_spec.rb +3 -3
- data/decidim-budgets/spec/factories.rb +1 -0
- data/decidim-budgets/spec/features/follow_projects_spec.rb +13 -0
- data/decidim-budgets/spec/features/orders_spec.rb +4 -4
- data/decidim-budgets/spec/forms/project_form_spec.rb +3 -3
- data/decidim-budgets/spec/models/project_spec.rb +8 -0
- data/decidim-budgets/spec/queries/decidim/budgets/filtered_projects_spec.rb +2 -2
- data/decidim-budgets/spec/services/project_search_spec.rb +1 -1
- data/decidim-comments/app/assets/javascripts/decidim/comments/bundle.js +0 -0
- data/decidim-comments/app/commands/decidim/comments/create_comment.rb +13 -11
- data/decidim-comments/app/events/decidim/comments/comment_created_event.rb +56 -0
- data/decidim-comments/app/frontend/comments/add_comment_form.component.tsx +1 -1
- data/decidim-comments/app/models/decidim/comments/abilities/participatory_process_admin_ability.rb +1 -1
- data/decidim-comments/app/models/decidim/comments/abilities/participatory_process_moderator_ability.rb +1 -1
- data/decidim-comments/app/models/decidim/comments/comment.rb +6 -13
- data/decidim-comments/config/locales/ca.yml +18 -20
- data/decidim-comments/config/locales/en.yml +15 -18
- data/decidim-comments/config/locales/es.yml +20 -22
- data/decidim-comments/config/locales/eu.yml +25 -21
- data/decidim-comments/config/locales/fi.yml +22 -18
- data/decidim-comments/config/locales/fr.yml +24 -20
- data/decidim-comments/config/locales/it.yml +23 -18
- data/decidim-comments/config/locales/nl.yml +67 -2
- data/decidim-comments/config/locales/pl.yml +64 -0
- data/decidim-comments/config/locales/uk.yml +70 -0
- data/decidim-comments/lib/decidim/comments/commentable.rb +8 -1
- data/decidim-comments/spec/commands/create_comment_spec.rb +22 -41
- data/decidim-comments/spec/commands/vote_comment_spec.rb +1 -1
- data/decidim-comments/spec/events/decidim/comments/comment_created_event_spec.rb +17 -0
- data/decidim-comments/spec/factories.rb +1 -0
- data/decidim-comments/spec/features/report_comment_spec.rb +1 -1
- data/decidim-comments/spec/models/comment_spec.rb +5 -27
- data/decidim-comments/spec/models/comment_vote_spec.rb +1 -1
- data/decidim-comments/spec/queries/sorted_comments_spec.rb +2 -2
- data/decidim-comments/spec/types/commentable_mutation_type_spec.rb +1 -1
- data/decidim-core/app/assets/config/decidim_core_manifest.js +1 -0
- data/decidim-core/app/assets/javascripts/decidim/notifications.js.es6 +33 -0
- data/decidim-core/app/assets/stylesheets/decidim/extras/_meeting-registrations.scss +11 -0
- data/decidim-core/app/assets/stylesheets/decidim/modules/_extra.scss +4 -0
- data/decidim-core/app/assets/stylesheets/decidim/modules/_process-nav.scss +14 -0
- data/decidim-core/app/commands/decidim/create_follow.rb +40 -0
- data/decidim-core/app/commands/decidim/create_omniauth_registration.rb +0 -2
- data/decidim-core/app/commands/decidim/create_registration.rb +1 -3
- data/decidim-core/app/commands/decidim/create_report.rb +7 -7
- data/decidim-core/app/commands/decidim/delete_follow.rb +37 -0
- data/decidim-core/app/commands/decidim/invite_user.rb +1 -3
- data/decidim-core/app/commands/decidim/update_notifications_settings.rb +1 -2
- data/decidim-core/app/constraints/decidim/current_feature.rb +3 -4
- data/decidim-core/app/controllers/concerns/decidim/settings.rb +1 -1
- data/decidim-core/app/controllers/decidim/features/base_controller.rb +5 -6
- data/decidim-core/app/controllers/decidim/follows_controller.rb +45 -0
- data/decidim-core/app/controllers/decidim/notifications_controller.rb +39 -0
- data/decidim-core/app/controllers/decidim/pages_controller.rb +2 -2
- data/decidim-core/app/controllers/decidim/scopes_controller.rb +2 -0
- data/decidim-core/app/controllers/decidim/widgets_controller.rb +3 -3
- data/decidim-core/app/forms/decidim/follow_form.rb +20 -0
- data/decidim-core/app/forms/decidim/invite_user_form.rb +1 -1
- data/decidim-core/app/forms/decidim/notifications_settings_form.rb +2 -4
- data/decidim-core/app/helpers/decidim/action_authorization_helper.rb +2 -1
- data/decidim-core/app/helpers/decidim/decidim_form_helper.rb +4 -0
- data/decidim-core/app/helpers/decidim/feature_path_helper.rb +2 -13
- data/decidim-core/app/helpers/decidim/icon_helper.rb +26 -8
- data/decidim-core/app/helpers/decidim/paginate_helper.rb +1 -1
- data/decidim-core/app/helpers/decidim/scopes_helper.rb +1 -1
- data/decidim-core/app/jobs/decidim/email_notification_generator_job.rb +12 -0
- data/decidim-core/app/jobs/decidim/export_job.rb +1 -3
- data/decidim-core/app/jobs/decidim/notification_generator_for_recipient_job.rb +14 -0
- data/decidim-core/app/jobs/decidim/notification_generator_job.rb +12 -0
- data/decidim-core/app/mailers/decidim/export_mailer.rb +6 -7
- data/decidim-core/app/mailers/decidim/notification_mailer.rb +20 -0
- data/decidim-core/app/mailers/decidim/reported_mailer.rb +3 -3
- data/decidim-core/app/models/decidim/abilities/admin_ability.rb +0 -1
- data/decidim-core/app/models/decidim/abilities/base_ability.rb +8 -0
- data/decidim-core/app/models/decidim/abilities/everyone_ability.rb +0 -2
- data/decidim-core/app/models/decidim/abilities/participatory_process_admin_ability.rb +1 -1
- data/decidim-core/app/models/decidim/abilities/participatory_process_collaborator_ability.rb +1 -1
- data/decidim-core/app/models/decidim/category.rb +4 -4
- data/decidim-core/app/models/decidim/feature.rb +29 -4
- data/decidim-core/app/models/decidim/follow.rb +10 -0
- data/decidim-core/app/models/decidim/moderation.rb +1 -1
- data/decidim-core/app/models/decidim/notification.rb +12 -0
- data/decidim-core/app/models/decidim/scope.rb +8 -8
- data/decidim-core/app/models/decidim/user.rb +11 -1
- data/decidim-core/app/presenters/decidim/home_stats_presenter.rb +1 -1
- data/decidim-core/app/presenters/decidim/resource_locator_presenter.rb +3 -18
- data/decidim-core/app/queries/decidim/participatory_processes_with_user_role.rb +1 -1
- data/decidim-core/app/services/decidim/email_notification_generator.rb +63 -0
- data/decidim-core/app/services/decidim/events_manager.rb +41 -0
- data/decidim-core/app/services/decidim/notification_generator.rb +51 -0
- data/decidim-core/app/services/decidim/notification_generator_for_recipient.rb +50 -0
- data/decidim-core/app/uploaders/decidim/attachment_uploader.rb +1 -1
- data/decidim-core/app/views/decidim/authorizations/first_login.html.erb +2 -2
- data/decidim-core/app/views/decidim/follows/update_button.js.erb +3 -0
- data/decidim-core/app/views/decidim/notification_mailer/event_received.html.erb +9 -0
- data/decidim-core/app/views/decidim/notifications/_notification.html.erb +18 -0
- data/decidim-core/app/views/decidim/notifications/index.html.erb +32 -0
- data/decidim-core/app/views/decidim/notifications_settings/show.html.erb +3 -10
- data/decidim-core/app/views/decidim/shared/_follow_button.html.erb +19 -0
- data/decidim-core/app/views/layouts/decidim/_head.html.erb +1 -0
- data/decidim-core/app/views/layouts/decidim/_head_extra.html.erb +7 -0
- data/decidim-core/app/views/layouts/decidim/_user_menu.html.erb +1 -0
- data/decidim-core/app/views/layouts/decidim/_wrapper.html.erb +3 -0
- data/decidim-core/app/views/layouts/decidim/widget.html.erb +3 -3
- data/decidim-core/app/views/pages/home/_hero.html.erb +1 -1
- data/decidim-core/app/views/pages/home/_highlighted_processes.html.erb +3 -3
- data/decidim-core/config/locales/ca.yml +29 -74
- data/decidim-core/config/locales/en.yml +23 -71
- data/decidim-core/config/locales/es.yml +31 -78
- data/decidim-core/config/locales/eu.yml +61 -65
- data/decidim-core/config/locales/fi.yml +91 -51
- data/decidim-core/config/locales/fr.yml +40 -83
- data/decidim-core/config/locales/it.yml +129 -54
- data/decidim-core/config/locales/nl.yml +90 -51
- data/decidim-core/config/locales/pl.yml +319 -10
- data/decidim-core/config/locales/uk.yml +400 -0
- data/decidim-core/config/routes.rb +8 -14
- data/decidim-core/db/migrate/20170720120231_make_moderations_polymorphic.rb +29 -0
- data/decidim-core/db/migrate/20170726145242_make_categories_polymorphic.rb +27 -0
- data/decidim-core/db/migrate/20170807123535_create_decidim_follows.rb +20 -0
- data/decidim-core/db/migrate/20170808071019_create_decidim_notifications.rb +13 -0
- data/decidim-core/db/migrate/20170906091718_add_extra_to_notifications.rb +7 -0
- data/decidim-core/db/migrate/20170912082054_add_emails_on_notifications_flag_to_user.rb +7 -0
- data/decidim-core/db/migrate/20170913092351_add_header_snippets_to_organizations.rb +7 -0
- data/decidim-core/db/migrate/20170914075721_remove_followable_index_from_follows.rb +7 -0
- data/decidim-core/db/migrate/20170914092116_remove_comment_and_replies_notifications_from_users.rb +8 -0
- data/decidim-core/db/seeds.rb +2 -108
- data/decidim-core/decidim-core.gemspec +1 -0
- data/decidim-core/lib/decidim/core.rb +46 -8
- data/decidim-core/lib/decidim/core/engine.rb +20 -6
- data/decidim-core/lib/decidim/core/test.rb +3 -0
- data/decidim-core/lib/decidim/core/test/factories.rb +37 -75
- data/decidim-core/lib/decidim/core/test/shared_examples/comments_examples.rb +0 -26
- data/decidim-core/lib/decidim/core/test/shared_examples/follows_examples.rb +37 -0
- data/decidim-core/lib/decidim/core/test/shared_examples/manage_moderations_examples.rb +1 -1
- data/decidim-core/lib/decidim/core/test/shared_examples/process_announcements_examples.rb +1 -1
- data/decidim-core/lib/decidim/core/test/shared_examples/reportable.rb +4 -4
- data/decidim-core/lib/decidim/core/test/shared_examples/reports_examples.rb +1 -1
- data/decidim-core/lib/decidim/core/test/shared_examples/scope_helper_examples.rb +41 -0
- data/{decidim-comments/spec/shared/author_localised_email.rb → decidim-core/lib/decidim/core/test/shared_examples/user_localised_email_examples.rb} +0 -0
- data/decidim-core/lib/decidim/core/version.rb +1 -1
- data/decidim-core/lib/decidim/engine_router.rb +54 -0
- data/decidim-core/lib/decidim/events.rb +9 -0
- data/decidim-core/lib/decidim/events/base_event.rb +70 -0
- data/decidim-core/lib/decidim/events/email_event.rb +39 -0
- data/decidim-core/lib/decidim/events/notification_event.rb +32 -0
- data/decidim-core/lib/decidim/exporters.rb +7 -0
- data/decidim-core/lib/decidim/exporters/export_data.rb +14 -0
- data/decidim-core/lib/decidim/feature_manifest.rb +2 -2
- data/decidim-core/lib/decidim/features/namer.rb +1 -1
- data/decidim-core/lib/decidim/followable.rb +13 -0
- data/decidim-core/lib/decidim/form_builder.rb +1 -1
- data/decidim-core/lib/decidim/has_feature.rb +1 -1
- data/decidim-core/lib/decidim/has_settings.rb +19 -15
- data/decidim-core/lib/decidim/manifest_registry.rb +1 -3
- data/decidim-core/lib/decidim/participable.rb +80 -0
- data/decidim-core/lib/decidim/participatory_space_manifest.rb +40 -0
- data/decidim-core/lib/decidim/query_extensions.rb +1 -1
- data/decidim-core/lib/decidim/resource_manifest.rb +1 -1
- data/decidim-core/lib/decidim/settings_manifest.rb +0 -4
- data/decidim-core/spec/commands/decidim/create_registration_spec.rb +1 -3
- data/decidim-core/spec/commands/decidim/update_notifications_settings_spec.rb +3 -7
- data/decidim-core/spec/controllers/concerns/settings_spec.rb +12 -4
- data/decidim-core/spec/controllers/locales_controller_spec.rb +4 -0
- data/decidim-core/spec/controllers/pages_controller_spec.rb +1 -0
- data/decidim-core/spec/controllers/scopes_controller_spec.rb +4 -0
- data/decidim-core/spec/factories.rb +1 -0
- data/decidim-core/spec/features/account_spec.rb +0 -8
- data/decidim-core/spec/features/components_spec.rb +1 -1
- data/decidim-core/spec/features/homepage_spec.rb +9 -0
- data/decidim-core/spec/features/menu_spec.rb +2 -1
- data/decidim-core/spec/features/notifications_spec.rb +88 -0
- data/decidim-core/spec/forms/notifications_settings_form_spec.rb +4 -14
- data/decidim-core/spec/helpers/decidim/decidim_form_helper_spec.rb +3 -0
- data/decidim-core/spec/helpers/decidim/feature_path_helper_spec.rb +1 -1
- data/decidim-core/spec/jobs/decidim/email_notification_generator_job_spec.rb +34 -0
- data/decidim-core/spec/jobs/decidim/notification_generator_for_recipient_job_spec.rb +34 -0
- data/decidim-core/spec/jobs/decidim/notification_generator_job_spec.rb +34 -0
- data/decidim-core/spec/lib/events/base_event_spec.rb +13 -0
- data/decidim-core/spec/lib/events/email_event_spec.rb +17 -0
- data/decidim-core/spec/lib/events/notification_event_spec.rb +17 -0
- data/decidim-core/spec/lib/feature_manifest_spec.rb +1 -1
- data/decidim-core/spec/lib/features/current_feature_spec.rb +7 -29
- data/decidim-core/spec/lib/form_builder_spec.rb +4 -4
- data/decidim-core/spec/lib/resourceable_spec.rb +6 -6
- data/decidim-core/spec/lib/seed_spec.rb +2 -4
- data/decidim-core/spec/mailers/export_mailer_spec.rb +3 -3
- data/decidim-core/spec/mailers/reported_mailer_spec.rb +1 -1
- data/decidim-core/spec/models/decidim/abilities/admin_ability_spec.rb +0 -1
- data/decidim-core/spec/models/decidim/abilities/everyone_ability_spec.rb +1 -1
- data/decidim-core/spec/models/decidim/abilities/participatory_process_admin_ability_spec.rb +2 -7
- data/decidim-core/spec/models/decidim/abilities/participatory_process_collaborator_ability_spec.rb +2 -7
- data/decidim-core/spec/models/decidim/category_spec.rb +2 -2
- data/decidim-core/spec/models/decidim/follow_spec.rb +33 -0
- data/decidim-core/spec/models/decidim/scope_spec.rb +39 -4
- data/decidim-core/spec/models/notification_spec.rb +24 -0
- data/decidim-core/spec/presenters/decidim/resource_locator_presenter_spec.rb +1 -1
- data/decidim-core/spec/services/decidim/email_notification_generator_spec.rb +63 -0
- data/decidim-core/spec/services/decidim/events_manager_spec.rb +40 -0
- data/decidim-core/spec/services/decidim/notification_generator_for_recipient_spec.rb +26 -0
- data/decidim-core/spec/services/decidim/notification_generator_spec.rb +44 -0
- data/decidim-core/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.uk.js +14 -0
- data/decidim-core/vendor/assets/javascripts/morphdom.js +14 -5
- data/decidim-dev/config/locales/ca.yml +2 -1
- data/decidim-dev/config/locales/en.yml +2 -1
- data/decidim-dev/config/locales/es.yml +2 -1
- data/decidim-dev/config/locales/eu.yml +1 -1
- data/decidim-dev/config/locales/fi.yml +5 -1
- data/decidim-dev/config/locales/fr.yml +4 -0
- data/decidim-dev/config/locales/it.yml +1 -1
- data/decidim-dev/config/locales/nl.yml +4 -0
- data/decidim-dev/config/locales/pl.yml +4 -1
- data/decidim-dev/config/locales/uk.yml +9 -0
- data/decidim-dev/decidim-dev.gemspec +5 -7
- data/{decidim-core/spec/shared/with_promoted_participatory_processes_examples.rb → decidim-dev/lib/decidim/dev/test/promoted_participatory_processes_shared_examples.rb} +0 -0
- data/decidim-dev/lib/decidim/dev/test/rspec_support/feature.rb +6 -8
- data/decidim-dev/lib/decidim/dev/test/rspec_support/feature_context.rb +3 -3
- data/decidim-dev/lib/decidim/dev/test/spec_helper.rb +1 -0
- data/decidim-dev/lib/tasks/locale_checker.rake +11 -11
- data/decidim-meetings/app/assets/config/admin/decidim_meetings_manifest.js +1 -0
- data/decidim-meetings/app/assets/images/decidim/meetings/icon.svg +5 -1
- data/decidim-meetings/app/assets/javascripts/decidim/meetings/admin/registrations_form.js.es6 +21 -0
- data/decidim-meetings/app/commands/decidim/meetings/admin/close_meeting.rb +17 -9
- data/decidim-meetings/app/commands/decidim/meetings/admin/create_meeting.rb +13 -1
- data/decidim-meetings/app/commands/decidim/meetings/admin/update_meeting.rb +47 -21
- data/decidim-meetings/app/commands/decidim/meetings/admin/update_registrations.rb +60 -0
- data/decidim-meetings/app/commands/decidim/meetings/join_meeting.rb +73 -0
- data/decidim-meetings/app/commands/decidim/meetings/leave_meeting.rb +39 -0
- data/decidim-meetings/app/controllers/decidim/meetings/admin/registrations_controller.rb +43 -0
- data/decidim-meetings/app/controllers/decidim/meetings/registrations_controller.rb +46 -0
- data/decidim-meetings/app/events/decidim/meetings/close_meeting_event.rb +30 -0
- data/decidim-meetings/app/events/decidim/meetings/meeting_registrations_enabled_event.rb +39 -0
- data/decidim-meetings/app/events/decidim/meetings/meeting_registrations_over_percentage_event.rb +43 -0
- data/decidim-meetings/app/events/decidim/meetings/upcoming_meeting_event.rb +30 -0
- data/decidim-meetings/app/events/decidim/meetings/update_meeting_event.rb +30 -0
- data/decidim-meetings/app/forms/decidim/meetings/admin/meeting_form.rb +1 -1
- data/decidim-meetings/app/forms/decidim/meetings/admin/meeting_registrations_form.rb +32 -0
- data/decidim-meetings/app/helpers/decidim/meetings/application_helper.rb +1 -0
- data/decidim-meetings/app/jobs/decidim/meetings/upcoming_meeting_notification_job.rb +33 -0
- data/decidim-meetings/app/mailers/decidim/meetings/registration_mailer.rb +46 -0
- data/decidim-meetings/app/models/decidim/meetings/abilities/current_user_ability.rb +43 -0
- data/decidim-meetings/app/models/decidim/meetings/meeting.rb +42 -0
- data/decidim-meetings/app/models/decidim/meetings/registration.rb +13 -0
- data/decidim-meetings/app/serializers/decidim/meetings/registration_serializer.rb +18 -0
- data/decidim-meetings/app/views/decidim/meetings/admin/meetings/_form.html.erb +3 -3
- data/decidim-meetings/app/views/decidim/meetings/admin/meetings/index.html.erb +1 -0
- data/decidim-meetings/app/views/decidim/meetings/admin/registrations/_form.html.erb +33 -0
- data/decidim-meetings/app/views/decidim/meetings/admin/registrations/edit.html.erb +8 -0
- data/decidim-meetings/app/views/decidim/meetings/meetings/_filters.html.erb +2 -2
- data/decidim-meetings/app/views/decidim/meetings/meetings/_registration_confirm.html.erb +15 -0
- data/decidim-meetings/app/views/decidim/meetings/meetings/show.html.erb +15 -1
- data/decidim-meetings/app/views/decidim/meetings/registration_mailer/confirmation.html.erb +3 -0
- data/decidim-meetings/config/locales/ca.yml +74 -0
- data/decidim-meetings/config/locales/en.yml +72 -4
- data/decidim-meetings/config/locales/es.yml +75 -1
- data/decidim-meetings/config/locales/eu.yml +78 -3
- data/decidim-meetings/config/locales/fi.yml +84 -0
- data/decidim-meetings/config/locales/fr.yml +83 -8
- data/decidim-meetings/config/locales/it.yml +87 -0
- data/decidim-meetings/config/locales/nl.yml +169 -0
- data/decidim-meetings/config/locales/pl.yml +113 -0
- data/decidim-meetings/config/locales/uk.yml +178 -0
- data/decidim-meetings/db/migrate/20170810120836_add_registration_attributes_to_meetings.rb +9 -0
- data/decidim-meetings/db/migrate/20170810131100_create_registrations.rb +14 -0
- data/decidim-meetings/decidim-meetings.gemspec +2 -0
- data/decidim-meetings/lib/decidim/meetings/admin_engine.rb +9 -0
- data/decidim-meetings/lib/decidim/meetings/engine.rb +8 -0
- data/decidim-meetings/lib/decidim/meetings/feature.rb +39 -9
- data/decidim-meetings/lib/decidim/meetings/test/factories.rb +11 -0
- data/decidim-meetings/spec/commands/close_meeting_spec.rb +21 -2
- data/decidim-meetings/spec/commands/create_meeting_spec.rb +18 -3
- data/decidim-meetings/spec/commands/join_meeting_spec.rb +152 -0
- data/decidim-meetings/spec/commands/leave_meeting_spec.rb +34 -0
- data/decidim-meetings/spec/commands/update_meeting_spec.rb +122 -2
- data/decidim-meetings/spec/commands/update_registrations_spec.rb +79 -0
- data/decidim-meetings/spec/events/decidim/meetings/close_meeting_event_spec.rb +17 -0
- data/decidim-meetings/spec/events/decidim/meetings/meeting_registrations_enabled_event_spec.rb +17 -0
- data/decidim-meetings/spec/events/decidim/meetings/meeting_registrations_over_percentage_event_spec.rb +17 -0
- data/decidim-meetings/spec/events/decidim/meetings/upcoming_meeting_event_spec.rb +17 -0
- data/decidim-meetings/spec/events/decidim/meetings/update_meeting_event_spec.rb +17 -0
- data/decidim-meetings/spec/factories.rb +2 -0
- data/decidim-meetings/spec/features/admin_manages_meetings_spec.rb +1 -0
- data/decidim-meetings/spec/features/comments_spec.rb +22 -0
- data/decidim-meetings/spec/features/explore_meetings_spec.rb +3 -3
- data/decidim-meetings/spec/features/follow_meetings_spec.rb +13 -0
- data/decidim-meetings/spec/features/meeting_registrations_spec.rb +131 -0
- data/decidim-meetings/spec/features/process_admin_manages_meetings_spec.rb +1 -0
- data/decidim-meetings/spec/forms/close_meeting_form_spec.rb +1 -1
- data/decidim-meetings/spec/forms/meeting_form_spec.rb +2 -2
- data/decidim-meetings/spec/forms/meeting_registrations_form_spec.rb +78 -0
- data/decidim-meetings/spec/jobs/decidim/meetings/upcoming_meeting_notification_job_spec.rb +41 -0
- data/decidim-meetings/spec/mailers/registration_mailer_spec.rb +38 -0
- data/decidim-meetings/spec/models/meeting_spec.rb +8 -0
- data/decidim-meetings/spec/models/registration_spec.rb +21 -0
- data/decidim-meetings/spec/serializers/registration_serializer_spec.rb +23 -0
- data/decidim-meetings/spec/services/meeting_search_spec.rb +1 -1
- data/decidim-meetings/spec/shared/manage_meetings_examples.rb +1 -1
- data/decidim-meetings/spec/shared/manage_registrations_examples.rb +71 -0
- data/decidim-pages/app/assets/images/decidim/pages/icon.svg +8 -1
- data/decidim-pages/app/helpers/decidim/pages/application_helper.rb +0 -1
- data/decidim-pages/app/models/decidim/pages/page.rb +0 -26
- data/decidim-pages/app/views/decidim/pages/application/show.html.erb +0 -2
- data/decidim-pages/config/locales/ca.yml +3 -2
- data/decidim-pages/config/locales/en.yml +0 -2
- data/decidim-pages/config/locales/es.yml +3 -2
- data/decidim-pages/config/locales/eu.yml +3 -3
- data/decidim-pages/config/locales/fi.yml +3 -2
- data/decidim-pages/config/locales/fr.yml +3 -3
- data/decidim-pages/config/locales/it.yml +2 -2
- data/decidim-pages/config/locales/nl.yml +17 -0
- data/decidim-pages/config/locales/pl.yml +17 -0
- data/decidim-pages/config/locales/uk.yml +22 -0
- data/decidim-pages/decidim-pages.gemspec +1 -1
- data/decidim-pages/lib/decidim/pages/feature.rb +4 -15
- data/decidim-pages/spec/commands/update_page_spec.rb +1 -1
- data/decidim-pages/spec/factories.rb +3 -3
- data/decidim-pages/spec/features/admin_spec.rb +1 -1
- data/decidim-participatory_processes/.gitignore +3 -0
- data/decidim-participatory_processes/README.md +36 -0
- data/decidim-participatory_processes/Rakefile +3 -0
- data/decidim-participatory_processes/app/assets/config/admin/decidim_participatory_processes_manifest.js +1 -0
- data/decidim-participatory_processes/app/assets/config/decidim_participatory_processes_manifest.js +2 -0
- data/decidim-participatory_processes/app/assets/images/decidim/participatory_processes/process.svg +10 -0
- data/{decidim-admin/app/assets/javascripts/decidim → decidim-participatory_processes/app/assets/javascripts/decidim/participatory_processes}/admin/participatory_processes.js.es6 +1 -1
- data/decidim-participatory_processes/app/assets/javascripts/decidim/participatory_processes/filters.js.es6 +25 -0
- data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/activate_participatory_process_step.rb +46 -0
- data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/copy_participatory_process.rb +116 -0
- data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/create_participatory_process.rb +82 -0
- data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/create_participatory_process_admin.rb +95 -0
- data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/create_participatory_process_group.rb +57 -0
- data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/create_participatory_process_step.rb +49 -0
- data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/deactivate_participatory_process_step.rb +38 -0
- data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/destroy_participatory_process_step.rb +46 -0
- data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/publish_participatory_process.rb +34 -0
- data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/reorder_participatory_process_steps.rb +54 -0
- data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/unpublish_participatory_process.rb +34 -0
- data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/update_participatory_process.rb +77 -0
- data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/update_participatory_process_admin.rb +43 -0
- data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/update_participatory_process_group.rb +60 -0
- data/decidim-participatory_processes/app/commands/decidim/participatory_processes/admin/update_participatory_process_step.rb +51 -0
- data/decidim-participatory_processes/app/constraints/decidim/participatory_processes/current_feature.rb +28 -0
- data/decidim-participatory_processes/app/constraints/decidim/participatory_processes/current_participatory_process.rb +37 -0
- data/decidim-participatory_processes/app/controllers/concerns/decidim/participatory_processes/admin/participatory_process_context.rb +21 -0
- data/decidim-participatory_processes/app/controllers/concerns/decidim/participatory_processes/needs_participatory_process.rb +50 -0
- data/decidim-participatory_processes/app/controllers/concerns/decidim/participatory_processes/participatory_process_context.rb +27 -0
- data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/application_controller.rb +11 -0
- data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/categories_controller.rb +13 -0
- data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/concerns/participatory_process_admin.rb +26 -0
- data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/exports_controller.rb +14 -0
- data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/feature_permissions_controller.rb +14 -0
- data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/features_controller.rb +14 -0
- data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/moderations_controller.rb +12 -0
- data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb +27 -0
- data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_process_copies_controller.rb +35 -0
- data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_process_groups_controller.rb +90 -0
- data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_process_publications_controller.rb +45 -0
- data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_process_step_activations_controller.rb +39 -0
- data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_process_step_ordering_controller.rb +29 -0
- data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_process_steps_controller.rb +91 -0
- data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_process_user_roles_controller.rb +99 -0
- data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/admin/participatory_processes_controller.rb +102 -0
- data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/participatory_process_groups_controller.rb +28 -0
- data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/participatory_process_steps_controller.rb +20 -0
- data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/participatory_process_widgets_controller.rb +21 -0
- data/decidim-participatory_processes/app/controllers/decidim/participatory_processes/participatory_processes_controller.rb +64 -0
- data/decidim-participatory_processes/app/forms/decidim/participatory_processes/admin/participatory_process_copy_form.rb +35 -0
- data/decidim-participatory_processes/app/forms/decidim/participatory_processes/admin/participatory_process_form.rb +72 -0
- data/decidim-participatory_processes/app/forms/decidim/participatory_processes/admin/participatory_process_group_form.rb +26 -0
- data/decidim-participatory_processes/app/forms/decidim/participatory_processes/admin/participatory_process_step_form.rb +37 -0
- data/decidim-participatory_processes/app/forms/decidim/participatory_processes/admin/participatory_process_user_role_form.rb +31 -0
- data/decidim-participatory_processes/app/helpers/decidim/participatory_processes/admin/process_groups_for_select_helper.rb +23 -0
- data/decidim-participatory_processes/app/helpers/decidim/participatory_processes/admin/processes_for_select_helper.rb +25 -0
- data/decidim-participatory_processes/app/helpers/decidim/participatory_processes/participatory_process_helper.rb +19 -0
- data/decidim-participatory_processes/app/helpers/decidim/participatory_processes/participatory_process_steps_helper.rb +20 -0
- data/{decidim-core → decidim-participatory_processes}/app/models/decidim/participatory_process.rb +5 -4
- data/{decidim-core → decidim-participatory_processes}/app/models/decidim/participatory_process_group.rb +0 -0
- data/{decidim-core → decidim-participatory_processes}/app/models/decidim/participatory_process_step.rb +0 -0
- data/decidim-participatory_processes/app/models/decidim/participatory_processes/abilities/admin/admin_ability.rb +21 -0
- data/decidim-participatory_processes/app/models/decidim/participatory_processes/abilities/admin_ability.rb +16 -0
- data/decidim-participatory_processes/app/models/decidim/participatory_processes/abilities/everyone_ability.rb +19 -0
- data/decidim-participatory_processes/app/presenters/decidim/participatory_processes/participatory_process_stats_presenter.rb +52 -0
- data/decidim-participatory_processes/app/queries/decidim/participatory_processes/admin/admin_users.rb +46 -0
- data/decidim-participatory_processes/app/queries/decidim/participatory_processes/filtered_participatory_process_groups.rb +29 -0
- data/decidim-participatory_processes/app/queries/decidim/participatory_processes/filtered_participatory_processes.rb +26 -0
- data/decidim-participatory_processes/app/queries/decidim/participatory_processes/highlighted_participatory_processes.rb +12 -0
- data/decidim-participatory_processes/app/queries/decidim/participatory_processes/organization_participatory_process_groups.rb +16 -0
- data/decidim-participatory_processes/app/queries/decidim/participatory_processes/organization_participatory_processes.rb +16 -0
- data/decidim-participatory_processes/app/queries/decidim/participatory_processes/organization_prioritized_participatory_process_groups.rb +20 -0
- data/decidim-participatory_processes/app/queries/decidim/participatory_processes/organization_prioritized_participatory_processes.rb +22 -0
- data/decidim-participatory_processes/app/queries/decidim/participatory_processes/organization_published_participatory_processes.rb +19 -0
- data/decidim-participatory_processes/app/queries/decidim/participatory_processes/prioritized_participatory_processes.rb +13 -0
- data/decidim-participatory_processes/app/queries/decidim/participatory_processes/promoted_participatory_processes.rb +12 -0
- data/decidim-participatory_processes/app/queries/decidim/participatory_processes/published_participatory_processes.rb +12 -0
- data/{decidim-core → decidim-participatory_processes}/app/views/decidim/participatory_process_groups/_participatory_process_group.html.erb +0 -0
- data/{decidim-core → decidim-participatory_processes}/app/views/decidim/participatory_process_steps/_participatory_process_step.html.erb +0 -0
- data/decidim-participatory_processes/app/views/decidim/participatory_processes/_order_by_processes.html.erb +12 -0
- data/{decidim-core → decidim-participatory_processes}/app/views/decidim/participatory_processes/_participatory_process.html.erb +2 -2
- data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_copies/_form.html.erb +0 -0
- data/decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_process_copies/new.html.erb +7 -0
- data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_groups/_form.html.erb +0 -0
- data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_groups/edit.html.erb +2 -2
- data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_groups/index.html.erb +1 -1
- data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_groups/new.html.erb +2 -2
- data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_groups/show.html.erb +0 -0
- data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_steps/_form.html.erb +0 -0
- data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_steps/edit.html.erb +2 -2
- data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_steps/index.html.erb +1 -1
- data/decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_process_steps/new.html.erb +7 -0
- data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_steps/show.html.erb +0 -0
- data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_user_roles/_form.html.erb +0 -0
- data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_user_roles/edit.html.erb +2 -2
- data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_process_user_roles/index.html.erb +1 -1
- data/decidim-participatory_processes/app/views/decidim/participatory_processes/admin/participatory_process_user_roles/new.html.erb +7 -0
- data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_processes/_form.html.erb +17 -11
- data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_processes/edit.html.erb +1 -1
- data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_processes/index.html.erb +4 -4
- data/{decidim-admin/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/admin/participatory_processes/new.html.erb +2 -2
- data/{decidim-core/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/participatory_process_groups/show.html.erb +3 -3
- data/{decidim-core/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/participatory_process_steps/_timeline.html.erb +0 -0
- data/{decidim-core/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/participatory_process_steps/index.html.erb +2 -2
- data/{decidim-core/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/participatory_process_widgets/show.html.erb +2 -2
- data/decidim-participatory_processes/app/views/decidim/participatory_processes/participatory_processes/_no_processes_yet.html.erb +3 -0
- data/{decidim-core/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/participatory_processes/_promoted_process.html.erb +3 -3
- data/{decidim-core/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/participatory_processes/_statistics.html.erb +1 -1
- data/{decidim-core/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/participatory_processes/index.html.erb +8 -3
- data/decidim-participatory_processes/app/views/decidim/participatory_processes/participatory_processes/index.js.erb +6 -0
- data/{decidim-core/app/views/decidim → decidim-participatory_processes/app/views/decidim/participatory_processes}/participatory_processes/show.html.erb +14 -7
- data/{decidim-core → decidim-participatory_processes}/app/views/layouts/decidim/_process_header.html.erb +4 -4
- data/{decidim-core → decidim-participatory_processes}/app/views/layouts/decidim/_process_header_steps.html.erb +2 -2
- data/{decidim-admin → decidim-participatory_processes}/app/views/layouts/decidim/admin/participatory_process.html.erb +14 -14
- data/{decidim-admin → decidim-participatory_processes}/app/views/layouts/decidim/admin/participatory_process_groups.html.erb +0 -0
- data/{decidim-admin → decidim-participatory_processes}/app/views/layouts/decidim/admin/participatory_processes.html.erb +0 -0
- data/{decidim-core → decidim-participatory_processes}/app/views/layouts/decidim/participatory_process.html.erb +0 -0
- data/decidim-participatory_processes/bin/rails +15 -0
- data/decidim-participatory_processes/config/locales/ca.yml +281 -0
- data/decidim-participatory_processes/config/locales/en.yml +281 -0
- data/decidim-participatory_processes/config/locales/es.yml +281 -0
- data/decidim-participatory_processes/config/locales/eu.yml +280 -0
- data/decidim-participatory_processes/config/locales/fi.yml +280 -0
- data/decidim-participatory_processes/config/locales/fr.yml +280 -0
- data/decidim-participatory_processes/config/locales/it.yml +280 -0
- data/decidim-participatory_processes/config/locales/nl.yml +280 -0
- data/decidim-participatory_processes/config/locales/pl.yml +281 -0
- data/decidim-participatory_processes/config/locales/uk.yml +282 -0
- data/{decidim-core → decidim-participatory_processes}/db/migrate/20161005130108_add_participatory_processes.rb +0 -0
- data/{decidim-core → decidim-participatory_processes}/db/migrate/20161010102356_translate_processes.rb +0 -0
- data/{decidim-core → decidim-participatory_processes}/db/migrate/20161011125616_add_hero_image_to_processes.rb +0 -0
- data/{decidim-core → decidim-participatory_processes}/db/migrate/20161011141033_add_banner_image_to_processes.rb +0 -0
- data/{decidim-core → decidim-participatory_processes}/db/migrate/20161013134732_add_promoted_flag_to_processes.rb +0 -0
- data/{decidim-core → decidim-participatory_processes}/db/migrate/20161017085822_add_participatory_process_steps.rb +0 -0
- data/{decidim-core → decidim-participatory_processes}/db/migrate/20161019072016_add_active_flag_to_step.rb +0 -0
- data/{decidim-core → decidim-participatory_processes}/db/migrate/20161020080756_add_position_to_steps.rb +0 -0
- data/{decidim-core → decidim-participatory_processes}/db/migrate/20161025125300_add_published_at_to_processes.rb +0 -0
- data/{decidim-core → decidim-participatory_processes}/db/migrate/20161107152228_remove_not_null_on_step_position.rb +0 -0
- data/{decidim-core → decidim-participatory_processes}/db/migrate/20161110092735_add_index_for_process_slug_organization.rb +0 -0
- data/{decidim-core → decidim-participatory_processes}/db/migrate/20161116115156_create_attachments.rb +0 -0
- data/{decidim-core → decidim-participatory_processes}/db/migrate/20170116135237_loosen_step_requirements.rb +0 -0
- data/{decidim-core → decidim-participatory_processes}/db/migrate/20170123134023_make_attachments_polymorphic.rb +0 -0
- data/{decidim-core → decidim-participatory_processes}/db/migrate/20170125135937_rename_attachable_to_attached_to.rb +0 -0
- data/{decidim-core → decidim-participatory_processes}/db/migrate/20170126151123_add_extra_info_to_processes.rb +0 -0
- data/{decidim-core → decidim-participatory_processes}/db/migrate/20170206083118_rename_extra_info_on_processes.rb +0 -0
- data/{decidim-core → decidim-participatory_processes}/db/migrate/20170220110740_remove_steps_short_description.rb +0 -0
- data/{decidim-core → decidim-participatory_processes}/db/migrate/20170221094835_add_scopes_to_processes.rb +0 -0
- data/{decidim-core → decidim-participatory_processes}/db/migrate/20170228142440_add_participatory_process_groups.rb +0 -0
- data/{decidim-core → decidim-participatory_processes}/db/migrate/20170404132616_change_steps_end_and_start_date_to_date.rb +0 -0
- data/decidim-participatory_processes/db/migrate/20170720120135_make_features_polymorphic.rb +27 -0
- data/{decidim-core → decidim-participatory_processes}/db/migrate/20170725085104_add_show_statistics_to_participatory_processes.rb +0 -0
- data/{decidim-core → decidim-participatory_processes}/db/migrate/20170804125402_attachment_description_nullable.rb +0 -0
- data/{decidim-core → decidim-participatory_processes}/db/migrate/20170808080905_add_announcement_to_participatory_processes.rb +0 -0
- data/{decidim-core → decidim-participatory_processes}/db/migrate/20170809084005_add_scopes_enabled_to_participatory_processes.rb +0 -0
- data/decidim-participatory_processes/db/migrate/20170830081725_add_start_date_to_processes.rb +8 -0
- data/decidim-participatory_processes/db/seeds/Exampledocument.pdf +0 -0
- data/decidim-participatory_processes/db/seeds/city.jpeg +0 -0
- data/decidim-participatory_processes/db/seeds/city2.jpeg +0 -0
- data/decidim-participatory_processes/db/seeds/homepage_image.jpg +0 -0
- data/decidim-participatory_processes/decidim-participatory_processes.gemspec +21 -0
- data/decidim-participatory_processes/lib/decidim/participatory_processes.rb +12 -0
- data/decidim-participatory_processes/lib/decidim/participatory_processes/admin.rb +10 -0
- data/decidim-participatory_processes/lib/decidim/participatory_processes/admin_engine.rb +98 -0
- data/decidim-participatory_processes/lib/decidim/participatory_processes/engine.rb +55 -0
- data/decidim-participatory_processes/lib/decidim/participatory_processes/participatory_space.rb +118 -0
- data/decidim-participatory_processes/lib/decidim/participatory_processes/test/factories.rb +97 -0
- data/{decidim-admin → decidim-participatory_processes}/spec/commands/activate_participatory_process_step_spec.rb +1 -1
- data/{decidim-admin → decidim-participatory_processes}/spec/commands/copy_participatory_process_spec.rb +7 -7
- data/decidim-participatory_processes/spec/commands/create_category_spec.rb +10 -0
- data/{decidim-admin → decidim-participatory_processes}/spec/commands/create_participatory_process_admin_spec.rb +1 -1
- data/{decidim-admin → decidim-participatory_processes}/spec/commands/create_participatory_process_spec.rb +4 -2
- data/{decidim-admin → decidim-participatory_processes}/spec/commands/create_participatory_process_step_spec.rb +2 -2
- data/{decidim-admin → decidim-participatory_processes}/spec/commands/deactivate_participatory_process_step_spec.rb +1 -1
- data/decidim-participatory_processes/spec/commands/destroy_category_spec.rb +10 -0
- data/{decidim-admin → decidim-participatory_processes}/spec/commands/destroy_participatory_process_step_spec.rb +2 -2
- data/{decidim-admin → decidim-participatory_processes}/spec/commands/publish_participatory_process_spec.rb +1 -1
- data/{decidim-admin → decidim-participatory_processes}/spec/commands/reorder_participatory_process_steps_spec.rb +1 -1
- data/{decidim-admin → decidim-participatory_processes}/spec/commands/unpublish_participatory_process_spec.rb +1 -1
- data/decidim-participatory_processes/spec/commands/update_category_spec.rb +10 -0
- data/decidim-participatory_processes/spec/commands/update_participatory_process_spec.rb +121 -0
- data/decidim-participatory_processes/spec/controllers/exports_controller_spec.rb +53 -0
- data/decidim-participatory_processes/spec/controllers/participatory_processes_controller_spec.rb +122 -0
- data/decidim-participatory_processes/spec/factories.rb +6 -0
- data/{decidim-admin/spec/features → decidim-participatory_processes/spec/features/admin}/admin_copy_participatory_process_spec.rb +3 -3
- data/{decidim-admin/spec/features → decidim-participatory_processes/spec/features/admin}/admin_manages_participatory_process_admins_spec.rb +0 -0
- data/{decidim-admin/spec/features → decidim-participatory_processes/spec/features/admin}/admin_manages_participatory_process_attachments_spec.rb +0 -0
- data/{decidim-admin/spec/features → decidim-participatory_processes/spec/features/admin}/admin_manages_participatory_process_categories_spec.rb +1 -1
- data/decidim-participatory_processes/spec/features/admin/admin_manages_participatory_process_feature_permissions_spec.rb +14 -0
- data/{decidim-admin/spec/features/admin_manages_features_spec.rb → decidim-participatory_processes/spec/features/admin/admin_manages_participatory_process_features_spec.rb} +83 -51
- data/{decidim-admin/spec/features → decidim-participatory_processes/spec/features/admin}/admin_manages_participatory_process_groups_spec.rb +1 -1
- data/{decidim-admin/spec/features → decidim-participatory_processes/spec/features/admin}/admin_manages_participatory_process_steps_spec.rb +0 -0
- data/decidim-participatory_processes/spec/features/admin/admin_manages_participatory_processes_spec.rb +119 -0
- data/{decidim-admin/spec/features → decidim-participatory_processes/spec/features/admin}/admin_manages_user_groups_spec.rb +0 -0
- data/{decidim-admin/spec/features → decidim-participatory_processes/spec/features/admin}/participatory_process_admin_manages_participatory_process_admins_spec.rb +1 -1
- data/{decidim-admin/spec/features → decidim-participatory_processes/spec/features/admin}/participatory_process_admin_manages_participatory_process_attachments_spec.rb +0 -0
- data/{decidim-admin/spec/features → decidim-participatory_processes/spec/features/admin}/participatory_process_admin_manages_participatory_process_categories_spec.rb +1 -1
- data/{decidim-admin/spec/features → decidim-participatory_processes/spec/features/admin}/participatory_process_admin_manages_participatory_process_steps_spec.rb +0 -0
- data/{decidim-admin/spec/features → decidim-participatory_processes/spec/features/admin}/participatory_process_admin_manages_participatory_processes_spec.rb +2 -2
- data/{decidim-core → decidim-participatory_processes}/spec/features/participatory_process_groups_spec.rb +9 -10
- data/{decidim-core → decidim-participatory_processes}/spec/features/participatory_process_steps_spec.rb +1 -1
- data/{decidim-core → decidim-participatory_processes}/spec/features/participatory_processes_spec.rb +50 -8
- data/decidim-participatory_processes/spec/forms/category_form_spec.rb +16 -0
- data/decidim-participatory_processes/spec/forms/participatory_process_form_spec.rb +167 -0
- data/decidim-participatory_processes/spec/forms/participatory_process_group_form_spec.rb +84 -0
- data/decidim-participatory_processes/spec/forms/participatory_process_step_form_spec.rb +106 -0
- data/decidim-participatory_processes/spec/forms/participatory_process_user_role_form_spec.rb +36 -0
- data/decidim-participatory_processes/spec/helpers/decidim/participatory_processes/participatory_process_helper_spec.rb +43 -0
- data/decidim-participatory_processes/spec/helpers/decidim/scopes_helper_spec.rb +16 -0
- data/decidim-participatory_processes/spec/lib/features/participatory_processes/current_feature_spec.rb +90 -0
- data/decidim-participatory_processes/spec/models/abilities/admin/admin_ability_spec.rb +12 -0
- data/decidim-participatory_processes/spec/models/abilities/admin_ability_spec.rb +12 -0
- data/decidim-participatory_processes/spec/models/abilities/everyone_ability_spec.rb +13 -0
- data/{decidim-core → decidim-participatory_processes}/spec/models/decidim/participatory_process_spec.rb +0 -0
- data/{decidim-core → decidim-participatory_processes}/spec/models/decidim/participatory_process_step_spec.rb +0 -0
- data/{decidim-core/spec/presenters/decidim → decidim-participatory_processes/spec/presenters/decidim/participatory_processes}/participatory_process_stats_presenter.spec.rb +3 -3
- data/{decidim-admin/spec/queries → decidim-participatory_processes/spec/queries/admin}/process_admins_spec.rb +1 -1
- data/{decidim-core/spec/queries/decidim → decidim-participatory_processes/spec/queries}/organization_participatory_process_groups_spec.rb +1 -1
- data/{decidim-core/spec/queries/decidim → decidim-participatory_processes/spec/queries}/organization_participatory_processes_spec.rb +1 -1
- data/{decidim-core/spec/queries/decidim → decidim-participatory_processes/spec/queries}/organization_prioritized_participatory_processes_spec.rb +1 -1
- data/{decidim-core/spec/queries/decidim → decidim-participatory_processes/spec/queries}/organization_published_participatory_processes_spec.rb +1 -1
- data/{decidim-core/spec/queries/decidim → decidim-participatory_processes/spec/queries}/participatory_processes_with_user_role_spec.rb +0 -0
- data/{decidim-admin → decidim-participatory_processes}/spec/shared/manage_process_admins_examples.rb +13 -5
- data/{decidim-admin → decidim-participatory_processes}/spec/shared/manage_process_attachments_examples.rb +1 -1
- data/{decidim-admin → decidim-participatory_processes}/spec/shared/manage_process_categories_examples.rb +5 -5
- data/{decidim-admin → decidim-participatory_processes}/spec/shared/manage_process_steps_examples.rb +1 -1
- data/{decidim-admin → decidim-participatory_processes}/spec/shared/manage_processes_examples.rb +5 -5
- data/{decidim-admin → decidim-participatory_processes}/spec/shared/participatory_process_administration_by_admin_shared_context.rb +0 -0
- data/{decidim-admin → decidim-participatory_processes}/spec/shared/participatory_process_administration_by_process_admin_shared_context.rb +0 -0
- data/{decidim-admin → decidim-participatory_processes}/spec/shared/participatory_process_administration_shared_context.rb +0 -0
- data/decidim-participatory_processes/spec/spec_helper.rb +9 -0
- data/decidim-proposals/app/assets/images/decidim/proposals/icon.svg +3 -1
- data/decidim-proposals/app/forms/decidim/proposals/admin/proposal_form.rb +1 -1
- data/decidim-proposals/app/forms/decidim/proposals/proposal_form.rb +1 -1
- data/decidim-proposals/app/models/decidim/proposals/abilities/participatory_process_admin_ability.rb +2 -2
- data/decidim-proposals/app/models/decidim/proposals/abilities/participatory_process_moderator_ability.rb +1 -1
- data/decidim-proposals/app/models/decidim/proposals/proposal.rb +8 -15
- data/decidim-proposals/app/views/decidim/proposals/admin/proposals/_form.html.erb +2 -2
- data/decidim-proposals/app/views/decidim/proposals/admin/proposals/index.html.erb +7 -3
- data/decidim-proposals/app/views/decidim/proposals/proposals/_filters.html.erb +2 -2
- data/decidim-proposals/app/views/decidim/proposals/proposals/new.html.erb +2 -2
- data/decidim-proposals/app/views/decidim/proposals/proposals/show.html.erb +2 -1
- data/decidim-proposals/config/locales/ca.yml +8 -2
- data/decidim-proposals/config/locales/en.yml +3 -6
- data/decidim-proposals/config/locales/es.yml +8 -2
- data/decidim-proposals/config/locales/eu.yml +26 -9
- data/decidim-proposals/config/locales/fi.yml +32 -2
- data/decidim-proposals/config/locales/fr.yml +35 -15
- data/decidim-proposals/config/locales/it.yml +20 -2
- data/decidim-proposals/config/locales/nl.yml +160 -0
- data/decidim-proposals/config/locales/pl.yml +163 -0
- data/decidim-proposals/config/locales/uk.yml +171 -0
- data/decidim-proposals/db/migrate/20170307085300_migrate_proposal_reports_data_to_reports.rb +1 -1
- data/decidim-proposals/decidim-proposals.gemspec +1 -0
- data/decidim-proposals/lib/decidim/proposals/feature.rb +19 -17
- data/decidim-proposals/lib/decidim/proposals/test/factories.rb +6 -6
- data/decidim-proposals/spec/controllers/decidim/admin/proposal_answers_controller_spec.rb +1 -1
- data/decidim-proposals/spec/controllers/decidim/proposal_votes_controller_spec.rb +1 -2
- data/decidim-proposals/spec/controllers/decidim/proposals_controller_spec.rb +1 -2
- data/decidim-proposals/spec/factories.rb +1 -0
- data/decidim-proposals/spec/features/follow_proposals_spec.rb +13 -0
- data/decidim-proposals/spec/features/proposals_spec.rb +16 -16
- data/decidim-proposals/spec/features/report_proposal_spec.rb +1 -1
- data/decidim-proposals/spec/features/vote_proposal_spec.rb +4 -4
- data/decidim-proposals/spec/models/decidim/proposals/abilities/participatory_process_admin_ability.rb +1 -1
- data/decidim-proposals/spec/models/decidim/proposals/proposal_spec.rb +20 -43
- data/decidim-proposals/spec/queries/decidim/proposals/filtered_proposals_spec.rb +2 -2
- data/decidim-proposals/spec/services/decidim/proposals/proposal_search_spec.rb +3 -3
- data/decidim-proposals/spec/services/decidim/proposals/proposal_serializer_spec.rb +4 -4
- data/decidim-proposals/spec/shared/manage_proposals_examples.rb +45 -16
- data/decidim-proposals/spec/shared/proposal_form_examples.rb +1 -1
- data/decidim-proposals/spec/shared/proposals_help_texts_examples.rb +8 -2
- data/decidim-results/app/assets/images/decidim/results/icon.svg +3 -1
- data/decidim-results/app/forms/decidim/results/admin/result_form.rb +1 -1
- data/decidim-results/app/models/decidim/results/result.rb +5 -9
- data/decidim-results/app/views/decidim/results/admin/results/_form.html.erb +3 -3
- data/decidim-results/app/views/decidim/results/results/_filters.html.erb +1 -1
- data/decidim-results/app/views/decidim/results/results/show.html.erb +1 -0
- data/decidim-results/config/locales/ca.yml +3 -2
- data/decidim-results/config/locales/en.yml +0 -2
- data/decidim-results/config/locales/es.yml +4 -3
- data/decidim-results/config/locales/eu.yml +5 -4
- data/decidim-results/config/locales/fi.yml +8 -2
- data/decidim-results/config/locales/fr.yml +5 -4
- data/decidim-results/config/locales/it.yml +4 -2
- data/decidim-results/config/locales/nl.yml +75 -0
- data/decidim-results/config/locales/pl.yml +76 -0
- data/decidim-results/config/locales/uk.yml +82 -0
- data/decidim-results/decidim-results.gemspec +1 -0
- data/decidim-results/lib/decidim/results/feature.rb +5 -5
- data/decidim-results/lib/decidim/results/test/factories.rb +2 -2
- data/decidim-results/spec/commands/create_result_spec.rb +4 -4
- data/decidim-results/spec/commands/update_result_spec.rb +4 -4
- data/decidim-results/spec/factories.rb +1 -0
- data/decidim-results/spec/features/comments_spec.rb +2 -2
- data/decidim-results/spec/features/explore_results_spec.rb +3 -3
- data/decidim-results/spec/features/follow_result_spec.rb +13 -0
- data/decidim-results/spec/forms/result_form_spec.rb +3 -3
- data/decidim-results/spec/models/result_spec.rb +20 -0
- data/decidim-results/spec/queries/decidim/results/filtered_results_spec.rb +2 -2
- data/decidim-results/spec/services/result_search_spec.rb +1 -1
- data/decidim-results/spec/services/result_stats_calculator_spec.rb +4 -4
- data/decidim-surveys/app/assets/images/decidim/surveys/icon.svg +8 -1
- data/decidim-surveys/app/helpers/decidim/surveys/admin/application_helper.rb +0 -4
- data/decidim-surveys/app/models/decidim/surveys/abilities/participatory_process_admin_ability.rb +1 -1
- data/decidim-surveys/app/views/decidim/surveys/admin/surveys/_question.html.erb +8 -1
- data/decidim-surveys/config/locales/ca.yml +4 -3
- data/decidim-surveys/config/locales/en.yml +3 -9
- data/decidim-surveys/config/locales/es.yml +4 -3
- data/decidim-surveys/config/locales/eu.yml +1 -3
- data/decidim-surveys/config/locales/fi.yml +64 -0
- data/decidim-surveys/config/locales/fr.yml +5 -4
- data/decidim-surveys/config/locales/it.yml +64 -0
- data/decidim-surveys/config/locales/nl.yml +64 -0
- data/decidim-surveys/config/locales/pl.yml +64 -0
- data/decidim-surveys/config/locales/uk.yml +69 -0
- data/decidim-surveys/decidim-surveys.gemspec +1 -0
- data/decidim-surveys/lib/decidim/surveys/admin_engine.rb +1 -1
- data/decidim-surveys/lib/decidim/surveys/feature.rb +3 -3
- data/decidim-surveys/lib/decidim/surveys/test/factories.rb +2 -2
- data/decidim-surveys/spec/commands/decidim/surveys/admin/update_survey_spec.rb +1 -1
- data/decidim-surveys/spec/commands/decidim/surveys/answer_survey_spec.rb +1 -1
- data/decidim-surveys/spec/factories.rb +1 -0
- data/decidim-surveys/spec/features/survey_spec.rb +1 -1
- data/decidim-surveys/spec/forms/decidim/surveys/survey_answer_form_spec.rb +1 -1
- data/decidim-surveys/spec/models/decidim/surveys/abilities/current_user_ability_spec.rb +1 -1
- data/decidim-surveys/spec/models/decidim/surveys/survey_answer_spec.rb +1 -1
- data/decidim-surveys/spec/models/decidim/surveys/survey_spec.rb +1 -1
- data/decidim-system/app/forms/decidim/system/register_organization_form.rb +1 -1
- data/decidim-system/app/views/decidim/system/organizations/new.html.erb +1 -0
- data/decidim-system/config/locales/ca.yml +3 -3
- data/decidim-system/config/locales/en.yml +2 -3
- data/decidim-system/config/locales/es.yml +4 -4
- data/decidim-system/config/locales/eu.yml +6 -7
- data/decidim-system/config/locales/fi.yml +9 -3
- data/decidim-system/config/locales/fr.yml +11 -8
- data/decidim-system/config/locales/it.yml +8 -3
- data/decidim-system/config/locales/nl.yml +66 -0
- data/decidim-system/config/locales/pl.yml +66 -0
- data/decidim-system/config/locales/uk.yml +71 -0
- data/decidim-system/decidim-system.gemspec +1 -1
- data/decidim.gemspec +1 -0
- data/docs/create_followers_from_comment_authors.md +12 -0
- data/docs/create_followers_from_resource_authors.md +19 -0
- data/docs/how_to_create_a_plugin.md +2 -2
- data/lib/decidim.rb +9 -0
- data/lib/generators/decidim/app_generator.rb +11 -5
- data/lib/generators/decidim/install_generator.rb +1 -1
- data/lib/generators/decidim/templates/Dockerfile.erb +1 -1
- data/lib/generators/decidim/templates/Gemfile.erb +30 -29
- data/lib/generators/decidim/templates/database.yml.erb +2 -0
- data/package-lock.json +1 -1
- data/package.json +1 -1
- data/spec/generator_spec.rb +31 -0
- data/{decidim-dev/lib/decidim/dev/test/i18n_shared_examples.rb → spec/i18n_spec.rb} +2 -2
- metadata +512 -236
- data/decidim-admin/app/commands/decidim/admin/activate_participatory_process_step.rb +0 -44
- data/decidim-admin/app/commands/decidim/admin/copy_participatory_process.rb +0 -113
- data/decidim-admin/app/commands/decidim/admin/create_participatory_process.rb +0 -78
- data/decidim-admin/app/commands/decidim/admin/create_participatory_process_admin.rb +0 -93
- data/decidim-admin/app/commands/decidim/admin/create_participatory_process_group.rb +0 -55
- data/decidim-admin/app/commands/decidim/admin/create_participatory_process_step.rb +0 -47
- data/decidim-admin/app/commands/decidim/admin/deactivate_participatory_process_step.rb +0 -36
- data/decidim-admin/app/commands/decidim/admin/destroy_participatory_process_step.rb +0 -44
- data/decidim-admin/app/commands/decidim/admin/publish_participatory_process.rb +0 -32
- data/decidim-admin/app/commands/decidim/admin/reorder_participatory_process_steps.rb +0 -52
- data/decidim-admin/app/commands/decidim/admin/unpublish_participatory_process.rb +0 -32
- data/decidim-admin/app/commands/decidim/admin/update_participatory_process.rb +0 -74
- data/decidim-admin/app/commands/decidim/admin/update_participatory_process_admin.rb +0 -41
- data/decidim-admin/app/commands/decidim/admin/update_participatory_process_group.rb +0 -58
- data/decidim-admin/app/commands/decidim/admin/update_participatory_process_step.rb +0 -49
- data/decidim-admin/app/controllers/decidim/admin/concerns/participatory_process_admin.rb +0 -20
- data/decidim-admin/app/controllers/decidim/admin/participatory_process_attachments_controller.rb +0 -25
- data/decidim-admin/app/controllers/decidim/admin/participatory_process_copies_controller.rb +0 -33
- data/decidim-admin/app/controllers/decidim/admin/participatory_process_groups_controller.rb +0 -86
- data/decidim-admin/app/controllers/decidim/admin/participatory_process_publications_controller.rb +0 -43
- data/decidim-admin/app/controllers/decidim/admin/participatory_process_step_activations_controller.rb +0 -37
- data/decidim-admin/app/controllers/decidim/admin/participatory_process_step_ordering_controller.rb +0 -27
- data/decidim-admin/app/controllers/decidim/admin/participatory_process_steps_controller.rb +0 -89
- data/decidim-admin/app/controllers/decidim/admin/participatory_process_user_roles_controller.rb +0 -97
- data/decidim-admin/app/controllers/decidim/admin/participatory_processes_controller.rb +0 -96
- data/decidim-admin/app/forms/decidim/admin/participatory_process_copy_form.rb +0 -33
- data/decidim-admin/app/forms/decidim/admin/participatory_process_form.rb +0 -69
- data/decidim-admin/app/forms/decidim/admin/participatory_process_group_form.rb +0 -24
- data/decidim-admin/app/forms/decidim/admin/participatory_process_step_form.rb +0 -35
- data/decidim-admin/app/forms/decidim/admin/participatory_process_user_role_form.rb +0 -29
- data/decidim-admin/app/helpers/decidim/admin/process_groups_for_select_helper.rb +0 -21
- data/decidim-admin/app/helpers/decidim/admin/processes_for_select_helper.rb +0 -23
- data/decidim-admin/app/queries/decidim/admin/process_admins.rb +0 -44
- data/decidim-admin/app/views/decidim/admin/participatory_process_copies/new.html.erb +0 -7
- data/decidim-admin/app/views/decidim/admin/participatory_process_steps/new.html.erb +0 -7
- data/decidim-admin/app/views/decidim/admin/participatory_process_user_roles/new.html.erb +0 -7
- data/decidim-admin/config/i18n-tasks.yml +0 -132
- data/decidim-admin/spec/commands/update_participatory_process_spec.rb +0 -119
- data/decidim-admin/spec/controllers/exports_controller_spec.rb +0 -51
- data/decidim-admin/spec/features/admin_manages_participatory_processes_spec.rb +0 -115
- data/decidim-admin/spec/forms/participatory_process_form_spec.rb +0 -165
- data/decidim-admin/spec/forms/participatory_process_group_form_spec.rb +0 -82
- data/decidim-admin/spec/forms/participatory_process_step_form_spec.rb +0 -104
- data/decidim-admin/spec/forms/participatory_process_user_role_form_spec.rb +0 -34
- data/decidim-admin/spec/i18n_spec.rb +0 -7
- data/decidim-api/spec/i18n_spec.rb +0 -7
- data/decidim-budgets/config/i18n-tasks.yml +0 -12
- data/decidim-budgets/spec/i18n_spec.rb +0 -7
- data/decidim-comments/app/mailers/decidim/comments/comment_notification_mailer.rb +0 -44
- data/decidim-comments/app/views/decidim/comments/comment_notification_mailer/comment_created.html.erb +0 -18
- data/decidim-comments/app/views/decidim/comments/comment_notification_mailer/reply_created.html.erb +0 -18
- data/decidim-comments/config/i18n-tasks.yml +0 -123
- data/decidim-comments/spec/features/notifications_spec.rb +0 -36
- data/decidim-comments/spec/i18n_spec.rb +0 -7
- data/decidim-comments/spec/mailers/comment_notification_mailer_spec.rb +0 -43
- data/decidim-core/app/assets/images/decidim/process.svg +0 -10
- data/decidim-core/app/constraints/decidim/current_participatory_process.rb +0 -35
- data/decidim-core/app/controllers/concerns/decidim/needs_participatory_process.rb +0 -46
- data/decidim-core/app/controllers/decidim/participatory_process_groups_controller.rb +0 -26
- data/decidim-core/app/controllers/decidim/participatory_process_steps_controller.rb +0 -18
- data/decidim-core/app/controllers/decidim/participatory_process_widgets_controller.rb +0 -19
- data/decidim-core/app/controllers/decidim/participatory_processes_controller.rb +0 -49
- data/decidim-core/app/helpers/decidim/participatory_process_helper.rb +0 -17
- data/decidim-core/app/helpers/decidim/participatory_process_steps_helper.rb +0 -18
- data/decidim-core/app/presenters/decidim/participatory_process_stats_presenter.rb +0 -50
- data/decidim-core/app/queries/decidim/highlighted_participatory_processes.rb +0 -10
- data/decidim-core/app/queries/decidim/organization_participatory_process_groups.rb +0 -14
- data/decidim-core/app/queries/decidim/organization_participatory_processes.rb +0 -14
- data/decidim-core/app/queries/decidim/organization_prioritized_participatory_processes.rb +0 -18
- data/decidim-core/app/queries/decidim/organization_published_participatory_processes.rb +0 -17
- data/decidim-core/app/queries/decidim/prioritized_participatory_processes.rb +0 -11
- data/decidim-core/app/queries/decidim/promoted_participatory_processes.rb +0 -10
- data/decidim-core/app/queries/decidim/published_participatory_processes.rb +0 -10
- data/decidim-core/app/views/decidim/participatory_processes/_no_processes_yet.html.erb +0 -3
- data/decidim-core/app/views/decidim/participatory_processes/_order_by_processes.html.erb +0 -3
- data/decidim-core/lib/decidim/notifiable.rb +0 -22
- data/decidim-core/spec/controllers/participatory_processes_controller_spec.rb +0 -117
- data/decidim-core/spec/helpers/decidim/participatory_process_helper_spec.rb +0 -41
- data/decidim-core/spec/helpers/decidim/scopes_helper_spec.rb +0 -40
- data/decidim-core/spec/i18n_spec.rb +0 -7
- data/decidim-dev/config/i18n-tasks.yml +0 -6
- data/decidim-dev/spec/i18n_spec.rb +0 -7
- data/decidim-meetings/config/i18n-tasks.yml +0 -10
- data/decidim-meetings/spec/i18n_spec.rb +0 -7
- data/decidim-pages/config/i18n-tasks.yml +0 -6
- data/decidim-pages/spec/features/comments_spec.rb +0 -11
- data/decidim-pages/spec/i18n_spec.rb +0 -7
- data/decidim-proposals/config/i18n-tasks.yml +0 -15
- data/decidim-proposals/spec/i18n_spec.rb +0 -7
- data/decidim-results/config/i18n-tasks.yml +0 -11
- data/decidim-results/spec/i18n_spec.rb +0 -7
- data/decidim-surveys/config/i18n-tasks.yml +0 -9
- data/decidim-system/config/i18n-tasks.yml +0 -122
- data/decidim-system/spec/i18n_spec.rb +0 -7
@@ -1,6 +1,8 @@
|
|
1
1
|
fi:
|
2
2
|
activemodel:
|
3
3
|
attributes:
|
4
|
+
account:
|
5
|
+
delete_reason: Syytä tilisi poistoon
|
4
6
|
report:
|
5
7
|
details: Lisätiedot
|
6
8
|
user:
|
@@ -8,6 +10,7 @@ fi:
|
|
8
10
|
name: Nimesi
|
9
11
|
password: Salasanasi
|
10
12
|
password_confirmation: Vahvista salasanasi
|
13
|
+
remove_avatar: Poista profiilikuva
|
11
14
|
user_group_document_number: Organisaation asiakirjanumero
|
12
15
|
user_group_name: Organisaation nimi
|
13
16
|
user_group_phone: Organisaation puhelinnumero
|
@@ -31,6 +34,17 @@ fi:
|
|
31
34
|
image_too_big: Kuva on liian suuri
|
32
35
|
decidim:
|
33
36
|
account:
|
37
|
+
delete:
|
38
|
+
alert: Tätä toimintoa ei voi peruuttaa. Jos poistat käyttäjätilisi, et voi enää kirjautua sisään.
|
39
|
+
confirm:
|
40
|
+
close: Sulje ikkuna
|
41
|
+
ok: Kyllä, haluan poistaa tilini
|
42
|
+
question: Oletko varma, että haluat poistaa tilisi?
|
43
|
+
title: Poista tilini
|
44
|
+
explanation: Syy tilisi poistoon (valinnainen).
|
45
|
+
destroy:
|
46
|
+
error: Tilin poistossa tapahtui virhe.
|
47
|
+
success: Tilisi poistaminen onnistui.
|
34
48
|
show:
|
35
49
|
change_password: Vaihda salasana
|
36
50
|
update_account: Päivitä tili
|
@@ -104,6 +118,26 @@ fi:
|
|
104
118
|
shared:
|
105
119
|
omniauth_buttons:
|
106
120
|
or: Tai
|
121
|
+
errors:
|
122
|
+
internal_server_error:
|
123
|
+
title: Palvelimellamme tapahtui virhe
|
124
|
+
try_later: Yritä myöhemmin uudestaan.
|
125
|
+
not_found:
|
126
|
+
back_home: Takaisin kotisivulle
|
127
|
+
content_doesnt_exist: Tämä osoite on virheellinen tai käytöstä poistunut.
|
128
|
+
title: Etsimääsi sivua ei löydy
|
129
|
+
events:
|
130
|
+
email_event:
|
131
|
+
email_greeting: Hei %{user_name},
|
132
|
+
email_intro: 'On ”%{resource_title}” päivityksen. Näet tältä sivulta:'
|
133
|
+
email_outro: Olet saanut ilmoituksen, koska olette seuraavan ”%{resource_title}”. Voit unfollow edellisen linkin.
|
134
|
+
email_subject: '%{resource_title} päivitys'
|
135
|
+
notification_event:
|
136
|
+
notification_title: Tapahtuma tapahtui <a href="%{resource_path}">%{resource_title}</a>.
|
137
|
+
export_mailer:
|
138
|
+
export:
|
139
|
+
ready: Tähän viestiin on liitetty palvelusta löytyvät tiedot zip-pakettina.
|
140
|
+
subject: Tietojen vienti "%{name}" on valmis
|
107
141
|
features:
|
108
142
|
dummy:
|
109
143
|
actions:
|
@@ -126,60 +160,54 @@ fi:
|
|
126
160
|
project: Projektit
|
127
161
|
proposal: Ehdotukset
|
128
162
|
result: Tulokset
|
163
|
+
follows:
|
164
|
+
create:
|
165
|
+
button: Seuraa
|
166
|
+
error: On tapahtunut virhe jälkeen tämä resurssi.
|
167
|
+
destroy:
|
168
|
+
button: Lopettaa
|
169
|
+
error: On tapahtunut virhe unfollowing tämä resurssi.
|
129
170
|
forms:
|
171
|
+
current_file: Nykyinen tiedosto
|
172
|
+
current_image: Nykyinen kuva
|
173
|
+
default_image: Oletuskuva
|
130
174
|
errors:
|
131
175
|
error: Tässä kentässä on virhe.
|
176
|
+
remove_this_file: Poista tiedosto
|
177
|
+
managed_users:
|
178
|
+
expired_session: Eri käyttäjänä kirjautumisen istunto on vanhentunut.
|
132
179
|
menu:
|
133
180
|
home: Etusivu
|
134
181
|
more_information: Lisätietoja
|
135
|
-
processes: Prosessit
|
136
182
|
newsletter_mailer:
|
137
183
|
newsletter:
|
138
184
|
note: Tämä viesti on lähetetty sinulle, koska olet tilannut uutiskirjeet organisaatiolta %{organization_name}. Voit muuttaa asetuksiasi <a href="%{link}">ilmoitusten sivulla</a>.
|
139
185
|
notifications_settings:
|
140
186
|
show:
|
141
|
-
|
187
|
+
email_on_notification: Haluan saada sähköpostia aina, kun saan ilmoituksen.
|
142
188
|
newsletter_notifications: Haluan vastaanottaa tietoa relevantista aktiviteetista
|
143
|
-
replies_notifications: Hakuan vastaanottaa sähköposti-ilmoituksia, kun joku vastaa kommentteihini.
|
144
189
|
update_notifications_settings: Tallenna muutokset
|
145
190
|
update:
|
146
191
|
error: Ilmoitusasetustesi päivityksessä tapahtui virhe.
|
147
192
|
success: Ilmoitusasetuksesi päivitettiin onnistuneesti.
|
148
193
|
own_user_groups:
|
149
194
|
index:
|
195
|
+
pending: Odottaa
|
196
|
+
rejected: Hylätty
|
150
197
|
verified: Varmennettu
|
151
198
|
pages:
|
152
199
|
index:
|
153
200
|
title: Lisätietoa
|
154
|
-
participatory_process_groups:
|
155
|
-
show:
|
156
|
-
group_participatory_processes: Prosessit ryhmälle %{group}
|
157
|
-
title: Otsikko
|
158
|
-
participatory_process_steps:
|
159
|
-
index:
|
160
|
-
process_steps: Prosessin vaiheet
|
161
|
-
title: Osallistumisprosessin vaiheet
|
162
|
-
participatory_processes:
|
163
|
-
index:
|
164
|
-
title: Osallistumisprosessit
|
165
|
-
participatory_process_groups:
|
166
|
-
none: Ei ryhmää
|
167
|
-
scopes:
|
168
|
-
global: Yleinen konteksti
|
169
|
-
show:
|
170
|
-
developer_group: Kehittäjäryhmä
|
171
|
-
end_date: Lopetusaika
|
172
|
-
local_area: Paikallinen alue
|
173
|
-
participatory_scope: Osallistumiskonteksti
|
174
|
-
participatory_structure: Osallistumisrakenne
|
175
|
-
scope: Konteksti
|
176
|
-
target: Kohde
|
177
201
|
reported_mailer:
|
178
202
|
hide:
|
179
203
|
hello: Hei %{name},
|
204
|
+
manage_moderations: Hallitse moderointeja
|
205
|
+
report_html: <p>Tämä <a href="%{url}">sisältö</a> on piilotettu automaattisesti.</p>
|
180
206
|
subject: Resurssi on piilotettu automaattisesti
|
181
207
|
report:
|
182
208
|
hello: Hei %{name},
|
209
|
+
manage_moderations: Hallitse moderointeja
|
210
|
+
report_html: <p>Tämä <a href="%{url}">sisältö</a> on raportoitu.</p>
|
183
211
|
subject: Resurssi on raportoitu
|
184
212
|
reports:
|
185
213
|
create:
|
@@ -201,6 +229,10 @@ fi:
|
|
201
229
|
invalid: "%{field} on virheellinen."
|
202
230
|
ok: Ok
|
203
231
|
title: Ei varmennettu
|
232
|
+
embed_modal:
|
233
|
+
close_window: Sulje ikkuna
|
234
|
+
embed: Liitä tämä koodi sivullesi
|
235
|
+
embed_link: Upotta
|
204
236
|
flag_modal:
|
205
237
|
already_reported: Tästä sisällöstä on jo tehty ilmoitus ja palvelun hallinnoija tarkastaa sen.
|
206
238
|
close: Sulje
|
@@ -215,6 +247,8 @@ fi:
|
|
215
247
|
sign_up: Rekisteröidy
|
216
248
|
reference:
|
217
249
|
reference: 'Viite: %{reference}'
|
250
|
+
results_per_page:
|
251
|
+
label: 'Tulosten määrä sivulla:'
|
218
252
|
share_modal:
|
219
253
|
close_window: Sulje ikkuna
|
220
254
|
share: Jaa
|
@@ -234,6 +268,7 @@ fi:
|
|
234
268
|
Sinulle ei luoda tiliä, mikäli et seuraa linkkiä ja aseta salasanaasi.
|
235
269
|
invited_you_as_admin: "%{invited_by} on kutsunut sinut %{application} ylläpitäjän roolissa. Voit hyväksyä kutsun alla olevan linkin avulla."
|
236
270
|
someone_invited_you: Joku kutsui sinut liittymään %{application}, voit hyväksyä kutsun alla olevan linkin avulla.
|
271
|
+
you_are_now_admin: Olet nyt admin
|
237
272
|
invite_admin:
|
238
273
|
subject: Sinut on kutsuttu hallinnoimaan organisaatiota %{organization}
|
239
274
|
invite_collaborator:
|
@@ -246,6 +281,8 @@ fi:
|
|
246
281
|
subject: Salasana vaihdettu
|
247
282
|
errors:
|
248
283
|
messages:
|
284
|
+
content_type_whitelist_error: Tiedostotyyppi on virheellinen
|
285
|
+
cycle_detected: kontekstin isäntä ei voi olla sen jälkeläinen
|
249
286
|
file_size_is_less_than_or_equal_to: tiedoston koko tulee olla %{count} tai vähemmän
|
250
287
|
invalid_manifest: Virheellinen manifesti
|
251
288
|
invalid_participatory_process: Virheellinen osallistumisprosessi
|
@@ -255,6 +292,8 @@ fi:
|
|
255
292
|
too_many_marks: Sisältää liian monta merkkiä
|
256
293
|
too_much_caps: Sisältää liian paljon isoja kirjaimia
|
257
294
|
too_short: On liian lyhyt
|
295
|
+
forms:
|
296
|
+
required: Vaadittu
|
258
297
|
invisible_captcha:
|
259
298
|
sentence_for_humans: Jos olet ihminen, jätä tämä kenttä huomiotta
|
260
299
|
timestamp_error_message: Pahoittelut, olit liian nopea! Lähetä lomake uudestaan.
|
@@ -264,46 +303,35 @@ fi:
|
|
264
303
|
description_html: Tämä sivusto käyttää evästeitä. Jatkamalla tämän sivuston käyttöä hyväksyt selaimeesi asettamamme evästeet. Lue lisää %{link}.
|
265
304
|
link_label: täältä
|
266
305
|
ok: Hyväksyn
|
306
|
+
footer:
|
307
|
+
made_with_open_source: 'Verkkosivusto luotu <a target="_blank" href="https://github.com/decidim/decidim">ilmaisen ohjelmiston</a> avulla.'
|
267
308
|
header:
|
268
309
|
close_menu: Sulje valikko
|
269
310
|
navigation: Navigaatio
|
270
311
|
sign_in: Kirjaudu sisään
|
271
312
|
sign_up: Rekisteröidy
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
order_by_processes:
|
281
|
-
processes:
|
282
|
-
one: "%{count} prosessi"
|
283
|
-
other: "%{count} prosessia"
|
284
|
-
participatory_process:
|
285
|
-
active_step: 'Aktiivinen vaihe:'
|
286
|
-
take_part: Osallistu
|
287
|
-
promoted_process:
|
288
|
-
active_step: 'Aktiivinen vaihe:'
|
289
|
-
more_info: Lisätietoja
|
290
|
-
take_part: Osallistu
|
291
|
-
process_header:
|
292
|
-
process_menu_item: Prosessi
|
293
|
-
unfold: Avaa
|
294
|
-
process_header_steps:
|
295
|
-
step: Vaihe %{current} / %{total}
|
296
|
-
view_steps: Näytä vaiheet
|
313
|
+
impersonation_warning:
|
314
|
+
close_session: Sulje istunto
|
315
|
+
description_html: Esiinnyt käyttäjänä <b>%{user_name}</b>.
|
316
|
+
expire_time_html: Istuntosi vanhenee <b><span class="minutes">%{minutes}</span> minuutin kuluttua</b>.
|
317
|
+
notifications_dashboard:
|
318
|
+
mark_all_as_read: Merkitse kaikki luetuiksi
|
319
|
+
no_notifications: Ilmoituksia ei vielä.
|
320
|
+
title: Ilmoitukset
|
297
321
|
user_menu:
|
298
322
|
admin_dashboard: Hallintapaneeli
|
323
|
+
notifications: Ilmoitukset
|
299
324
|
profile: Oma käyttäjätili
|
300
325
|
sign_out: Kirjaudu ulos
|
301
326
|
user_profile:
|
302
327
|
account: Käyttäjätili
|
303
328
|
authorizations: Varmennukset
|
329
|
+
delete_my_account: Poista tilini
|
304
330
|
notifications_settings: Ilmoitusten asetukset
|
305
331
|
title: Käyttäjätilin asetukset
|
306
332
|
user_groups: Organisaatiot
|
333
|
+
widget:
|
334
|
+
see_more: Näytä lisää
|
307
335
|
locale:
|
308
336
|
name: Suomi
|
309
337
|
pages:
|
@@ -329,7 +357,19 @@ fi:
|
|
329
357
|
active_step: Aktiivinen vaihe
|
330
358
|
see_all_processes: Näytä kaikki prosessit
|
331
359
|
statistics:
|
360
|
+
answers_count: Vastaukset
|
361
|
+
comments_count: Kommentit
|
332
362
|
headline: Tämänhetkinen tila organisaatiolle %{organization}
|
363
|
+
meetings_count: Tapaamiset
|
364
|
+
orders_count: Tilaukset
|
365
|
+
pages_count: Sivut
|
366
|
+
processes_count: Prosessit
|
367
|
+
projects_count: Projektit
|
368
|
+
proposals_count: Ehdotukset
|
369
|
+
results_count: Tulokset
|
370
|
+
surveys_count: Kyselyt
|
371
|
+
users_count: Osallistujat
|
372
|
+
votes_count: Äänet
|
333
373
|
sub_hero:
|
334
374
|
register: Rekisteröidy
|
335
375
|
social_share_button:
|
@@ -18,7 +18,7 @@ fr:
|
|
18
18
|
attributes:
|
19
19
|
decidim/user:
|
20
20
|
current_password: Mot de passe actuel
|
21
|
-
email:
|
21
|
+
email: Courriel
|
22
22
|
name: Nom d'utilisateur
|
23
23
|
password: Mot de passe
|
24
24
|
password_confirmation: Confirmation mot de passe
|
@@ -126,6 +126,14 @@ fr:
|
|
126
126
|
back_home: Retour à l'accueil
|
127
127
|
content_doesnt_exist: Cette adresse web est incorrecte ou n'existe plus.
|
128
128
|
title: La page que vous recherchez ne peut être trouvée
|
129
|
+
events:
|
130
|
+
email_event:
|
131
|
+
email_greeting: Bonjour %{user_name},
|
132
|
+
email_intro: '« %{resource_title} » a été mis à jour. Vous pouvez le voir sur cette page :'
|
133
|
+
email_outro: Vous recevez cet notification car vous suivez « %{resource_title} ». Vous pouvez cesser de le suivre en allant sur le lien précédent.
|
134
|
+
email_subject: Mise à jour de %{resource_title}
|
135
|
+
notification_event:
|
136
|
+
notification_title: Un événement a eu lieu à <a href="%{resource_path}">%{resource_title}</a>.
|
129
137
|
export_mailer:
|
130
138
|
export:
|
131
139
|
ready: Vous trouverez ci-joint une version zippée de votre exportation.
|
@@ -147,29 +155,37 @@ fr:
|
|
147
155
|
dummy_step_attribute_2: Exemple d'attribut pour une étape 2
|
148
156
|
filters:
|
149
157
|
linked_classes:
|
150
|
-
all:
|
151
|
-
meeting:
|
158
|
+
all: Tous
|
159
|
+
meeting: Réunions
|
152
160
|
project: Projets
|
153
161
|
proposal: Propositions
|
154
162
|
result: Résultats
|
163
|
+
follows:
|
164
|
+
create:
|
165
|
+
button: Suivez
|
166
|
+
error: Il y a eu une erreur suite à cette ressource.
|
167
|
+
destroy:
|
168
|
+
button: Cesser de suivre
|
169
|
+
error: Il y a eu une erreur unfollowing cette ressource.
|
155
170
|
forms:
|
156
171
|
current_file: Fichier actuel
|
157
172
|
current_image: Image actuelle
|
158
173
|
default_image: Image par défaut
|
159
174
|
errors:
|
160
175
|
error: Ce champ contient une erreur.
|
176
|
+
remove_this_file: Supprimer ce fichier
|
177
|
+
managed_users:
|
178
|
+
expired_session: La session d'usurpation actuelle a expiré.
|
161
179
|
menu:
|
162
180
|
home: Accueil
|
163
181
|
more_information: Plus d'information
|
164
|
-
processes: Processus participatifs
|
165
182
|
newsletter_mailer:
|
166
183
|
newsletter:
|
167
184
|
note: Vous avez reçu ce courrier électronique parce que vous êtes abonné aux bulletins d'information de %{organization_name}. Vous pouvez modifier vos paramètres sur votre <a href="%{link}">page de notifications</a>.
|
168
185
|
notifications_settings:
|
169
186
|
show:
|
170
|
-
|
187
|
+
email_on_notification: Je veux recevoir un courriel chaque fois que je reçois une notification.
|
171
188
|
newsletter_notifications: Je souhaite recevoir des lettres d'informations sur l'activité de la plateforme
|
172
|
-
replies_notifications: Je souhaite recevoir des notifications par email lorsque quelqu'un répond à mes commentaires.
|
173
189
|
update_notifications_settings: Enregistrer les modifications
|
174
190
|
update:
|
175
191
|
error: Une erreur s'est produite lors de la mise à jour des paramètres de vos notifications.
|
@@ -177,47 +193,11 @@ fr:
|
|
177
193
|
own_user_groups:
|
178
194
|
index:
|
179
195
|
pending: En attente
|
180
|
-
rejected:
|
196
|
+
rejected: Refusé
|
181
197
|
verified: Vérifié
|
182
198
|
pages:
|
183
199
|
index:
|
184
200
|
title: Plus d'information
|
185
|
-
participatory_process_groups:
|
186
|
-
show:
|
187
|
-
group_participatory_processes: Processus participatifs pour %{group}
|
188
|
-
title: Titre
|
189
|
-
participatory_process_steps:
|
190
|
-
index:
|
191
|
-
process_steps: Etapes du processus
|
192
|
-
title: Etapes du processus participatif
|
193
|
-
participatory_processes:
|
194
|
-
index:
|
195
|
-
title: Processus participatifs
|
196
|
-
participatory_process_groups:
|
197
|
-
none: Aucun
|
198
|
-
scopes:
|
199
|
-
global: Portée globale
|
200
|
-
show:
|
201
|
-
developer_group: Groupe d'initiateurs
|
202
|
-
end_date: Date de fin
|
203
|
-
local_area: Localisation
|
204
|
-
participatory_scope: Objectif du processus participatif
|
205
|
-
participatory_structure: Organisations concernées
|
206
|
-
scope: Zone d'application
|
207
|
-
target: Public visé
|
208
|
-
statistics:
|
209
|
-
answers_count: Réponses
|
210
|
-
comments_count: Commentaires
|
211
|
-
headline: Activité
|
212
|
-
meetings_count: Rencontres
|
213
|
-
pages_count: Pages
|
214
|
-
processes_count: Processus participatifs
|
215
|
-
projects_count: Projets
|
216
|
-
proposals_count: Propositions
|
217
|
-
results_count: Résultats
|
218
|
-
surveys_count: Enquêtes
|
219
|
-
users_count: Participants
|
220
|
-
votes_count: Votes
|
221
201
|
reported_mailer:
|
222
202
|
hide:
|
223
203
|
hello: Bonjour %{name},
|
@@ -233,8 +213,6 @@ fr:
|
|
233
213
|
create:
|
234
214
|
error: Une erreur s'est produite lors de la création du rapport. Veuillez essayer à nouveau.
|
235
215
|
success: Le contenu a été signalé, il sera examiné par un administrateur.
|
236
|
-
scopes:
|
237
|
-
global: Portée globale
|
238
216
|
shared:
|
239
217
|
action_authorization_modal:
|
240
218
|
incomplete:
|
@@ -257,10 +235,10 @@ fr:
|
|
257
235
|
embed_link: Intégrer
|
258
236
|
flag_modal:
|
259
237
|
already_reported: Ce contenu a déjà été signalé et il sera examiné par un administrateur.
|
260
|
-
close:
|
238
|
+
close: Clore
|
261
239
|
description: Ce contenu est-il inapproprié?
|
262
240
|
does_not_belong: Contient des activités illégales, des menaces suicidaires, des informations personnelles, ou autre chose que vous pensez ne pas être approprié à %{organization_name}.
|
263
|
-
offensive: Contient des propos
|
241
|
+
offensive: Contient des propos racisme, sexiste, des insultes, des attaques personnelles, des menaces de mort, des incitations au suicide ou toute forme de discours de haine.
|
264
242
|
report: Signaler
|
265
243
|
spam: Contient des piège-à-clic (clickbait), des publicités, des escroqueries ou des robots fonctionnant au script (script bots).
|
266
244
|
title: Signaler un problème
|
@@ -279,7 +257,7 @@ fr:
|
|
279
257
|
invitations:
|
280
258
|
edit:
|
281
259
|
header: Définir votre mot de passe
|
282
|
-
submit_button:
|
260
|
+
submit_button: Sauvegarder
|
283
261
|
mailer:
|
284
262
|
invitation_instructions:
|
285
263
|
accept: Accepter l'invitation
|
@@ -289,6 +267,7 @@ fr:
|
|
289
267
|
Si vous ne souhaitez pas accepter l'invitation, ignorez cet email.<br /> Votre compte ne sera créé qu'après avoir cliqué sur le lien ci-dessus et défini votre mot de passe.
|
290
268
|
invited_you_as_admin: "%{invited_by} vous a invité en tant qu'administrateur de l'%{application}, vous pouvez accepter cette invitation en cliquant sur le lien ci-dessous."
|
291
269
|
someone_invited_you: Quelqu'un vous a invité à %{application}, vous pouvez accepter l'invitation en cliquant sur le lien ci-dessous.
|
270
|
+
you_are_now_admin: Vous êtes maintenant un administrateur
|
292
271
|
invite_admin:
|
293
272
|
subject: Vous avez été invité à gérer %{organization}
|
294
273
|
invite_collaborator:
|
@@ -302,6 +281,7 @@ fr:
|
|
302
281
|
errors:
|
303
282
|
messages:
|
304
283
|
content_type_whitelist_error: Le type de fichier n'est pas valide
|
284
|
+
cycle_detected: Le périmètre d'une zone ne peut pas être le même que celui d'une zone inférieure
|
305
285
|
file_size_is_less_than_or_equal_to: la taille du fichier doit être inférieure ou égale à %{count}
|
306
286
|
invalid_manifest: Manifeste invalide
|
307
287
|
invalid_participatory_process: Processus participatif invalide
|
@@ -333,37 +313,13 @@ fr:
|
|
333
313
|
close_session: Fermer la session
|
334
314
|
description_html: Vous agissez en tant que l'utilisateur <b>%{user_name}</b>.
|
335
315
|
expire_time_html: Votre session expirera dans <b><span class="minutes">%{minutes}</span> minutes</b>.
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
show:
|
341
|
-
active_step: Etape active
|
342
|
-
take_part: Participer
|
343
|
-
participatory_processes:
|
344
|
-
index:
|
345
|
-
promoted_processes: Processus mis en avant
|
346
|
-
no_processes_yet:
|
347
|
-
no_processes_yet: Pas encore de processus participatifs!
|
348
|
-
order_by_processes:
|
349
|
-
processes:
|
350
|
-
one: "%{count} processus participatif"
|
351
|
-
other: "%{count} processus participatifs"
|
352
|
-
participatory_process:
|
353
|
-
active_step: 'Étape actuelle :'
|
354
|
-
take_part: Participer
|
355
|
-
promoted_process:
|
356
|
-
active_step: 'Étape actuelle :'
|
357
|
-
more_info: Plus d'informations
|
358
|
-
take_part: Participer
|
359
|
-
process_header:
|
360
|
-
process_menu_item: Le processus
|
361
|
-
unfold: Déplier
|
362
|
-
process_header_steps:
|
363
|
-
step: Étape %{current} sur %{total}
|
364
|
-
view_steps: Voir les étapes
|
316
|
+
notifications_dashboard:
|
317
|
+
mark_all_as_read: Marquer tout comme lu
|
318
|
+
no_notifications: Pas encore de notifications.
|
319
|
+
title: Notifications
|
365
320
|
user_menu:
|
366
321
|
admin_dashboard: Tableau de bord des administrateurs
|
322
|
+
notifications: Notifications
|
367
323
|
profile: Mon compte
|
368
324
|
sign_out: Déconnexion
|
369
325
|
user_profile:
|
@@ -383,9 +339,9 @@ fr:
|
|
383
339
|
debates: Débats
|
384
340
|
debates_explanation: Participons à des rencontres, débattons et échangeons sur les sujets qui comptent pour notre ville.
|
385
341
|
how_to_participate: Comment puis-je participer à un processus participatif?
|
386
|
-
meetings:
|
342
|
+
meetings: Réunions
|
387
343
|
meetings_explanation: Participons à des rencontres, débattons et échangeons sur les sujets qui comptent pour notre ville.
|
388
|
-
more_info:
|
344
|
+
more_info: Plus d'informations
|
389
345
|
proposals: Propositions
|
390
346
|
proposals_explanation: Espace ouvert aux propositions des citoyens pour façonner ensemble le type de ville dans laquelle nous voulons vivre.
|
391
347
|
footer_sub_hero:
|
@@ -397,15 +353,16 @@ fr:
|
|
397
353
|
welcome: Bienvenue sur %{organization}!
|
398
354
|
highlighted_processes:
|
399
355
|
active_processes: Processus participatifs actifs
|
400
|
-
active_step: Etape
|
356
|
+
active_step: Etape active
|
401
357
|
see_all_processes: Voir tous les processus participatifs
|
402
358
|
statistics:
|
403
359
|
answers_count: Réponses
|
404
360
|
comments_count: Commentaires
|
405
361
|
headline: État actuel de %{organization}
|
406
|
-
meetings_count:
|
362
|
+
meetings_count: Réunions
|
363
|
+
orders_count: Ordres
|
407
364
|
pages_count: Pages
|
408
|
-
processes_count:
|
365
|
+
processes_count: Conerctations
|
409
366
|
projects_count: Projets
|
410
367
|
proposals_count: Propositions
|
411
368
|
results_count: Résultats
|
@@ -428,7 +385,7 @@ fr:
|
|
428
385
|
reddit: Reddit
|
429
386
|
share_to: Partager sur %{name}
|
430
387
|
tumblr: Tumblr
|
431
|
-
twitter:
|
388
|
+
twitter: Twitter
|
432
389
|
vkontakte: Vkontakte
|
433
390
|
wechat: WeChat
|
434
391
|
wechat_footer: Ouvrez WeChat, cliquez sur le bouton "Découvrir" puis cliquez sur le menu "Scanner le QR Code".
|