Skip to content

Add etiquette validator to Debates and Meetings#13274

Merged
andreslucena merged 25 commits intodecidim:developfrom
i-need-another-coffee:feature/add-etiquette-validator-to-models
Jan 29, 2025
Merged

Add etiquette validator to Debates and Meetings#13274
andreslucena merged 25 commits intodecidim:developfrom
i-need-another-coffee:feature/add-etiquette-validator-to-models

Conversation

@arpi-tremend
Copy link
Copy Markdown
Contributor

@arpi-tremend arpi-tremend commented Aug 2, 2024

🎩 What? Why?

Back in #12876, in the #12876 (comment), the product and maintainers teams requested that Etiquette Validator should work for all the user generated contents: Proposals, Meetings, Debates
This PR implements that request.

📌 Related Issues

Link your PR to an issue

Testing

Describe the best way to test or validate your PR.

📷 Screenshots

Please add screenshots of the changes you are proposing
Description

♥️ Thank you!

Copy link
Copy Markdown
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request does not contain a valid label. Please add one of the following labels: ['type: feature', 'type: change', 'type: fix', 'type: removal', 'target: developer-experience', 'type: internal']

@alecslupu alecslupu self-assigned this Nov 16, 2024
github-actions[bot]
github-actions bot previously approved these changes Dec 11, 2024
@alecslupu alecslupu marked this pull request as ready for review December 11, 2024 14:13
@alecslupu alecslupu changed the title Attache etiquette validator to models Attach etiquette validator to models Dec 12, 2024
@andreslucena andreslucena changed the title Attach etiquette validator to models Add etiquette validator to Debates and Meetings Dec 13, 2024
@andreslucena
Copy link
Copy Markdown
Member

@alecslupu seems like there are some relevant failing specs here, can you check them out 🙏🏽 ?

github-actions[bot]
github-actions bot previously approved these changes Jan 26, 2025
github-actions[bot]
github-actions bot previously approved these changes Jan 26, 2025
github-actions[bot]
github-actions bot previously approved these changes Jan 26, 2025
Copy link
Copy Markdown
Member

@andreslucena andreslucena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two small changes and we're ready to go

github-actions[bot]
github-actions bot previously approved these changes Jan 27, 2025
@alecslupu
Copy link
Copy Markdown
Contributor

Two small changes and we're ready to go

@andreslucena This is ready for another round

Copy link
Copy Markdown
Member

@andreslucena andreslucena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@andreslucena andreslucena merged commit 27aae87 into decidim:develop Jan 29, 2025
entantoencuanto added a commit that referenced this pull request Jan 30, 2025
* feature/ephemeral_to_regular_users:
  Add integration test of ephemeral user authorization transfer
  Update test
  Make transferrable authorization when duplicate user is ephemeral
  Revert "Fix answer choices default order" (#13975)
  Fix DownloadYourData core pipeline failures (#13970)
  Update DownloadYourData exports for `decidim-proposals` (#13958)
  Update DownloadYourData exports for `decidim-initiatives` (#13961)
  Fix answer choices default order (#13955)
  Fix 'Conference media link creation form has wrong title' (#13946)
  Add etiquette validator to Debates and Meetings (#13274)
  Enable users to edit their survey answers (#13800)
  Fix "Missing padding-top on proposals page" (#13945)
antopalidi pushed a commit to openpoke/decidim that referenced this pull request Feb 12, 2025
* Attache etiquette validator to models

* Implement TranslatedEtiquetteValidator

* Fix lint issues, remove validator from proposal model

* Fix some validator issues and lint offenses

* Update proposal_form_examples.rb

* Update translated_etiquette_validator.rb

* Update debate_form_spec.rb

* Update debate_form_spec.rb

* Update and fix tests

* Update user_creates_meeting_spec.rb

* Update decidim-debates/app/forms/decidim/debates/debate_form.rb

* Fix debate specs

* Fix specs

* Fix meetings

* Fix validator

* Fix comment on TranslatedEtiquetteValidator

* Removed skip_etiquette_validation option

---------

Co-authored-by: Alexandru Emil Lupu <contact@alecslupu.ro>
andreslucena pushed a commit that referenced this pull request Mar 3, 2025
* Attache etiquette validator to models

* Implement TranslatedEtiquetteValidator

* Fix lint issues, remove validator from proposal model

* Fix some validator issues and lint offenses

* Update proposal_form_examples.rb

* Update translated_etiquette_validator.rb

* Update debate_form_spec.rb

* Update debate_form_spec.rb

* Update and fix tests

* Update user_creates_meeting_spec.rb

* Update decidim-debates/app/forms/decidim/debates/debate_form.rb

* Fix debate specs

* Fix specs

* Fix meetings

* Fix validator

* Fix comment on TranslatedEtiquetteValidator

* Removed skip_etiquette_validation option

---------

Co-authored-by: Alexandru Emil Lupu <contact@alecslupu.ro>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants