GitHub PullRequestReviewCommentEvent at 2014-08-01 18:50:16
Repository: WordPress-iOS
Actor: irbrad
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/comments/15712439","id":15712439,"diff_hunk":"@@ -210,62 +229,98 @@ - (void)displayNote {\n         }];\n     }\n \n+    [self updateActionButtons];\n+}\n+\n+- (void)updateActionButtons {\n     // disable the buttons until we can determine which ones can be used\n     // with this note\n-    self.spamButton.enabled = NO;\n-    self.trashButton.enabled = NO;\n-    self.approveButton.enabled = NO;\n-    self.replyButton.enabled = NO;\n-\n+    [self setAllActionButtonsEnabled:NO];\n+    \n     // figure out the actions available for the note\n+    NSArray *actions = self.note.bodyActions;\n     NSMutableDictionary *indexedActions = [[NSMutableDictionary alloc] initWithCapacity:[actions count]];\n     [actions enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {\n         NSString *actionType = [obj valueForKey:@\"type\"];\n         [indexedActions setObject:obj forKey:actionType];\n-        if ([actionType isEqualToString:@\"approve-comment\"]) {\n-            self.approveButton.enabled = YES;\n-            [self updateApproveButton:YES];\n-        } else if ([actionType isEqualToString:@\"unapprove-comment\"]) {\n-            self.approveButton.enabled = YES;\n-            [self updateApproveButton:NO];\n-        } else if ([actionType isEqualToString:@\"spam-comment\"]) {\n-            self.spamButton.enabled = YES;\n-        } else if ([actionType isEqualToString:@\"unspam-comment\"]) {\n-            self.spamButton.enabled = YES;\n-        } else if ([actionType isEqualToString:@\"trash-comment\"]) {\n-            self.trashButton.enabled = YES;\n-        } else if ([actionType isEqualToString:@\"untrash-comment\"]) {\n-            self.trashButton.enabled = YES;\n-        } else if ([actionType isEqualToString:@\"replyto-comment\"]) {\n-            self.replyButton.enabled = YES;\n-        }\n+        [self updateActionButtonForType:actionType];\n     }];\n-\n+    \n     self.commentActions = indexedActions;\n }\n \n-- (NSDictionary *)getActionByType:(NSString *)type {\n-    NSArray *actions = [self.note bodyActions];\n-    for (NSDictionary *action in actions) {\n-        if ([[action valueForKey:@\"type\"] isEqualToString:type]) {\n-            return action;\n-        }\n+- (void)updateActionButtonForType:(NSString*)actionType {\n+    if ([actionType isEqualToString:@\"approve-comment\"]) {\n+        self.approveButton.enabled = YES;\n+        [self updateApproveButton:YES];\n+    } else if ([actionType isEqualToString:@\"unapprove-comment\"]) {\n+        self.approveButton.enabled = YES;\n+        [self updateApproveButton:NO];\n+    } else if ([actionType isEqualToString:@\"spam-comment\"]) {\n+        self.spamButton.enabled = YES;\n+        [self updateSpamButton:YES];\n+    } else if ([actionType isEqualToString:@\"unspam-comment\"]) {\n+        self.spamButton.enabled = YES;\n+        [self updateSpamButton:NO];\n+    } else if ([actionType isEqualToString:@\"trash-comment\"]) {\n+        self.trashButton.enabled = YES;\n+        [self updateTrashButton:YES];\n+    } else if ([actionType isEqualToString:@\"untrash-comment\"]) {\n+        self.trashButton.enabled = YES;\n+        [self updateTrashButton:NO];\n+    } else if ([actionType isEqualToString:@\"replyto-comment\"]) {\n+        self.replyButton.enabled = YES;\n     }\n-    return nil;\n }\n \n - (void)updateApproveButton:(BOOL)canBeApproved {\n     if (canBeApproved) {\n         [self.approveButton setImage:[UIImage imageNamed:@\"icon-comments-approve\"] forState:UIControlStateNormal];\n-        [self.approveButton setImage:[UIImage imageNamed:@\"icon-comments-approve-active\"] forState:UIControlStateSelected];\n+        [self.approveButton setTitle:NSLocalizedString(@\"Approve\", @\"Verb, approve a comment\") forState:UIControlStateNormal];\n         self.approveButton.accessibilityLabel = NSLocalizedString(@\"Approve\", @\"Spoken accessibility label.\");\n     } else {\n         [self.approveButton setImage:[UIImage imageNamed:@\"icon-comments-unapprove\"] forState:UIControlStateNormal];\n-        [self.approveButton setImage:[UIImage imageNamed:@\"icon-comments-unapprove-active\"] forState:UIControlStateSelected];\n+        [self.approveButton setTitle:NSLocalizedString(@\"Unapprove\", @\"Verb, unapprove a comment\") forState:UIControlStateNormal];\n         self.approveButton.accessibilityLabel = NSLocalizedString(@\"Unapprove\", @\"Spoken accessibility label.\");\n     }\n }\n \n+- (void)updateSpamButton:(BOOL)canBeSpammed {\n+    if (canBeSpammed) {\n+        [self.spamButton setTitle:NSLocalizedString(@\"Spam\", \"Verb, mark a comment as spam\") forState:UIControlStateNormal];\n+        self.spamButton.accessibilityLabel = NSLocalizedString(@\"Spam\", @\"Spoken accessibility label.\");\n+    } else {\n+        [self.spamButton setTitle:NSLocalizedString(@\"Not Spam\", \"Mark a comment as not spam\") forState:UIControlStateNormal];\n+        self.spamButton.accessibilityLabel = NSLocalizedString(@\"Not Spam\", @\"Spoken accessibility label.\");\n+    }\n+}\n+\n+- (void)updateTrashButton:(BOOL)canBeTrashed {\n+    if (canBeTrashed) {\n+        [self.trashButton setTitle:NSLocalizedString(@\"Trash\", \"Verb, move a comment to the trash\") forState:UIControlStateNormal];\n+        self.trashButton.accessibilityLabel = NSLocalizedString(@\"Trash\", @\"Spoken accessibility label.\");\n+    } else {\n+        [self.trashButton setTitle:NSLocalizedString(@\"Untrash\", \"Verb, remove a comment from the trash\") forState:UIControlStateNormal];\n+        self.trashButton.accessibilityLabel = NSLocalizedString(@\"Not Spam\", @\"Spoken accessibility label.\");\n+    }\n+}\n+\n+- (void)setAllActionButtonsEnabled:(BOOL)enabled {","path":"WordPress/Classes/ViewRelated/Notifications/NotificationsCommentDetailViewController.m","position":192,"original_position":192,"commit_id":"c473687443f1724253b178c79721fea488700717","original_commit_id":"c473687443f1724253b178c79721fea488700717","user":{"login":"irbrad","id":1220715,"avatar_url":"https://avatars.githubusercontent.com/u/1220715?v=1","gravatar_id":"1520cd03ffbbf4e9241cf9d18dbe45c8","url":"https://api.github.com/users/irbrad","html_url":"https://github.com/irbrad","followers_url":"https://api.github.com/users/irbrad/followers","following_url":"https://api.github.com/users/irbrad/following{/other_user}","gists_url":"https://api.github.com/users/irbrad/gists{/gist_id}","starred_url":"https://api.github.com/users/irbrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irbrad/subscriptions","organizations_url":"https://api.github.com/users/irbrad/orgs","repos_url":"https://api.github.com/users/irbrad/repos","events_url":"https://api.github.com/users/irbrad/events{/privacy}","received_events_url":"https://api.github.com/users/irbrad/received_events","type":"User","site_admin":false},"body":"Can you reuse the same method from `CommentViewController.m` rather than copying it into `NotificationsCommentDetailViewController.m` as well?","created_at":"2014-08-01T18:50:16Z","updated_at":"2014-08-01T18:50:16Z","html_url":"https://github.com/wordpress-mobile/WordPress-iOS/pull/2134#discussion_r15712439","pull_request_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/2134","_links":{"self":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/comments/15712439"},"html":{"href":"https://github.com/wordpress-mobile/WordPress-iOS/pull/2134#discussion_r15712439"},"pull_request":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/2134"}}},"pull_request":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/2134","id":18916417,"html_url":"https://github.com/wordpress-mobile/WordPress-iOS/pull/2134","diff_url":"https://github.com/wordpress-mobile/WordPress-iOS/pull/2134.diff","patch_url":"https://github.com/wordpress-mobile/WordPress-iOS/pull/2134.patch","issue_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/2134","number":2134,"state":"open","title":"Comment moderation improvements","user":{"login":"roundhill","id":789137,"avatar_url":"https://avatars.githubusercontent.com/u/789137?v=1","gravatar_id":"7c2cd640adbf3bb8357e396532c14470","url":"https://api.github.com/users/roundhill","html_url":"https://github.com/roundhill","followers_url":"https://api.github.com/users/roundhill/followers","following_url":"https://api.github.com/users/roundhill/following{/other_user}","gists_url":"https://api.github.com/users/roundhill/gists{/gist_id}","starred_url":"https://api.github.com/users/roundhill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roundhill/subscriptions","organizations_url":"https://api.github.com/users/roundhill/orgs","repos_url":"https://api.github.com/users/roundhill/repos","events_url":"https://api.github.com/users/roundhill/events{/privacy}","received_events_url":"https://api.github.com/users/roundhill/received_events","type":"User","site_admin":false},"body":"Improves comment moderation in both `NotificationsCommentDetailView` and `CommentDetailView`:\r\n\r\n * Adds text labels beneath the moderation buttons.\r\n * Replaces old, confusing icons with easier to understand versions (thumbs up/down for approve/unapprove and stop sign for spam). This matches up with WPAndroid.\r\n * Moves comment timestamp into the header area instead of next to the moderation icons.\r\n * An activity indicator is now displayed within the tapped moderation button, and all other moderation icons are disabled until the operation completes.\r\n * An alert view is shown when a moderation operation fails.\r\n * Tapping on trash now shows a confirmation action sheet in notifications (which matches up with comments).\r\n\r\nVideo: https://cloudup.com/chskLpNLCrQ\r\n\r\nFixes #79 ","created_at":"2014-07-25T20:08:46Z","updated_at":"2014-08-01T18:50:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"be6c87e6d5255fb911596ad5f59005e401d22b71","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/2134/commits","review_comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/2134/comments","review_comment_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/comments/{number}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/2134/comments","statuses_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/statuses/c473687443f1724253b178c79721fea488700717","head":{"label":"wordpress-mobile:issue/79-better-comment-moderation-and-icons","ref":"issue/79-better-comment-moderation-and-icons","sha":"c473687443f1724253b178c79721fea488700717","user":{"login":"wordpress-mobile","id":1306301,"avatar_url":"https://avatars.githubusercontent.com/u/1306301?v=1","gravatar_id":"f12e9a69eabe3121a2e334c6960fcb19","url":"https://api.github.com/users/wordpress-mobile","html_url":"https://github.com/wordpress-mobile","followers_url":"https://api.github.com/users/wordpress-mobile/followers","following_url":"https://api.github.com/users/wordpress-mobile/following{/other_user}","gists_url":"https://api.github.com/users/wordpress-mobile/gists{/gist_id}","starred_url":"https://api.github.com/users/wordpress-mobile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wordpress-mobile/subscriptions","organizations_url":"https://api.github.com/users/wordpress-mobile/orgs","repos_url":"https://api.github.com/users/wordpress-mobile/repos","events_url":"https://api.github.com/users/wordpress-mobile/events{/privacy}","received_events_url":"https://api.github.com/users/wordpress-mobile/received_events","type":"Organization","site_admin":false},"repo":{"id":8859285,"name":"WordPress-iOS","full_name":"wordpress-mobile/WordPress-iOS","owner":{"login":"wordpress-mobile","id":1306301,"avatar_url":"https://avatars.githubusercontent.com/u/1306301?v=1","gravatar_id":"f12e9a69eabe3121a2e334c6960fcb19","url":"https://api.github.com/users/wordpress-mobile","html_url":"https://github.com/wordpress-mobile","followers_url":"https://api.github.com/users/wordpress-mobile/followers","following_url":"https://api.github.com/users/wordpress-mobile/following{/other_user}","gists_url":"https://api.github.com/users/wordpress-mobile/gists{/gist_id}","starred_url":"https://api.github.com/users/wordpress-mobile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wordpress-mobile/subscriptions","organizations_url":"https://api.github.com/users/wordpress-mobile/orgs","repos_url":"https://api.github.com/users/wordpress-mobile/repos","events_url":"https://api.github.com/users/wordpress-mobile/events{/privacy}","received_events_url":"https://api.github.com/users/wordpress-mobile/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wordpress-mobile/WordPress-iOS","description":"WordPress for iOS - Official repository","fork":false,"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS","forks_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/forks","keys_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/teams","hooks_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/hooks","issue_events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/events{/number}","events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/events","assignees_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/assignees{/user}","branches_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/branches{/branch}","tags_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/tags","blobs_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/languages","stargazers_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/stargazers","contributors_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/contributors","subscribers_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/subscribers","subscription_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/subscription","commits_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/comments/{number}","contents_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/contents/{+path}","compare_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/merges","archive_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/downloads","issues_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues{/number}","pulls_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/labels{/name}","releases_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/releases{/id}","created_at":"2013-03-18T16:59:33Z","updated_at":"2014-08-01T07:11:15Z","pushed_at":"2014-08-01T18:47:51Z","git_url":"git://github.com/wordpress-mobile/WordPress-iOS.git","ssh_url":"git@github.com:wordpress-mobile/WordPress-iOS.git","clone_url":"https://github.com/wordpress-mobile/WordPress-iOS.git","svn_url":"https://github.com/wordpress-mobile/WordPress-iOS","homepage":"http://ios.wordpress.org/","size":299212,"stargazers_count":357,"watchers_count":357,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":200,"mirror_url":null,"open_issues_count":263,"forks":200,"open_issues":263,"watchers":357,"default_branch":"develop"}},"base":{"label":"wordpress-mobile:develop","ref":"develop","sha":"11651b04a4b9bc668bafabb09cc40429bed63304","user":{"login":"wordpress-mobile","id":1306301,"avatar_url":"https://avatars.githubusercontent.com/u/1306301?v=1","gravatar_id":"f12e9a69eabe3121a2e334c6960fcb19","url":"https://api.github.com/users/wordpress-mobile","html_url":"https://github.com/wordpress-mobile","followers_url":"https://api.github.com/users/wordpress-mobile/followers","following_url":"https://api.github.com/users/wordpress-mobile/following{/other_user}","gists_url":"https://api.github.com/users/wordpress-mobile/gists{/gist_id}","starred_url":"https://api.github.com/users/wordpress-mobile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wordpress-mobile/subscriptions","organizations_url":"https://api.github.com/users/wordpress-mobile/orgs","repos_url":"https://api.github.com/users/wordpress-mobile/repos","events_url":"https://api.github.com/users/wordpress-mobile/events{/privacy}","received_events_url":"https://api.github.com/users/wordpress-mobile/received_events","type":"Organization","site_admin":false},"repo":{"id":8859285,"name":"WordPress-iOS","full_name":"wordpress-mobile/WordPress-iOS","owner":{"login":"wordpress-mobile","id":1306301,"avatar_url":"https://avatars.githubusercontent.com/u/1306301?v=1","gravatar_id":"f12e9a69eabe3121a2e334c6960fcb19","url":"https://api.github.com/users/wordpress-mobile","html_url":"https://github.com/wordpress-mobile","followers_url":"https://api.github.com/users/wordpress-mobile/followers","following_url":"https://api.github.com/users/wordpress-mobile/following{/other_user}","gists_url":"https://api.github.com/users/wordpress-mobile/gists{/gist_id}","starred_url":"https://api.github.com/users/wordpress-mobile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wordpress-mobile/subscriptions","organizations_url":"https://api.github.com/users/wordpress-mobile/orgs","repos_url":"https://api.github.com/users/wordpress-mobile/repos","events_url":"https://api.github.com/users/wordpress-mobile/events{/privacy}","received_events_url":"https://api.github.com/users/wordpress-mobile/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wordpress-mobile/WordPress-iOS","description":"WordPress for iOS - Official repository","fork":false,"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS","forks_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/forks","keys_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/teams","hooks_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/hooks","issue_events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/events{/number}","events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/events","assignees_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/assignees{/user}","branches_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/branches{/branch}","tags_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/tags","blobs_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/languages","stargazers_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/stargazers","contributors_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/contributors","subscribers_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/subscribers","subscription_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/subscription","commits_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/comments/{number}","contents_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/contents/{+path}","compare_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/merges","archive_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/downloads","issues_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues{/number}","pulls_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/labels{/name}","releases_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/releases{/id}","created_at":"2013-03-18T16:59:33Z","updated_at":"2014-08-01T07:11:15Z","pushed_at":"2014-08-01T18:47:51Z","git_url":"git://github.com/wordpress-mobile/WordPress-iOS.git","ssh_url":"git@github.com:wordpress-mobile/WordPress-iOS.git","clone_url":"https://github.com/wordpress-mobile/WordPress-iOS.git","svn_url":"https://github.com/wordpress-mobile/WordPress-iOS","homepage":"http://ios.wordpress.org/","size":299212,"stargazers_count":357,"watchers_count":357,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":200,"mirror_url":null,"open_issues_count":263,"forks":200,"open_issues":263,"watchers":357,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/2134"},"html":{"href":"https://github.com/wordpress-mobile/WordPress-iOS/pull/2134"},"issue":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/2134"},"comments":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/2134/comments"},"review_comments":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/2134/comments"},"review_comment":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/2134/commits"},"statuses":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/statuses/c473687443f1724253b178c79721fea488700717"}}}}