Skip to content

v0.16.0

Compare
Choose a tag to compare
@oriolgual oriolgual released this 08 Feb 16:28

0.16.0

Upgrade notes:

Update your Gemfile:

gem "decidim", "0.16.0"
gem "decidim-dev", "0.16.0"

Run these commands to upgrade and make sure you get all the latest migrations:

bundle update decidim
bin/rails decidim:upgrade
bin/rails db:migrate

Fixed:

  • Surveys / Forms: Only for upgrades from 0.15 or earlier versions

The logic from decidim-surveys has been extracted to decidim-forms, so you need to migrate the data to the new database tables:

bundle exec rake decidim_surveys:migrate_data_to_decidim_forms

Once you are sure that the data is migrated, you can create a migration in your app to remove the old decidim_surveys tables:

class RemoveDecidimSurveysTablesAfterMigrateToDecidimForms < ActiveRecord::Migration[5.2]
  def up
    # Drop tables
    drop_table :decidim_surveys_survey_answers
    drop_table :decidim_surveys_survey_answer_choices
    drop_table :decidim_surveys_survey_answer_options
    drop_table :decidim_surveys_survey_questions

    # Drop columns from surveys table
    remove_column :decidim_surveys_surveys, :title
    remove_column :decidim_surveys_surveys, :description
    remove_column :decidim_surveys_surveys, :tos
    remove_column :decidim_surveys_surveys, :published_at
  end
end
  • Core:

Default help content will be created on new organizations. For existing organizations, though,
you'll have to populate it yourself.

Fortunately enough, this is an easy thing to do. Just open an IRB session in your environment
and execute:

Decidim::Organization.find_each do |organization|
  Decidim::System::PopulateHelp.call(organization)
end
  • Searchable resources

As per #4537, if you have a custom module with a resource that uses the Decidim::Searchable
concern, you'll need to make the resource searchable from its manifest, otherwise it won't
appear under the global search results:

Decidim.register_resource(:my_resource) do |resource|
  resource.searchable = true
  # ...
end

In order to generate Open Data exports you should add this to your crontab or recurring jobs manager:

  bundle exec rake decidim:open_data:export

Added:

  • decidim-assemblies: Add feature filter assemblies by type #4659
  • decidim-meetings: Add notification to conferences and meetings registrations #4636
  • decidim-proposals: Add amend button and amendments counter to participatory text proposals #4598
  • decidim-proposals: Add filter by type functionality to Amendments on proposals. #4567
  • decidim-proposals: Add version control functionality to Amendments on proposals. #4567
  • decidim-core: Add reject/promote amendments functionalities to the Amendment feature. #3986
  • decidim-proposals: Automatic and suggested hashtags. #4585
  • decidim-core: Add version control functionality into Amendment feature. #4567
  • decidim-core: Add reject/promote amendments functionalities into Amendment feature. #3986
  • decidim-core: Add polymorphic Amendment feature that can be activated in the proposal component with these working functionalities: create/withdraw/accept amendments. #3985
  • decidim-meetings: Add registration form answers when exporting meeting registrations.#4589
  • decidim-core: Trigger an ActiveSupport::Notification after registering via OmniAuth. #4565
  • decidim-proposals: Specific public view rendering of participatory texts. #4316
  • decidim-proposals: Admin can create proposals from the admin panel, with a meeting as an author.#4382
  • decidim-conferences: Add diplomas functionallity in an automated way for those users that has their registration confirmed. #4443
  • decidim-proposals: Add support to import .odt participatory text files. #4386
  • decidim-conferences: Add conference registration types. #4408
  • decidim-core: Added users_registration_mode to allow disable users registration or login #4428
  • decidim-forms: Create a new gem to hold reusable surveys logic #3877
  • decidim-meetings: Allow admins to activate a registration form to be answered by the user when they joins for the meeting #4419
  • decidim-verifications: Add SMS verification workflow #4429
  • decidim-proposals: Split & merge proposals to the same component #4415
  • decidim-core: Adds the ability to send a welcome notification to new users #4432
  • decidim-core: Shows the first unread message in a conversation in the notification email #4463
  • decidim-meetings: Add a meetings calendar at organization and component levels #4376
  • decidim-proposals: Add user groups and meetings options on Origin filters #4462
  • decidim-accountability: Notify followers of the proposals linked in a result that the result progress has been updated #4466
  • decidim-admin: Adds the ability to specify contextual help to participatory spaces #4470
  • decidim-core: Show minicard with a little bit of profile data when hovering on user and user group names #4472
  • decidim-core: Added more metric calculations. It involves several adding in related modules: proposals, participatory_processes, debates, etc... #4372
  • decidim-core: Let users find search results by writing prefixes of a word instead of whole words #4492
  • decidim-core: Add Etherpad integration #4493
  • decidim-meetings: Add Etherpad integration #4493
  • decidim-core: Adds default pages and contextual help when creating organizations #4541
  • decidim-core: Adds a user activity tab on the public profile. #4570
  • decidim-core: Adds a user timeline tab on the public profile. #4574
  • decidim-core: Open Data export #4578
  • decidim-meetings: Export meetings #4597
  • decidim-core: User groups can now confirm their email #4603
  • decidim-core: Admins can verify batches of user groups that have the email confirmed by uploading a CSV file #4613
  • decidim-core: Let users select their interests (scopes). They will see relevant activity in the Timeline tab in their profile #4621
  • decidim-initiatives: Add Decidim::HasReference concern to initiatives model, display reference in front and id in admin #4665
  • decidim-core: Let users choose what kind of notifications they want to erceive #4663

Changed:

  • decidim-core: Show hashtags with original case #4554
  • decidim-conferences: Remove right sidebar completely from the frontend #4480
  • decidim-core: Allow to configure OmniAuth provider icons #4440
  • decidim-surveys: Extract surveys logic to decidim-forms #3877
  • decidim-core: Improve static pages layout and make them groupable by topic. #4338
  • decidim-core: Improve user groups form #4458
  • decidim-surveys: Extract surveys logic to decidim-forms #3877
  • decidim-core: Move Omniauth login buttons to before the signup/sign in forms to improve usability #4457
  • decidim-core: Improved metrics core classes to handle ParticipatoryProcess' statistics show up #4372
  • decidim-accountability: Show one highlighted resources block per component in process page #4456
  • decidim-meetings: Show one highlighted resources block per component in process page #4456
  • decidim-proposals: Show one highlighted resources block per component in process page #4456
  • decidim-admin: Rename "Officializations" section to "Participants" #4510
  • decidim-core: Improve search results layout. Now results appear grouped by type #4537
  • decidim-core: Improve propoals serialization #4593
  • decidim-verifications: The ID documents verification now supports online and offline verification modes #4573
  • decidim-core: "Follows" section in user profiles now show every resource they follow #4616
  • decidim-core: Remove current_feature method #4624
  • decidim-participatory-processes: Disable deleting participatory processes #4640
  • decidim-assemblies: Disable deleting assemblies #4640
  • decidim-conferences: Disable deleting conferences #4640
  • decidim-consultations: Disable deleting consultations#4640

Fixed:

  • decidim-meetings: Fix meetings form when only one locale is available #4623
  • decidim-participatory_processes: Fix admin cannot access public view of private processes by default #4591
  • decidim-proposals Index admin-created proposals. #4601
  • decidim-proposals Fix proposals created from collaborative drafts inherited attributes #4605
  • decidim-meetings: Fix meeting registration form with no questions show as already answered #4594
  • decidim-proposals Keep proposal new values for title and body when editing and receiving an error message #4592
  • decidim-proposals Don't show undefined option when there is no hashtag to autocomplete after # #4590
  • decidim-conferences: Make price optional, and remove weird margin top on program view #4564
  • decidim-meetings: Fix title and description fields in admin form. #4535
  • decidim-meetings: Change title to description in meetings admin form #4483
  • decidim-meetings: Use the correct cell to render a meeting organizer #4501
  • decidim-core: Hashtags with unicode characters are now parsed correctly #4473
  • decidim-conferences: Fix some translations of conferences #4481
  • decidim-conferences: Check participatory spaces manifest exists when relating conferences to other spaces #4446
  • decidim-proposals: Allow admins to edit proposals even if creation is not enabled #4390
  • decidim-core: Fix events for polymorphic authors #4387
  • decidim-meetings: Fix order of upcoming meetings #4398
  • decidim-core: Ignore deleted users follows #4401
  • decidim-comments: Fix comment activity cell when commentable is a comment #4413
  • decidim-core: Corrected users metric calculations with scoping #4416
  • decidim-comments: Corrected comments metric calculations in loop #4416
  • decidim-core: Set organization.tos_version when creating terms-and-conditions DefaultPage #3911
  • decidim-proposals: Fix title display #4431
  • decidim-meetings: Fix title display #4431
  • decidim-proposals: Ensure proposals search returns unique results #4460
  • decidim-core: Improve how to copy URLs to share #4507
  • decidim-admin: Hide the unavailable verification methods#4529
  • decidim-participatory_processes: Fix process steps CTA path on public area #4499
  • decidim-participatory_processes: Don't filter highlighted processes by state #4502
  • decidim-participatory_processes: Don't show grouped processes in the process list#4503
  • decidim-core: Fix notification settings form #4528
  • decidim-proposals: Fix vote-rerendering on a proposal's page #4557
  • decidim-core: Fix tabs with inputs with invalid characters #4552
  • decidim-admin: Fix image updating in content blocks #4549
  • decidim-proposals: Fix address toggle in the add proposal form #4587
  • decidim-comments: Correctly render comments activity with mentions #4612
  • decidim-meetings: Add the participatory space to the meeting directory listing #4620
  • decidim-core: Fix nickname generation #4615
  • decidim-initiatives: Don't eager load polymorphic relations #4614
  • decidim-initiatives: Fix searching for initiatives with by type #4626
  • decidim-admin: Add missing locales for organization errors #4633
  • decidim-core: Don't crash when a log is in an unavailable locale #4632
  • decidim-core: Fix newsletter rendering when locale content is missing #4629
  • decidim-initiatives: Provide a fallback when an initative scope is missing #4634
  • decidim-accountability: Return a 404 when a result doesn't exist. #4630
  • decidim-budgets: Use bigint instead of int for projects #4628
  • decidim-comments: Fix GraphQL comments schema #4638
  • decidim-core: Better handling setting process step position #4638
  • decidim-core: Comment authors won't be notified about their own comments #4643
  • decidim-core: Don't crash on registration #4637
  • decidim-debates: Don't crash on settings change #4642
  • decidim-proposals: Don't crash on settings change #4642
  • decidim-surveys: Don't crash on settings change #4642
  • decidim-core: Update Ransack to work with Rails 5.2.2 #4682
  • decidim-core: Fix background-size on home page #4678
  • decidim-meetings: Filter meeting by end time instead of start time #4701

Removed:

  • decidim-core: Remove invite friends by email. #4430

Previous versions

Please check 0.15-stable for previous changes.