{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/11493","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11493/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11493/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11493/events","html_url":"https://github.com/joomla/joomla-cms/pull/11493","id":169744587,"number":11493,"title":"[com_joomlaupdate] Check for Self-Update Feature","user":{"login":"zero-24","id":2596554,"avatar_url":"https://avatars.githubusercontent.com/u/2596554?v=3","gravatar_id":"","url":"https://api.github.com/users/zero-24","html_url":"https://github.com/zero-24","followers_url":"https://api.github.com/users/zero-24/followers","following_url":"https://api.github.com/users/zero-24/following{/other_user}","gists_url":"https://api.github.com/users/zero-24/gists{/gist_id}","starred_url":"https://api.github.com/users/zero-24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zero-24/subscriptions","organizations_url":"https://api.github.com/users/zero-24/orgs","repos_url":"https://api.github.com/users/zero-24/repos","events_url":"https://api.github.com/users/zero-24/events{/privacy}","received_events_url":"https://api.github.com/users/zero-24/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/Language%20Change","name":"Language Change","color":"eb6420"},{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-08-06T12:27:20Z","updated_at":"2016-08-17T16:52:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/11493","html_url":"https://github.com/joomla/joomla-cms/pull/11493","diff_url":"https://github.com/joomla/joomla-cms/pull/11493.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/11493.patch"},"body":"Pull Request for Issue #11440\r\n\r\n## Notice\r\n\r\nDon't do that **never** on your Live Site please install a dev / test install!\r\n\r\n#### Summary of Changes\r\n\r\nThis PR add the functionality that if a update for the update component is in place it should show the user to first update the com_joomlaupdate component.\r\n\r\nWith the new code in place we check exiplit on every call to the com_joomlaupdate default view for an update of the update component.\r\nIf there is a update we don't allow `Live Update`  but the `Upload & Install` still works as before!\r\nIf we have the last update installed -> everything works as before\r\n\r\n#### Testing Instructions\r\n\r\nOk this comes a bit complicated :smile: (please follow exactly the steps)\r\n- Install 3.6.0 https://github.com/joomla/joomla-cms/releases/3.6.0\r\n- ignore all messages to update etc.\r\n- go to the Backend -> Extensions -> Manage -> Update Sites\r\n- disable the update site for com_joomlaupdate (Joomla! Update Component Update Site)\r\n- install the patched  [com_joomlaupdate](http://www.jah-tz.de/downloads/download.php?file=com_joomlaupdate_UpdateMeFirst.zip&folder=core/extensions/) e.g. via install from URL (it cointains this PR and also a new update server!)\r\n- double check there is a new Update server for com_joomlaupdate (!)\r\n- go to com_joomlaupdate\r\n- see the mesage that you can't use the `Live Update`\r\n- follow the link (`Click here to update the component.`)\r\n- install the update (it just move the version from 3.6.1 to 3.6.2 to pass the update check)\r\n- install the Joomla Core Update\r\n- confirm all works!\r\n\r\n#### Why and how\r\n\r\n###### Disable the official Update Site\r\n\r\nIf we not disable that it offers us the current com_joomlaupdate package which not include my changes.\r\n\r\n##### Why a own Update server\r\n\r\nElse i can't ship my changes to test this pull requrest as Update of the original com_joomlaupdate ;)\r\n\r\n#### Documentation Changes Required\r\n\r\nThe Core Update Component now inlcues a function to call for a `Self Update`\r\n\r\n#### Additional Infos\r\n\r\nPlease give feedback:\r\n- On language strings\r\n- Do we need both the `error message` and the changed Live Update View? Or should we remove the `error message`\r\n- On code! It works but maybe it can be improved?! -> Feedback please!\r\n- On everything else you notice we can improve!\r\n\r\n#### Question\r\n\r\nWhat do we with users that are unable to access com_installer but are allowed to update joomla? => Handel that with a language string? Please suggest one!\r\n\r\nGreat, you have read all and this this line too your are awesome :smile: Thanks!"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/240474819","html_url":"https://github.com/joomla/joomla-cms/pull/11493#issuecomment-240474819","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11493","id":240474819,"user":{"login":"andrepereiradasilva","id":9630530,"avatar_url":"https://avatars.githubusercontent.com/u/9630530?v=3","gravatar_id":"","url":"https://api.github.com/users/andrepereiradasilva","html_url":"https://github.com/andrepereiradasilva","followers_url":"https://api.github.com/users/andrepereiradasilva/followers","following_url":"https://api.github.com/users/andrepereiradasilva/following{/other_user}","gists_url":"https://api.github.com/users/andrepereiradasilva/gists{/gist_id}","starred_url":"https://api.github.com/users/andrepereiradasilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrepereiradasilva/subscriptions","organizations_url":"https://api.github.com/users/andrepereiradasilva/orgs","repos_url":"https://api.github.com/users/andrepereiradasilva/repos","events_url":"https://api.github.com/users/andrepereiradasilva/events{/privacy}","received_events_url":"https://api.github.com/users/andrepereiradasilva/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T16:52:42Z","updated_at":"2016-08-17T16:52:42Z","body":"> Please explain me what you want to be added there? For this PR there is no need to extend that file.\r\n\r\nYou're updating com_joomlaupdate here, so my question is: after this PR gets merged a new release of com_joomlaupdate will be made right?"}}
{"actor":{"display_login":"andrepereiradasilva"}}