Skip to content
Permalink
Branch: develop
Commits on Mar 26, 2020
  1. Add missing indexs on foreign keys (#5885)

    mrcasals committed Mar 26, 2020
    * Add missing indexs on foreign keys
    
    * Add changelog
  2. Force signin on API if the organization requires it (#5859)

    mrcasals committed Mar 26, 2020
    * Force signin on API if the org requires it
    
    * Add changelog
    
    * Fix typo
    
    * Fix class name
    
    * Fix docs
    
    * Add tests
    
    * Lint code
Commits on Mar 25, 2020
  1. Add missing defaults in initializer template (#5858)

    mrcasals committed Mar 25, 2020
    * Add missing defaults in initializer template
    
    * Fix style
Commits on Mar 23, 2020
  1. Fix duplicated actions workflows (#5883)

    mrcasals committed Mar 23, 2020
    * Fix ducplicated actions workflows
    
    On PRs from the repo, the current setup was causing duplicated
    workflows. This should fix the issue.
    
    * Run test suite for any base branch on PRs
Commits on Mar 20, 2020
  1. Fix workflows to work from forks (#5880)

    mrcasals committed Mar 20, 2020
Commits on Mar 19, 2020
  1. Move test suite to GitHub Actions (#5843)

    mrcasals and tramuntanal committed Mar 19, 2020
    * Lint code through GitHub Actions
    
    * Actually lint files
    
    * Ignore ruby gems when linting JS files
    
    * Properly cache NPM deps
    
    * Set cache path for npm
    
    * Run rubocop in parallel
    
    * Don't lint ERB files in deps
    
    * Don't make npm verbose
    
    * Test npm caching works
    
    * Remove npm cache
    
    It'sa ctually not working, so it just adds useless seconds to thew
    workflow
    
    * Run tests for main folder
    
    * Add tests for core module
    
    * Add missing workflows
    
    Created from a template
    
    * Simplify generators workflow
    
    * Automatically upload screenshots if tests fail
    
    * Ensure path exists before uploading
    
    * Create the screenshots path before uploading it
    
    * Install Ruby deps from inside each module folder
    
    This is how it works on CircleCI.
    
    * Revert "Install Ruby deps from inside each module folder"
    
    This reverts commit ad43682.
    
    * Add README
    
    * Fix screenshots uploads
    
    They should be uploaded always...
    
    * Improve generators workflow
    
    * Try to fix generators workflow
    
    * Try to install ruby deps for generators
    
    * Install gems globally
    
    * Increase max wait time for slow specs
    
    * Run JS tests from comments workflow
    
    * Split proposals workflow in three
    
    * Install codecov
    
    * Set needed ENV vars for Codecov uploads
    
    * Use GitHub Action to upload coverage reports
    
    * Send coverage for main folder
    
    * Use custom names for the parallel proposals workflows
    
    * Delete decidim-dev workflow
    
    This folder doesn't have any test
    
    * Disable Codecov comments
    
    * Remove unused file
    
    * Don't report to CodeClimate from CircleCI
    
    * Revert "Don't report to CodeClimate from CircleCI"
    
    This reverts commit 5a6a087.
    
    * Don't change the formatter for CircleCI
    
    * Remove CircleCI config
    
    * Remove CircleCI build status badge
    
    * Add codecov status badge
    
    * Add test suite badges
    
    * Fix badges
    
    * Fix workflows README
    
    * Update .github/workflows/README.md
    
    Co-Authored-By: Oliver Valls <oliver.vh@coditramuntana.com>
    
    * Remove CircleCI env variable
    
    Co-authored-by: Oliver Valls <oliver.vh@coditramuntana.com>
Commits on Mar 16, 2020
  1. Budgets: Sort projects by different criteria (#5808)

    mrcasals committed Mar 16, 2020
    * Order budget projects
    
    * Add tests
    
    * Fix rubocop complaints
    
    * Update changelog
    
    * Simplify cases
Commits on Mar 9, 2020
  1. Let components without step settings be added (#5568)

    4 people committed Mar 9, 2020
    * Let components without step settings be added
    
    * Add changelog
    
    * Add tests
    
    * New Crowdin translations (#5761)
    
    * New translations en.yml (French)
    
    * New translations en.yml (Hungarian)
    
    * New translations en.yml (Hungarian)
    
    Co-authored-by: Txus <me@txus.io>
    Co-authored-by: decidim-bot <decidim-bot@users.noreply.github.com>
    Co-authored-by: Oliver Valls <oliver.vh@coditramuntana.com>
Commits on Mar 6, 2020
  1. Parallelize rubocop on CI (#5827)

    mrcasals committed Mar 6, 2020
Commits on Feb 28, 2020
  1. Add Valuator role (#5687)

    mrcasals committed Feb 28, 2020
    * Add new Valuator role for processes
    
    This role still can't perform much actions.
    
    * Refactor proposal admin permissions to make them clearer
    
    * Add ValuationAssignment model
    
    * Find user roles from a participatory space
    
    * Bulk-assign proposals to valuators
    
    * Love lifts us up where we belong
    
    Where the eagles cry
    On a mountain high
    
    * Show valuators count in proposals list
    
    * Valuators can only answer and leave notes on assigned proposals
    
    * Add system specs for bulk assignment
    
    * Ensure valuators can only list assigned proposals
    
    * Get list of proposals assigned to a valuator
    
    * Bulk unassign valuators from a proposal
    
    * Normalize locales
    
    * Add valuators to assemblies
    
    * Add valuator role for conferences
    
    * Add changelog
    
    * Normalize locales
    
    * Remove unused locales
    
    * Unassign valuators from the proposal page
    
    * Normalize locales
    
    * Fix rubocop warnings
    
    * Fix spec
    
    * Ensure transaction works
    
    * Improve code reliability
    
    * Ensure command broadcasts invalid if there's an error
    
    * Fix flow for valuators
    
    * Rubocop lint
    
    * Hide proposals export button for users that don't have permissions
    
    * Let valuators export proposals
    
    * Put files where they belong
    
    * Let process user roles whitelist components
    
    * Let assembly user roles whitelist components
    
    * Let conference user roles whitelist components
    
    * Make initiatives work with the latest changes
    
    * Fix assemblies specs
    
    * Remove redundant assignment
    
    * Extract similar code into parent classes
    
    * Simplify code
    
    * Fix bugs
    
    * Fix wrong class name
    
    * Improve method naming
    
    * Normalize locales file
    
    * Fix valuator column sorting
    
    * Properly filter by valuator ID
    
    * Ensure valuators can only export their visible proposals
    
    * Update decidim-proposals/lib/decidim/proposals/component.rb
    
    * Fix rubocop complaints
    
    * Add tests for the proposals exporter
    
    * Fix rubocop issues
Commits on Feb 18, 2020
  1. Add cost to proposal answers (#5695)

    mrcasals and htmlboy committed Feb 18, 2020
    * Estimated costs in proposal view
    
    * Description tag updated
    
    * Lited CSS
    
    * Add migration with new fields
    
    * Add step attribute
    
    * Update Gemfile.lock
    
    * Use defaults instead of overwriting all values
    
    * Add fields to proposal answer form
    
    * Update answers with costs
    
    * Show costs in proposal page
    
    * Add changelog
    
    * Rubocop fixes
    
    * Add text toggle on cost report
    
    * Render action on error
    
    Co-authored-by: Javier Usobiaga <javier@swwweet.com>
Commits on Feb 17, 2020
  1. Allow postgres Docker image without password (#5741)

    mrcasals committed Feb 17, 2020
Commits on Feb 11, 2020
  1. Link processes and only show published ones (#5676)

    mrcasals committed Feb 11, 2020
    * Link processes and only show published ones
    
    * Add tests for process creation
    
    * Add tests for process update
    
    * Add system tests ensuring unpublished process are not shown
    
    * Add changelog
    
    * Apply feedback
    
    * Deprecate old method name
Commits on Feb 10, 2020
  1. Improve proposals answer page (#5671)

    mrcasals committed Feb 10, 2020
    * Add needed scopes to comments
    
    * Update dependencies
    
    * Add proposal show page
    
    * Add notes to proposal show page
    
    * Change proposal links
    
    * Improve styles
    
    * Move proposal answers to show page
    
    * Show votes and endorsements rankings
    
    * Fix locales
    
    * Fix tests to use the new page
    
    * Add tests for proposal info
    
    * Add tests for ranking helper
    
    * Remove unused test
    
    * Remove unused file
    
    * Show proposal related meetings
    
    * Show message button next to user author
    
    * Show related attachments
    
    * Remove unused keys
    
    * Add changelog
    
    * Don't contact author if it's the current user
    
    * Undo Gemfile.lock changes
    
    * Crop endorsers list to 5
    
    * Add link to edit proposal
  2. Show and hide comment threads (#5655)

    mrcasals committed Feb 10, 2020
    * Add icon to comment reply buttons
    
    * Hide and show comment threads
    
    * Add changelog
    
    * Lint code
    
    * Save thread state in localStorage
    
    * Lint code
    
    * Update bundle
    
    * Mock localStorage on tests
    
    * Add pointer cursor
Commits on Feb 9, 2020
  1. Link author meetings when creating a proposal (#5674)

    mrcasals committed Feb 9, 2020
    * Link author meetings when creating a proposal
    
    * Ensure previously-linked proposals are not erased
    
    * Add changelog
    
    * Undo changes in Gemfile.lock
    
    * Fix test
Commits on Feb 8, 2020
  1. Add nofollow to parsed links (#5651)

    mrcasals committed Feb 8, 2020
    * Add nofollow to parsed links
    
    * Update changelog
Commits on Jan 31, 2020
  1. Let users see a single comment (#5662)

    mrcasals committed Jan 31, 2020
    * Allow comments query to filter by comment ID
    
    * Show single comment from URL param
    
    * Add single comment warning
    
    * Lint code
    
    * Add link to single comment view
    
    * Build production bundle
    
    * Update changelog
    
    * Normalize locales
    
    * SCroll to comments section when checking a single comment
    
    * Fix typo
    
    * Increase wait time for certain specs
Commits on Jan 24, 2020
  1. Proposals: allow admins to set a predefined template (#5613)

    mrcasals and tramuntanal committed Jan 24, 2020
    * Add templates for proposals
    
    * Improve appearance of text areas in component settings forms
    
    * Add changelog entry
    
    * Remove byebug call
    
    * Fix specs
    
    * Update CHANGELOG.md
    
    Co-Authored-By: Oliver Valls <tramuntanal@gmail.com>
    
    * Improve locales
    
    * Fix naming
    
    Co-authored-by: Oliver Valls <tramuntanal@gmail.com>
Commits on Jan 17, 2020
  1. Add width and height to meetings component icon (#5614)

    mrcasals authored and tramuntanal committed Jan 17, 2020
    * Add width and height to icon
    
    * Add changelog entry
  2. Follow a meeting on registration (#5615)

    mrcasals authored and tramuntanal committed Jan 17, 2020
    * Follow a meeting on registration
    
    * Add Changelog entry
Commits on Dec 13, 2019
  1. Remove banner image resizing (#5567)

    mrcasals authored and agustibr committed Dec 13, 2019
    * Remove banner image resizing
    
    * Add changelog entry
Commits on Dec 12, 2019
  1. Remove Continuity badge (#5565)

    mrcasals authored and tramuntanal committed Dec 12, 2019
    * Remove Continuity badge
    
    * Add Changelog entry
Commits on May 2, 2019
  1. Add a migration to fix user names and nicknames (#5087)

    mrcasals authored and oriolgual committed May 2, 2019
    * Add a migration to fix user names and nicknames
    
    * Search for nicknames
    
    * Don't use puts
    
    * Add forward slash
    
    * Update 20190412131728_fix_user_names.rb
  2. Ensure static pages slugs are relative paths (#5085)

    mrcasals authored and oriolgual committed May 2, 2019
    * Ensure static pages slugs are relative paths
    
    * Add changelog
Commits on Apr 16, 2019
  1. Sanitize user-inputted content (#5037)

    mrcasals authored and oriolgual committed Apr 16, 2019
    * Add helper to escape HTML
    
    * Escape HTML on proposal card titles
    
    * Strip tags on proposal card descriptions
    
    * Improve method naming
    
    * Sanitize events i18n options
    
    * Escape HTML tags from root commentable titles in new comment activity
    
    * Escape and strip content in new proposal activity
    
    * Fix event spec
    
    * Allow escaping HTML and stripping tags before rendering hashtags
    
    * Update test factories
    
    * Fix included proposals
    
    * Fix data picker
    
    * Fix in meetings
    
    * Fix spec
    
    * Fix event specs
    
    * Fix more specs
    
    * Fix open data exporter specs
    
    * Fix comment event spec
    
    * Fix sortitions specs
    
    * Fix proposal specs
    
    * Fix proposal specs
    
    * Fix proposal title on amendments
    
    * Escape titles on participatory texts and remove warnings
    
    * Ensure proposal bodies are properly cleaned up
    
    * Fix specs
    
    * Cleanup profiles "About" section
    
    * Fix comments specs
    
    * Test debates
    
    * Ensure everything's OK with other proposal types
    
    * Fixes for collaborative drafts
    
    * Remove apostrophes from user names
  2. Add missing indexes (#5086)

    mrcasals authored and oriolgual committed Apr 16, 2019
Commits on Apr 11, 2019
  1. Fix step CTA button when base URL has params (#5082)

    mrcasals authored and oriolgual committed Apr 11, 2019
    * Fix step CTA button when base URL has params
    
    * Add changelog
Commits on Mar 25, 2019
  1. Update deps to fix security alerts (#4986)

    mrcasals and oriolgual committed Mar 25, 2019
    #### 🎩 What? Why?
    We got an automated report that one of our dependencies had a security alert. This PR updates it to a version that solves this problem.
    
    #### 📌 Related Issues
    None
    
    #### 📋 Subtasks
    None
    
    Co-authored-by: Oriol Gual <oriol@codegram.com>
Commits on Mar 21, 2019
  1. Bump version

    mrcasals committed Mar 21, 2019
Commits on Mar 20, 2019
  1. Add a bunch of missing locales (#4982)

    mrcasals committed Mar 20, 2019
    #### 🎩 What? Why?
    A lot of locales have been added lately on Crowdin. This PR adds them to the platform, otherwise they can't be used.
    
    #### 📌 Related Issues
    None
    
    #### 📋 Subtasks
    None
Commits on Mar 18, 2019
  1. Revert "Normalize Catalan and Spanish locales" (#4977)

    mrcasals committed Mar 18, 2019
    This reverts commit 88f57c9.
Commits on Mar 15, 2019
  1. Readd i18n normalization spec (#4975)

    mrcasals committed Mar 15, 2019
    * Readd i18n normalization spec
    
    * Normalize English locale files
    
    * Normalize Catalan and Spanish locales
Commits on Mar 14, 2019
  1. Fix some issues in admin (#4964)

    mrcasals committed Mar 14, 2019
    * Don't render profile URL if user has no nickname
    
    * Let admins visit the authorization workflows index page
    
    * Add changelog
    
    * Fix wording
    
    * Add missing locale
Commits on Mar 11, 2019
  1. Fix follow counters migration (#4956)

    mrcasals committed Mar 11, 2019
    * Skip callbacks on follower counters migration
    
    * Add changelog
    
    * Fix changelog
    
    * Improve wording
Older
You can’t perform that action at this time.