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

Support for plone.app.discussion as core add-on #1781

Merged
merged 10 commits into from
May 17, 2024
Merged

Conversation

jensens
Copy link
Sponsor Member

@jensens jensens commented May 15, 2024

  • Turn usage/endpoints of plone.app.discussion features into optional features: ZCML conditions and optionla imports.
  • Fix tests to pull in plone.app.discussion explicitly

@mister-roboto
Copy link

@jensens thanks for creating this Pull Request and helping to improve Plone!

TL;DR: Finish pushing changes, pass all other checks, then paste a comment:

@jenkins-plone-org please run jobs

To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically.

Happy hacking!

Copy link

netlify bot commented May 15, 2024

Deploy Preview for plone-restapi ready!

Name Link
🔨 Latest commit 90b57ef
🔍 Latest deploy log https://app.netlify.com/sites/plone-restapi/deploys/66471e0e1ea50c00084e6d7c
😎 Deploy Preview https://deploy-preview-1781--plone-restapi.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -9,7 +9,12 @@ myst:

# Comments

Plone offers to users a feature to post comments on any content object with `plone.app.discussion`.
```{note}
Copy link
Contributor

Choose a reason for hiding this comment

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

I created a PR to unify instructions and which can be referenced here and in the plone.restapi upgrade guide, but it needs details.

plone/documentation#1666

Let's change this entire note block with the following. Would you please also duplicate it in the plone.restapi upgrade guide as part of this PR?

```{versionchanged} 6.1
Discussion is disabled by default in Plone 6.1 and later.
To enable discussion, see the Plone 6.1 upgrade guide section {ref}`backend-upgrade-plone-v61-discussion-label`
```

Copy link
Sponsor Member Author

Choose a reason for hiding this comment

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

I think this is more for the Plone 6.1 upgrade guide, since it is not because of RestAPI. I have no good idea how to describe it there nor is it a breaking change for RestAPI.
I would add a section to the https://github.com/plone/documentation/blob/6.0/docs/backend/upgrading/version-specific-migration/upgrade-to-61.md page.
Whats do you think?

Copy link
Contributor

Choose a reason for hiding this comment

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

I was way ahead of you in https://github.com/plone/documentation/pull/1666/files 😁

I think that references to the main docs are not required, but they would be a good thing to do. Imagine someone jumping into the REST API docs, and there is no note about this change. sad trombone

docs/source/endpoints/comments.md Outdated Show resolved Hide resolved
@jensens
Copy link
Sponsor Member Author

jensens commented May 16, 2024

@jenkins-plone-org please run jobs

@jensens jensens marked this pull request as ready for review May 16, 2024 21:15
@jensens jensens requested a review from stevepiercy May 17, 2024 08:05
@jensens jensens enabled auto-merge (squash) May 17, 2024 08:07
Copy link
Contributor

@stevepiercy stevepiercy left a comment

Choose a reason for hiding this comment

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

One change, and a question.

docs/source/endpoints/comments.md Outdated Show resolved Hide resolved
Co-authored-by: Steve Piercy <web@stevepiercy.com>
@jensens jensens requested a review from stevepiercy May 17, 2024 09:06
@jensens
Copy link
Sponsor Member Author

jensens commented May 17, 2024

@jenkins-plone-org please run jobs

Copy link
Contributor

@stevepiercy stevepiercy left a comment

Choose a reason for hiding this comment

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

Thank you!

@jensens jensens merged commit c7b8e07 into main May 17, 2024
28 checks passed
@jensens jensens deleted the pa-discussion-coreaddon branch May 17, 2024 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants