{"action":"created","comment":{"url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/comments/66589457","id":66589457,"diff_hunk":"@@ -0,0 +1,245 @@\n+/*\n+ * Copyright (C) eZ Systems AS. All rights reserved.\n+ * For full copyright and license information view LICENSE file distributed with this source code.\n+ */\n+YUI.add('ez-userdraftsplugin', function (Y) {\n+    \"use strict\";\n+    /**\n+     * Provides the user load plugin\n+     *\n+     * @module ez-userloadplugin\n+     */\n+    Y.namespace('eZ.Plugin');\n+\n+    /**\n+     * Object user drafts plugin.\n+     *\n+     * In order to use it you need to fire the `loadUserDrafts` event with two parameters:\n+     *  - `attributeName` where to store the result\n+     *  - `limit` limit of results\n+     *\n+     * @namespace eZ.Plugin\n+     * @class UserDrafts\n+     * @constructor\n+     * @extends eZ.Plugin.ViewServiceBase\n+     */\n+    Y.eZ.Plugin.UserDrafts = Y.Base.create('userDraftsPlugin', Y.eZ.Plugin.ViewServiceBase, [], {\n+        initializer: function () {\n+            this._resetTempVariables();\n+            this.onHostEvent('*:loadUserDrafts', this._loadUserDrafts);\n+        },\n+\n+        /**\n+         * Loads user drafts. Once this is done, it sets the content in\n+         * the attribute defined in the event parameter of the event target.\n+         * @protected\n+         * @method _loadUser\n+         * @param {Object} e loadUser event facade\n+         */\n+        _loadUserDrafts: function (event) {\n+            var host = this.get('host');\n+\n+            this._target = event.target;\n+            this._targetAttributeName = event.attributeName;\n+            this._targetLimit = event.limit;\n+\n+            host.get('app').get('user').loadDrafts(\n+                {api: host.get('capi')},\n+                Y.bind(this._collectDraftsData, this)\n+            );\n+        },\n+\n+        /**\n+         * Resets temporary variables\n+         *\n+         * @protected\n+         * @method _resetTempVariables\n+         */\n+        _resetTempVariables: function () {\n+            /**\n+             * Holds a temporary reference to `loadUserDrafts` event target\n+             *\n+             * @property _target\n+             * @type {Y.View}\n+             * @protected\n+             */\n+            this._target = null;\n+            /**\n+             * Holds a temporary reference to attribute to be updated,\n+             * after loading data, in an event target\n+             *\n+             * @property _targetAttributeName\n+             * @type {String}\n+             * @protected\n+             */\n+            this._targetAttributeName = null;\n+            /**\n+             * Holds a temporary reference to limit of items to be returned in an event target\n+             *\n+             * @property _targetLimit\n+             * @type {Number}\n+             * @protected\n+             */\n+            this._targetLimit = null;\n+        },\n+\n+        /**\n+         * Sorts versions by modification date\n+         *\n+         * @method _sortByModificationDate\n+         * @protected\n+         * @param a {Object} version hash\n+         * @param b {Object} version hash\n+         * @return Number\n+         */\n+        _sortByModificationDate: function (a, b) {\n+            return (new Date(b.get('modificationDate'))).getTime() - (new Date(a.get('modificationDate'))).getTime();\n+        },\n+\n+        /**\n+         * Collects drafts data\n+         *\n+         * @method _collectDraftsData\n+         * @protected\n+         * @param error {Boolean} is error?\n+         * @param versions {Array} list of versions\n+         * @return {Y.Promise}\n+         */\n+        _collectDraftsData: function (error, versions) {\n+            var host = this.get('host');\n+\n+            if (error) {\n+                host._error(error.message);\n+                this._target.set('loadingError', true);\n+                this._resetTempVariables();\n+\n+                return;\n+            }\n+\n+            versions.sort(this._sortByModificationDate);\n+            versions.length = this._targetLimit;\n+\n+            Y.Promise\n+                .resolve(versions)\n+                .then(Y.bind(this._loadDraftContentInfo, this))\n+                .then(Y.bind(this._loadDraftContentType, this))\n+                .then(Y.bind(this._fillDraftContentTypeModel, this))\n+                .catch(Y.bind(host._error, host));\n+        },\n+\n+        /**\n+         * Gets content info for each version\n+         *\n+         * @method _collectDraftsData\n+         * @protected\n+         * @param versions {Array} list of versions\n+         * @return {Y.Promise}\n+         */\n+        _loadDraftContentInfo: function (versions) {\n+            var drafts = this.get('drafts'),\n+                contentService = this.get('host').get('capi').getContentService(),\n+                promises = [];\n+\n+            versions.forEach(function (version) {\n+                var contentId = version.get('resources.Content');\n+\n+                drafts.add(version);\n+\n+                promises.push(new Y.Promise(Y.bind(function (resolve, reject) {\n+                    contentService.loadContentInfo(contentId, Y.bind(function (error, response) {\n+                        if (error) {\n+                            reject('Cannot load content info: ' + contentId);\n+                            this._target.set('loadingError', true);\n+                            this._resetTempVariables();\n+\n+                            return;\n+                        }\n+\n+                        resolve(response.document.Content);\n+                    }, this));\n+                }, this)));\n+            });\n+\n+            return Y.Promise.all(promises);\n+        },\n+\n+        /**\n+         * Loads content types for each content version\n+         *\n+         * @method _loadDraftContentType\n+         * @protected\n+         * @param data {Array} list of content\n+         * @return {Y.Promise}\n+         */\n+        _loadDraftContentType: function (data) {\n+            var contentTypeService = this.get('host').get('capi').getContentTypeService(),\n+                drafts = this.get('drafts'),\n+                promises = [];\n+\n+            data.forEach(Y.bind(function (contentInfo, index) {\n+                drafts.item(index).set('contentInfo', contentInfo);\n+\n+                promises.push(new Y.Promise(Y.bind(function (resolve, reject) {\n+                    contentTypeService.loadContentType(contentInfo.ContentType._href, Y.bind(function (error, response) {","path":"Resources/public/js/views/services/plugins/ez-userdraftsplugin.js","position":183,"original_position":183,"commit_id":"f534a64c04e2d01da6307627701866da50afcaef","original_commit_id":"f534a64c04e2d01da6307627701866da50afcaef","user":{"login":"dpobel","id":305563,"avatar_url":"https://avatars.githubusercontent.com/u/305563?v=3","gravatar_id":"","url":"https://api.github.com/users/dpobel","html_url":"https://github.com/dpobel","followers_url":"https://api.github.com/users/dpobel/followers","following_url":"https://api.github.com/users/dpobel/following{/other_user}","gists_url":"https://api.github.com/users/dpobel/gists{/gist_id}","starred_url":"https://api.github.com/users/dpobel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpobel/subscriptions","organizations_url":"https://api.github.com/users/dpobel/orgs","repos_url":"https://api.github.com/users/dpobel/repos","events_url":"https://api.github.com/users/dpobel/events{/privacy}","received_events_url":"https://api.github.com/users/dpobel/received_events","type":"User","site_admin":false},"body":"also you can not write `contentInfo.ContentType._href`, you instead here have the ContentInfo model and get the ContentType from it.","created_at":"2016-06-10T10:01:01Z","updated_at":"2016-06-10T10:01:01Z","html_url":"https://github.com/ezsystems/PlatformUIBundle/pull/591#discussion_r66589457","pull_request_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/591","_links":{"self":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/comments/66589457"},"html":{"href":"https://github.com/ezsystems/PlatformUIBundle/pull/591#discussion_r66589457"},"pull_request":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/591"}}},"pull_request":{"url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/591","id":69992531,"html_url":"https://github.com/ezsystems/PlatformUIBundle/pull/591","diff_url":"https://github.com/ezsystems/PlatformUIBundle/pull/591.diff","patch_url":"https://github.com/ezsystems/PlatformUIBundle/pull/591.patch","issue_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/591","number":591,"state":"open","locked":false,"title":"[WIP] EZP-25770: Implement the My Drafts dashboard block","user":{"login":"sunpietro","id":1736658,"avatar_url":"https://avatars.githubusercontent.com/u/1736658?v=3","gravatar_id":"","url":"https://api.github.com/users/sunpietro","html_url":"https://github.com/sunpietro","followers_url":"https://api.github.com/users/sunpietro/followers","following_url":"https://api.github.com/users/sunpietro/following{/other_user}","gists_url":"https://api.github.com/users/sunpietro/gists{/gist_id}","starred_url":"https://api.github.com/users/sunpietro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunpietro/subscriptions","organizations_url":"https://api.github.com/users/sunpietro/orgs","repos_url":"https://api.github.com/users/sunpietro/repos","events_url":"https://api.github.com/users/sunpietro/events{/privacy}","received_events_url":"https://api.github.com/users/sunpietro/received_events","type":"User","site_admin":false},"body":"https://jira.ez.no/browse/EZP-25770\r\n\r\n**TO DO:**\r\n- [x] created `Y.eZ.DashboardBlockAsynchronousView`,\r\n- [x] created `Y.eZ.DashboardBlockMyDraftsView`,\r\n- [x] created `Y.eZ.Plugin.UserDrafts`,\r\n- [x] updated `Y.eZ.DashboardBlockAllContentView` by extending `Y.eZ.DashboardBlockAsynchronousView` instead of `Y.eZ.DashboardBlockBaseView`,\r\n- [x] corrected dashboard layout styles,\r\n- [x] added **My Drafts** block to the dashboard,\r\n- [ ] JS unit tests.\r\n","created_at":"2016-05-13T13:05:48Z","updated_at":"2016-06-10T10:01:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b1c3c44f45f14c5896caf79fe2d77035552d20ff","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/591/commits","review_comments_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/591/comments","review_comment_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/591/comments","statuses_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/statuses/f534a64c04e2d01da6307627701866da50afcaef","head":{"label":"sunpietro:ezp-25770-my-drafts-dashboard-block","ref":"ezp-25770-my-drafts-dashboard-block","sha":"f534a64c04e2d01da6307627701866da50afcaef","user":{"login":"sunpietro","id":1736658,"avatar_url":"https://avatars.githubusercontent.com/u/1736658?v=3","gravatar_id":"","url":"https://api.github.com/users/sunpietro","html_url":"https://github.com/sunpietro","followers_url":"https://api.github.com/users/sunpietro/followers","following_url":"https://api.github.com/users/sunpietro/following{/other_user}","gists_url":"https://api.github.com/users/sunpietro/gists{/gist_id}","starred_url":"https://api.github.com/users/sunpietro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunpietro/subscriptions","organizations_url":"https://api.github.com/users/sunpietro/orgs","repos_url":"https://api.github.com/users/sunpietro/repos","events_url":"https://api.github.com/users/sunpietro/events{/privacy}","received_events_url":"https://api.github.com/users/sunpietro/received_events","type":"User","site_admin":false},"repo":{"id":53435477,"name":"PlatformUIBundle","full_name":"sunpietro/PlatformUIBundle","owner":{"login":"sunpietro","id":1736658,"avatar_url":"https://avatars.githubusercontent.com/u/1736658?v=3","gravatar_id":"","url":"https://api.github.com/users/sunpietro","html_url":"https://github.com/sunpietro","followers_url":"https://api.github.com/users/sunpietro/followers","following_url":"https://api.github.com/users/sunpietro/following{/other_user}","gists_url":"https://api.github.com/users/sunpietro/gists{/gist_id}","starred_url":"https://api.github.com/users/sunpietro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunpietro/subscriptions","organizations_url":"https://api.github.com/users/sunpietro/orgs","repos_url":"https://api.github.com/users/sunpietro/repos","events_url":"https://api.github.com/users/sunpietro/events{/privacy}","received_events_url":"https://api.github.com/users/sunpietro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sunpietro/PlatformUIBundle","description":"Main Bundle to provide editorial/admin UI for eZ Platform","fork":true,"url":"https://api.github.com/repos/sunpietro/PlatformUIBundle","forks_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/forks","keys_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/teams","hooks_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/hooks","issue_events_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/issues/events{/number}","events_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/events","assignees_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/assignees{/user}","branches_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/branches{/branch}","tags_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/tags","blobs_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/languages","stargazers_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/stargazers","contributors_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/contributors","subscribers_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/subscribers","subscription_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/subscription","commits_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/contents/{+path}","compare_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/merges","archive_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/downloads","issues_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/issues{/number}","pulls_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/labels{/name}","releases_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/releases{/id}","deployments_url":"https://api.github.com/repos/sunpietro/PlatformUIBundle/deployments","created_at":"2016-03-08T18:31:31Z","updated_at":"2016-03-08T18:31:34Z","pushed_at":"2016-06-10T08:52:16Z","git_url":"git://github.com/sunpietro/PlatformUIBundle.git","ssh_url":"git@github.com:sunpietro/PlatformUIBundle.git","clone_url":"https://github.com/sunpietro/PlatformUIBundle.git","svn_url":"https://github.com/sunpietro/PlatformUIBundle","homepage":"http://ezplatform.com/","size":5601,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ezsystems:feature/ezp-25766_dashboard","ref":"feature/ezp-25766_dashboard","sha":"865f364a0ed7b4b10492ecff058504d163e671da","user":{"login":"ezsystems","id":295311,"avatar_url":"https://avatars.githubusercontent.com/u/295311?v=3","gravatar_id":"","url":"https://api.github.com/users/ezsystems","html_url":"https://github.com/ezsystems","followers_url":"https://api.github.com/users/ezsystems/followers","following_url":"https://api.github.com/users/ezsystems/following{/other_user}","gists_url":"https://api.github.com/users/ezsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/ezsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezsystems/subscriptions","organizations_url":"https://api.github.com/users/ezsystems/orgs","repos_url":"https://api.github.com/users/ezsystems/repos","events_url":"https://api.github.com/users/ezsystems/events{/privacy}","received_events_url":"https://api.github.com/users/ezsystems/received_events","type":"Organization","site_admin":false},"repo":{"id":11221607,"name":"PlatformUIBundle","full_name":"ezsystems/PlatformUIBundle","owner":{"login":"ezsystems","id":295311,"avatar_url":"https://avatars.githubusercontent.com/u/295311?v=3","gravatar_id":"","url":"https://api.github.com/users/ezsystems","html_url":"https://github.com/ezsystems","followers_url":"https://api.github.com/users/ezsystems/followers","following_url":"https://api.github.com/users/ezsystems/following{/other_user}","gists_url":"https://api.github.com/users/ezsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/ezsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezsystems/subscriptions","organizations_url":"https://api.github.com/users/ezsystems/orgs","repos_url":"https://api.github.com/users/ezsystems/repos","events_url":"https://api.github.com/users/ezsystems/events{/privacy}","received_events_url":"https://api.github.com/users/ezsystems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ezsystems/PlatformUIBundle","description":"Main Bundle to provide editorial/admin UI for eZ Platform","fork":false,"url":"https://api.github.com/repos/ezsystems/PlatformUIBundle","forks_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/forks","keys_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/teams","hooks_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/hooks","issue_events_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/events{/number}","events_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/events","assignees_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/assignees{/user}","branches_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/branches{/branch}","tags_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/tags","blobs_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/languages","stargazers_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/stargazers","contributors_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/contributors","subscribers_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/subscribers","subscription_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/subscription","commits_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/contents/{+path}","compare_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/merges","archive_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/downloads","issues_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues{/number}","pulls_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/labels{/name}","releases_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/releases{/id}","deployments_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/deployments","created_at":"2013-07-06T17:21:40Z","updated_at":"2016-05-09T21:15:01Z","pushed_at":"2016-06-10T09:16:19Z","git_url":"git://github.com/ezsystems/PlatformUIBundle.git","ssh_url":"git@github.com:ezsystems/PlatformUIBundle.git","clone_url":"https://github.com/ezsystems/PlatformUIBundle.git","svn_url":"https://github.com/ezsystems/PlatformUIBundle","homepage":"http://ezplatform.com/","size":6798,"stargazers_count":27,"watchers_count":27,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":20,"forks":30,"open_issues":20,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/591"},"html":{"href":"https://github.com/ezsystems/PlatformUIBundle/pull/591"},"issue":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/591"},"comments":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/591/comments"},"review_comments":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/591/comments"},"review_comment":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/591/commits"},"statuses":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/statuses/f534a64c04e2d01da6307627701866da50afcaef"}}}}
{"actor":{"display_login":"dpobel"}}