Updatesites manager: Changing Publish to Enable (Issue #6292)#6297
Updatesites manager: Changing Publish to Enable (Issue #6292)#6297infograf768 wants to merge 6 commits intojoomla:stagingfrom
Conversation
|
@infograf768 works ok here but why we need the |
Assuming having the states protected and unprotected, why should one not be able to see just unprotected update sites? For me it is just the same as in the manage view, you can filter protected and unprotected extensions. But to my opinion, there is a little problem. If I just want to see unprotected update sites it shows me nothing. It should show all because there are no protected update sites yet. |
Updatesites manager: Changing Publish to Enable
|
The point here, as I said above, is that we miss a "protected" column in the table. Therefore Protected AND Unprotected will not work until we create such a column.
|
I agree, but the user does not know, that this column does not exist yet and expects to see all update sites when filtering unprotected sites. So, I would prefer solution 2. |
|
I took off the Protected status for now to simplify this PR and solve only #6292 @Bakual @phproberto @nikosdion |
|
An update site can be published or unpublished. There is no such thing as a "protected" update site. The update site of any extension (be it protected or not) WILL be disabled automatically when Joomla! can't fetch the updates. The sole purpose of the Update Site feature is to let you re-enable these disabled update sites. I can easily think of legitimate reasons of wanting to disable core update sites (network issues in countries/organisations applying strict connection rules, incompatibility of future versions of core components with an older version of Joomla! in the same release branch, ...) and for wanting to enable core update sites (got disabled unintentionally, reasons for disabling it no longer exist, ...). Therefore we need to be able to control the publish status of protected extensions through the Update Sites feature. Otherwise, you know, we'll end up with people like me forking the whole installer infrastructure to make it manageable by end users who can't be trusted with editing their database directly. This would be a waste of resources. For this reason I conclude that:
Therefore the patch, as it is at the time of me writing this comments, is good. Modifications regarding the protected status must not be made. |
|
Thanks, @nikosdion |
|
The statements and arguments of @nikosdion convinced me. @test: Works fine, thank you! |
|
RTC based on testing. Thanks! This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6297. |
|
To merge in 3.4.2 as we are in lang freeze. |
|
Sorry but this PR is completely wrong. The PR is proposing a tooltip that describes what will happen when you click on the button. However in the rest of joomla eg article manager the tooltip is descrbing the current status |
|
JM I have sent you a PR with a small improvement that avoids us to add the JHtml path for each view. |
|
@brianteeman: Please have a look at the status column of the category manager. |
|
@brianteeman Therefore I maintain this PR. Note: concerning @phproberto PR to my branch, we both agreed that it should be done separately. |
|
Please reset this to RTC |
merge conflicts
Changing since to 3.5.0
|
Closing in favour of #7154 where merge conflicts are solved. |
This PR changes the wording Publish/Unpublish for the Update site Manager when hovering the status icon and in the sidebar filter.
I kept the status "Protected", although it does not exist in the table (was a copy/paste I guess from manage.php).
The reason is I think it may be a nice improvement to add that column in the _updatesites table in the future.
After patch:

