0.16.1
Upgrade notes
User follow counters
After running the migrations, please run this code from a console:
Decidim::UserBaseEntity.find_each do |entity|
follower_count = Decidim::Follow.where(followable: entity).count
following_count = Decidim::Follow.where(decidim_user_id: entity.id).count
following_users_count = Decidim::Follow.where(decidim_user_id: entity.id, decidim_followable_type: ["Decidim::UserBaseEntity", "Decidim::User", "Decidim::UserGroup"]).count
# We use `update_columns` to skip Searchable callbacks
entity.update_columns(
followers_count: follower_count,
following_count: following_count,
following_users_count: following_users_count
)
end
Changes
Added:
- decidim-proposals: Added a button to reset all participatory text drafts. #4817
- decidim-proposals: In participatory texts it is better to render Article cards open by default. #4817
- decidim-proposals: Allow to persist participatory text drafts before publishing. #4817
- decidim-proposals Lists are imported as a single proposal. #4801
- decidim-proposals: Add Participatory Text support for links in Markdown. #4801
- decidim-proposals: Add Participatory Text support for images in Markdown. #4801
Changed:
- decidim-proposals Allow to change participatory texts title without uploading file. #4801
Fixed:
- decidim-core: Fix wrong check of avatar_url in
/oauth/me
controller #4917 - decidim-assemblies: Fix parent assemblies children_count counter (add migration) #4855
- decidim-assemblies: Fix parent assemblies children_count counter #4847
- decidim-proposals: Fix Proposals Last Activity feed. #4836
- decidim-proposals: Fix attachments not being inherited from collaborative draft when published as proposal. #4815
- decidim-proposals: Fix participatory texts error uploading files with accents and special characters. #4801
- decidim-proposals Public view of Participatory Text is now preserving new lines. #4801
- decidim-core: Fix action authorizer with blank permissions #4746
- decidim-assemblies: Fix assemblies filter by type #4777
- decidim-initiatives: Better admin initiative search #4845
- decidim-meetings: Order meetings at admin #4844
- decidim-proposals Fix proposals search indexes #4857
- decidim-proposals Remove etiquette validation from proposals admin #4856
- decidim-proposals Fix recent proposals order #4854
- decidim-core: Fix user activities list #4853
- decidim-comments Fix author display in comments #4851
- decidim-debates Allow HTML content at debates page #4850
- decidim-proposals: Fix proposal activity cell rendering. #4848
- decidim-forms: Fix free text fields exporting. #4846
- decidim-debates Fix debates card and ordering #4879
- decidim-proposals Don't count withdrawn proposals when publishing one #4875
- decidim-core: Fix process filters #4872