{"action":"created","issue":{"url":"https://api.github.com/repos/nextcloud/server/issues/1323","repository_url":"https://api.github.com/repos/nextcloud/server","labels_url":"https://api.github.com/repos/nextcloud/server/issues/1323/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/server/issues/1323/comments","events_url":"https://api.github.com/repos/nextcloud/server/issues/1323/events","html_url":"https://github.com/nextcloud/server/pull/1323","id":175700894,"number":1323,"title":"Show an update button instead of the updater","user":{"login":"nickvergessen","id":213943,"avatar_url":"https://avatars.githubusercontent.com/u/213943?v=3","gravatar_id":"","url":"https://api.github.com/users/nickvergessen","html_url":"https://github.com/nickvergessen","followers_url":"https://api.github.com/users/nickvergessen/followers","following_url":"https://api.github.com/users/nickvergessen/following{/other_user}","gists_url":"https://api.github.com/users/nickvergessen/gists{/gist_id}","starred_url":"https://api.github.com/users/nickvergessen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickvergessen/subscriptions","organizations_url":"https://api.github.com/users/nickvergessen/orgs","repos_url":"https://api.github.com/users/nickvergessen/repos","events_url":"https://api.github.com/users/nickvergessen/events{/privacy}","received_events_url":"https://api.github.com/users/nickvergessen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nextcloud/server/labels/3.%20to%20review","name":"3. to review","color":"0052cc"},{"url":"https://api.github.com/repos/nextcloud/server/labels/backport-request","name":"backport-request","color":"006b75"},{"url":"https://api.github.com/repos/nextcloud/server/labels/bug","name":"bug","color":"ee0701"},{"url":"https://api.github.com/repos/nextcloud/server/labels/feature:%20update","name":"feature: update","color":"c2e0c6"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/nextcloud/server/milestones/6","html_url":"https://github.com/nextcloud/server/milestones/Nextcloud%2011.0","labels_url":"https://api.github.com/repos/nextcloud/server/milestones/6/labels","id":1896997,"number":6,"title":"Nextcloud 11.0","description":null,"creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":82,"closed_issues":349,"state":"open","created_at":"2016-07-21T15:58:16Z","updated_at":"2016-09-08T09:01:20Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-09-08T09:01:20Z","updated_at":"2016-09-08T09:01:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nextcloud/server/pulls/1323","html_url":"https://github.com/nextcloud/server/pull/1323","diff_url":"https://github.com/nextcloud/server/pull/1323.diff","patch_url":"https://github.com/nextcloud/server/pull/1323.patch"},"body":"@karlitschek @schiessle as discussed\r\n\r\ncc @LukasReschke @MorrisJobke \r\n\r\nfor testing:\r\n```diff\r\ndiff --git a/lib/private/Updater/VersionCheck.php b/lib/private/Updater/VersionCheck.php\r\nindex 88ba9b6..eed1728 100644\r\n--- a/lib/private/Updater/VersionCheck.php\r\n+++ b/lib/private/Updater/VersionCheck.php\r\n@@ -56,7 +56,7 @@ class VersionCheck {\r\n        public function check() {\r\n                // Look up the cache - it is invalidated all 30 minutes\r\n                if (((int)$this->config->getAppValue('core', 'lastupdatedat') + 1800) > time()) {\r\n-                       return json_decode($this->config->getAppValue('core', 'lastupdateResult'), true);\r\n+               #       return json_decode($this->config->getAppValue('core', 'lastupdateResult'), true);\r\n                }\r\n \r\n                $updaterUrl = $this->config->getSystemValue('updater.server.url', 'https://updates.nextcloud.com/server/');\r\n@@ -79,7 +79,12 @@ class VersionCheck {\r\n                $url = $updaterUrl . '?version=' . $versionString;\r\n \r\n                $tmp = [];\r\n-               $xml = $this->getUrlContent($url);\r\n+               $xml = '<nextcloud>\r\n+ <version>12.0.51</version>\r\n+ <versionstring>Nextcloud 12.0.51</versionstring>\r\n+ <url>https://download.nextcloud.com/server/releases/nextcloud-12.0.51.zip</url>\r\n+ <web>https://docs.nextcloud.org/server/10/admin_manual/maintenance/upgrade.html</web>\r\n+</nextcloud>';//$this->getUrlContent($url);\r\n                if ($xml) {\r\n                        $loadEntities = libxml_disable_entity_loader(true);\r\n                        $data = @simplexml_load_string($xml);\r\n```"},"comment":{"url":"https://api.github.com/repos/nextcloud/server/issues/comments/245536881","html_url":"https://github.com/nextcloud/server/pull/1323#issuecomment-245536881","issue_url":"https://api.github.com/repos/nextcloud/server/issues/1323","id":245536881,"user":{"login":"mention-bot","id":15710697,"avatar_url":"https://avatars.githubusercontent.com/u/15710697?v=3","gravatar_id":"","url":"https://api.github.com/users/mention-bot","html_url":"https://github.com/mention-bot","followers_url":"https://api.github.com/users/mention-bot/followers","following_url":"https://api.github.com/users/mention-bot/following{/other_user}","gists_url":"https://api.github.com/users/mention-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/mention-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mention-bot/subscriptions","organizations_url":"https://api.github.com/users/mention-bot/orgs","repos_url":"https://api.github.com/users/mention-bot/repos","events_url":"https://api.github.com/users/mention-bot/events{/privacy}","received_events_url":"https://api.github.com/users/mention-bot/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T09:01:21Z","updated_at":"2016-09-08T09:01:21Z","body":"@nickvergessen, thanks for your PR! By analyzing the annotation information on this pull request, we identified @LukasReschke, @blizzz and @MorrisJobke to be potential reviewers"}}
{"actor":{"display_login":"mention-bot"}}