{"action":"created","comment":{"url":"https://api.github.com/repos/signalapp/Signal-iOS/pulls/comments/171714207","pull_request_review_id":100616446,"id":171714207,"diff_hunk":"@@ -0,0 +1,291 @@\n+//\n+//  Copyright (c) 2018 Open Whisper Systems. All rights reserved.\n+//\n+\n+#import \"OWS2FARegistrationViewController.h\"\n+#import \"ProfileViewController.h\"\n+#import \"Signal-Swift.h\"\n+#import <PromiseKit/AnyPromise.h>\n+#import <SignalMessaging/UIColor+OWS.h>\n+#import <SignalMessaging/UIFont+OWS.h>\n+#import <SignalMessaging/UIView+OWS.h>\n+#import <SignalMessaging/UIViewController+OWS.h>\n+#import <SignalServiceKit/OWS2FAManager.h>\n+\n+NS_ASSUME_NONNULL_BEGIN\n+\n+@interface OWS2FARegistrationViewController () <UITextFieldDelegate>\n+\n+@property (nonatomic, readonly) AccountManager *accountManager;\n+\n+@property (nonatomic) UITextField *pinTextfield;\n+\n+@property (nonatomic) OWSFlatButton *submitButton;\n+\n+@end\n+\n+#pragma mark -\n+\n+@implementation OWS2FARegistrationViewController\n+\n+- (nullable instancetype)initWithCoder:(NSCoder *)aDecoder\n+{\n+    self = [super initWithCoder:aDecoder];\n+    if (!self) {\n+        return self;\n+    }\n+\n+    _accountManager = SignalApp.sharedApp.accountManager;\n+\n+    return self;\n+}\n+\n+- (instancetype)init\n+{\n+    self = [super init];\n+    if (!self) {\n+        return self;\n+    }\n+\n+    _accountManager = SignalApp.sharedApp.accountManager;\n+\n+    return self;\n+}\n+\n+#pragma mark - View Lifecycle\n+\n+- (void)viewDidLoad\n+{\n+    [super viewDidLoad];\n+\n+    self.view.backgroundColor = UIColor.whiteColor;\n+\n+    [self createContents];\n+}\n+\n+- (void)viewWillAppear:(BOOL)animated\n+{\n+    [super viewWillAppear:animated];\n+\n+    [self updateEnabling];\n+}\n+\n+- (void)viewDidAppear:(BOOL)animated\n+{\n+    [super viewDidAppear:animated];\n+\n+    // If we're using a PIN textfield, select it.\n+    [self.pinTextfield becomeFirstResponder];\n+}\n+\n+- (UILabel *)createLabelWithText:(NSString *)text\n+{\n+    UILabel *label = [UILabel new];\n+    label.textColor = [UIColor blackColor];\n+    label.text = text;\n+    label.font = [UIFont ows_regularFontWithSize:ScaleFromIPhone5To7Plus(14.f, 16.f)];\n+    label.numberOfLines = 0;\n+    label.lineBreakMode = NSLineBreakByWordWrapping;\n+    label.textAlignment = NSTextAlignmentCenter;\n+    [self.view addSubview:label];\n+    return label;\n+}\n+\n+- (void)createPinTextfield\n+{\n+    self.pinTextfield = [UITextField new];\n+    self.pinTextfield.textColor = [UIColor blackColor];\n+    self.pinTextfield.placeholder\n+        = NSLocalizedString(@\"2FA_PIN_DEFAULT_TEXT\", @\"Text field placeholder when entering a 'two-factor auth pin'.\");\n+    self.pinTextfield.font = [UIFont ows_mediumFontWithSize:ScaleFromIPhone5To7Plus(30.f, 36.f)];\n+    self.pinTextfield.textAlignment = NSTextAlignmentCenter;\n+    self.pinTextfield.keyboardType = UIKeyboardTypeNumberPad;\n+    self.pinTextfield.delegate = self;\n+    self.pinTextfield.secureTextEntry = YES;\n+    self.pinTextfield.textAlignment = NSTextAlignmentCenter;\n+    [self.view addSubview:self.pinTextfield];\n+}\n+\n+- (UILabel *)createForgotLink\n+{\n+    UILabel *label = [UILabel new];\n+    label.textColor = [UIColor ows_materialBlueColor];\n+    NSString *text = NSLocalizedString(\n+        @\"REGISTER_2FA_FORGOT_PIN\", @\"Label for 'I forgot my PIN' link in the 2FA registration view.\");\n+    label.attributedText = [[NSAttributedString alloc]\n+        initWithString:text\n+            attributes:@{\n+                NSForegroundColorAttributeName : [UIColor ows_materialBlueColor],\n+                NSUnderlineStyleAttributeName : @(NSUnderlineStyleSingle | NSUnderlinePatternSolid)\n+            }];\n+    label.font = [UIFont ows_regularFontWithSize:ScaleFromIPhone5To7Plus(14.f, 16.f)];\n+    label.numberOfLines = 0;\n+    label.lineBreakMode = NSLineBreakByWordWrapping;\n+    label.textAlignment = NSTextAlignmentCenter;\n+    label.userInteractionEnabled = YES;\n+    [label addGestureRecognizer:[[UITapGestureRecognizer alloc] initWithTarget:self\n+                                                                        action:@selector(forgotPinLinkTapped:)]];\n+    [self.view addSubview:label];\n+    return label;\n+}\n+\n+- (void)createSubmitButton\n+{\n+    const CGFloat kSubmitButtonHeight = 47.f;\n+    // NOTE: We use ows_signalBrandBlueColor instead of ows_materialBlueColor\n+    //       throughout the onboarding flow to be consistent with the headers.\n+    OWSFlatButton *submitButton =\n+        [OWSFlatButton buttonWithTitle:NSLocalizedString(@\"REGISTER_2FA_SUBMIT_BUTTON\",\n+                                           @\"Label for 'submit' button in the 2FA registration view.\")\n+                                  font:[OWSFlatButton fontForHeight:kSubmitButtonHeight]\n+                            titleColor:[UIColor whiteColor]\n+                       backgroundColor:[UIColor ows_signalBrandBlueColor]\n+                                target:self\n+                              selector:@selector(submitButtonWasPressed)];\n+    self.submitButton = submitButton;\n+    [self.view addSubview:self.submitButton];\n+    [self.submitButton autoSetDimension:ALDimensionHeight toSize:kSubmitButtonHeight];\n+}\n+\n+- (CGFloat)hMargin\n+{\n+    return 20.f;\n+}\n+\n+- (void)createContents\n+{\n+    const CGFloat kVSpacing = 30.f;\n+\n+    NSString *instructionsText = NSLocalizedString(\n+        @\"REGISTER_2FA_INSTRUCTIONS\", @\"Instructions to enter the 'two-factor auth pin' in the 2FA registration view.\");\n+    UILabel *instructionsLabel = [self createLabelWithText:instructionsText];\n+    [instructionsLabel autoPinTopToSuperviewWithMargin:kVSpacing];\n+    [instructionsLabel autoPinWidthToSuperviewWithMargin:self.hMargin];\n+\n+    UILabel *createForgotLink = [self createForgotLink];\n+    [createForgotLink autoPinEdge:ALEdgeTop toEdge:ALEdgeBottom ofView:instructionsLabel withOffset:5];\n+    [createForgotLink autoPinWidthToSuperviewWithMargin:self.hMargin];\n+\n+    [self createPinTextfield];\n+    [self.pinTextfield autoPinEdge:ALEdgeTop toEdge:ALEdgeBottom ofView:createForgotLink withOffset:kVSpacing];\n+    [self.pinTextfield autoPinWidthToSuperviewWithMargin:self.hMargin];\n+\n+    UIView *underscoreView = [UIView new];\n+    underscoreView.backgroundColor = [UIColor colorWithWhite:0.5 alpha:1.f];\n+    [self.view addSubview:underscoreView];\n+    [underscoreView autoPinEdge:ALEdgeTop toEdge:ALEdgeBottom ofView:self.pinTextfield withOffset:3];\n+    [underscoreView autoPinWidthToSuperviewWithMargin:self.hMargin];\n+    [underscoreView autoSetDimension:ALDimensionHeight toSize:1.f];\n+\n+    [self createSubmitButton];\n+    [self.submitButton autoPinEdge:ALEdgeTop toEdge:ALEdgeBottom ofView:underscoreView withOffset:kVSpacing];\n+    [self.submitButton autoPinWidthToSuperviewWithMargin:self.hMargin];\n+\n+    [self updateEnabling];\n+}\n+\n+- (void)updateEnabling\n+{\n+    [self.submitButton setEnabled:self.hasValidPin];\n+}\n+\n+#pragma mark - UITextFieldDelegate\n+\n+- (BOOL)textField:(UITextField *)textField\n+    shouldChangeCharactersInRange:(NSRange)range\n+                replacementString:(NSString *)insertionText\n+{\n+\n+    [ViewControllerUtils ows2FAPINTextField:textField\n+              shouldChangeCharactersInRange:range\n+                          replacementString:insertionText];\n+\n+    [self updateEnabling];\n+\n+    return NO;\n+}\n+\n+#pragma mark - Events\n+\n+- (void)submitButtonWasPressed\n+{\n+    OWSAssert(self.hasValidPin);\n+\n+    [self tryToRegister];\n+}\n+\n+- (BOOL)hasValidPin\n+{\n+    return self.pinTextfield.text.length >= kMin2FAPinLength;\n+}\n+\n+- (void)tryToRegister\n+{\n+    OWSAssert(self.hasValidPin);\n+    OWSAssert(self.verificationCode.length > 0);\n+    NSString *pin = self.pinTextfield.text;\n+    OWSAssert(pin.length > 0);\n+\n+    DDLogInfo(@\"%@ %s\", self.logTag, __PRETTY_FUNCTION__);\n+\n+    __weak OWS2FARegistrationViewController *weakSelf = self;\n+\n+    [ModalActivityIndicatorViewController","path":"Signal/src/ViewControllers/OWS2FARegistrationViewController.m","position":233,"original_position":233,"commit_id":"351370de22d4122529ba31f5e881b421dbf0eb72","original_commit_id":"351370de22d4122529ba31f5e881b421dbf0eb72","user":{"login":"michaelkirk","id":217057,"avatar_url":"https://avatars3.githubusercontent.com/u/217057?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelkirk","html_url":"https://github.com/michaelkirk","followers_url":"https://api.github.com/users/michaelkirk/followers","following_url":"https://api.github.com/users/michaelkirk/following{/other_user}","gists_url":"https://api.github.com/users/michaelkirk/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelkirk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelkirk/subscriptions","organizations_url":"https://api.github.com/users/michaelkirk/orgs","repos_url":"https://api.github.com/users/michaelkirk/repos","events_url":"https://api.github.com/users/michaelkirk/events{/privacy}","received_events_url":"https://api.github.com/users/michaelkirk/received_events","type":"User","site_admin":false},"body":"Do we use this progress UI on any of the other steps in registration flow? This feels like an outlier.","created_at":"2018-03-01T22:27:19Z","updated_at":"2018-03-01T22:31:21Z","html_url":"https://github.com/signalapp/Signal-iOS/pull/3081#discussion_r171714207","pull_request_url":"https://api.github.com/repos/signalapp/Signal-iOS/pulls/3081","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/signalapp/Signal-iOS/pulls/comments/171714207"},"html":{"href":"https://github.com/signalapp/Signal-iOS/pull/3081#discussion_r171714207"},"pull_request":{"href":"https://api.github.com/repos/signalapp/Signal-iOS/pulls/3081"}}},"pull_request":{"url":"https://api.github.com/repos/signalapp/Signal-iOS/pulls/3081","id":172355902,"html_url":"https://github.com/signalapp/Signal-iOS/pull/3081","diff_url":"https://github.com/signalapp/Signal-iOS/pull/3081.diff","patch_url":"https://github.com/signalapp/Signal-iOS/pull/3081.patch","issue_url":"https://api.github.com/repos/signalapp/Signal-iOS/issues/3081","number":3081,"state":"open","locked":false,"title":"Charlesmchen/2fa vs registration","user":{"login":"charlesmchen","id":625803,"avatar_url":"https://avatars1.githubusercontent.com/u/625803?v=4","gravatar_id":"","url":"https://api.github.com/users/charlesmchen","html_url":"https://github.com/charlesmchen","followers_url":"https://api.github.com/users/charlesmchen/followers","following_url":"https://api.github.com/users/charlesmchen/following{/other_user}","gists_url":"https://api.github.com/users/charlesmchen/gists{/gist_id}","starred_url":"https://api.github.com/users/charlesmchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charlesmchen/subscriptions","organizations_url":"https://api.github.com/users/charlesmchen/orgs","repos_url":"https://api.github.com/users/charlesmchen/repos","events_url":"https://api.github.com/users/charlesmchen/events{/privacy}","received_events_url":"https://api.github.com/users/charlesmchen/received_events","type":"User","site_admin":false},"body":"PTAL @michaelkirk \r\n\r\n![simulator screen shot - iphone 8 plus - 2018-03-01 at 16 16 01](https://user-images.githubusercontent.com/625803/36870086-e40d23f0-1d6b-11e8-83a2-55a87de30555.png)\r\n![simulator screen shot - iphone 8 plus - 2018-03-01 at 16 15 58](https://user-images.githubusercontent.com/625803/36870088-e4227a70-1d6b-11e8-8b92-34718f629de1.png)\r\n","created_at":"2018-03-01T21:16:28Z","updated_at":"2018-03-01T22:31:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"43e2a5b157d66becfccbd648d20004aca500b260","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/signalapp/Signal-iOS/pulls/3081/commits","review_comments_url":"https://api.github.com/repos/signalapp/Signal-iOS/pulls/3081/comments","review_comment_url":"https://api.github.com/repos/signalapp/Signal-iOS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/signalapp/Signal-iOS/issues/3081/comments","statuses_url":"https://api.github.com/repos/signalapp/Signal-iOS/statuses/351370de22d4122529ba31f5e881b421dbf0eb72","head":{"label":"signalapp:charlesmchen/2faVsRegistration","ref":"charlesmchen/2faVsRegistration","sha":"351370de22d4122529ba31f5e881b421dbf0eb72","user":{"login":"signalapp","id":702459,"avatar_url":"https://avatars2.githubusercontent.com/u/702459?v=4","gravatar_id":"","url":"https://api.github.com/users/signalapp","html_url":"https://github.com/signalapp","followers_url":"https://api.github.com/users/signalapp/followers","following_url":"https://api.github.com/users/signalapp/following{/other_user}","gists_url":"https://api.github.com/users/signalapp/gists{/gist_id}","starred_url":"https://api.github.com/users/signalapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/signalapp/subscriptions","organizations_url":"https://api.github.com/users/signalapp/orgs","repos_url":"https://api.github.com/users/signalapp/repos","events_url":"https://api.github.com/users/signalapp/events{/privacy}","received_events_url":"https://api.github.com/users/signalapp/received_events","type":"Organization","site_admin":false},"repo":{"id":19429698,"name":"Signal-iOS","full_name":"signalapp/Signal-iOS","owner":{"login":"signalapp","id":702459,"avatar_url":"https://avatars2.githubusercontent.com/u/702459?v=4","gravatar_id":"","url":"https://api.github.com/users/signalapp","html_url":"https://github.com/signalapp","followers_url":"https://api.github.com/users/signalapp/followers","following_url":"https://api.github.com/users/signalapp/following{/other_user}","gists_url":"https://api.github.com/users/signalapp/gists{/gist_id}","starred_url":"https://api.github.com/users/signalapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/signalapp/subscriptions","organizations_url":"https://api.github.com/users/signalapp/orgs","repos_url":"https://api.github.com/users/signalapp/repos","events_url":"https://api.github.com/users/signalapp/events{/privacy}","received_events_url":"https://api.github.com/users/signalapp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/signalapp/Signal-iOS","description":"A private messenger for iOS.","fork":false,"url":"https://api.github.com/repos/signalapp/Signal-iOS","forks_url":"https://api.github.com/repos/signalapp/Signal-iOS/forks","keys_url":"https://api.github.com/repos/signalapp/Signal-iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/signalapp/Signal-iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/signalapp/Signal-iOS/teams","hooks_url":"https://api.github.com/repos/signalapp/Signal-iOS/hooks","issue_events_url":"https://api.github.com/repos/signalapp/Signal-iOS/issues/events{/number}","events_url":"https://api.github.com/repos/signalapp/Signal-iOS/events","assignees_url":"https://api.github.com/repos/signalapp/Signal-iOS/assignees{/user}","branches_url":"https://api.github.com/repos/signalapp/Signal-iOS/branches{/branch}","tags_url":"https://api.github.com/repos/signalapp/Signal-iOS/tags","blobs_url":"https://api.github.com/repos/signalapp/Signal-iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/signalapp/Signal-iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/signalapp/Signal-iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/signalapp/Signal-iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/signalapp/Signal-iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/signalapp/Signal-iOS/languages","stargazers_url":"https://api.github.com/repos/signalapp/Signal-iOS/stargazers","contributors_url":"https://api.github.com/repos/signalapp/Signal-iOS/contributors","subscribers_url":"https://api.github.com/repos/signalapp/Signal-iOS/subscribers","subscription_url":"https://api.github.com/repos/signalapp/Signal-iOS/subscription","commits_url":"https://api.github.com/repos/signalapp/Signal-iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/signalapp/Signal-iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/signalapp/Signal-iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/signalapp/Signal-iOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/signalapp/Signal-iOS/contents/{+path}","compare_url":"https://api.github.com/repos/signalapp/Signal-iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/signalapp/Signal-iOS/merges","archive_url":"https://api.github.com/repos/signalapp/Signal-iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/signalapp/Signal-iOS/downloads","issues_url":"https://api.github.com/repos/signalapp/Signal-iOS/issues{/number}","pulls_url":"https://api.github.com/repos/signalapp/Signal-iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/signalapp/Signal-iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/signalapp/Signal-iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/signalapp/Signal-iOS/labels{/name}","releases_url":"https://api.github.com/repos/signalapp/Signal-iOS/releases{/id}","deployments_url":"https://api.github.com/repos/signalapp/Signal-iOS/deployments","created_at":"2014-05-04T15:42:40Z","updated_at":"2018-03-01T22:01:19Z","pushed_at":"2018-03-01T21:31:54Z","git_url":"git://github.com/signalapp/Signal-iOS.git","ssh_url":"git@github.com:signalapp/Signal-iOS.git","clone_url":"https://github.com/signalapp/Signal-iOS.git","svn_url":"https://github.com/signalapp/Signal-iOS","homepage":"https://signal.org","size":457344,"stargazers_count":3177,"watchers_count":3177,"language":"Objective-C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":760,"mirror_url":null,"archived":false,"open_issues_count":359,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":760,"open_issues":359,"watchers":3177,"default_branch":"master"}},"base":{"label":"signalapp:master","ref":"master","sha":"6ca55790d5314ae961f0263632d7e05c555fcdc5","user":{"login":"signalapp","id":702459,"avatar_url":"https://avatars2.githubusercontent.com/u/702459?v=4","gravatar_id":"","url":"https://api.github.com/users/signalapp","html_url":"https://github.com/signalapp","followers_url":"https://api.github.com/users/signalapp/followers","following_url":"https://api.github.com/users/signalapp/following{/other_user}","gists_url":"https://api.github.com/users/signalapp/gists{/gist_id}","starred_url":"https://api.github.com/users/signalapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/signalapp/subscriptions","organizations_url":"https://api.github.com/users/signalapp/orgs","repos_url":"https://api.github.com/users/signalapp/repos","events_url":"https://api.github.com/users/signalapp/events{/privacy}","received_events_url":"https://api.github.com/users/signalapp/received_events","type":"Organization","site_admin":false},"repo":{"id":19429698,"name":"Signal-iOS","full_name":"signalapp/Signal-iOS","owner":{"login":"signalapp","id":702459,"avatar_url":"https://avatars2.githubusercontent.com/u/702459?v=4","gravatar_id":"","url":"https://api.github.com/users/signalapp","html_url":"https://github.com/signalapp","followers_url":"https://api.github.com/users/signalapp/followers","following_url":"https://api.github.com/users/signalapp/following{/other_user}","gists_url":"https://api.github.com/users/signalapp/gists{/gist_id}","starred_url":"https://api.github.com/users/signalapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/signalapp/subscriptions","organizations_url":"https://api.github.com/users/signalapp/orgs","repos_url":"https://api.github.com/users/signalapp/repos","events_url":"https://api.github.com/users/signalapp/events{/privacy}","received_events_url":"https://api.github.com/users/signalapp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/signalapp/Signal-iOS","description":"A private messenger for iOS.","fork":false,"url":"https://api.github.com/repos/signalapp/Signal-iOS","forks_url":"https://api.github.com/repos/signalapp/Signal-iOS/forks","keys_url":"https://api.github.com/repos/signalapp/Signal-iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/signalapp/Signal-iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/signalapp/Signal-iOS/teams","hooks_url":"https://api.github.com/repos/signalapp/Signal-iOS/hooks","issue_events_url":"https://api.github.com/repos/signalapp/Signal-iOS/issues/events{/number}","events_url":"https://api.github.com/repos/signalapp/Signal-iOS/events","assignees_url":"https://api.github.com/repos/signalapp/Signal-iOS/assignees{/user}","branches_url":"https://api.github.com/repos/signalapp/Signal-iOS/branches{/branch}","tags_url":"https://api.github.com/repos/signalapp/Signal-iOS/tags","blobs_url":"https://api.github.com/repos/signalapp/Signal-iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/signalapp/Signal-iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/signalapp/Signal-iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/signalapp/Signal-iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/signalapp/Signal-iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/signalapp/Signal-iOS/languages","stargazers_url":"https://api.github.com/repos/signalapp/Signal-iOS/stargazers","contributors_url":"https://api.github.com/repos/signalapp/Signal-iOS/contributors","subscribers_url":"https://api.github.com/repos/signalapp/Signal-iOS/subscribers","subscription_url":"https://api.github.com/repos/signalapp/Signal-iOS/subscription","commits_url":"https://api.github.com/repos/signalapp/Signal-iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/signalapp/Signal-iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/signalapp/Signal-iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/signalapp/Signal-iOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/signalapp/Signal-iOS/contents/{+path}","compare_url":"https://api.github.com/repos/signalapp/Signal-iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/signalapp/Signal-iOS/merges","archive_url":"https://api.github.com/repos/signalapp/Signal-iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/signalapp/Signal-iOS/downloads","issues_url":"https://api.github.com/repos/signalapp/Signal-iOS/issues{/number}","pulls_url":"https://api.github.com/repos/signalapp/Signal-iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/signalapp/Signal-iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/signalapp/Signal-iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/signalapp/Signal-iOS/labels{/name}","releases_url":"https://api.github.com/repos/signalapp/Signal-iOS/releases{/id}","deployments_url":"https://api.github.com/repos/signalapp/Signal-iOS/deployments","created_at":"2014-05-04T15:42:40Z","updated_at":"2018-03-01T22:01:19Z","pushed_at":"2018-03-01T21:31:54Z","git_url":"git://github.com/signalapp/Signal-iOS.git","ssh_url":"git@github.com:signalapp/Signal-iOS.git","clone_url":"https://github.com/signalapp/Signal-iOS.git","svn_url":"https://github.com/signalapp/Signal-iOS","homepage":"https://signal.org","size":457344,"stargazers_count":3177,"watchers_count":3177,"language":"Objective-C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":760,"mirror_url":null,"archived":false,"open_issues_count":359,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":760,"open_issues":359,"watchers":3177,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/signalapp/Signal-iOS/pulls/3081"},"html":{"href":"https://github.com/signalapp/Signal-iOS/pull/3081"},"issue":{"href":"https://api.github.com/repos/signalapp/Signal-iOS/issues/3081"},"comments":{"href":"https://api.github.com/repos/signalapp/Signal-iOS/issues/3081/comments"},"review_comments":{"href":"https://api.github.com/repos/signalapp/Signal-iOS/pulls/3081/comments"},"review_comment":{"href":"https://api.github.com/repos/signalapp/Signal-iOS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/signalapp/Signal-iOS/pulls/3081/commits"},"statuses":{"href":"https://api.github.com/repos/signalapp/Signal-iOS/statuses/351370de22d4122529ba31f5e881b421dbf0eb72"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"michaelkirk"}}