Releases: decidim/decidim
v0.23.1
Added
Changed
Fixed
- decidim-core: Fix searchable issues with resources with unexisting organization (#6839) #6843
- decidim-proposals: Fix issues with move proposal fields to i18n (#6838) #6842
- decidim-forms: Backport "fix display conditions validations with choices" to 0.23 #6840
- decidim-budgets: Backport "Fix broken notifications page due to multi-budget changes" to 0.23 #6840
- decidim-core, decidim-surveys: Fix dependency between surveys and templates #6814
Removed
v0.23.0
Upgrade Notes
- Bump Ruby to v2.6
As per #6320 we've bumped the minimum Ruby version to 2.6.6.
- Stable branches nomenclature changes
Since this release we're changing the branch nomenclature for stable branches. Until now we were using x.y-stable
, now we will use release/x.y-stable
.
Legacy names for stable branches will be kept for a while but won't be created anymore, so new releases won't have the old x.y-stable
nomenclature.
The plan is to keep new and old nomenclatures until the release of v0.25, so they will coexist until that release.
When releasing v0.25 all stable branches with the nomenclature x.y-stable
will be removed.
- Maps
Maps functionality is now fully configurable. It defaults to HERE Maps as you'd expect when upgrading from an older version and it works still fine with your legacy style geocoder configuration after the update. This is, however, deprecated and it is highly recommended to define your maps configuration with the new style:
# Before:
Decidim.configure do |config|
config.geocoder = {
static_map_url: "https://image.maps.ls.hereapi.com/mia/1.6/mapview",
here_api_key: Rails.application.secrets.geocoder[:here_api_key],
timeout: 5,
units: :km
}
end
# After (remember to also update your secrets):
Decidim.configure do |config|
config.maps = {
provider: :here,
api_key: Rails.application.secrets.maps[:api_key],
static: { url: "https://image.maps.ls.hereapi.com/mia/1.6/mapview" }
}
config.geocoder = {
timeout: 5,
units: :km
}
end
- Debates and Comments are now in global search
Debates and Comments have been added to the global search and need to be
indexed, otherwise all previous content won't be available as search results.
You should run this in a Rails console at your server or create a migration to
do it.
Please be aware that it could take a while if your database has a lot of
content.
Decidim::Comments::Comment.find_each(&:try_update_index_for_search_resource)
Decidim::Debates::Debate.find_each(&:try_update_index_for_search_resource)
- Settings
maximum_attachment_size
andmaximum_avatar_size
moved to organization system settings
As per #6377, the maximum_attachment_size
and maximum_avatar_size
settings will no longer have any effect if configured through the Decidim initializer configurations. Instead, these are now configured from the organization system settings at the /system
path of your installation.
Note that if you had these previously configured in the initializer, these previous settings have been automatically migrated to all organizations in your installation after running the Decidim upgrade migrations.
Added
- decidim-initiatives: Initiatives signature gauge #6143
- decidim-i18n: Complete Latvian language translation #6424
- decidim-templates: Templates module #6247
- decidim-admin, decidim-core, decidim-elections: Configure Decidim Bulletin Board #6420
- decidim-core, decidim-app_design: Process groups template #6530
- decidim-comments, decidim-core, decidim-debates, decidim-dev, decidim-meetings, decidim-proposals: Add hashtags to comments #6429
- decidim-accountability, decidim-blogs, decidim-budgets, decidim-comments, decidim-consultations, decidim-core, decidim-debates, decidim-initiatives, decidim-meetings, decidim-proposals, decidim-sortitions: Debates filtering #6438
- decidim-budgets, decidim-core, decidim-debates, decidim-meetings, decidim-proposals, decidim-surveys: Add scope to Budgets, Debates, Meetings, Proposals and Surveys components #6309
- decidim-all: Share unpublished components with manageable tokens #6271
- decidim-budgets: Selected projects on budgets #6365
- decidim-debates, decidim-meetings, decidim-proposals: Meetings by participants or groups #6095
- decidim-core, docs: Add a task to fix locale issues #6510
- decidim-elections: Add NOTA option to election questions #6519
- decidim-core: Implement self-XSS console warning #6489
- decidim-core, decidim-debates, decidim-proposals: Add hashtags to debate #6396
- decidim-core, decidim-debates, decidim-accountability, decidim-proposals and decidim-meetings: Keep filter and ordering params #6432
- decidim-elections, decidim-design_app: Add elections list filter and sorting #6386
- decidim-initiatives: Image on the Initiatives page and card #6427
- decidim-core, decidim-debates: Add comments metadata to debates #6428
- decidim-debates, decidim-proposals, decidim-docs: Users can endorse debates. #6368
- decidim-all: Feature: Machine translation for user-generated content #6127
- decidim-debates: Close debates #6278
- decidim-all, decidim-debates: Embed debates #6306
- decidim-core, decidim-initiatives, decidim-verifications: Better initiative button #6375
- decidim-elections: Create voting booth #6294
- decidim-core: Add CSV/Excel exporter sanitizer #6325
- decidim-debates: Edit debates #6268
- decidim-dev, decidim-generators, decidim-docs: Setup profiling tooling #6281
- decidim-accountability, decidim-admin, decidim-blogs, decidim-budget, decidim-comments, decidim-core, decidim-debates, decidim-dev, decidim-meetings, decidim-proposals, decidim-sortition: Make character limit for comments configurable #6280
- decidim-elections: Elections authorizations #6181
- decidim-core: Add Romanian as a new language #6231
- decidim-docs: Document when contributors should contribute to changelog #6209
- decidim-core, decidim-processes: Add custom steps CTA for Process cards index #6284
- decidim-accountability, decidim-budgets, decidim-meetings, decidim-proposals, decidim-sortitions, decidim-core, decidim-consultations: Make proposals handle i18n #6285
- decidim-proposals: Add migration to update Proposal endorsement Notifications #6367
- decidim-docs: Documentation: Add "not up to date" next to official documentation links #6364
- decidim-docs: Add official documentation in the readme #6354
- decidim-surveys: Do not migrate surveys that were already migrated in the past #6380
- decidim-surveys: Add a migration to migrate data from legacy surveys' tables #6299
- decidim-core: Polymorphic route support for ResourceLocatorPresenter #6274
- decidim-surveys: View and manage responses to surveys directly in the admin #5770
- decidim-core: Introduce a standardized branch naming #6210
- decidim-all: Add line feeds at the end of paragraphs and lists #6200
- decidim-proposals: Add tests to proposal_presenter #6265
- decidim-core: Rename stable branches and add changelog upgrade note #6222
- decidim-assemblies: Import and export for Assemblies #5624
- decidim-elections: Publish and unpublish an election #6152
- decidim-proposals: Import from proposals to answers #6163
Changed
v0.22.0
Upgrade notes
- Endorsements
This new version of Decidim has extracted the Endorsement feature into a generic concern that can now be applied to many resources.
To keep current Decidim::Proposals::Proposal's endorsement information, endorsements are copied into the new Decidim::Endorsable
tables and counter cache columns. This is done via migrations.
After this, Decidim::Proposals::ProposalEndorsement
and the corresponding counter cache column in decidim_proposals_proposal.proposal_endorsements_count
should be removed. To do so, Decidim will provide the corresponding migration in the next release.
- Data portability
Thanks to #5342, Decidim now supports removal of user's data portability expired files from Amazon S3. Check out the scheduled tasks in the getting started guide for information in how to configure it.
- SSL is forced on by default
Due to #5553, SSL is turned on by default.
- New "extras" key in authorization metadata
#6044 adds the possibility to have an "extras" key in the Authentication metadata that will be ignored. For example when
signing an initiative (decidim-initiatives/app/forms/decidim/initiatives/vote_form.rb) or on Authorization renewal (decidim-verifications/app/cells/decidim/verifications/authorization_metadata/show.erb).
This key may be used to persist whatever information related to the user's authentication that should not be used for authenticating her.
The use case that originated this change is the persistence of the user's gender for statistical uses.
Added
- decidim-initiative: Skip initiative type selection if there is only one initiative type. #5835
- decidim-docs: Add doc in how to release following Gitflow. #5766
- decidim-docs: Add documentation related with the permissions system. #6160
- decidim-participatory_processes: Add related assemblies to participatory processes #5868
- decidim-comments: Fix comment link on Last Activity. #5999
- decidim-system: Add from_label to Organization SMTP settings. #\6125
- decidim-initiatives: Send notification when signature threshold reached. #6098
- decidim-proposals: Add an information message when there aren't proposals. #6063
- decidim-core: Set email asset host dynamically. #5888
- decidim-meetings: Include year in meetings' card #6102
- decidim-initiatives: Add attachments to initiatives #5844
- decidim-proposals: Improve proposal preview: Use proposal card when previewing a proposal draft. #6064
- decidim-core: Allow groups to have private conversations with other users or groups. #6009
- decidim-api: Use organization time zone #6088
- decidim-docs: Add helpful info to install docs for seed errors during installation process. #6085
- decidim-forms: Collapse and expand questions when editing questionnaire #5945
- decidim-forms: New question type "Matrix" #5948
- decidim-core: Notify admins o user_group created or updated. #5906
- decidim-comments: Notify user_group followers when it posts a comment. #5906
- decidim-initiatives: Notify admins when an initiative is sent to technical validation. #5906
- decidim-proposals: Notify admins and valuators when someone leaves a private note on a proposal. #5906
- decidim-forms: Update move up and down buttons after dragging questions when managing questionnaire. #5947
- decidim-meetings: Automatic task for deleting Meeting Inscription data. #5989
- decidim-core: Don't follow the header x forwarded host by default. #5899
- decidim-initiative: Add CTA on initiative submission. #5838
- decidim-core: Allow users to register with a preferred language. #5789
- decidim-dev: Retry failed test to avoid flaky. #5894
- decidim-core: Filter options to Timeline and Activity tabs. #5845
- decidim-core: Add scroll to last message and apply it on conversations. #5718
- decidim-core: Allow to restric direct messages to only people followed by the user. #5720
- decidim-comments: Comments can mention groups and its members are notified. #5763
- decidim-core: Now messages inside conversations have their urls identified as links. #5755
- decidim-verifications: Added Verification's Revocation #5814
- decidim-verifications: Participants can renew verifications #5854
- decidim-core: Support node.js semver rules for release candidates. #5828
- decidim-proposals, decidim-core, decidim-blogs: Extract proposals' endorsements into a polymorphic concern that can now be applied no any resource. It has, in turn, been aplied to blog posts. #5542
- decidim-proposals, decidim-core, decidim-blogs: Apply generalized endorsements to the GraphQL API and add it to the blog posts query. #5847
- decidim-core: Allow users to have private conversations with more than one participant. #5861
- decidim-budgets: Allow projects to be sorted by different criteria #5808
- decidim-budgets: Request confirmation to exit budgets component #5765
- decidim-budgets: Add minimum projects rule to Budgets #5865
- decidim-proposals: Proposals selector added #5863
- decidim-admin: Allow to see a participant's email from the admin panel #5849
- decidim-admin: As an Admin, add existing participant to an assembly by searching their email #5952
- decidim: Add missing indexs on foreign keys on the DB #5885
- decidim-core: Redesign activity cards for the home page #5672
- decidim-core: Redesign activity cards on Timeline and Activity Tabs for a consistent user experience #5779
- decidim-admin: Counter of active users. #5907
- decidim-proposals: Update rspec proposal_activity_cell_spec to check existence of card__content css class instead of car-data css class #5779
- decidim-comments: Update rspec comment_activity_cell_spec to check existence of card__content css class instead of car-data css class#5779
- decidim-core: Add newsletter templates #5887
- decidim-core: Fix clearing the current_user after sign out #5823
- decidim-budgets: Send email with summary on order checkout #6006
- decidim-admin: Show activity charts on admin dashboard #6030
- decidim-budgets: Projects filter by multiple categories #5992
- decidim-budgets: Improve the budget page and the project card #5809
- decidim-assemblies decidim-conferences decidim-participatory-processes: Notify users on adding roles. #5886
- decidim-budgets: Projects filter by multiple categories /#5992
- decidim-initiatives: Add option to enable/disable attachments to initiatives /#6036
- decidim-core: Adds new language: Slovak #6039
- decidim-core: Add redesign for responsive public profile navigat...
v0.21.0
Deprecation warnings
PR #5676 introduced a deprecation warning:
Decidim::ParticipatorySpaceResourceable#link_participatory_spaces_resources
should be renamed tolink_participatory_space_resources
(notice singularspaces
)
PR #5768 introduced a deprecation warning:
:here_app_id
and:here_app_code
that might be configured inconfig/initializers/decidim.rb
are no longer valid authorization key-values for the HERE Maps API. Now it is required to generate and API key using the keyword:here_api_key
to replace the old ones:
config/initializers/decidim.rb
:
Geocoder configuration
config.geocoder = {
#...
here_api_key: Rails.application.secrets.geocoder[:here_api_key],
#...
}
Upgrade notes
- Geocoder
Here maps API has changed, including the way clients authenticate. Thus, former app_id
and app_code
credentials are now deprecated in favour of a unique api_key
token. For your current application to continue working with Here maps services generate an api_key
and configure it as explained in Decidim's geocoding documentation.
If you would like to stay with the old api (app_id + app_code), you should force geocoder
gem version to 1.5.2
in your application. This is because geocoder v1.6.0
only supports the new Here api (app_key).
Here is a summary of the different configurations depending on the Here api that is going to be used.
Old/legacy Here api:
- geocoder 1.5
- initializer with:
here_app_code
here_app_id
static_map_url:
"https://image.maps.cit.api.here.com/mia/1.6/mapview"
New Here api:
-
geocoder >= 1.6
-
initializer with:
here_api_key
static_map_url:
"https://image.maps.ls.hereapi.com/mia/1.6/mapview"
-
Assembly types
In order to prevent errors while upgrading multi-servers envirnoments, the fields assembly_type
and assembly_type_other
are maintained. Future releases will take care of this.
- Organization Time Zones
Now is its possible to configure every organization (tenant) with a different time zone by any admin in the global configuration. We recommend to not define any specific config.time_zone
in Rails so it uses UTC internally. In any case Rails configuration will be ignored in the context of the controller (users will be using always organization's configured time zone).
To upgrade it is recommended to configured the proper time zone in the admin for the organization and remove any config.time_zone
personalization in Rails (unless you know what you are doing).
For those who have not changed the Rails config.time_zone
(thus using UTC globally) but using dates as if they were non-UTC zones might notice that changing the organization time zone will shift all presented dates accordingly. This might require to re-edit any scheduled date in meetings or debates in order be properly displayed.
- Data portability
Thanks to #5342, Decidim now supports removal of user's data portability expired files from Amazon S3. Check out the scheduled tasks in the getting started guide for information in how to configure it.
Added:
- decidim-core: Add new language: Greek #5597
- decidim-initiatives: An admin can only send the initiative to technical validation if it has enough committee members. #5762
- decidim-proposals: Add images to proposal cards #5640
- decidim-api: Added documentation to use the API (newcomers friendly). #5582
- decidim-blogs: GraphQL API: Complete Blogs specification. #5569
- decidim-debates: GraphQL API: Complete Debates specification. #5570
- decidim-surveys: GraphQL API: Complete Surveys specification. #5571
- decidim-sortitions: GraphQL API: Complete Sortitions specification. #5583
- decidim-accountability: GraphQL API: Complete Accountability specification. #5584
- decidim-budgets: GraphQL API: Complete Budgets specification. #5585
- decidim-assemblies: GraphQL API: Create fields for assemblies types and specs. #5544
- decidim-core: Add search and order capabilities to the GraphQL API. #5586
- documentation: Added documentation in how Etherpad Lite integrates with the Meetings component. #5652
- decidim-meetings: GraphQL API: Complete Meetings specification. #5563
- decidim-meetings: Follow a meeting on registration #5615
- decidim-admin, decidim-assemblies, decidim-conferences, decidim-consultations, decidim-core, decidim-initiatives, decidim-participatory_processes, decidim-proposals: Add filters, search and pagination to participatory spaces in admin panel. #5558
- decidim-admin: Extend search, add pagination and change filters styling to participants/officializations in the admin panel. #5558
- decidim-admin: Added filters, search and pagination into admin proposals. #5503
- decidim-consultations: GraphQL API: Create fields for consultations types and specs. #5550
- decidim-conferences: GraphQL API: Create fields for conferences types and specs. #5551
- decidim-initiatives: GraphQL API: Create fields for initiatives types and specs. #5544
- decidim-proposals: GraphQL API: Complete Proposals specification. #5537
- decidim-participatory_processes: GraphQL API: Add participatory process groups specification. #5540
- decidim-participatory_processes: GraphQL API: Complete fields for participatory processes. #5562
- decidim-admin Add terms of use for admin. #5507
- decidim-assemblies: Added configurable assembly types. #5616
- decidim-core: Added configurable time zones for every tenant (organization). #5607
- decidim-admin: Display the number of participants subscribed to a newsletter. #5555
- decidim-accountability, decidim-admin, decidim-budgets, decidim-core, decidim-debates, decidim-generators, decidim-meetings, decidim-proposals, decidim_app-design: Change: Extend the capabilities of the Quill text editor. #5488
- decidim-core: Add docs in how to fix metrics problems. #5587
- decidim-core: Data portability now supports AWS S3 storage. #5342
- decidim-system: Permit customizing omniauth settings for each tenant #5516
- decidim-core: Add the
nofollow
value to therel
attribute on parsed links #5651 - decidim-proposals: Allow admins to set a predefined template #5613
- decidim-comments: Let users check a single comment in a commentable resource #5662
- decidim-participatory-processes: Link processes and only show published ones #5676
- decidim-proposals: Automatically link proposals and meetings when creating a proposal authored by a meeting #5674
- decidim-proposals: Add proposal page with all info in admin section #5671
- decidim-proposals: Add a navbar link to answer a proposal in the admin #5706
- decidim-participatory_processes Statistics and Metrics Improvements#5688
- decidim-proposals and decidim-budgets: Improve navigation and visualization of proposals and projects by scope, category, origin and status #5654
- decidim-proposals: Let admins add cost reports to proposals #5695
- decidim-conferences: Add Valuator role #5687
- decidim-initiatives: Add Valuator role #5687
- decidim-participatory_processes: Add Valuator role #5687
- decidim-proposals: Let Valuators only answer and leave private notes on proposal...
v0.20.1
0.20.1
Upgrade notes
- Geocoder
Here maps API has changed, including the way clients authenticate. Thus, former app_id
and app_code
crfedentials are now deprecated in favour of a unique api_key
token. For your current application to continue working with Here maps services generate an api_key
and configure it as explained in Decidim's geocoding documentation.
If you would like to stay with the old api (app_id + app_code), you should force geocoder
gem version to 1.5.2
in your application. This is because geocoder v1.6.0
only supports the new Here api (app_key).
Here is a summary of the different configurations depending on the Here api that is going to be used.
Old/legacy Here api:
- geocoder 1.5
- initializer with:
here_app_code
here_app_id
static_map_url:
"https://image.maps.cit.api.here.com/mia/1.6/mapview"
New Here api:
- geocoder >= 1.6
- initializer with:
here_api_key
static_map_url:
"https://image.maps.ls.hereapi.com/mia/1.6/mapview"
Deprecation warnings
PR #5768 introduced a deprecation warning:
:here_app_id
and:here_app_code
that might be configured inconfig/initializers/decidim.rb
are no longer valid authorization key-values for the HERE Maps API. Now it is required to generate and API key using the keyword:here_api_key
to replace the old ones:
config/initializers/decidim.rb
:
Geocoder configuration
config.geocoder = {
#...
here_api_key: Rails.application.secrets.geocoder[:here_api_key],
#...
}
Added:
Changed:
- decidim-core: Upgrade geocoder to be able to use the new Here geolocation API. #5644
- decidim-core: Upgrade leaflet-HERE Maps javascript library to use new apiKey authentication method #5768
Fixed:
- decidim-core Fixes the integration between the use of older and new versions of geocoder using HERE maps #5822
- decidim-core: Apply security patch for GHSA-65cv-r6x7-79hv #5896
Removed:
v0.20.0
0.20.0
Added:
- decidim-core: Loofah has deprecated the use of WhiteList in favour of SafeList. #5576
- many modules: Added all spaces and many entities to global search, see Upgrade notes for more detail. #5469
- decidim-core: Add weight to categories and sort them by that field. #5505
- decidim-proposals: Add: Additional sorting filters for proposals index. #5506
- decidim-core: Add a searchable users endpoint to the GraphQL api and enable drop-down @mentions helper in comments. #5474
- decidim-consultations: Create groups of responses in multi-choices question consultations. #5387
- decidim-core, decidim-participatory_processes: Export/import space components feature, applied to for ParticipatoryProcess. #5424
- decidim-participatory_processes: Export/import feature for ParticipatoryProcess. #5422
- decidim-surveys: Added a setting to surveys to allow unregistered (aka: anonymous) users to answer a survey. #4996
- decidim-core: Added Devise :lockable to Users #5478
- decidim-meetings: Added help texts for meetings forms to solve doubts about Geocoder fields. # #5487
Changed:
- decidim-proposals, decidim-debates and decidim-initiatives: Improved visiblity of buttons: new proposal, debate and initiative. #5535
- decidim-proposals: Add a filter "My proposals" at the list of proposals. #5512
- decidim-meetings: Change: @meetings_spaces collection to use I18n translations #5494
- decidim-core: Add @ prefix to the nickname field in the registration view. #5482
- decidim-core: Introduce the ActsAsAuthor concern. #5482
- decidim-core: Extract footers into partials. #5461
- decidim-initiatives: UX improvements to initiatives #5369
- decidim-core: Update to JQuery 3 #5433
- decidim_participatory_process: Admin: move
:participatory_process_groups
from:main_menu
to:participatory_processes
:secondary_nav
#5545 - decidim-core: Remove the Continuity badge #5565
- decidim-core: Remove resizing for banner images #5567
Fixed:
- decidim-conferences: Fix: Cluttered conference sessions in confirmation mail.#5524
- decidim-core: Security upgrade: puma. #5556
- decidim-admin: Fix: Edit component permissions when PermissionsForm validations fail #5458
- decidim-core: Security upgrade: rack-cors. #5527
- decidim-core, decidim-proposals: Fix: diffing attributes with integer values #5468
- decidim-consultations: Fix: current_participatory_space raises error in ConsultationsController.#5513
- decidim-admin: Admin HasAttachments forces the absolute namespace for the AttachmentForm to
::Decidim::Admin::AttachmentForm
.#5511 - decidim-participatory_processes: Fix participatory process import when some imported elements are null #5496
- decidim-core: Security upgrade: loofah. #5493
- decidim-core: Fix: misspelling when selecting the meetings presenter. #5482
- decidim-core, decidim-participatory_processes: Fix: Duplicate results in
Decidim::HasPrivateUsers::visible_for(user)
#5462 - decidim-participatory_processes: Fix: flaky test when mapping Rails timezone names to PostgreSQL #5472
- decidim-conferences: Fix: Add pagination interface to some sections #5463
- decidim-sortitions: Fix: Don't include drafts in sortitions #5434
- decidim-assemblies: Fix: Fixed assembly parent_id when selecting itself #5416
- decidim-core: Fix: Search box on mobile (menu) #5502
- decidim-core: Fix dynamic controller extensions (undefined method
current_user
) #5533 - decidim-proposals: Standardize proposal answer callout styles #5530
v0.19.1
0.19.1
Added:
Changed:
Fixed:
- decidim-core: Fix dynamic controller extensions (undefined method
current_user
) #5475 - decidim-consultations: Fix: current_participatory_space raises error in ConsultationsController.#5517
- decidim-core: Upgrade rack-cors for security. #5528
- decidim-core: Fix: Duplicate results in Decidim::HasPrivateUsers::visible_for(user) #5473
- decidim-meetings: Admin HasAttachments forces the absolute namespace for the AttachmentForm to
::Decidim::Admin::AttachmentForm
.#5510 - decidim-participatory_processes: Fix: flaky test when mapping Rails timezone names to PostgreSQL #5484
- decidim-core: Fix metrics graphql query #5442
Removed:
v0.19.0
0.19.0
Added:
- decidim-forms: Added UML clarifying the relation between the Questionnaire classes. #5394
- decidim-consultations: Allow multi-choice answers to questions in consultations. #5356
- decidim-proposals: Allow admins to create image galleries in proposals if attachments are enabled. #5339
- decidim-blog: Allow attachments to blog posts. #5336
- decidim-admin, decidim-assemblies, decidim-participatory-processes: Add CSV Import to Participatory Space Private Users. #5304
- decidim-participatory-processes: Add: process group presenter #5289
- decidim-consultations: Allow to restrict voting to a question by adding verifications permissions #5274
- decidim-participatory-processes: Add: traceability to process groups #5278
- decidim-core, decidim-proposals: Add: amendments Wizard Step Form #5244
- decidim-core, decidim-admin, decidim-proposals: Add:
amendments_visibility
component step setting #5223 - decidim-core, decidim-admin, decidim-proposals: Add: admin configuration of amendments by step #5178
- decidim-consultations: Add admin results page to consultations #5188
- decidim-core: Adds SECURITY.md per Github recommendations #5181
- decidim-core, decidim-system: Add force users to authenticate before access to the organization #5189
- decidim-proposals: Add new fields to proposal_serializer #5186
- decidim-proposals: Add :amend action to proposal's authorization workflow #5184
- decidim-core, decidim-proposals: Add: Improvements in amendments on
Proposals
control version #5185 - decidim-proposals: Copy attachments when importing proposals #5198
- decidim-core: Adds new language: Norwegian #5335
Changed:
- decidim-comments: Change: Promote URLs in plain text to HTML anchors in comments.#5401
- decidim-core: Promote URLs in plain text to HTML anchors after strip_tags. #5341
- decidim-accountability, decidim-assemblies, decidim-consultations, decidim-core, decidim-proposals, decidim-debates, decidim-dev, decidim-generators, decidim-initiatives, decidim-meetings, decidim-participatory_processes, decidim-proposals, decidim-sortitions, decidim_app-design: Change: social share button default sites #5270
- decidim-core: Changes default format date #5330
- decidim-verifications: Change CSV census validations #5346
Fixed:
- decidim-assemblies, decidim-core, decidim-participatory_processes, decidim-proposals: Fix: Non-private users can amend proposals from a private space #5427
- decidim-sortitions: Fix: Creating a Sortition ignores categories #5412
- decidim-proposals: Fix: ParticipatoryText workflow creates multiple versions #5399
- decidim-assemblies: Fix: show the Assemblies button to allow managing nested assemblies #5386
- decidim-admin: Fix: Remove first
:header_snippets
field on organization admin apparence form. #5352 - decidim-accountability, decidim-core, decidim-proposals, decidim-dev: Fix: diffing empty versions of translatable attributes #5312
- decidim-core: Fix: WhatsApp url button #5317
- decidim-core: Fix: AuthorizationFormBuilder does not detect attribute types #5315
- decidim-participatory_processes: Fix: ParticipatoryProcessSearch#search_date #5319
- decidim-proposals: Fix: Show error when upload a file with the correct extension but with an error in the content #5320
- decidim-core: Fix: saving default language to session if choosen by the user #5308
- decidim-proposals: Fix: show amend button in
ParticipatoryText
whenamendment_creation
is enabled and there are no visible emendations #5300 - decidim-proposals: Fix: prevent ransack gem to upgrade to 2.3 as breaks searches with amendments. #5303
- decidim-core: Fix: Add uniq index to
decidim_metrics
table #5314 - decidim-admin, decidim-core, decidim-dev, decidim-proposals: Fix: multiple items related to amendments step settings and wizard #5263
- decidim-admin, decidim-assemblies, decidim-conferences, decidim-consultations, decidim-core, decidim-dev, decidim-initiatives, decidim-participatory_processes: Fix:
Decidim::Admin::ComponentForm
validations #5269 - decidim-core: Fix:
Accept-Language
header language detection and uses language default from the organization #5272 - decidim-core, decidim-proposals: When rendering the admin log for a Proposal, use the title from extras instead of crashing, when proposal has been deleted. #5267
- decidim-core, decidim-proposals: Fix: diffing withdrawn amendments and new lines in body #5242
- decidim-core: Filter forbidden characters in users invitations. #5245
- decidim-assemblies: Don't show private assemblies when becoming childs from another assembly. #5235
- decidim-conferences: Fix: can't remove area, when conferences are enabled #5234
- decidim-conferences: Don't send registrations enabled notification when creating a Conference#5240
- decidim-admin: Fix: Proposals component form introduced regression #5179
- decidim-core: Fix seeds and typo in ActionAuthorizer #5168
- decidim-proposals: Fix seeds #5168
- decidim-core: Fix user names migration #5209
- decidim-proposals: Fix proposals accepted stat when they include hidden proposals #5276
- decidim-forms: Fix adding answer options to a new form #5275
- decidim-core: Add missing locales when creating a new user group #5262
- decidim-core: Fix CVE-2015-9284 Omniauth issue #5284
- decidim-comments, decidim-core, decidim-verifications, decidim-initiatives: Bugfixing #5213
- decidim-core: Fix forgotten redirect page in case TOS is not yet agreed on #5313
- decidim-admin: Fix managed users stolen identities with users having the same name #5318
- decidim-core: Fix usernames migration #5321
- decidim-accountability, decidim-core, decidim-proposals, decidim-dev, decidim-admin, decidim-consultations, decidim-initiatives, decidim-meetings, decidim-proposals: Multiple bugfixes #5329
- decidim-core: Fix rendering when custom colors exist #5347
- decidim-core: Fix component generator #5348
- decidim-core: Fix email notifications #5370
- decidim-assemblies, decidim-core, decidim-generators, decidim-initiatives, decidim-meetings, decidim-system Various bugfixes #5376
- decidim-conferences, decidim-consultations, decidim-core, decidim-forms, decidim-meetings, decidim-proposals, decidim-verifications** Various bugfixes #5383
- **deci...
v0.18.1
0.18.1
Added:
- decidim-core: Adds new language: Norwegian #5334
Changed:
- decidim-core: Promote URLs in plain text to HTML anchors after strip_tags. #5355
Fixed:
- decidim-core: Fix: Add uniq index to
decidim_metrics
table #5362 - decidim-accountability, decidim-core, decidim-proposals, decidim-dev: Fix: diffing empty versions of translatable attributes #5343
- decidim-participatory_processes: BACKPORT Fix: ParticipatoryProcessSearch#search_date #5326
- decidim-proposals: Fix: prevent ransack gem to upgrade to 2.3 as breaks searches with amendments. #5303
- decidim-admin, decidim-forms: Fix adding answer options to a new form #5283
- decidim-core, decidim-proposals: When rendering the admin log for a Proposal, use the title from extras instead of crashing, when proposal has been deleted. #5277
- decidim-core: Fix CVE-2015-9284 Omniauth issue #5287
v0.18.0
0.18.0
Upgrade notes
Participants metrics
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:
Previous versions
Please check 0.17-stable for previous changes.