{"action":"created","comment":{"url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/pulls/comments/240746975","pull_request_review_id":183848191,"id":240746975,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDc0Njk3NQ==","diff_hunk":"@@ -14,32 +14,28 @@ <h4> Download </h4>\n     <div class=\"container-fluid\">\n       <div class=\"row action-wrapper\">\n         <div class=\"col-2\"></div>\n-        <button class=\"col-lg-3\"> IMPORT </button>\n+        <label class=\"label\"> IMPORT <input id=\"input\" type=\"file\" accept=\".csv\" #input (change)=\"uploadCSV($event)\"/></label>\n         <div class=\"col-2\"></div>\n-        <button type=\"button\" routerLink=\"/issue/single\" class=\"col-lg-3 blue-btn\"> GENERATE </button>\n+        <button type=\"button\" routerLink=\"/issue/single\" class=\"blue-btn\"> GENERATE </button>\n         <div class=\"col-2\"></div>\n       </div>\n     </div>\n   </div>\n-  <h2 class=\"text-center org-title\"><i class=\"fa fa-calendar\"></i>&nbsp;&nbsp; Events: </h2>\n-  <div class=\"container\">\n-    <div class=\"row\">\n-      <div class=\"col-md-3 card\">\n-        <img class=\"card-img-top\" src=\"https://codein.withgoogle.com/static/img/og-image.png\" alt=\"Card image cap\">\n-        <div class=\"card-body\">\n-          <h4 class=\"card-title title\">Google Code-In</h4>\n-          <p class=\"card-text\">Certificates: 6590 </p>\n-          <a href=\"#\" class=\"btn btn-danger\">See certificates</a>\n-        </div>\n-      </div>\n-      <div class=\"col-md-3 card\">\n-        <img class=\"card-img-top\" src=\"https://cdn-images-1.medium.com/max/1200/1*z__mBuA-_5LAzNo0dr0gCQ.png\" alt=\"Card image cap\">\n-        <div class=\"card-body\">\n-          <h4 class=\"card-title title\">Summer of Code </h4>\n-          <p class=\"card-text\">Certificates: 3 </p>\n-          <a href=\"#\" class=\"btn btn-danger\">See certificates</a>\n-        </div>\n-      </div>\n+  <div class=\"container container-grid\">\n+    <div *ngIf=\"error\">\n+      <p>Error getting issued certificates: {{error}}</p>\n     </div>\n+    <ag-grid-angular\n+      style=\"width: 500px; height: 500px;\"\n+      class=\"ag-theme-balham\"\n+      *ngIf=\"!error\"\n+      [rowData]=\"rowData\"\n+      [enableSorting]=\"true\"\n+      [enableFilter]=\"true\"\n+      [columnDefs]=\"columnDefs\"\n+      [enableColResize] = \"true\"\n+      (gridReady)=\"onGridReady($event)\"\n+      >\n+    </ag-grid-angular>","path":"src/app/organization/organization.component.html","position":47,"original_position":47,"commit_id":"f3223994fa73686cdbd833c06a99d83b41e5de22","original_commit_id":"f3223994fa73686cdbd833c06a99d83b41e5de22","user":{"login":"nikitadhiman","id":8037750,"node_id":"MDQ6VXNlcjgwMzc3NTA=","avatar_url":"https://avatars3.githubusercontent.com/u/8037750?v=4","gravatar_id":"","url":"https://api.github.com/users/nikitadhiman","html_url":"https://github.com/nikitadhiman","followers_url":"https://api.github.com/users/nikitadhiman/followers","following_url":"https://api.github.com/users/nikitadhiman/following{/other_user}","gists_url":"https://api.github.com/users/nikitadhiman/gists{/gist_id}","starred_url":"https://api.github.com/users/nikitadhiman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikitadhiman/subscriptions","organizations_url":"https://api.github.com/users/nikitadhiman/orgs","repos_url":"https://api.github.com/users/nikitadhiman/repos","events_url":"https://api.github.com/users/nikitadhiman/events{/privacy}","received_events_url":"https://api.github.com/users/nikitadhiman/received_events","type":"User","site_admin":false},"body":"Sure, take your time","created_at":"2018-12-11T18:57:49Z","updated_at":"2018-12-11T18:57:49Z","html_url":"https://github.com/JBossOutreach/certificate-generator-front/pull/240#discussion_r240746975","pull_request_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/pulls/240","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/pulls/comments/240746975"},"html":{"href":"https://github.com/JBossOutreach/certificate-generator-front/pull/240#discussion_r240746975"},"pull_request":{"href":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/pulls/240"}},"in_reply_to_id":240700222},"pull_request":{"url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/pulls/240","id":237083354,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3MDgzMzU0","html_url":"https://github.com/JBossOutreach/certificate-generator-front/pull/240","diff_url":"https://github.com/JBossOutreach/certificate-generator-front/pull/240.diff","patch_url":"https://github.com/JBossOutreach/certificate-generator-front/pull/240.patch","issue_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/issues/240","number":240,"state":"open","locked":false,"title":"Added Feature for Bulk Generating Certificates","user":{"login":"saivittalb","id":36305142,"node_id":"MDQ6VXNlcjM2MzA1MTQy","avatar_url":"https://avatars2.githubusercontent.com/u/36305142?v=4","gravatar_id":"","url":"https://api.github.com/users/saivittalb","html_url":"https://github.com/saivittalb","followers_url":"https://api.github.com/users/saivittalb/followers","following_url":"https://api.github.com/users/saivittalb/following{/other_user}","gists_url":"https://api.github.com/users/saivittalb/gists{/gist_id}","starred_url":"https://api.github.com/users/saivittalb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saivittalb/subscriptions","organizations_url":"https://api.github.com/users/saivittalb/orgs","repos_url":"https://api.github.com/users/saivittalb/repos","events_url":"https://api.github.com/users/saivittalb/events{/privacy}","received_events_url":"https://api.github.com/users/saivittalb/received_events","type":"User","site_admin":false},"body":"Perfectly added feature which makes organizations/individual issuers to bulk generate certificates by uploading CSV or Excel files up to 5MB 🎉\r\n\r\nTo test this feature, run the project locally using ```ng serve``` and then change the address to ```localhost:4200/organization```\r\n\r\nWorkflow of the feature 👇\r\n\r\n1. Uploaded file is sent to the ```baseUrl``` which is ```https://jbossnewserver.herokuapp.com/``` for validation.\r\n2. The validated file is returned back and is displayed in the ```ag-grid``` else error is displayed stating```invalid file```.\r\n\r\nPreview of the default page until server works 👇\r\n\r\n<img width=\"1440\" alt=\"screen shot 2018-12-08 at 11 43 54 pm\" src=\"https://user-images.githubusercontent.com/36305142/49689262-ee59a380-fb44-11e8-8009-77ffd0835979.png\">","created_at":"2018-12-08T18:23:57Z","updated_at":"2018-12-11T18:57:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1b23e585c974e994f9a8d72cd7de3c4b9ed4b052","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1154072589,"node_id":"MDU6TGFiZWwxMTU0MDcyNTg5","url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/labels/Bulk-Cert-Gen","name":"Bulk-Cert-Gen","color":"f9ed9a","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/pulls/240/commits","review_comments_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/pulls/240/comments","review_comment_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/issues/240/comments","statuses_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/statuses/f3223994fa73686cdbd833c06a99d83b41e5de22","head":{"label":"saivittalb:BulkGenerate","ref":"BulkGenerate","sha":"f3223994fa73686cdbd833c06a99d83b41e5de22","user":{"login":"saivittalb","id":36305142,"node_id":"MDQ6VXNlcjM2MzA1MTQy","avatar_url":"https://avatars2.githubusercontent.com/u/36305142?v=4","gravatar_id":"","url":"https://api.github.com/users/saivittalb","html_url":"https://github.com/saivittalb","followers_url":"https://api.github.com/users/saivittalb/followers","following_url":"https://api.github.com/users/saivittalb/following{/other_user}","gists_url":"https://api.github.com/users/saivittalb/gists{/gist_id}","starred_url":"https://api.github.com/users/saivittalb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saivittalb/subscriptions","organizations_url":"https://api.github.com/users/saivittalb/orgs","repos_url":"https://api.github.com/users/saivittalb/repos","events_url":"https://api.github.com/users/saivittalb/events{/privacy}","received_events_url":"https://api.github.com/users/saivittalb/received_events","type":"User","site_admin":false},"repo":{"id":157593353,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc1OTMzNTM=","name":"certificate-generator-front","full_name":"saivittalb/certificate-generator-front","private":false,"owner":{"login":"saivittalb","id":36305142,"node_id":"MDQ6VXNlcjM2MzA1MTQy","avatar_url":"https://avatars2.githubusercontent.com/u/36305142?v=4","gravatar_id":"","url":"https://api.github.com/users/saivittalb","html_url":"https://github.com/saivittalb","followers_url":"https://api.github.com/users/saivittalb/followers","following_url":"https://api.github.com/users/saivittalb/following{/other_user}","gists_url":"https://api.github.com/users/saivittalb/gists{/gist_id}","starred_url":"https://api.github.com/users/saivittalb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saivittalb/subscriptions","organizations_url":"https://api.github.com/users/saivittalb/orgs","repos_url":"https://api.github.com/users/saivittalb/repos","events_url":"https://api.github.com/users/saivittalb/events{/privacy}","received_events_url":"https://api.github.com/users/saivittalb/received_events","type":"User","site_admin":false},"html_url":"https://github.com/saivittalb/certificate-generator-front","description":null,"fork":true,"url":"https://api.github.com/repos/saivittalb/certificate-generator-front","forks_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/forks","keys_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/teams","hooks_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/hooks","issue_events_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/issues/events{/number}","events_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/events","assignees_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/assignees{/user}","branches_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/branches{/branch}","tags_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/tags","blobs_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/git/refs{/sha}","trees_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/statuses/{sha}","languages_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/languages","stargazers_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/stargazers","contributors_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/contributors","subscribers_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/subscribers","subscription_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/subscription","commits_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/commits{/sha}","git_commits_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/git/commits{/sha}","comments_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/comments{/number}","issue_comment_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/issues/comments{/number}","contents_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/contents/{+path}","compare_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/merges","archive_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/downloads","issues_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/issues{/number}","pulls_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/pulls{/number}","milestones_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/milestones{/number}","notifications_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/labels{/name}","releases_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/releases{/id}","deployments_url":"https://api.github.com/repos/saivittalb/certificate-generator-front/deployments","created_at":"2018-11-14T18:33:57Z","updated_at":"2018-12-08T11:45:52Z","pushed_at":"2018-12-10T04:51:28Z","git_url":"git://github.com/saivittalb/certificate-generator-front.git","ssh_url":"git@github.com:saivittalb/certificate-generator-front.git","clone_url":"https://github.com/saivittalb/certificate-generator-front.git","svn_url":"https://github.com/saivittalb/certificate-generator-front","homepage":null,"size":1024,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"JBossOutreach:master","ref":"master","sha":"ec8478f41c4d68f3c0c47c67459cf3def6bf09fb","user":{"login":"JBossOutreach","id":32942326,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyOTQyMzI2","avatar_url":"https://avatars0.githubusercontent.com/u/32942326?v=4","gravatar_id":"","url":"https://api.github.com/users/JBossOutreach","html_url":"https://github.com/JBossOutreach","followers_url":"https://api.github.com/users/JBossOutreach/followers","following_url":"https://api.github.com/users/JBossOutreach/following{/other_user}","gists_url":"https://api.github.com/users/JBossOutreach/gists{/gist_id}","starred_url":"https://api.github.com/users/JBossOutreach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JBossOutreach/subscriptions","organizations_url":"https://api.github.com/users/JBossOutreach/orgs","repos_url":"https://api.github.com/users/JBossOutreach/repos","events_url":"https://api.github.com/users/JBossOutreach/events{/privacy}","received_events_url":"https://api.github.com/users/JBossOutreach/received_events","type":"Organization","site_admin":false},"repo":{"id":143733747,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM3MzM3NDc=","name":"certificate-generator-front","full_name":"JBossOutreach/certificate-generator-front","private":false,"owner":{"login":"JBossOutreach","id":32942326,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyOTQyMzI2","avatar_url":"https://avatars0.githubusercontent.com/u/32942326?v=4","gravatar_id":"","url":"https://api.github.com/users/JBossOutreach","html_url":"https://github.com/JBossOutreach","followers_url":"https://api.github.com/users/JBossOutreach/followers","following_url":"https://api.github.com/users/JBossOutreach/following{/other_user}","gists_url":"https://api.github.com/users/JBossOutreach/gists{/gist_id}","starred_url":"https://api.github.com/users/JBossOutreach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JBossOutreach/subscriptions","organizations_url":"https://api.github.com/users/JBossOutreach/orgs","repos_url":"https://api.github.com/users/JBossOutreach/repos","events_url":"https://api.github.com/users/JBossOutreach/events{/privacy}","received_events_url":"https://api.github.com/users/JBossOutreach/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/JBossOutreach/certificate-generator-front","description":null,"fork":false,"url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front","forks_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/forks","keys_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/teams","hooks_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/hooks","issue_events_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/issues/events{/number}","events_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/events","assignees_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/assignees{/user}","branches_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/branches{/branch}","tags_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/tags","blobs_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/git/refs{/sha}","trees_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/statuses/{sha}","languages_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/languages","stargazers_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/stargazers","contributors_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/contributors","subscribers_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/subscribers","subscription_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/subscription","commits_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/commits{/sha}","git_commits_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/git/commits{/sha}","comments_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/comments{/number}","issue_comment_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/issues/comments{/number}","contents_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/contents/{+path}","compare_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/merges","archive_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/downloads","issues_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/issues{/number}","pulls_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/pulls{/number}","milestones_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/milestones{/number}","notifications_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/labels{/name}","releases_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/releases{/id}","deployments_url":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/deployments","created_at":"2018-08-06T13:38:58Z","updated_at":"2018-12-11T16:15:18Z","pushed_at":"2018-12-11T18:03:12Z","git_url":"git://github.com/JBossOutreach/certificate-generator-front.git","ssh_url":"git@github.com:JBossOutreach/certificate-generator-front.git","clone_url":"https://github.com/JBossOutreach/certificate-generator-front.git","svn_url":"https://github.com/JBossOutreach/certificate-generator-front","homepage":null,"size":1038,"stargazers_count":18,"watchers_count":18,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"archived":false,"open_issues_count":28,"license":null,"forks":51,"open_issues":28,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/pulls/240"},"html":{"href":"https://github.com/JBossOutreach/certificate-generator-front/pull/240"},"issue":{"href":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/issues/240"},"comments":{"href":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/issues/240/comments"},"review_comments":{"href":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/pulls/240/comments"},"review_comment":{"href":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/pulls/240/commits"},"statuses":{"href":"https://api.github.com/repos/JBossOutreach/certificate-generator-front/statuses/f3223994fa73686cdbd833c06a99d83b41e5de22"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"nikitadhiman"}}