Releases: decidim/decidim
v0.11.1
v0.11.0
Upgrade notes:
This version has breaking changes, Decidim::Feature
has been renamed to Decidim::Component
,
and also everything related to it (controllers, views, etc.). If you have customised some
controller or added a new module you need to rename feature
to component
.
With the addition of the new step "Complete" to the proposal creation wizard,
administrators should keep in mind updating the help texts for each step.
Added:
- decidim-initiatives: Decidim Initiatives Gem has been integrated into the main repository. #3125
- decidim-blogs: Decidim Blogs gem has been integrated into the main repository. #3221
- decidim-meetings Add services offered in the meeting. #3150
- decidim-assemblies: Adding news fields into assembly in terms of database #2942
- decidim-proposals: Add configuration for set the number of proposals to be highlighted #3175
- decidim-meetings: Add new fields to meetings registrations #3123
- decidim-admin: Decidim as OAuth provider #3057
- decidim-core: Decidim as OAuth provider #3057
- decidim-consultations: Decidim Consultations Gem has been integrated into the main repository. #3106
- decidim-debates: Fix debates times. #3071
- decidim-sortitions: Decidim Sortitions Gem has been integrated into the main repository. #3077
- decidim-meetings: Allows admins to duplicate or copy face-to-face meetings. #3051
- decidim: Added private_space and participatory space private users. #2618
- decidim-core: Add ParticipatorySpaceResourceable between Assemblies and ParticipatoryProcesses #2851
- decidim-assemblies: Allow an assembly to have children #2938
- decidim: Rename features to components #2913
- decidim-admin: Log actions on areas #2944
- decidim-budgets: Log actions on projects #2949
- decidim-meetings: Log meeting registration exports #2922
- decidim-accountability: Log results deletion #2923
- decidim-surveys: Allow reordering questions via "Up" & "Down" buttons #3005
- decidim-comments: Add more notification types when a comment is created #3004
- decidim-debates: Show debates stats in homepage and space pages #3016
- decidim-core: #3022
- Introduce
ViewModel
andCells
to make it possible to add cards to resources. - Add
CardHelper
withcard_for
that returns a card given an instance of a the Component attributecard
from the ComponentManifest. - Add
AuthorBoxCell
andProfileCell
; Removeshared/author_reference
partials.
- Introduce
- decidim: Add documentation for
ViewModel
andCardCells
docs/advanced/view_models_aka_cells.md
#3022 - decidim-dev: Add
rspec-cells
for testingCells
#3022 - decidim-meetings: #3022
- Introduce
ViewModel
andCells
. AddMeetingCell
with two variations:MeetingMCell
andMeetingListItemCell
. - Add the
card
attribute to the component's manifestshared/author_reference
partials.
- Introduce
- decidim-surveys: Add rich text description to questions #3066.
- decidim-proposals: Add discard draft button in wizard #3064
- decidim-surveys: Allow multiple choice questions to specify a maximum number of options to be checked #3091
- decidim-surveys: Client side survey errors are now displayed #3133
- decidim-surveys: Allow multiple choice questions to have "free text options" where the user can customize the selected answer #3134
- decidim-surveys: New question type to sort different options #3148
- decidim-budgets: Setting to control the number of projects per page to be listed #3239
- decidim-admin: Regular users can now be impersonated #3226
- decidim-admin: All available authorization handlers can always be chosen for impersonation even after the first impersonation #3226
- decidim-generators: New gem where all of decidim generators live, both to generate final application and decidim components (plugins).
- decidim-meetings: Add WYSIWYG editor for meeting closing notes #3265
- decidim-meetings: Add formatting of the list of organizations attending to a meeting #3265
- decidim-core: Order components by both weight and manifest_name so the order is kept #3264
- decidim-meetings: Add a meetings API. #3255
- decidim-proposals: Add "complete" step to the proposal creation wizard #3274
Changed:
- decidim-proposals: Extract partials in Proposals into helper methors so that they can be reused in collaborative draft. (#3238)
- decidim-admin: Moved the following reusable javascript components from
decidim-surveys
component #3194- Nested resources (auto_buttons_by_position.component.js.es6, auto_label_by_position.component.js.es6, dynamic_fields.component.js.es6)
- Dependent inputs (field_dependent_inputs.component.js.es6)
- decidim-surveys: Moved the following reusable javascript components to
decidim-admin
component #3194- Nested resources (auto_buttons_by_position.component.js.es6, auto_label_by_position.component.js.es6, dynamic_fields.component.js.es6)
- Dependent inputs (field_dependent_inputs.component.js.es6)
- decidim-participatory_processes: Render documents in first place (before view hooks). #2977
- decidim-verifications: If you're using a custom authorization handler template, make sure it does not include the button. Decidim takes care of that for you so including it will from no now cause duplicated buttons in the form. #3211
- decidim-accountability: Include children information in main column #3217
- decidim-core: Open attachments in new tab #3245
- decidim-core: Open space hashtags in new tab #3246
Fixed:
- decidim-proposals: Ignore already imported proposals when importing them #3257
- decidim-proposals: Fixes clicking on "see all" should remove the ellipsis sign. #3238
- decidim-core: Add missing locales in Freanch fot the datepicker #3260
- decidim-proposals: Fixes clicking on "see all" should remove the ellipsis sign. #2894](#3238)
- decidim-proposals: Restore creation date in proposal detail page. #3249
- decidim-proposals: Fix threshold_per_proposal method positive? for nil:NilClass when threshold is null or not defined. #3185
- decidim-proposals: Make sure threshold per proposal has the right value in existing components #3235
- decidim-proposals: Fix when I create a proposal I see the draft proposal from someone else! #3170
- decidim-proposals: Fix view hooks returning proposals that should not be shown #3175
- decidim-debates: Fix debates times. #3071
- decidim-proposals: Fix Feedback needed after Endorsing when user has no user_groups #2968
- decidim-proposals: Fix threshold absolute view and rename the field maximum_votes_per_proposal to threshold_per_proposal. #2994
- decidim-proposals: Fix proposal endorsed event #2970
- decidim-accountability: Fix parent results progress [#...
v0.10.1
Added:
Changed:
Fixed:
- decidim-proposals: Fix threshold_per_proposal method positive? for nil:NilClass when threshold is null or not defined. #3219
- decidim-proposals: Fix when I create a proposal I see the draft proposal from someone else! #3170
- decidim-proposals: Fix view hooks returning proposals that should not be shown #3199
v0.10.0
Note: As per #2983, if you've been using 0.10.pre
version of Decidim for a while you'll need to fix some values in the database. In order to fix them, run this script in your Rails console:
Decidim::Notification.where(event_class: "Decidim::Proposals::ProposalEndorsedEvent").find_each{|ev| ev.extra = { endorser_id: ev.extra.dig("endorser", "id") }; ev.save! }
Added:
- decidim-accountability: Proposal selection from accountability with autoComplete #2348
- decidim-assemblies: Make admins auto follow assemblies #2855
- decidim-participatory_processes: Make admins auto follow participatory processes #2855
- decidim-accountability: Proposal followers are notified when a proposal is included in a result #2836
- decidim-core: Space followers are notified when a step changes its dates #2833
- decidim-proposals: Space followers are notified when the proposal can be created, endorsed or voted #2794
- decidim-debates: Space followers are notified when the debate creation is enabled or disabled #2794
- decidim-surveys: Space followers are notified when a survey is opened or closed #2794
- decidim-core: Broadcast feature settings changes #2794
- decidim-assemblies: Add a select field for assign an area to assemblies #2750
- decidim-core: Add Area and AreaType to Core #2750
- decidim-proposals: Proposals can accumulate more votes than the maximum #2693
- decidim-proposals: Added a wizard for the creation of proposals in the public site #2697.
- decidim-assemblies: Assemblies now have a reference #2557
- decidim-core: Let participatory spaces have reference #2557
- decidim-meetings: Add simple formatting to debates fields to improve readability #2670
- decidim-meetings: Notify participatory space followers when a meeting is created. #2646
- decidim-participatory_processes: Processes now have a reference #2557
- decidim-proposals: Endorsement to proposals: apply new design. #2728
- decidim-proposals: Notify participatory space followers when a proposal is created. #2646
- decidim-proposals: Copy proposals to another component #2619.
- decidim-proposals: Users and user_groups can now endorse proposals. #2287
- decidim-proposals: Add configurable proposal body length. #2639
- decidim-participatory_processes: Ensure only active processes are shown in the highlighted processes section in the homepage#2682
- decidim-core: Add collections to group attachments #2394.
- decidim-admin: Adds a log of all admin actions, only visible by organization admins #2604
- decidim-core: Add some examples on documentation to AuthorizationHandler #2758.
- decidim-accountability: Show random results in process and process group home #2824
- decidim-meetings: Show past/upcoming meetings in process and process group home #2713
- decidim-proposals: Show random proposals in process and process group home #2817
- decidim-participatory_processes: Render
decidim:participatory_space_highlighted_elements
andparticipatory_processes:process_group_highlighted_elements
view hooks in process and process group home respectively #2713 - decidim-core: Make static pages traceable #2754
- decidim-admin: Log all actions on static pages #2754
- decidim-admin: Log all actions on newsletters #2763
- decidim-admin: Log user groups verifications and rejections #2778
- decidim-admin: Log admin users invites and deletions #2776
- decidim-admin: Log all changes on organization settings #2771
- decidim-admin: Log user (un)officializations #2782
- decidim-participatory_processes: Log process creation and (un)publications #2786
- decidim-admin: Log feature creation and deletion #2792
- decidim-core: Document async jobs configuration for end applications #2640
- decidim-admin: Multiple proposals can be recategorized from the proposal index #2585
- decidim-participatory_processes: Log process users invites (Creation, update and deletion) #2793
- decidim-admin: Log actions on moderations #2803
- decidim-core: Enable a "permission_update" hook to be run upon feature permissions update #2809
- decidim-participatory_processes: Adds a basic API including steps and components. #2787
- decidim-core: Adds a statistics API to
Organization
andParticipatorySpace
. #2843 - decidim-proposals: Log proposal answers #2848
- decidim-accountability: Adds flag to control if the visualization of progress is visible #2847
- decidim-proposals: Adds a basic API that lists proposals. #2788
- decidim-participatory_processes: Log process updates#2860
- decidim-admin: Log actions on scopes #2854
- decidim-core:
scopes_picker_field
can now receive options such aslabel: false
#2867 - decidim-core:
theDataPicker.activate("#my_data_picker_element")
can now be used to bind dinamically created inputs to a data picker #2867 - decidim-assemblies: Log assembly creation, update and (un)publication #2858
- decidim-assemblies: Log assembly user role creation, update and deletion #2874
- decidim-participatory_processes: Log actions on process steps #2876
- decidim-admin: Log feature (un)publication#2884
- decidim-pages: Log page updates #2886
- decidim-debates: Log debates creation and updates #2903
- decidim-core: Add missing
scopes_picker_tag
andscopes_picker_field_tag
form helpers #2880 - decidim-proposals: Log official proposals creation #2905
- decidim-proposals: Log proposal private notes #2907
- decidim-meetings: Log actions on meetings #2911
- decidim-debates: Adds announcements to debates #2806
Changed:
- decidim-core: Send a deep copy of view context to view hooks #2817
- decidim-core: General improvements on documentation #2656.
- decidim-core:
FeatureReferenceHelper#feature_reference
has been moved toResourceReferenceHelper#resource_reference
to clarify its use. #2557 - decidim-core:
Decidim.resource_reference_generator
has been moved toDecidim.reference_generator
to clarify its use. #2557 - decidim-system: Default pages content are now wrapped in
<p>
HTML tags #2754 - decidim-core: The module to be included by components in order to add scopes to the component is now called
ScopableFeature
(instead ofHasScope
) [#2895](https:/...
v0.9.3
Added:
decidim-core: Add context to content parsers #2751
Changed:
Fixed:
- decidim-proposals: Fix wrong message when creating a proposal private note #2796
- decidim-core: Fix AuthorEvent when author is missing #2777
- decidim-core: Fix DefaultActionAuthorizer when options is nil #2753
- decidim-core: Fix mention parsing to only search users in current organization. \2711
- decidim-system: Disable recover password for System admins. #2752
- decidim-core: Don't render notifications if the resource has been deleted. #2746
- decidim-core: Don't try to send notification emails to deleted users. #2743
- decidim-core: Fix categories select when missing translations. #2742
- decidim-core: Fix mention parsing to only search users in current organization. \2711
- decidim-core: Fix user invitations by generating their nickname. #2783
v0.9.2
v0.9.1
Fixed:
- decidim-participatory_processes: Fix find a process by its ID.#2672
- decidim-assemblies: Fix find an assembly by its ID.#2672
- decidim-core: Fix notification mailer when a resource doesn't have an organization. #2661
- decidim-comments: Fix comment notifications listing. #2652
- decidim-participatory_processes: Fix editing a process after an error.#2653
- decidim-assemblies: Fix editing a process after an error.#2653
- decidim-participatory_processes: Ensure only active processes are shown in the highlighted processes section in the homepage#2682
v0.9.0
Full Changelog
Upgrade notes:
Since uglifier 4.0.0
, we need to set harmony: true
as options in uglifier. This means
you need to change the following line in config/environments/production.rb
:
- config.assets.js_compressor = :uglifier
+ config.assets.js_compressor = Uglifier.new(:harmony => true)
Added
- decidim-admin: Adds administration interface for highlighted content banner #2572
- decidim-core: Adds support for highlighted content banner.#2572
- decidim-core: Added support for content processors. #2491
- decidim-comments: Added support to mention other users and notify them. #2491
- decidim: Refactor and DRY Decidim events. #2582
- decidim-core: Added support for omnipresent banner. #2547
- decidim-admin: Added administration interface for omnipresent banner. #2547
- decidim: Rubocop has been upgraded. Ruby version in gem specs now fits with ruby version that rubocop uses. #2548
- decidim-admin: Notify participatory process followers when a step becomes active. #2544
- decidim-admin: Notify participatory space followers when a new feature is published. #2515
- decidim: Add
decidim-assemblies
to thedecidim
metagem. #2510 - decidim-proposals: Notify proposal followers when it gets answered. #2508
- decidim-proposals: Add private notes by admins to proposal #2490
- decidim-core: Extends public profile with personal URL and about text. Receive notifications when a profile is updated. \2494
- decidim-core: Improve Newsletter adding unsubscribe link, see on website, UTM GET codes \2359
- decidim-verifications: Added action authorizers for authorization handlers. #2438
- decidim-accountability: Add feature to link projects with results #2467
- decidim-proposals: Withdrawing of proposals #2289.
- decidim-proposals: Improve proposals admin panel usability (sorting). #2419
- decidim-core: Follow users and get notifications about their actions #2401 and #2452.
- decidim-core: Add unique nicknames for participants. #2360
- decidim-admin: Let admins officialize certain users from the admin dashboard and specify custom officialization text for them. #2405
- decidim-core: Public profile page for participants, including name, nickname, follow button, avatar and officialization badge & text. #2391, #2360, #2401 and #2405.
- decidim-core: Add a way for space manifests to publicize how to retrieve public spaces for a given organization #2384
- decidim-participatory_processes: Add missing translations for processes #2380
- decidim-verifications: Let developers specify for how long authorizations are valid. After this space of time passes, authorizations expire and users need to re-authorize #2311
- decidim-assemblies: Add user roles for assemblies. \2463
- decidim: Scopes picker that allows hierarchical browsing scope to select them (#2330).
This picker was used to replace all Select2 based scope selectors. Any module using the Select2 scope selector should replace this:with this:<%= form.scopes_select :scope_id, prompt: t("decidim.scopes.global"), remote_path: decidim.scopes_search_path %>
or this, for filter scopes picker:<%= scopes_picker_field form, :scope_id %>
<%= scopes_picker_filter form, :scope_id %>
- decidim-debates: New Debates component available for all spaces #2506
Changed
-
decidim-comments: Changed the counters to count all comments from all levels instead of only the top-level ones #2551
-
decidim-core: [Breaking change] Changes the participatory space's contracts introducing
context
. This was done to fix a bug caused by dynamically extending some controllers. #2465 -
decidim-core: Removed horizontal scroll from process navigation bar. #2495
-
decidim-core: Fixes the documentation regarding gems, libraries, plugins and modules. We should always use module, and use decidim-module-<engine_name> nomenclature for repositories naming #2481.
-
decidim-core: Users have notifications enabled by default unless they explicitly uncheck it during registration. #2517
-
decidim-core: Decidim now runs on Ruby 2.5.0 by default, although 2.3+ is expected to work well. #2550
-
decidim-core: translated_attribute helper changes its default behaviour. Previously it was following these steps:
- Return the current user locale translation if available.
- Fallback to organization default locale in case the user locale translation is not available.
- Otherwise return blank.
-
decidim-core: Forced order in conversations (newest on top) and conversation messages (oldest on top). #2520
-
decidim-dev: Decidim now uses Rails' system tests instead of feature tests #2516
- Move your tests from
spec/features/
tospec/system/
- Change
type: :feature
totype: :system
Now it follows these steps:
- Return the current user locale translation if available.
- Fallback to organization default locale in case the user locale translation is not available.
- Fallback to the first available translation in case there was no user nor default organization locale translations.
- Otherwise return blank.
- Move your tests from
Fixed:
- decidim-accountability: Calculate progress average considering all items #2638
- decidim-proposals: Fix test redirect. #2633
- decidim-core: Don't allow conversations between the same user. #2630
- decidim-core: Remove Sendgrid and Heroku references. #2634
- decidim-core: Notify admins when no valid authorization handlers are available to create managed users. #2631
- decidim-core: Fix user re-invite. #2626
- decidim-core: Allow underscores at CTA button path. #2625
- decidim-core: Fix editing features in assemblies. #2524
- decidim-core: Fix the texts of 'New Message' email notifications. #2588
- decidim-admin: Properly save features weight on creation #2499
- decidim-core: Fix after login redirect. #2321 #2504
With links or buttons that needs the user to be authorized or signed in you can now add adata-redirect-url
attribute to redirect the user after they've signed in so they don't lose context. - decidim-core: Prevent many conversation with the same participants at the UI level. #2376
- decidim-core: Order conversation messages by creation. #2520
- decidim-admin: Admins no longer being able to impersonate a second time. #2372
- decidim-admin: User impersonation should only use authorization handlers and not authorization workflows. #2363
- decidim-budgets: Prevent double-click form submissions #2379
- decidim-core: Impossible to access conversation page from mobile devices. #2364
- decidim-core: Update home page stat categories #2221
- decidim-core: Prevent double-click form submissions [#2379](https://github.com/decidim/dec...