? ? Pending

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
12 Nov 2018

Pull Request for Issue #23032

Summary of Changes

As title says.

Testing Instructions

  1. Checkout some items.
  2. Modify your php.ini: for example set file_uploads = Off to get a Warning
  3. Modify administrator/manifests/files/joomla.xml
    to
    <version>4.0.0-alpha4</version>
    and libraries/src/Version.php
    to const EXTRA_VERSION = 'alpha4-dev';
    in order to get a database fix issue
  4. Add a module or plugin to be discovered.
  5. Install an older language pack in order to get a warning for an update.
    fr-FR_joomla_lang_full_3.9.0v1.zip

Note: Although we should get also a pill for a joomla update with this patch, I did not find a way to test that.

EDIT: see #23047 (comment) to test joomlaupdate

After patch

screen shot 2018-11-12 at 07 17 52

avatar infograf768 infograf768 - open - 12 Nov 2018
avatar infograf768 infograf768 - change - 12 Nov 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 12 Nov 2018
Category Administration com_cpanel
avatar infograf768 infograf768 - change - 12 Nov 2018
Labels Added: ?
avatar PhilETaylor
PhilETaylor - comment - 12 Nov 2018

Doing a check fo updates in the main thread will mean that this page can take a LONG time to open depending on the number of extensions to check and the speed of the update sites.

This is why it MUST be implemented with an ajax call, like on the control panel. Else the user could be sitting there waiting ages for the page to load.

avatar infograf768
infograf768 - comment - 12 Nov 2018

This is why it MUST be implemented with an ajax call, like on the control panel. Else the user could be sitting there waiting ages for the page to load.

Improvements are welcome. Me not know how to make the js/ajax as done for quickicon.

avatar C-Lodder
C-Lodder - comment - 12 Nov 2018

Phil, is the number of updates stored in the session? If so, surely we can use that instead.

avatar infograf768
infograf768 - comment - 12 Nov 2018

@C-Lodder
As I far as I could test, one has first to open the Update page to get these in the session.

avatar infograf768
infograf768 - comment - 12 Nov 2018

EDIT:
To test JoomlaUpdate
as you already did
Modify administrator/manifests/files/joomla.xml
to
4.0.0-alpha4
and libraries/src/Version.php
to const EXTRA_VERSION = 'alpha4-dev';
in order to get a database fix issue

Just fix database.
Then in JoomlaUpdate Options choose Custom URL and add this link (Thanks Tobias) :
https://update.joomla.org/core/nightlies/next_major_list.xml

Then you can look again at the System CPanel
There will be a pill
screen shot 2018-11-12 at 12 12 11

NOTE TO MYSELF for another PR, once #22985 has been merged:
Correct joomalupdate js file to use
updateInfo.version instead of updateInfoList.length

This will give for quickicons
screen shot 2018-11-12 at 11 46 00
instead of a zero
screen shot 2018-11-12 at 11 20 35

avatar infograf768 infograf768 - change - 12 Nov 2018
The description was changed
avatar infograf768 infograf768 - edited - 12 Nov 2018
51d5c36 13 Nov 2018 avatar infograf768 cs
avatar infograf768
infograf768 - comment - 14 Nov 2018

All modifications now done.

avatar Quy
Quy - comment - 16 Nov 2018

I have tested this item successfully on 76bf042


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

avatar Quy Quy - test_item - 16 Nov 2018 - Tested successfully
avatar infograf768 infograf768 - alter_testresult - 17 Nov 2018 - Quy: Tested successfully
avatar infograf768 infograf768 - alter_testresult - 17 Nov 2018 - Quy: Tested successfully
avatar richard67
richard67 - comment - 17 Nov 2018

I have tested this item successfully on b93242e


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

avatar richard67 richard67 - test_item - 17 Nov 2018 - Tested successfully
avatar infograf768 infograf768 - change - 17 Nov 2018
Status Pending Ready to Commit
avatar infograf768
infograf768 - comment - 17 Nov 2018

RTC. Thanks for help in code simplification and testing


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

avatar infograf768
infograf768 - comment - 17 Nov 2018

RTC. Thanks for help in code simplification and testing


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

avatar infograf768
infograf768 - comment - 17 Nov 2018

NOTE: after this merge, I will make a second PR to adapt this to RTL languages.

avatar infograf768 infograf768 - change - 19 Nov 2018
Labels Added: ?
avatar infograf768
infograf768 - comment - 19 Nov 2018

@Quy @richard67
Please test again.

avatar wilsonge wilsonge - close - 21 Nov 2018
avatar wilsonge wilsonge - merge - 21 Nov 2018
avatar wilsonge wilsonge - change - 21 Nov 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-11-21 15:58:22
Closed_By wilsonge
avatar wilsonge
wilsonge - comment - 21 Nov 2018

Merging as we had two good tests and I code reviewed the small change to the way models are loaded

avatar infograf768
infograf768 - comment - 22 Nov 2018

Please see #23140 for RTL

Add a Comment

Login with GitHub to post a comment