{"action":"created","comment":{"url":"https://api.github.com/repos/facebook/fbctf/pulls/comments/89880601","pull_request_review_id":10411379,"id":89880601,"diff_hunk":"@@ -406,7 +435,36 @@ class=\"fb-main page--registration full-height fb-scroll\">\n             </fieldset>\n             <div class=\"fb-choose-emblem\">\n               <h6>{tr('Choose an Emblem')}</h6>\n-              <div class=\"emblem-carousel\">{$logos_section}</div>\n+              <h6>\n+                <a href=\"#\" id=\"custom-emblem-link\">or upload your own</a>\n+              </h6>\n+              <div class=\"custom-emblem\">\n+                <input\n+                  autocomplete=\"off\"\n+                  name=\"custom-emblem\"\n+                  id=\"custom-emblem-input\"\n+                  type=\"file\"\n+                  accept=\"image/*\"\n+                />\n+                <img\n+                  id=\"custom-emblem-preview\"\n+                  src=\"\"\n+                  height={62}\n+                  width={80}>\n+                </img>\n+              </div>\n+              <div class=\"emblem-carousel\">\n+                <div id=\"custom-emblem-carousel-notice\">\n+                  <div class=\"center-wrapper\">\n+                    <h6>\n+                      <a href=\"#\" id=\"custom-emblem-clear-link\">\n+                        Clear your custom emblem to use a default emblem","path":"src/controllers/IndexController.php","position":28,"original_position":75,"commit_id":"6188e7352c4f3c6e2799d5774e904e1e9139480a","original_commit_id":"6188e7352c4f3c6e2799d5774e904e1e9139480a","user":{"login":"justinwray","id":22864312,"avatar_url":"https://avatars.githubusercontent.com/u/22864312?v=3","gravatar_id":"","url":"https://api.github.com/users/justinwray","html_url":"https://github.com/justinwray","followers_url":"https://api.github.com/users/justinwray/followers","following_url":"https://api.github.com/users/justinwray/following{/other_user}","gists_url":"https://api.github.com/users/justinwray/gists{/gist_id}","starred_url":"https://api.github.com/users/justinwray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinwray/subscriptions","organizations_url":"https://api.github.com/users/justinwray/orgs","repos_url":"https://api.github.com/users/justinwray/repos","events_url":"https://api.github.com/users/justinwray/events{/privacy}","received_events_url":"https://api.github.com/users/justinwray/received_events","type":"User","site_admin":false},"body":"Good catch! Will go ahead and add the translation wrapper for the various strings that were missed.","created_at":"2016-11-28T20:47:44Z","updated_at":"2016-11-28T20:47:44Z","html_url":"https://github.com/facebook/fbctf/pull/370#discussion_r89880601","pull_request_url":"https://api.github.com/repos/facebook/fbctf/pulls/370","_links":{"self":{"href":"https://api.github.com/repos/facebook/fbctf/pulls/comments/89880601"},"html":{"href":"https://github.com/facebook/fbctf/pull/370#discussion_r89880601"},"pull_request":{"href":"https://api.github.com/repos/facebook/fbctf/pulls/370"}}},"pull_request":{"url":"https://api.github.com/repos/facebook/fbctf/pulls/370","id":95418308,"html_url":"https://github.com/facebook/fbctf/pull/370","diff_url":"https://github.com/facebook/fbctf/pull/370.diff","patch_url":"https://github.com/facebook/fbctf/pull/370.patch","issue_url":"https://api.github.com/repos/facebook/fbctf/issues/370","number":370,"state":"open","locked":false,"title":"Updated PR #71 - Support for custom icons","user":{"login":"justinwray","id":22864312,"avatar_url":"https://avatars.githubusercontent.com/u/22864312?v=3","gravatar_id":"","url":"https://api.github.com/users/justinwray","html_url":"https://github.com/justinwray","followers_url":"https://api.github.com/users/justinwray/followers","following_url":"https://api.github.com/users/justinwray/following{/other_user}","gists_url":"https://api.github.com/users/justinwray/gists{/gist_id}","starred_url":"https://api.github.com/users/justinwray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinwray/subscriptions","organizations_url":"https://api.github.com/users/justinwray/orgs","repos_url":"https://api.github.com/users/justinwray/repos","events_url":"https://api.github.com/users/justinwray/events{/privacy}","received_events_url":"https://api.github.com/users/justinwray/received_events","type":"User","site_admin":false},"body":"* Updated code efficiency by removing various loops in favor of Map indexes and searches.\r\n\r\n* Updated various MySQL queries for both efficiency and functionality.\r\n\r\n* Implemented Memcached within the Logo class, based on the standard Memcached implementation within the project.\r\n\r\n* Created Logos::resizeCustomLogo to resize user-submitted logos, ensuring they match the dimensions used by the generic logos.\r\n\r\n* Implemented image resizing for the images supplied by users during team registration.  This image resizing will maintain alpha settings within the image (opacity/transparency).\r\n\r\n* Updated the image size of the preview image displayed when users are uploading their custom logo.\r\n\r\n* Updated HHVM Typing.\r\n\r\n* Updated code formatting.","created_at":"2016-11-27T21:57:22Z","updated_at":"2016-11-28T20:47:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1cae2d090370e1a2a7476b07a9ea4f90c6cdf9b9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/facebook/fbctf/pulls/370/commits","review_comments_url":"https://api.github.com/repos/facebook/fbctf/pulls/370/comments","review_comment_url":"https://api.github.com/repos/facebook/fbctf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/fbctf/issues/370/comments","statuses_url":"https://api.github.com/repos/facebook/fbctf/statuses/6188e7352c4f3c6e2799d5774e904e1e9139480a","head":{"label":"WraySec:custom_icons","ref":"custom_icons","sha":"6188e7352c4f3c6e2799d5774e904e1e9139480a","user":{"login":"WraySec","id":14971472,"avatar_url":"https://avatars.githubusercontent.com/u/14971472?v=3","gravatar_id":"","url":"https://api.github.com/users/WraySec","html_url":"https://github.com/WraySec","followers_url":"https://api.github.com/users/WraySec/followers","following_url":"https://api.github.com/users/WraySec/following{/other_user}","gists_url":"https://api.github.com/users/WraySec/gists{/gist_id}","starred_url":"https://api.github.com/users/WraySec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WraySec/subscriptions","organizations_url":"https://api.github.com/users/WraySec/orgs","repos_url":"https://api.github.com/users/WraySec/repos","events_url":"https://api.github.com/users/WraySec/events{/privacy}","received_events_url":"https://api.github.com/users/WraySec/received_events","type":"Organization","site_admin":false},"repo":{"id":71029167,"name":"fbctf","full_name":"WraySec/fbctf","owner":{"login":"WraySec","id":14971472,"avatar_url":"https://avatars.githubusercontent.com/u/14971472?v=3","gravatar_id":"","url":"https://api.github.com/users/WraySec","html_url":"https://github.com/WraySec","followers_url":"https://api.github.com/users/WraySec/followers","following_url":"https://api.github.com/users/WraySec/following{/other_user}","gists_url":"https://api.github.com/users/WraySec/gists{/gist_id}","starred_url":"https://api.github.com/users/WraySec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WraySec/subscriptions","organizations_url":"https://api.github.com/users/WraySec/orgs","repos_url":"https://api.github.com/users/WraySec/repos","events_url":"https://api.github.com/users/WraySec/events{/privacy}","received_events_url":"https://api.github.com/users/WraySec/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WraySec/fbctf","description":"Platform to host Capture the Flag competitions","fork":true,"url":"https://api.github.com/repos/WraySec/fbctf","forks_url":"https://api.github.com/repos/WraySec/fbctf/forks","keys_url":"https://api.github.com/repos/WraySec/fbctf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WraySec/fbctf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WraySec/fbctf/teams","hooks_url":"https://api.github.com/repos/WraySec/fbctf/hooks","issue_events_url":"https://api.github.com/repos/WraySec/fbctf/issues/events{/number}","events_url":"https://api.github.com/repos/WraySec/fbctf/events","assignees_url":"https://api.github.com/repos/WraySec/fbctf/assignees{/user}","branches_url":"https://api.github.com/repos/WraySec/fbctf/branches{/branch}","tags_url":"https://api.github.com/repos/WraySec/fbctf/tags","blobs_url":"https://api.github.com/repos/WraySec/fbctf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WraySec/fbctf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WraySec/fbctf/git/refs{/sha}","trees_url":"https://api.github.com/repos/WraySec/fbctf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WraySec/fbctf/statuses/{sha}","languages_url":"https://api.github.com/repos/WraySec/fbctf/languages","stargazers_url":"https://api.github.com/repos/WraySec/fbctf/stargazers","contributors_url":"https://api.github.com/repos/WraySec/fbctf/contributors","subscribers_url":"https://api.github.com/repos/WraySec/fbctf/subscribers","subscription_url":"https://api.github.com/repos/WraySec/fbctf/subscription","commits_url":"https://api.github.com/repos/WraySec/fbctf/commits{/sha}","git_commits_url":"https://api.github.com/repos/WraySec/fbctf/git/commits{/sha}","comments_url":"https://api.github.com/repos/WraySec/fbctf/comments{/number}","issue_comment_url":"https://api.github.com/repos/WraySec/fbctf/issues/comments{/number}","contents_url":"https://api.github.com/repos/WraySec/fbctf/contents/{+path}","compare_url":"https://api.github.com/repos/WraySec/fbctf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WraySec/fbctf/merges","archive_url":"https://api.github.com/repos/WraySec/fbctf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WraySec/fbctf/downloads","issues_url":"https://api.github.com/repos/WraySec/fbctf/issues{/number}","pulls_url":"https://api.github.com/repos/WraySec/fbctf/pulls{/number}","milestones_url":"https://api.github.com/repos/WraySec/fbctf/milestones{/number}","notifications_url":"https://api.github.com/repos/WraySec/fbctf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WraySec/fbctf/labels{/name}","releases_url":"https://api.github.com/repos/WraySec/fbctf/releases{/id}","deployments_url":"https://api.github.com/repos/WraySec/fbctf/deployments","created_at":"2016-10-16T04:03:38Z","updated_at":"2016-10-16T04:03:40Z","pushed_at":"2016-11-28T11:35:29Z","git_url":"git://github.com/WraySec/fbctf.git","ssh_url":"git@github.com:WraySec/fbctf.git","clone_url":"https://github.com/WraySec/fbctf.git","svn_url":"https://github.com/WraySec/fbctf","homepage":null,"size":17711,"stargazers_count":0,"watchers_count":0,"language":"Hack","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"facebook:master","ref":"master","sha":"17b4782a0f66e3110cdf84d7173512eadfd88602","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":53877810,"name":"fbctf","full_name":"facebook/fbctf","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/fbctf","description":"Platform to host Capture the Flag competitions","fork":false,"url":"https://api.github.com/repos/facebook/fbctf","forks_url":"https://api.github.com/repos/facebook/fbctf/forks","keys_url":"https://api.github.com/repos/facebook/fbctf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/fbctf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/fbctf/teams","hooks_url":"https://api.github.com/repos/facebook/fbctf/hooks","issue_events_url":"https://api.github.com/repos/facebook/fbctf/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/fbctf/events","assignees_url":"https://api.github.com/repos/facebook/fbctf/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/fbctf/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/fbctf/tags","blobs_url":"https://api.github.com/repos/facebook/fbctf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/fbctf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/fbctf/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/fbctf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/fbctf/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/fbctf/languages","stargazers_url":"https://api.github.com/repos/facebook/fbctf/stargazers","contributors_url":"https://api.github.com/repos/facebook/fbctf/contributors","subscribers_url":"https://api.github.com/repos/facebook/fbctf/subscribers","subscription_url":"https://api.github.com/repos/facebook/fbctf/subscription","commits_url":"https://api.github.com/repos/facebook/fbctf/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/fbctf/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/fbctf/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/fbctf/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/fbctf/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/fbctf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/fbctf/merges","archive_url":"https://api.github.com/repos/facebook/fbctf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/fbctf/downloads","issues_url":"https://api.github.com/repos/facebook/fbctf/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/fbctf/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/fbctf/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/fbctf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/fbctf/labels{/name}","releases_url":"https://api.github.com/repos/facebook/fbctf/releases{/id}","deployments_url":"https://api.github.com/repos/facebook/fbctf/deployments","created_at":"2016-03-14T17:42:04Z","updated_at":"2016-11-28T15:07:35Z","pushed_at":"2016-11-28T10:32:15Z","git_url":"git://github.com/facebook/fbctf.git","ssh_url":"git@github.com:facebook/fbctf.git","clone_url":"https://github.com/facebook/fbctf.git","svn_url":"https://github.com/facebook/fbctf","homepage":null,"size":18152,"stargazers_count":4656,"watchers_count":4656,"language":"Hack","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":880,"mirror_url":null,"open_issues_count":72,"forks":880,"open_issues":72,"watchers":4656,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/fbctf/pulls/370"},"html":{"href":"https://github.com/facebook/fbctf/pull/370"},"issue":{"href":"https://api.github.com/repos/facebook/fbctf/issues/370"},"comments":{"href":"https://api.github.com/repos/facebook/fbctf/issues/370/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/fbctf/pulls/370/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/fbctf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/fbctf/pulls/370/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/fbctf/statuses/6188e7352c4f3c6e2799d5774e904e1e9139480a"}}}}
{"actor":{"display_login":"justinwray"}}