After running the migrations, you can run the following code from the console to recalculate participants metrics (they should increase). It may take a while to complete.
days = (Date.parse(2.months.ago.to_s)..Date.yesterday).uniq
Decidim::Organization.find_each do |org|
old_metrics = Decidim::Metric.where(organization: org).where(metric_type: "participants")
days.each do |day|
new_metrics = Decidim::Metrics::ParticipantsMetricManage.new(day.to_s, org)
ActiveRecord::Base.transaction do
old_metrics.where(day: day).delete_all
new_metrics.save
end
end
end
Added:
- decidim-consultations, Add buttons fot better Questions navigation. #5112
- decidim-core, Add rake task to recalculate all metrics since some specific date. #5117
- decidim-core, Add instructions to recalculate participants metrics. #5110
- decidim-core, decidim-admin, Add Selective Newsletter and allow Space admins to manage them. #5039
- decidim-core Persistence related documentation for Metrics. #5108
- decidim-core Add optional parameter :col_sep to CSV exporter #5089
- decidim-meetings Let user groups join meetings #5060
- decidim-assemblies, decidim-participatory_processes Reorganize admin form #5068
- decidim-assemblies, decidim-participatory_processes Table headers sortable links #5010
- decidim-assemblies, decidim-participatory_processes Filter spaces by scope and area #5047
- decidim-admin: Do not allow to delete areas when they have dependent spaces. #5041
- decidim-assemblies, decidim-conferences, decidim-participatory_processes Space CTA button text changes when no components #5006
- decidim-participatory_processes: Add a select field for assign an area to participatory processes #5011
- decidim-accountability: Also display the main scope as a filter for accountability results #5022
- decidim-system: Add custom SMTP settings for multitenant #4698
- decidim-proposals: Add proposal answers to the proposal export #5139
- decidim-core: Provide "good" password rules #5106
Changed:
- decidim-accountability, decidim-core, decidim-proposals: Improve UX for diff views of versions. #5149
- decidim-core: Allow for extension in Decidim::User::ROLES. #5133
- decidim-core: PermissionsRegistry introduced to enable reconfiguration of permission_class_chain. #5069
- decidim-core: Change attachment photo image alt texts to title instead of description. #5043
- decidim-comments: Allow cancelling a vote on a comment. #5042
- decidim-initiatives: Add styles inline in PDF document of signatures #5103
- decidim-core: Update nobspw #5227
Fixed:
- decidim-admin: Fix: Proposals component form introduced regression #5180
- decidim-admin: Fix: Link
form.js
inassets/config/decidim_admin_manifest.js
#5165 - decidim-core: Fix: potential loop redirection when accepting TOS agreement on multi-languages sites #5162
- decidim-assemblies: Fix: Include asterisk in the required field
position
forAssemblyMemberForm
. #5164 - decidim-admin: Fix: disallow enabling
ParticipatoryText
on component when there are proposals #5134 - decidim-meetings: Fix registration form in duplicated meeting #5136
- decidim-meetings: Fix meeting minutes related information in public view #5137
- decidim-meetings: Fix
deliver_now
call onsend_email_confirmation
#5111 - decidim-admin: fix Decidim::Admin::NewsletterRecipient query #5109
- decidim-proposals: Fix participatory text form. #5094
- decidim-assemblies: Add class
card--stack
to assemblies when have children assemblies. #5093 - decidim-proposals: Fix proposal participants metrics. #5048
- decidim-comments: Don't show a second reply button when comment is hidden. #5045
- decidim-core: Fix CSS transparencies using customized colors. #5071
- decidim-core, decidim-proposals: Fix: show existing amendments when amendments feature is disabled #5070
- decidim-assemblies: Fix admin assemblies form. #5054
- decidim-core: Fix repeated amendments notifications. #5001
- decidim-core: Fix amendments forms: show error messages and render hashtags. #4951
- decidim-comments: Fixes that as a normal user (no private user) I can comment on a private assembly where is available. #4924
- decidim-accountability: Handle special case when all children weight are nil on accountability. #5026
- decidim-proposals: Filter emendations by rendering only amendments. #5025
- decidim-proposals: Add documents folder in proposals manifest for precompile assets. #5015
- decidim-core: Fix user notification and interest settings on IE11. #5044
- decidim-admin, decidim-forms, decidim-meetings: Fix dynamic fields components on IE11. #5052
- decidim-core: Fix possible NoMethodErrors in the notification jobs filling logs. #5083
- decidim-participatory_processes: Fix step CTA URL when abse URL had params #5082
- decidim-admin: Ensure static pages slugs are relative paths #5085
- decidim-accountability: Remove useless button on the admin page for accountability statuses #5099
- decidim-budgets: Fix import of proposals to budget projects #5097
- decidim-core: Escape fingerprint content #5146
- decidim-initiatives: Escape hashtag content #5150
- decidim-core: Fix seeds and typo in ActionAuthorizer #5168
- decidim-proposals: Fix seeds #5168
- decidim-core: Fix user names migration #5210
Removed:
Please check 0.17-stable for previous changes.