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

Backport 'Fix Video embeds are not shown in short_description field' to v0.26 #10746

Conversation

alecslupu
Copy link
Contributor

🎩 What? Why?

Backport #10467 to v0.26

♥️ Thank you!

@alecslupu alecslupu force-pushed the backport/0.26/fix-video-embeds-are-not-shown-10467 branch 2 times, most recently from 2b07cf3 to 87f847e Compare April 21, 2023 06:54
@alecslupu
Copy link
Contributor Author

Since we have decided that we need to backport the decidim_sanitize_editor_admin as per #10746 (comment)

The following PRs are required as dependencies:

Considering this is not a simple function that is being added, I really need other opinions from other @decidim/maintainers

@alecslupu alecslupu added this to Pending review from Product in Maintainers via automation Apr 25, 2023
@alecslupu alecslupu moved this from Pending review from Product to Backport pending in Maintainers Apr 25, 2023
@ahukkanen
Copy link
Contributor

@alecslupu Could you rebase this backport please? I have just merged #10764 which introduces the missing method.

There are also likely also some changes needed in the specs because we do not have iframe disabling functionality in 0.26.

@alecslupu alecslupu force-pushed the backport/0.26/fix-video-embeds-are-not-shown-10467 branch from f1b6aeb to 2b06818 Compare May 2, 2023 10:37
@ahukkanen ahukkanen self-assigned this May 3, 2023
@ahukkanen
Copy link
Contributor

@alecslupu There are some conflicts in this PR, could you resolve them please?

Also some of the specs related to displaying iframes are failing. I'm not sure if the failures are correct or if the tests need to be changed, could you also have a look at that?

@alecslupu alecslupu force-pushed the backport/0.26/fix-video-embeds-are-not-shown-10467 branch from 2b06818 to 90361b0 Compare May 4, 2023 07:24
* Fix: Video embeds are not shown in short_description field

* Add test for ParticipatoryProcess

* Add admin_support for Blog

* Add decidim-budget admin sanitization

* Add decidim-consultations

* Enable iframes for decidim-pages

* Enable iframes for decidim-proposals

* Enable iframes for decidim-debates

* Enable iframes for decidim-sortitions

* Enable full editor in decidim-elections

* Enable full content in decidim-surveys

* revert sortitions

* Running Linters

* Revert proposals fields

* Fix Election spec

* Fix decidim assemblies

* Implement new restrictions

* Fix the scrubbers

* Add more restrictions to the scrubber scrubber

* Sort the restricted tags

* Revert strip tags for questions in consultations

* Fix consultations change requests
@alecslupu alecslupu force-pushed the backport/0.26/fix-video-embeds-are-not-shown-10467 branch from 90361b0 to 06302dd Compare May 4, 2023 08:32
@alecslupu alecslupu requested a review from ahukkanen May 5, 2023 08:04
Copy link
Contributor

@ahukkanen ahukkanen left a comment

Choose a reason for hiding this comment

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

Tested this and works great.

Just noticed one code cleanup thing in the backported code, could you take a look at my suggestion?

decidim-debates/spec/system/show_spec.rb Outdated Show resolved Hide resolved
Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>
@alecslupu alecslupu requested a review from ahukkanen May 6, 2023 12:48
@ahukkanen ahukkanen merged commit c5c8379 into release/0.26-stable May 6, 2023
Maintainers automation moved this from Backport pending to Done May 6, 2023
@ahukkanen ahukkanen deleted the backport/0.26/fix-video-embeds-are-not-shown-10467 branch May 6, 2023 13:13
@alecslupu alecslupu added this to the 0.26.7 milestone Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants