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

Convert the content plugins to service providers #40561

Merged
merged 8 commits into from
May 23, 2023

Conversation

laoneo
Copy link
Member

@laoneo laoneo commented May 9, 2023

Summary of Changes

Converts the rest of the content plugins to service providers.

Testing Instructions

  • Enable all content plugins
  • Load a module in an article
  • Add a page break to an article
  • Save the article
  • Check if the article is indexed
  • Check if the module is loaded on the front end

Actual result BEFORE applying this Pull Request

All works.

Expected result AFTER applying this Pull Request

All works.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

@richard67
Copy link
Member

richard67 commented May 9, 2023

@laoneo PHPCS fails due to method names with underscores. It either needs to fix that in the file itself, or you add the file to this rule at the right place: https://github.com/joomla/joomla-cms/blob/4.4-dev/ruleset.xml#L150

Update: Details from drone

FILE: /drone/src/plugins/content/pagebreak/src/Extension/PageBreak.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
 264 | ERROR | Method name "_createToc" must not be prefixed with an underscore to indicate visibility
 336 | ERROR | Method name "_createNavigation" must not be prefixed with an underscore to indicate visibility
----------------------------------------------------------------------

@laoneo
Copy link
Member Author

laoneo commented May 16, 2023

@sandewt do you have time to test this one?

@sandewt
Copy link
Contributor

sandewt commented May 16, 2023

@sandewt do you have time to test this one?

I'll make some time. Testing is phased.

Vote plugin: tested successfully (1)

  • works + code review

Load Modules plugin: tested successfully (2)

  • works + code review

Finder plugin: tested successfully (3)

  • works + code review

Rest follows...

[EDIT]

MacJoom and others added 2 commits May 22, 2023 18:20
@heelc29
Copy link
Contributor

heelc29 commented May 22, 2023

I have tested this item ✅ successfully on f391d2f


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40561.

@richard67
Copy link
Member

@MacJoom Hmm, not really helpful to do a branch update without restoring @heelc29 's test result in the issue tracker using the "Alter test" button. A branch update always resets the human tests counter, and so we won't find this PR later after another human test when we are searching for PR's which have 2 tests for setting them RTC. I have restored the test in the issue tracker now, but you can't always count on me being around.

@MacJoom MacJoom merged commit c19e807 into joomla:4.4-dev May 23, 2023
@MacJoom MacJoom deleted the providers/plugins/content branch May 23, 2023 13:08
@MacJoom MacJoom added this to the Joomla! 4.4.0 milestone May 23, 2023
richard67 added a commit to richard67/joomla-cms that referenced this pull request May 23, 2023
richard67 added a commit to richard67/joomla-cms that referenced this pull request May 23, 2023
laoneo pushed a commit that referenced this pull request May 23, 2023
* Add deleted files from #40066 , #40092 , #40142 and #40146

* Add deleted files from #40180 and #40174

* Add deleted files from #39527 , #39535 , #40169 and #40173

* Add deleted files from #39552 , #39931 , #39628 and #40328

* Add deleted files from #40216

* Add deleted files from #40561 , #40190 and #40205
@sandewt
Copy link
Contributor

sandewt commented May 24, 2023

It's great that this PR has been merged, but I can't keep up with the pace of testing. See above. 😓

@laoneo
Copy link
Member Author

laoneo commented May 24, 2023

No problem, target was to ship it with the first alpha. Hopefully we get then a bigger audience which will check it.

richard67 added a commit to richard67/joomla-cms that referenced this pull request May 27, 2023
richard67 added a commit to richard67/joomla-cms that referenced this pull request Jun 3, 2023
richard67 added a commit to richard67/joomla-cms that referenced this pull request Jun 8, 2023
richard67 added a commit to richard67/joomla-cms that referenced this pull request Jun 23, 2023
richard67 added a commit to richard67/joomla-cms that referenced this pull request Jul 3, 2023
richard67 added a commit to richard67/joomla-cms that referenced this pull request Jul 23, 2023
richard67 added a commit to richard67/joomla-cms that referenced this pull request Aug 12, 2023
richard67 added a commit to richard67/joomla-cms that referenced this pull request Aug 19, 2023
richard67 added a commit to richard67/joomla-cms that referenced this pull request Aug 20, 2023
richard67 added a commit to richard67/joomla-cms that referenced this pull request Aug 22, 2023
richard67 added a commit to richard67/joomla-cms that referenced this pull request Sep 1, 2023
richard67 added a commit to richard67/joomla-cms that referenced this pull request Sep 4, 2023
richard67 added a commit to richard67/joomla-cms that referenced this pull request Sep 4, 2023
richard67 added a commit to richard67/joomla-cms that referenced this pull request Sep 14, 2023
richard67 added a commit to richard67/joomla-cms that referenced this pull request Sep 19, 2023
richard67 added a commit to richard67/joomla-cms that referenced this pull request Sep 26, 2023
richard67 added a commit to richard67/joomla-cms that referenced this pull request Oct 1, 2023
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.

6 participants