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

Point simplecov to master to fix a coverage on monorepos #6240

Merged
merged 2 commits into from Jun 30, 2020

Conversation

andreslucena
Copy link
Member

🎩 What? Why?

This one is 100% from @mrcasals - I'm only making the final (momentary) fix:

When developing #5934, we found a problem: when running tests for the decidim-proposals engine, where we know code from decidim-core is executed, the code in decidim-core was not considered as covered. This reduced the % of covered code in the results. This was reported in simplecov-ruby/simplecov#885.

The Simplecov maintainers have worked on this issue and have released a PR that should fix the problem: simplecov-ruby/simplecov#894. We should try this in our repo and see if it actually fixed it.

So, basically, this should fix the coverage issues that we have 🙏 🙏

As stated on the comment on the Gemfile, on a next simplecov version (0.18.6 or 0.19.0) this will not be necessary and can be removed.

📌 Related Issues

@mrcasals
Copy link
Contributor

@andreslucena you'll need to run bin/rake bundle to fix the tests!

@mrcasals
Copy link
Contributor

Looks good to me! We got a 4.72% coverage increase!

@mrcasals
Copy link
Contributor

@decidim/core can you review this, please? 😄

@deivid-rodriguez
Copy link
Contributor

Hi 👋! I'm glad cherry-picking this fix did the trick! 🎉

Note that the coverage increase should've been actually higher but for some reason (not sure if it's know/unknown, permament/intermittent), some files that were previously covered are now uncovered.

I believe this might be an issue with the codecov uploader since for example with decidim-debates, one of the modules suffering from this coverage decrease, the upload seems to be failing.

    -> Found 2 reports
==> Detecting git/mercurial file structure
==> Reading reports
    + ./coverage/coverage.xml bytes=4161299
    + ./spec/coverage/coverage.xml bytes=11878
==> Appending adjustments
    https://docs.codecov.io/docs/fixing-reports
/dev/fd/63: line 1574: echo: write error: Broken pipe
    + Found adjustments
==> Gzipping contents
==> Uploading reports
    url: https://codecov.io
    query: branch=chore%2Fci%2Fsimplecov-master&commit=3a00ae1654f28eaa8d5ed57851ebd35a4545c74a&build=148713119&build_url=http%3A%2F%2Fgithub.com%2Fdecidim%2Fdecidim%2Factions%2Fruns%2F148713119&name=decidim-debates&tag=&slug=decidim%2Fdecidim&service=github-actions&flags=&pr=6240&job=
->  Pinging Codecov
https://codecov.io/upload/v4?package=bash-20200622-40cebbd&token=secret&branch=chore%2Fci%2Fsimplecov-master&commit=3a00ae1654f28eaa8d5ed57851ebd35a4545c74a&build=148713119&build_url=http%3A%2F%2Fgithub.com%2Fdecidim%2Fdecidim%2Factions%2Fruns%2F148713119&name=decidim-debates&tag=&slug=decidim%2Fdecidim&service=github-actions&flags=&pr=6240&job=
->  Uploading to

curl: (3) <url> malformed
curl: (3) <url> malformed
    X> Failed to upload
    -> Sleeping for 30s and trying again...
/dev/fd/63: line 1668: [: 0+1: integer expression expected
    -> Uploading to Codecov
    -> Sleeping for 30s and trying again...
/dev/fd/63: line 1712: [: 0+1: integer expression expected
    X> Failed to upload coverage reports
See for example the errors while uploading

@mrcasals
Copy link
Contributor

Hi @deivid-rodriguez! Thanks for stopping by! I didn't check the actual report, thanks for noticing. This is something we've been encountering since we moved to Codecov (Codeclimate had limitations when moving the test suite to GitHub Actions).

@decidim/core maybe we can try to use what we did for #5995 for the uploads?

@tramuntanal tramuntanal merged commit f5c47d8 into develop Jun 30, 2020
@tramuntanal tramuntanal deleted the chore/ci/simplecov-master branch June 30, 2020 15:04
@deivid-rodriguez
Copy link
Contributor

No problem @mrcasals! Keeping letting us know if simplecov gives strange results again 👍.

@tramuntanal
Copy link
Contributor

tramuntanal commented Jun 30, 2020

Hi @deivid-rodriguez thanks for commenting on it 😄

@mrcasals As I can see in the log there's a strange /dev/fd/63: line 1574: echo: write error: Broken pipe so it will be a good to add a retry to see if this broken pipes are random and punctual or related with something in the PRs. I'll try to have it for this week

@deivid-rodriguez
Copy link
Contributor

No worries @tramuntanal 😃

From what I could see the codecov github action is essentially downloading a script, setting some environment variables, and running the script. What I would do if I had to debug this would be to run that manually instead of using the action so that I can at least set -x and see what's going on.

Anyways, good luck! :)

@deivid-rodriguez
Copy link
Contributor

Simplecov 0.19.0 is out, in case you want to go back to using a released version :)

@tramuntanal tramuntanal mentioned this pull request Aug 31, 2020
6 tasks
@tramuntanal
Copy link
Contributor

thanks for advising @deivid-rodriguez we did the update 👍 !

tramuntanal added a commit that referenced this pull request Nov 12, 2020
* Remove decidim-surveys legacy tables (#6178)

* Remove decidim-surveys legacy tables after migrating to decidim-forms

Removes legacy tables and also legacy columns in decidim_surveys_surveys.

* Add changelog entry

* Apply rubocop recomendations

* Remove `published_at` from SurveyType in graphql api

* Fix the edit link test failing randomly for participatory processes spec (#6180)

* Fix the edit link test failing seemingly randomly previously

The assemblies spec does multiple requests to the target pages
when testing with the assemblies spec. This was caused by warden
failing to authenticate the user on the correct request because
in certain situations the previous request's rendering caused
other requests to "use" the authenticated state before the edit
link test did its own request.

* Add CHANGELOG entry

* Add a developer note about edit_link_shared_examples

* Fix rest of the specs using "editable content for admins" examples

* Fix edit link test with the participatory_processes_spec.rb

Related to #6161

* Add CHANGELOG entry

* How to release following Gitflow (#5766)

* How to release a major PRE version

* Apply review recomendations

* Add a "During the validation period" chapter

* Update the doc for releasing minor versions, add Crowdin references

* Update styling for changelog contents

* Add the github release page creation step when releasing a minor

* Update the chagelog sections example

* Add step to remove unsupported branches from Crowdin on major/minor releases

* Clarify how Crowdin should be configured after a release

* Apply markdown linter corrections

* Extract release related doc from development_guide to advanced/releases

* Fix mispelling

* Add changelog entry

* Remove step to create a tag pointing to the beginning of the next release

* Fix mistype

`gem owner` instead of `gem owners`.

Co-authored-by: Ivan Vergés <ivan@platoniq.net>

* Apply review recommendations

Co-authored-by: Ivan Vergés <ivan@platoniq.net>

* New Crowdin translations (#6184)

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (French)

* Rebuild comments JS bundle

Co-authored-by: Oliver Valls <oliver.vh@coditramuntana.com>

* Bump develop to next 0.23 version

* Fix rubocop errors arising from capybara upgrade (#6197)

* Fix some linterns errors arising from capybara upgrade

* Add PR link to changelog items

* Fix capybara visible option due to a rubocop documentation confusion and fix changelog

* Fix visible on have_selector

* Change linter to rubocop on changelog

* Elections questions and answers navigation consistency improve (#6139)

* feat: improve elections questions and answers navigation consistency

* test: update tests with the new navigation

* doc: add changelog entry

Co-authored-by: ivan-mr <ivan.mr@coditramuntana.com>

* Update stale.yml configuration for stale-bot (#6199)

* Remove "+" file, created by mistake (#6198)

* Fix comments JS errors and delays (#6193)

* Fix comments UI functionality broken by #5662

* Ensure there are no JS errors during the comments UI tests

* Lint the frontend spec helpers

* Add CHANGELOG entry

* Fix the meetings comments spec (static map requests HTTP 500)

* Fix CHANGELOG

* Document when contributors should contribute to changelog (#6209)

* Document when contributors should contribute to changelog

This simplifies our previous request to contributors to add a changelog entry for every PR.

* Add a note for contributors to check the `docs/development_guide`

* Remove the default check from the template

Co-authored-by: Agusti B.R. <agustibr@users.noreply.github.com>

* Fix little typo

Co-authored-by: Jesús Di Bari <61017625+jesusdb@users.noreply.github.com>

Co-authored-by: Agusti B.R. <agustibr@users.noreply.github.com>
Co-authored-by: Jesús Di Bari <61017625+jesusdb@users.noreply.github.com>

* Import from proposals to answers (#6163)

* feat: add import proposal to answer form

* feat: add import proposal to elections class

* feat: add proposals imports controller

* feat: add permissions for proposals import

* feat: add route for proposals import

* feat: update resource_scope query

* feat: add en locales for proposals import

* feat: add button to import proposals to answers

* feat: add view for proposals import form

* fix: update and set question and answer associations

* test: complete import proposals to answers test

* doc: add changelog entry

* test: add permission test for proposals imports

* feat: apply feedback

Co-authored-by: Jesús Di Bari <61017625+jesusdb@users.noreply.github.com>

* Fix link to previous changelog version (#6215)

* New Crowdin updates (#6211)

* New translations en.yml (Greek)

* New translations en.yml (Greek)

* New translations en.yml (Greek)

* New translations en.yml (Greek)

* New translations en.yml (Greek)

* New translations en.yml (Greek)

* New translations en.yml (Greek)

* New translations en.yml (Greek)

* New translations en.yml (Greek)

* New translations en.yml (Greek)

* New translations en.yml (Greek)

* New translations en.yml (Greek)

* New translations en.yml (Greek)

* New translations en.yml (Greek)

* New translations en.yml (Greek)

* New translations en.yml (Greek)

* New translations en.yml (Greek)

* New translations en.yml (Greek)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Greek)

* New translations en.yml (Catalan)

* New translations en.yml (French)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Irish)

* New translations en.yml (Irish)

* New translations en.yml (Irish)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (Latvian)

* New translations en.yml (Irish)

* New translations en.yml (Irish)

* New translations en.yml (Irish)

* New translations en.yml (Irish)

* New translations en.yml (Irish)

* New translations en.yml (Irish)

* New translations en.yml (Irish)

* New translations en.yml (Irish)

* New translations en.yml (Irish)

* New translations en.yml (Irish)

* New translations en.yml (Irish)

* New translations en.yml (Irish)

* New translations en.yml (Irish)

* New translations en.yml (Irish)

* New translations en.yml (Irish)

* New translations en.yml (Irish)

* New translations en.yml (Irish)

* New translations en.yml (French, Canada)

* New translations en.yml (Irish)

* New translations en.yml (Irish)

* New translations en.yml (Latvian)

* New translations en.yml (Latvian)

* New translations en.yml (Latvian)

* New translations en.yml (Latvian)

* New translations en.yml (Latvian)

* New translations en.yml (Latvian)

* New translations en.yml (Latvian)

* New translations en.yml (Latvian)

* New translations en.yml (Latvian)

* New translations en.yml (Latvian)

* New translations en.yml (Latvian)

* New translations en.yml (Latvian)

* New translations en.yml (Latvian)

* New translations en.yml (Latvian)

* New translations en.yml (Latvian)

* New translations en.yml (Latvian)

* New translations en.yml (Latvian)

* New translations en.yml (Latvian)

* New translations en.yml (Latvian)

* New translations en.yml (Latvian)

* New translations en.yml (Swedish)

* New translations en.yml (Hungarian)

* New translations en.yml (Hungarian)

* New translations en.yml (Latvian)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Czech)

* New translations en.yml (Finnish)

* New translations en.yml (Catalan)

* New translations en.yml (French)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Hungarian)

* New translations en.yml (Hungarian)

* New translations en.yml (French, Canada)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Czech)

* New translations en.yml (Norwegian)

* Rebuild JS bundles

Co-authored-by: Oliver Valls <oliver.vh@coditramuntana.com>

* New Crowdin updates (#6219)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Norwegian)

* New translations en.yml (Norwegian)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* Add line feeds at the end of paragraphs and lists (#6200)

* Add line feeds at the end of paragraphs and lists

Now it detects whether if a list is ordered or unordered, and adds numberings or bullet points respectively.

* Use double quotes to solve Rubocop offense

* Add Romanian as a new language (#6231)

* Publish and unpublish an election (#6152)

* Publish/Unpublish main logic

* Fix permissions for unpublish and delete

* Rubocop format

* Add CHANGELOG entry

* Format fixes

* Setting delete elections permission correctly

* Added translations pendign

* Added translations for email and notifications

* Applied i18n normalize

* Added unpublish election command test

* Trigger build

* Test and Type

* Exposed field published_at for graphql API

* Only expose published elections on GraphQL API

* Add some tests

* Permissions test

* Two more tests

* Added Publish Event TEst

* Add Test for Elections Log Class overwrite

* Allow actions on elections only when not started (date>now)

* Gemfile.lock changed after decidim update

* Made improvements of factories, format and translations structure

* Set the locale path as it was before

* Gemfile.lock changed

* Added test for presenter

* Added one more test

* Gemfile.lock changed

* Import and export for Assemblies (#5624)

* [WIP] added importation and exportation features

* [REFACTOR] removed TODO

* [FIX] locales missing translation

* [WIP] added more fields to importation

* [FIX] all attributes are imported properly

* [FIX] removed typos

* [FIX] test data, rspec tests, and chromedriver test

* [FIX] added chromedriver test

* [REFACTOR] assemblies type importation

* [FIX] added port to test json in order to improve coverage

* [FIX] step settings ids only override when there are steps

* [FIX] updated changelog

* [FIX] step settings ids only override when there are steps

* [FIX] added serializer test

* Solved only local urls being imported in assemblies and participatory_processes

* Solved not being able to export external attachments

* Update changelog

* Optimize test by replacing method call with a variable

* Update decidim-assemblies/spec/system/admin/admin_imports_assembly_spec.rb

Co-authored-by: Jesús Di Bari <61017625+jesusdb@users.noreply.github.com>

Co-authored-by: Javier Jiménez <57717422+jarvisct@users.noreply.github.com>
Co-authored-by: Jesús Di Bari <61017625+jesusdb@users.noreply.github.com>

* Supersede "Manage conditions to hide or show questions in surveys" (#6241)

* Create QuestionCondition migration, model and spec

* Add validations and specs for QuestionCondition

* Specs for question_condition.fulfilled?

* Spec for match condition type

* Spec for match condition type

* Create QuestionConditionForm and its spec

* Add examples to QuestionConditionForm spec

* Rename model to more descriptive DisplayCondition

* Update DisplayCondition form and spec

* Add display_conditions association to question

* Create display_condition view elements and helpers

* Restructuring dynamic fields for display conditions

* Add utility methods

* Setup select tags

* Add question type in condition_question select

* Call url on condition question change

* Fetch json with answer_options from questionnaire form

* Load answer options into select

* Load answer options only when question type isMultipleOption

* Save display_conditions

* Update display condition form spec

* Improve DisplayConditionForm validations

* Fix question options for select

* Match attribute names in disp. condition form to database fields

* Load answer options from question

* Select options from URL js component

* Dynamic inputs for each display condition

* Filter condition types by condition question type

* Load saved condition question in select

* Load condition types in select depending on selected question type

* Update "move up" and "move down" buttons when questions dragged

* Implement display conditions behaviour when answering questionnaire

* Implement answer option condition type in answer questionnaire

* Handle multiple conditions on questionnaire answer

* Show errors and warning in admin display condition form

* Disable question in display condition select if type "sorting"

* Remove display conditions for first question after reordering

* Update labels in questionnaire form

* Manage multiple conditions on same question

* Manage free text choice for "match" display condition

* Erase unused values when saving display condition

* Update DisplayConditionForm specs

* Update DisplayConditionForm's questions_for_select

* Improve answer questionnaire with conditions UX

* Add examples to display condition form spec

* Add examples for #to_html_data in display condition model spec

* Add some missing details to model relations

* Stub examples for has_questionnaire spec

* Stub examples in manage_questionnaires spec

* "Answered" type user answer questionnaire specs

* DRY up spec for display conditions

* Simplify display conditions system specs

* Fix spec for not_equal display condition

* Specs for "match" display conditions

* Match single and multiple option with free text

* Non-working last two examples (only one question appears in html)

* Fixes for display conditions form

* First specs for admin manage questionnaire display conditions

* fix some javascript linter problems

* Admin manage questionnaire specs

* Admin add display condition spec

* Spec answer options loadin in display condition select

* Spec questions being load in display condition select

* Check parent question disabled in child select

* Lint (and refactor) javascript

* Fix multiple display conditions specs

* Remove unused translation

* Fix rubocop offenses

* Remove debug style for question with condition

* Update changelog

* Set positions for survey questions seeds

* Fix indentation in js

* Fix lines too long offense

* Fix erblint errors

* Move display conditions specs inside has_questionnaire shared_example

* Check data-types are set for options in questions select

* Add questions array

* Spec condition_type options loading after question select

* Add answer_options route to meetings

* Fix update_questionnaire command

* Wait 5 seconds for answer_options select to load

* Temporarily remove test failing on circleci but not locally

* DRY display condition admin  specs

* Split questionnaire shared system spec into multiple files

* Propagate question deletion to display conditions

* Specs for update display conditions

* Load stored answer option for display condition

* Update display conditions spec load answer option

* JS lint

* Fix rubocop offense

* Show only non-conditioned questions when questionnaire can't be answered

* Add factory spec for conditioned questions

* Spec private questionnaire readonly conditioned question

* update changelog

* Add seeds for display conditions

* Improve fulfilled? method in display condition model

* Validate mandatory attributes on answer if conditions fulfilled

* Spec for validate mandatory attributes on answer only if conditions fulfilled

* Fix spec

* Add conditions validation spec for answer_form

* Add message for disabled javascript when answering questionnaire

* Commit answers only for questions with fulfilled conditions

* Disable "Add condition" button unless question is saved

* Use standard naming for "as_json" in answer option presenter

* Document associations for question

* Add docstring in display_condition.rb

* Rename `conditions_fulfilled` to `display_conditions_fulfilled?`

* Fix merge error in forms.js

* Use as_json in has_questionnaire (method renamed)

* Refactor display condition specs to work with collapsible questions

* Remove duplicate line

* Move display conditions element inside question

* Fix specs

* Remove trailing whitespace

* Remove unused locale

* Add spec for forms admin application helper

* Add answer_option spec

* Add example for display conditions in update questionnaire spec

* Use bigint for ids

Co-authored-by: Jesús Di Bari <61017625+jesusdb@users.noreply.github.com>

* Use option for variable name in block

Co-authored-by: Jesús Di Bari <61017625+jesusdb@users.noreply.github.com>

* Use option for variable name in block

Co-authored-by: Jesús Di Bari <61017625+jesusdb@users.noreply.github.com>

* Use "element" for variable name in block

Co-authored-by: Jesús Di Bari <61017625+jesusdb@users.noreply.github.com>

* Typographic suggestion fix 1

Co-authored-by: Jesús Di Bari <61017625+jesusdb@users.noreply.github.com>

* Typographic suggestion fix 2

Co-authored-by: Jesús Di Bari <61017625+jesusdb@users.noreply.github.com>

* Typographic suggestion fix 3

Co-authored-by: Jesús Di Bari <61017625+jesusdb@users.noreply.github.com>

* Typographic suggestion fix 4

Co-authored-by: Jesús Di Bari <61017625+jesusdb@users.noreply.github.com>

* Typographic suggestion fix 5

Co-authored-by: Jesús Di Bari <61017625+jesusdb@users.noreply.github.com>

* Clearer idx variable names in block

* Remove lines from 'Added' on CHANGELOG

Co-authored-by: Vera Rojman <vrojman@protonmail.com>
Co-authored-by: Ivan Vergés <ivan@platoniq.net>
Co-authored-by: Vera Rojman <8806781+verarojman@users.noreply.github.com>

* Fix crash when proposals meeting author is deleted (#6232)

* Introduce CoauthorableDummyResource so core don't have to depend upon other modules

* New factory for the CoauthorableDummyResource

* Introduce the NilPresenter

* Use NilPresenter when presenter can not be resolved

* Specs for CoauthorshipsCell

* Configure CoauthorableDummyResource as not searchable

* Refactor coauthorable_dummy_resource factory to not raise errors when being tested

* New Crowdin updates (#6226)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (French)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (French, Canada)

* New translations en.yml (Italian)

* New translations en.yml (Hungarian)

* New translations en.yml (Turkish)

* New translations en.yml (Bulgarian)

* New translations en.yml (Czech)

* New translations en.yml (Hungarian)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Czech)

* Rebuild JS bundles

* New translations en.yml (Czech)

* New translations en.yml (Czech)

Co-authored-by: Oliver Valls <oliver.vh@coditramuntana.com>

* Remove legacy Proposals endorsements table (#5643)

* [DOC] Update changelog upgrade notes.

* Remove legacy ProposalEndorsement related structures from database.

* Fix syntax error

* Fix bad automatic merge in changelog

* Clean changelog entries from bad merge

* Fix mistyped table name

* Rename stable branches and add changelog upgrade note (#6222)

* Memoizes and caches provider settings to improve performance (#6236)

* Memoizes provider settings to improve performance

* Caches the omniauth partials

* Meetings by participants or groups (#6095)

* feat(meetings): create meeting from public views

* feat(meetings): Edit from public views, enable user_groups to be organizer, polymorphic organizer association

* feat(meetings): reportable meetings

* feat(meetings): filter by origin and multiple checkboxes

* Remove duplicated method

* Fix typo

* Show meeting author

* Don't let admins perform actions on non-official meetings

* Add component setting

* Filter actions according to permissions

* Filter meetings by origin if setting is enabled

* Add newline

* Remove unused locale key

* Lint views

* Fix unit tests

* Fix tests

* Fix tests

* Fix unit tests

* Fix specs

* Remove extra line

* Fix tests

* Remove unused i18n key

* Fix class name

* Use Authorable concern instead of custom solution

* Lint code

* Fix factories

* Fix specs

* Use normalized author on meeting page

* Show normalized author on meeting card

* Fix spec

* Remove transparent and private meeting fields from public area

* Add version views for meetings

* Remove unused file

* Add changelog

* Ignore locale

* Fix specs

* Fix label

* Fix log visibility

* Fix typo

* Create Flaggable and Withdrawable controller concerns

This allos us to unlink decidim-core from deciim-proposals, decidim-meetings and decidim-blogs, and lets other modules (even external ones) to implements these features more easily.

* Fix concerns

Co-authored-by: Marc Riera Casals <mrc2407@gmail.com>
Co-authored-by: Ramon Costa <ramon.costa@gmail.com>

* Point simplecov to master to fix a coverage on monorepos (#6240)

* Point simplecov to master to fix a coverage on monorepos

* Bump simplecov for app design

* New Crowdin updates (#6252)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Dutch)

* New translations en.yml (Italian)

* New translations en.yml (Hungarian)

* New translations en.yml (Finnish)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Bulgarian)

* New translations en.yml (Portuguese)

* New translations en.yml (Norwegian)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Polish)

* New translations en.yml (Spanish)

* New translations en.yml (Arabic)

* New translations en.yml (Catalan)

* New translations en.yml (Romanian)

* New translations en.yml (French)

* New translations en.yml (Basque)

* New translations en.yml (German)

* New translations en.yml (Czech)

* New translations en.yml (German)

* New translations en.yml (French, Canada)

* New translations en.yml (Russian with many plural form)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Ukrainian with many plural form)

* New translations en.yml (Galician)

* New translations en.yml (Turkish)

* New translations en.yml (Slovak)

* New translations en.yml (Swedish)

* New translations en.yml (Icelandic)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Indonesian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Bulgarian)

* Retry `bundle install` step through an action (#5995)

* Add tests to proposal_presenter (#6265)

* Avoid deleting a meeting when it has at least one proposal originated in it (#6242)

* A meeting with proposals cannot be destroyed

* Normalize locale

* Add proposals method to Meeting model

* Refactor a little the destroy command

* Add alert when meeting has proposals

* Remove comments and logs

* Solve Rubocop offenses

* Use single quotes on locales

* Add tests to DestroyMeeting command

* Use load to memoize

* Use the standard I18n pluralization API

* Use .size instead of .count to minimize queries

* Remove specific error to avoid warning

* Remove newline adjacent spaces from alert

* Fix lint errors

* Add translation to ignore_unused

* Change method name 'proposals' from meeting model

* Add key to ignore missing as i18n-tasks is not resolving the scope

* Add tests to meeting_presenter

* Remove 'organizer' from meetings in tests

* Add tests to meetings controller (destroy)

* Solve linter error

* Solve linter offense

* Use delete instead of post

* Refactor test

* Be explicit on which controller is being tested

Co-authored-by: Oliver Valls <oliver.vh@coditramuntana.com>

* Enable debate reporting. Closes #6190 (#6254)

* Align icons in elections admin (#6218)

* Publish/Unpublish main logic

* Fix permissions for unpublish and delete

* Rubocop format

* Add CHANGELOG entry

* Format fixes

* Setting delete elections permission correctly

* Added translations pendign

* Added translations for email and notifications

* Applied i18n normalize

* Added unpublish election command test

* Trigger build

* Test and Type

* Exposed field published_at for graphql API

* Only expose published elections on GraphQL API

* Add some tests

* Permissions test

* Two more tests

* Added Publish Event TEst

* Add Test for Elections Log Class overwrite

* Allow actions on elections only when not started (date>now)

* Gemfile.lock changed after decidim update

* Made improvements of factories, format and translations structure

* Set the locale path as it was before

* Gemfile.lock changed

* Added test for presenter

* Added one more test

* Gemfile.lock changed

* Show disabled icons for elections admin not allowed actions

* Fix duplicate icons after merge

* Gemfile.lock changed

Co-authored-by: ivan-mr <ivan.mr@coditramuntana.com>

* Don't send notification if threshold has already been reached (#6261)

* Introduce a standardized branch naming (#6210)

* Introduce a standardized branch naming

* Remove trailing space

Co-authored-by: Jesús Di Bari <61017625+jesusdb@users.noreply.github.com>

* Better explain when to use each branch name prefix

* Add more prefixes and better explain fix/ and feature/

Co-authored-by: Jesús Di Bari <61017625+jesusdb@users.noreply.github.com>

* View and manage responses to surveys directly in the admin (#5770)

* Link to results from questionnaire edit view

* Define results_url in surveys controller

* Create and link questonnaire results view

* Remove answer-related statements from HasQuestionnaire concern

* Remove answer-related methods from general forms helper

* Create QuestionnaireAnswersHelper

* Redefine query method to be more general

* Add answers permissions to surveys module

* Enforce permission to view responses in questionnaire form

* Create HasQuestionnaireAnswers concern

* Add HasQuestionnaireAnswers to surveys controller

* Add questionnaire answers routes to surveys routes

* Create questionnaire answers index and show views

* Fix participant_fields method name

* Remove unnecessary 'participant_fields' method

* Fix empty line rubocop offense

* Add WickedPdf dependency to decidim-forms module

* Setup routes and permissions for questionnaire answers export

* Create queries to manage questionnaire participants

* Create presenter for questionnaire participant

* Refactor HasQuestionnaireAnswers to use new queries and presenters

* Refactor index and show views to use presenters

* Create views for questionnaire pdf export

* Return QuestionnaireUserAnswers to its previous state

* Create spec for QuestionnaireParticipants query

* Create spec for QuestionnaireParticipant query

* Create spec for QuestionnaireParticipantPresenter

* Add questionnaire_answers permissions specs

* Create spec for QuestionnaireAnswersHelper

* Create surveys controller spec

* Refactor pdf render in HasQuestionnaireAnswers

* Revert QuestionnaireUserAnswers to original state

* Remove trailing format from urls and set pdf title

* Display disabled button when no answers for questionnaire

* Display questionnaire completion percentage for participants

* Spec example for display_percentage

* Spec example for participant completion

* Style questionnaire answers pdf

* Update HasQuestionnaireAnswers usage explanation

* Move HasQuestionnaireAnswers helper methods to separate class

* Add #i18n-tasks-use comment in controller

* Fix usage of # i18n-tasks-use comment

* Normalize locales

* Update spec for helper ip_hash

* Refactor HasQuestionnaireAnswers helpers

* Normalize locales

* Create QuestionnaireAnswerPresenter

* Use answer presenter for participant answers

* Create spec for QuestionnaireAnswerPresenter

* Fix erblint errors

* Allow defining custom exporters derived from base PDF exporter

* Allow customizing controller for PDF exporters

* Modify exporters to take in any options

* Write spec for export manifest #options and #formats

* Remove options for exporters and set in child class instead

* Survey PDF spec

* Add doc comment to load_exporters in export_manifest

* Fix label in exports dropdown

* Add export label to locales

* Add doc comments

* update gemfile.lock

* Add CHANGELOG entry

* Normalize locales

* Simplify export locales

* Add i18n-use comments in exporters

* Update Gemfile.lock in decidim-generators and decidim_app-design

* Remove non-background answer exports

* Remove unused translations

* Remove unused translation

* Fix translations

* Normalize locales

* Fix answer presenter specs

* Add wicked_pdf gem to decidim-generators Gemfile

* Update decidim-generators Gemfile.lock

* requiire wickedpdf in initalizer file

* code optimizations

* refactor answer grouping query. Fix completion percentage

* refactor pdf exporter. bring back individual response export

* present first user answer to navigate

* fix tests

* changelog

* add alternate first td view if no short answers available

* add examples for admin answers pages

* Introduce i18n tasks use comments with another comment

* Export single answers as a background job

* Override questionnaire_participant_answers_url specifying engine in surveys controller

* Update changelog

* Create job for exporting a questionnaire participant's answers

* Relocate FormPDF spec in correct folder

* Spec for export questionnaire answers job

* decouple PDF exporter from questionnaires specific forms

* Style lint

* Try to fix translatable_attributes not found in ci spec

* Require form_pdf in spec instead of loading

* Require form_pdf in export survey answers spec

* Revert form_pdf's controller method (problem wasn't there)

* Add autoload FormPDF in forms module

* Autoload FormPDF exporter, not base PDF

* Remove "require" statements for form_pdf

* Add necessary require lines

* Load FormPDF into Exporters module

* Remove trailing whitespace

* add pdf css assets to the precompile list of sprockets

* Require 'form_pdf' exporter in HasQuestionnaireAnswers concern

* Require form_pdf exporter in decidim-forms spec_helper

* Require translations_helper in form_pdf

* refactor pdf rendering controller in its own class

* Remove unncessary requires for form_pdf

* Add final newline

* Delete unused #answered? method in answer model

* lint fix

* Clean changelog

* improve method comment

Co-authored-by: Ivan Vergés <ivan@platoniq.net>

* Polymorphic route support for ResourceLocatorPresenter (#6274)

* feature(core): add polymorphic support to resource locator

* chore: apply team review suggestions

* Fix and improve amendments diff visualizations (#6260)

* Fix and improve amendments diff visualizations

* ignore dropdown click if not changed

* New Crowdin updates (#6270)

* New translations en.yml (Catalan)

* New translations en.yml (Bulgarian)

* New translations en.yml (Bulgarian)

* New translations en.yml (Czech)

* New translations en.yml (Bulgarian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Norwegian)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Bulgarian)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Finnish)

* New translations en.yml (Czech)

* New translations en.yml (French)

* New translations en.yml (Spanish)

* New translations en.yml (Romanian)

* New translations en.yml (French)

* New translations en.yml (Catalan)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (French, Canada)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (French, Canada)

* New translations en.yml (Dutch)

* New translations en.yml (Norwegian)

* New translations en.yml (Italian)

* New translations en.yml (Hungarian)

* New translations en.yml (Italian)

* New translations en.yml (Swedish)

* New translations en.yml (Slovak)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Norwegian)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Norwegian)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Norwegian)

* New translations en.yml (Norwegian)

* New translations en.yml (Norwegian)

* New translations en.yml (Norwegian)

* New translations en.yml (Norwegian)

* New translations en.yml (Portuguese)

* Truncate debate cell text & do not sanitize instructions (#6224)

* truncate debate cell text & do not sanitize instructions

* strip tags from debate cards

* avoid double sanitization in titles

* New Crowdin updates (#6282)

* New translations en.yml (Norwegian)

* New translations en.yml (Norwegian)

* Improve proposal selection (#6213)

* Implement proposals picker for budgeting projects

* Fix specs broken by the proposals picker implementation

* Add extra specs to test the proposals picker functionality

* Remove unnecessary newline

* Remove unnecessary published check from proposals with the picker

* Only display published proposals in the proposals picker

* Improve newsletter real time counters performance when using segmentation  (#6258)

* Improve newsletter_participant_ids retrieval for Comments

Comments is the most unperformant module of the retrieval of participant ids.

* Add spinner and cursor loading on recipients count ajax process

* Fix linter errors

* Fix spaces without component_ids on recipients_count_query

* Fix linter doing next if space has no component_ids

* Remove commented code

* Fix lint errors on newsletters.js.es6

* Fix linter error missing space

* Fix getting participant_ids for newsletter_recipients

* Unblock form when count recipients process start and put spinner only on counter message

Co-authored-by: Ivan Molinero <ivan.mr@coditramuntana.com>

* Update rack gem to patch CVE-2020-8184 (#6273)

* Fix linter on recipient counter text for newsletter helper (#6289)

* Remove validation rule that detects long words (#6272)

* fix detecting links as long words

* remove long words validator

* Fix admin initiative's answer redirection (#6279)

* update admin initiative answer redirection

* update changelog

* rubocop linting

* Revert "update changelog" according to decidim's changelog policy

This reverts commit e18f6fb2c59f6dd3a767d9f13ed2b495cd521583.

* Improve email notifications for reported content (#6053)

* Add more info to report email

* Add content to report email body

* Add some examples to spec report email body

* Add user_profile_url helper in report mailer

* Spec for user profile link

* Spec for reported content title and body in report mail

* Spec for reported content

* Add date to report mail

* Change author to creator_identity (it can be a group)

* Normalize locales

* Omit report details in email if not present

* Include full reason translation in email

* Try author if creator_identity not present in reportable

* Update changelog

* Account for different types of authorships in reported resource

* Show link to author url only when instance of UserBaseEntity

* Use proposal as resource for reported mailer spec

* Sync changelog with develop

* Elections authorizations (#6181)

* feat: allow to define scope attribute in settings

This field will be rendered as a scope picker.

* fix: prevent single scope picker to show values after prompt

Its style depends on it to work properly.

* feat: add vote action to elections

* feat: add dummy frontend pages for elections to be able to try it

* feat: support multiple extra explanations for verifications

* feat: add scope support to dummy authorization for users and permissions

* test: complete tests for permissions and changes on the dummy verifier

* style: fix lint issues

* fix: update docs and tests with the changes to dummy authorization

* doc: comment change suggestion applied

* test: ignore generators templates for coverage calculations

* test: upload coverage for generators

* Allow testing surveys prior to publication (#6176)

* Make questionnaire publicable

* Allow editing questionnaire when still unpublished, and destroy answers after every edit

* Fix questionnaire edit title

* Add hooks system to publicable concern

* Revert "Add hooks system to publicable concern"

This reverts commit 223286689de72f89e38f5bd0c2e32c6855e9271b.

* Make surveys listen to publish event to delete answers

* Add boolean and setting to determine if answers should be deleted

* Make deleting answers after editing questionnaire safer

* Fix specs

* Unify clean_on_publish name in model and settings

* Start specs for preview questionnaires

* Preview questionnaire specs

* Use settings to check if answers must be deleted after publishing survey

* Update spec for clean_after_publish (wip)

* test answers cleaning with ComponentPublish command

* Add wait to spec example

* Add warning to unpublished questionnaires

* Fix rb error

* Remove unused locale

* Fix erb lint error

* Add public_url in meetings' registration_form_controller

* Fix example in spec

* Fix spec

* Normalize locales

* Change "questionnaire_answers" to "questionnaire_responses" in spec

* Fix spec in admin manages surveys

* Add preview token system to surveys component

* Revert "Add preview token system to surveys component"

This reverts commit df10ffbad1e2cab553ae31c467b94beb2fead9b8.

* ensure papertrail is not creating extra versions of a meeting

* Remove touch: true from questionnaire_for association in questionnaire

Co-authored-by: Ivan Vergés <ivan@platoniq.net>

* New Crowdin updates (#6290)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* Make character limit for comments configurable (#6280)

* Opening commit :construction:

* Make comments length configurable

* Add missing translation

* Normalize locales

* Remove duplicated locales in debates i18n fields (#6283)

* Add migration to fix fields

* Improve code

* Move meeting services to their own model (#6269)

* Move meeting services to their own model

* Split in two migrations

* Fix seeds and factories

* Fix specs

* Simplify code

* Fix specs

* Add a migration to migrate data from legacy surveys' tables (#6299)

* Add a migration to migrate data from legacy surveys' tables

* Do not run the migration if Rails env is test

* Do not run the migration in the CI either

* Explain implementors how to migrate the data

* Add decidim_surveys_tasks.rake again

* Rubocopify

* Make comments handle i18n (#6276)

* Migrate comments body to an i18n JSONB column

* Handle i18n body

* Fix rubocop lints

* Fix specs

* Properly translate body

* Do not check surveys' legacy tables in development env (#6302)

* Fix newsletter target selection exception due to consultations (#5561)

* [FIX] consultation queries don't result in exception

* [FIX] added tests

* [FIX] updated changelog

* [FIX] refactored conditional style

* [FIX] consultation followers not being captured correctly

* Fixed changelog

* Added component_ids as an alias for question_ids

* Run rubocop

* Fix changelog

* Remove ajax methods and component factories

* Refactor conditional structure and flatten result

* CChange map in order to not modify original object

* Add questition to consultation in order to improve coverage

* Update CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: Ivan Vergés <ivan@platoniq.net>
Co-authored-by: Gemma <gemmatm@coditramuntana.com>

* fix sorted questions mantaining order on submit errors (#6251)

* Memoize current_user (#6305)

This avoids querying the cache to check the `#managed_user` every time
`#current_user` is called.

This reduces the count of these cache checks in the default homepage
from 229 to 195 in development, which results in a ~100ms shorter
response time.

* Setup profiling tooling (#6281)

* Add --profiling flag to configure to dev app

This configures bullet and rack-mini-profiler for development apps to
perform all sorts of profiling: analyze memory, database, and call stack
with flamegraphs.

More details:
* https://github.com/flyerhzm/bullet,
* https://github.com/MiniProfiler/rack-mini-profiler.

* Replace gem list with decidim's gem name pattern

Bullet treats `stacktrace_includes` as a pattern to match against
backtrace lines so there's no need to specify all gems. This works
already.

* New Crowdin updates (#6296)

* New translations en.yml (German)

* New translations en.yml (Czech)

* New translations en.yml (Basque)

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (Romanian)

* New translations en.yml (Catalan)

* New translations en.yml (Spanish)

* New translations en.yml (Arabic)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Turkish)

* New translations en.yml (Galician)

* New translations en.yml (Indonesian)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Italian)

* New translations en.yml (Dutch)

* New translations en.yml (Finnish)

* New translations en.yml (Hungarian)

* New translations en.yml (Slovak)

* New translations en.yml (Swedish)

* New translations en.yml (Swedish)

* New translations en.yml (Norwegian)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Polish)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Russian with many plural form)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Ukrainian with many plural form)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Bulgarian)

* New translations en.yml (Portuguese)

* Rebuild JS bundle

* Rebuild JS bundle

Co-authored-by: Ramon Costa <ramon.costa@gmail.com>

* Custom validator that checks string fields (#6304)

* create sanity validator

* add sanitize validator to initiative form

* sanitize first char for proposal create form

* light update sanitize validator

* New Crowdin updates (#6311)

* New translations en.yml (Spanish)

* New translations en.yml (Finnish)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Dutch)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Spanish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Spanish)

* New translations en.yml (Portuguese)

* Revert "Custom validator that checks string fields (#6304)" (#6316)

This reverts commit 06824a884de33fdfc03896d6cee8c249d1b3e762.

* New Crowdin updates (#6319)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (French)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (French, Canada)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Catalan)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* Rebuild JS bundles

Co-authored-by: Oliver Valls <oliver.vh@coditramuntana.com>

* Edit debates (#6268)

* Users can edit their debates.

* Users can explore debate versions

* Make debate author follow the debate

* New translations en.yml (Polish) (#6324)

* remove admin role when user destroys account (#6312)

* Fix election presenter namespace (#6293)

* Fix election presenter namespace

* Ignore unused keys for locales elections admin_log

* Ignore unused keys for locales elections admin_log

* Revert adding tag to i18 directly in elections module

* Gemfile.lock changed

* Set presenters tags as static values

* Add elections.admin_log tag again to ignored_unused

* Refer tags with variable action in elections presenter

* New Crowdin updates (#6328)

* New translations en.yml (Basque)

* New translations en.yml (Finnish)

* New translations en.yml (Hungarian)

* New translations en.yml (German)

* New translations en.yml (Spanish)

* New translations en.yml (Romanian)

* New translations en.yml (French)

* New translations en.yml (Czech)

* New translations en.yml (Arabic)

* New translations en.yml (Catalan)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Indonesian)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (French, Canada)

* New translations en.yml (Icelandic)

* New translations en.yml (Polish)

* New translations en.yml (Norwegian)

* New translations en.yml (Norwegian)

* New translations en.yml (Polish)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Italian)

* New translations en.yml (Dutch)

* New translations en.yml (Portuguese)

* New translations en.yml (Polish)

* New translations en.yml (Turkish)

* New translations en.yml (Galician)

* New translations en.yml (Slovak)

* New translations en.yml (Swedish)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Ukrainian with many plural form)

* New translations en.yml (Russian with many plural form)

* Add CSV/Excel exporter sanitizer (#6325)

* Add csv exporter sanitizer

* Fix rubocop offense

* Clean comments

* Fix rubocop offense

* Add new sanitized csv export test checkings

* Add excel export sanitazer

* Move helper's sanitazion methods to expoter

* Apply migration of data in surveys legacy tables automatically (#6308)

* Execute migration only for development_app instead of all development envs

* Rubocopify

* Apply migrations automatically

* Add upgrade notes

* Rubocopify

* Remove upgrade notes

* New Crowdin updates (#6332)

* New translations en.yml (Czech)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (French)

* New translations en.yml (Catalan)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (French, Canada)

* New translations en.yml (Italian)

* New translations en.yml (Hungarian)

* New translations en.yml (Portuguese)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* Rework accessibility improvements (#6253)

* [TAC025] Fix consultations spec…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use latest simplecov for better coverage results
4 participants