Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/0.28 stable bcn #38

Draft
wants to merge 20 commits into
base: release/0.28-stable
Choose a base branch
from
Draft

Commits on Oct 11, 2024

  1. Add withdrawn at field to proposals (decidim#12289)

    * Extract withdrawn state to own field
    
    * Patch proposal status labels
    
    * Patch references to except_withdrawn
    
    * Remove state value from enum
    
    * Fix factory field
    
    * Fix specs on withdrawn field
    
    * Add serializers and Api type fields
    
    * Fix failing specs
    
    * Apply review recommendations
    
    * Fix scope on proposal
    
    * Fix last failing spec
    
    * Fix upgrade script
    
    * Validate files being used
    
    * Ensure consistency in method definition
    
    * Remove unused partials
    
    * Add withdrawn status badge
    
    * Fix the migration script
    
    * Apply review recommendations
    
    * Run linters
    alecslupu committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    ba1427c View commit details
    Browse the repository at this point in the history
  2. Add multiple statuses on proposals (decidim#12052)

    * Add initial db structure
    
    * Add build method
    
    * Add proposal state model + admin presenter
    
    * Add proposal_state factory
    
    * Add admin interface for proposal states
    
    * Misc changes
    
    * Fix proposal status
    
    * Running linters
    
    * Fix failing Specs (decidim#285)
    
    * Implement custom answers
    
    * Fix proposal fields
    
    * Fix the admin status badges
    
    * Fix migration script
    
    * Add notifiable and anwerable to the proposal states
    
    * Deprecating proposals old classes
    
    * Migrate frontend classes
    
    * Refactor seeds
    
    * Fix frontend
    
    * Fix more tests
    
    * Remove obsolete specs
    
    * Running linters
    
    * More linting
    
    * Fix specs
    
    * Fixing the proposals specs
    
    * Implement templates
    
    * Fixing decidim-templates specs
    
    * Remove unused i18n
    
    * Fixing more specs
    
    * Normalize I18n
    
    * reverting helper methods
    
    * Add proposal states tests
    
    * Run linter
    
    * Add release notes
    
    * Fix the frontend filters
    
    * Lint
    
    * Fixing test
    
    * Adjust labels
    
    * Revert proposal related changes
    
    * Fix small issues
    
    * Running linters
    
    * Update decidim-core/app/cells/decidim/amendable/announcement_cell.rb
    
    * Add token validation
    
    * Lint
    
    * Fix tests
    
    * Fix uniquess validator
    
    * Refactor commands
    
    * fix the specs on refactor
    
    * Removed description field
    
    * Remove boolean fields
    
    * Fix description related errors
    
    * Fix some tests
    
    * Fix more specs
    
    * Fix answerable in proposal answer
    
    * Fix migration
    
    * Rename migrations
    
    * Fix failing specs
    
    * Fix failing specs
    
    * Fix more specs
    
    * Fixing specs
    
    * Remove token input
    
    * Autogenerate the token
    
    * removing default state of not_answered
    
    * Remove bangs
    
    * Fixing the specs
    
    * Fix failing specs ...
    
    * Fix the state vs Status
    
    * Apply latest changes requested
    
    * Normalize locales
    
    * Apply suggestions from code review
    
    Co-authored-by: Andrés Pereira de Lucena <[email protected]>
    
    * Apply suggestions from code review
    
    * Running linters, apply latest suggestions
    
    * Update index.html.erb
    
    * Fix failing specs
    
    * Running linters
    
    * Running linters
    
    * Patch factory
    
    * Apply Code Review Recommendations
    
    ---------
    
    Co-authored-by: Andrés Pereira de Lucena <[email protected]>
    alecslupu and andreslucena committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    26b09ba View commit details
    Browse the repository at this point in the history
  3. Improvements in the assignment of evaluators (decidim#12994)

    * Add valuators multiselect in proposals page to assign multiple valuators in bulk
    
    * Implement unassign valuator
    
    * Allow valuators assign other valuators to proposal
    
    * Restore unrelated changes done by prettier in proposals.js
    
    * Fix erblint
    
    * Fix specs
    
    * Fix more specs
    
    * Hide assignment/unassignment panel when no proposals are selected
    
    * Revert "Allow valuators assign other valuators to proposal"
    
    This reverts commit da11fc3.
    
    * Update permissions so valuators can assign other valuators when they are assigned to the same proposal
    
    * Fix assign/unassign actions panel UX to only show one at the time
    
    * Fix valuator being able to assign/unassign themselves in the proposals list
    
    * Update permissions to disallow valuators unassign themselves
    
    * Fix and remove specs
    
    * Remove spec
    
    * Hide Unassign from valuator action to valuators
    
    * Fix spec
    
    * Update copy
    
    * Add tests for multiple assignment / unassignment of evaluators
    
    * Update copy key
    mllocs authored and alecslupu committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    932fc09 View commit details
    Browse the repository at this point in the history
  4. Define an admin filters registry (decidim#13058)

    * Define an admim filters registry and an AdminFilter class to manage filters in admin and use it in proposals
    
    * Add test for admin filterable concern using AdminFilter configuration
    
    * Add dynamically_translated_filters to admin filters registry
    
    * Add some documentation to customize admin filters
    entantoencuanto authored and alecslupu committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    1709f49 View commit details
    Browse the repository at this point in the history
  5. Add color picker to proposal statuses (decidim#12402)

    * Initial adaptation for using ColorPicker
    
    * Patch
    
    * Fix Status creation in proposals
    
    * Running linters
    
    * Fix some specs
    
    * Fix javascript preview
    
    * Fix the color picker
    
    * Fix innerText
    
    * Running linters
    
    * Fix failing spec
    
    * Implement hard-coded colors for states
    
    * Bump tailwindcss from 3.3.2 to 3.4.1
    
    * Adapt preview label to background and foreground colors
    
    * Implement announcement preview
    
    * Add labels with colors in screen readers only
    
    * Make the data-label-preview compatible with different targets
    
    * Rename data-label-preview to data-css-preview
    
    * Sync the change of the foreground color with the background
    
    * Separate data-css-preview background and foreground change in their inputs
    
    * Fix a11y errors in the page
    
    * Fix specs
    
    * Use background instead of foreground for the checkboxes shadow
    
    * Move the inline styles to an internal CSS definition to define the :checked pseudostate
    
    * Add border-color in announcement
    
    * Fix stylelint offense
    
    * Fix specs
    
    * Fix erblint offenses
    
    * Use same colors from the class in the migration
    
    * Use class defined in the migration to mitigate bugs in the future
    
    * Rename method names to match with the keyword arguments
    
    * Lower a bit more the boldness of the flash message
    
    * Add circle with the accent color in the input shadow
    
    * Use ProposalState colors definition instead of hardcoding it
    
    * Fix translation for specs
    
    * Add specs for live update of labels and announcements
    
    * Change usage of 'context' to 'describe' in spec
    
    * Extract 'css preview' JavaScript logic to its own file
    
    * Extract 'sync radio buttons' JavaScript logic to its own file
    
    * Extract 'text copy' JavaScript logic to its own file
    
    * Add exceptions to spellchecker
    
    ---------
    
    Co-authored-by: Andrés Pereira de Lucena <[email protected]>
    alecslupu and andreslucena committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    13eee2e View commit details
    Browse the repository at this point in the history
  6. Fix proposal state migration (decidim#13164)

    * Fix proposal state migration
    
    * Apply review recomendation
    alecslupu committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    462ea87 View commit details
    Browse the repository at this point in the history
  7. Fix ProposalStates migration (decidim#13211)

    * Fix ProposalStates migration
    
    * Lint
    
    * Update decidim-proposals/db/migrate/20240110203504_create_default_proposal_states.rb
    alecslupu committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    03c9b18 View commit details
    Browse the repository at this point in the history
  8. Add proposal state label in diff renderer (decidim#13396)

    * Add proposal state label in diff renderer
    
    * Apply review recommendations
    alecslupu committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    00a15be View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2024

  1. Compatibility changes

    alecslupu committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    334f82d View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. Improve navigation and filters in proposals (decidim#13004)

    * Store filters selections in session and allow removing all filters
    
    * Implement next and prev links from proposal show
    
    * Inspect session
    
    * Use with_indifferent_access with session admin_filters
    
    * Revert "Inspect session"
    
    This reverts commit 495a33b.
    
    * Refactor adjacents navigation links
    
    * Use spans and adjust margins
    
    * Fix wrong spelling
    
    * Fix spelling
    
    * Ensure the session filtered collection query returns an id
    
    * style filters bar
    
    * better space handling for containers
    
    * Add tests
    
    * Change remove all filters text
    
    * Remove font-normal class remove all filters tag
    
    * Fix expected text in tests
    
    * Add comment to adjacent_items method
    
    * Move method call to before_action filter
    
    * Define index method explicitly in controller
    
    * Change translation
    
    Co-authored-by: Andrés Pereira de Lucena <[email protected]>
    
    * Remove unnecessary method call
    
    Co-authored-by: Andrés Pereira de Lucena <[email protected]>
    
    ---------
    
    Co-authored-by: Hugoren Martinako <[email protected]>
    Co-authored-by: Andrés Pereira de Lucena <[email protected]>
    (cherry picked from commit 49bd028)
    entantoencuanto authored and davidbeig committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    aa909c2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    203fe41 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9c78c1c View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. Merge branch 'release/0.28-stable' of github.com:AjuntamentdeBarcelon…

    …a/decidim into release/0.28-stable-bcn
    fblupi committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    6e50c98 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2024

  1. Merge branch 'release/0.28-stable' of github.com:AjuntamentdeBarcelon…

    …a/decidim into release/0.28-stable-bcn
    fblupi committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    bd07656 View commit details
    Browse the repository at this point in the history
  2. Add notification to valuators when a proposal is assigned (decidim#13022

    )
    
    * Add notification to valuators when a proposal is assigned to them. Also adds a new notifications setting to disable this notification
    
    * Update decidim-core/spec/commands/decidim/update_notifications_settings_spec.rb
    
    Co-authored-by: Eduardo Martínez <[email protected]>
    
    ---------
    
    Co-authored-by: Eduardo Martínez <[email protected]>
    2 people authored and fblupi committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    09d0799 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. Configuration menu
    Copy the full SHA
    0ead0a6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    739d2cc View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. Merge branch 'release/0.28-stable' of github.com:AjuntamentdeBarcelon…

    …a/decidim into release/0.28-stable-bcn
    fblupi committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    4bfc73b View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2024

  1. Merge branch 'release/0.28-stable' of github.com:AjuntamentdeBarcelon…

    …a/decidim into release/0.28-stable-bcn
    fblupi committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    f3b1252 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2024

  1. Configuration menu
    Copy the full SHA
    93f9e19 View commit details
    Browse the repository at this point in the history