{"action":"created","comment":{"url":"https://api.github.com/repos/SadatAnwar/lunch-mator/pulls/comments/82870210","pull_request_review_id":3747107,"id":82870210,"diff_hunk":"@@ -0,0 +1,72 @@\n+import {Component} from '@angular/core';\n+import {Router} from '@angular/router';\n+import {RegistrationService} from 'app/authentication/services/registration.service';\n+import {PasswordValidationService} from 'app/authentication/services/passwordvalidation.service';\n+import {Http} from '@angular/http';\n+import {Error} from \"../../types/error\";\n+\n+@Component({\n+  selector: 'registration',\n+  templateUrl: 'assets/javascripts/app/authentication/components/registration/registration.component.html',\n+  providers: [Http]\n+})\n+export class RegistrationComponent {\n+  firstName: string;\n+  lastName: string;\n+  email: string;\n+  password: string;\n+  confirmPassword: string;\n+  error: Error = null;\n+  random = null;\n+\n+  constructor(private registrationService: RegistrationService,\n+              private passwordValidationService: PasswordValidationService,\n+              private router: Router) {\n+  }\n+\n+  ngAfterViewInit() {\n+    var number = this.randomGenerator();\n+    console.log(\"random number is \" + number);\n+    if (number % 2 == 0) {\n+      this.random = 1;\n+    }\n+  }\n+\n+  register() {\n+    this.passwordValidationService.validate(this.password, this.confirmPassword);\n+    if (this.passwordValidationService.isValid()) {","path":"app/assets/javascripts/app/authentication/components/registration/registration.component.ts","position":37,"original_position":37,"commit_id":"442d97339ec49dd489861cb775e4227e16cac3d9","original_commit_id":"442d97339ec49dd489861cb775e4227e16cac3d9","user":{"login":"wassertim","id":227707,"avatar_url":"https://avatars.githubusercontent.com/u/227707?v=3","gravatar_id":"","url":"https://api.github.com/users/wassertim","html_url":"https://github.com/wassertim","followers_url":"https://api.github.com/users/wassertim/followers","following_url":"https://api.github.com/users/wassertim/following{/other_user}","gists_url":"https://api.github.com/users/wassertim/gists{/gist_id}","starred_url":"https://api.github.com/users/wassertim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wassertim/subscriptions","organizations_url":"https://api.github.com/users/wassertim/orgs","repos_url":"https://api.github.com/users/wassertim/repos","events_url":"https://api.github.com/users/wassertim/events{/privacy}","received_events_url":"https://api.github.com/users/wassertim/received_events","type":"User","site_admin":false},"body":"not only read. But do it right after you read it :D","created_at":"2016-10-11T19:28:44Z","updated_at":"2016-10-11T19:28:44Z","html_url":"https://github.com/SadatAnwar/lunch-mator/pull/50#discussion_r82870210","pull_request_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/pulls/50","_links":{"self":{"href":"https://api.github.com/repos/SadatAnwar/lunch-mator/pulls/comments/82870210"},"html":{"href":"https://github.com/SadatAnwar/lunch-mator/pull/50#discussion_r82870210"},"pull_request":{"href":"https://api.github.com/repos/SadatAnwar/lunch-mator/pulls/50"}}},"pull_request":{"url":"https://api.github.com/repos/SadatAnwar/lunch-mator/pulls/50","id":88152472,"html_url":"https://github.com/SadatAnwar/lunch-mator/pull/50","diff_url":"https://github.com/SadatAnwar/lunch-mator/pull/50.diff","patch_url":"https://github.com/SadatAnwar/lunch-mator/pull/50.patch","issue_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/issues/50","number":50,"state":"open","locked":false,"title":"General ui awesomeness","user":{"login":"SadatAnwar","id":9266547,"avatar_url":"https://avatars.githubusercontent.com/u/9266547?v=3","gravatar_id":"","url":"https://api.github.com/users/SadatAnwar","html_url":"https://github.com/SadatAnwar","followers_url":"https://api.github.com/users/SadatAnwar/followers","following_url":"https://api.github.com/users/SadatAnwar/following{/other_user}","gists_url":"https://api.github.com/users/SadatAnwar/gists{/gist_id}","starred_url":"https://api.github.com/users/SadatAnwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SadatAnwar/subscriptions","organizations_url":"https://api.github.com/users/SadatAnwar/orgs","repos_url":"https://api.github.com/users/SadatAnwar/repos","events_url":"https://api.github.com/users/SadatAnwar/events{/privacy}","received_events_url":"https://api.github.com/users/SadatAnwar/received_events","type":"User","site_admin":false},"body":"@wassertim @cbertilsson just some face lifts \r\nIt looks a LOT cooler now (I think) what about you guys? \r\nThere is a minor issue, in the `/registration` page, the form has some issues with the corners, I guess something is trying to round it, but not properly, I would be happy if some one told me were to fix it. I would like the flat UI so no rounding ","created_at":"2016-10-05T20:38:53Z","updated_at":"2016-10-11T19:28:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"299337fc7a197e4dc7f6b6c6e155ecdc015ae0a4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/pulls/50/commits","review_comments_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/pulls/50/comments","review_comment_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/issues/50/comments","statuses_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/statuses/442d97339ec49dd489861cb775e4227e16cac3d9","head":{"label":"SadatAnwar:general_ui_awesomeness","ref":"general_ui_awesomeness","sha":"442d97339ec49dd489861cb775e4227e16cac3d9","user":{"login":"SadatAnwar","id":9266547,"avatar_url":"https://avatars.githubusercontent.com/u/9266547?v=3","gravatar_id":"","url":"https://api.github.com/users/SadatAnwar","html_url":"https://github.com/SadatAnwar","followers_url":"https://api.github.com/users/SadatAnwar/followers","following_url":"https://api.github.com/users/SadatAnwar/following{/other_user}","gists_url":"https://api.github.com/users/SadatAnwar/gists{/gist_id}","starred_url":"https://api.github.com/users/SadatAnwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SadatAnwar/subscriptions","organizations_url":"https://api.github.com/users/SadatAnwar/orgs","repos_url":"https://api.github.com/users/SadatAnwar/repos","events_url":"https://api.github.com/users/SadatAnwar/events{/privacy}","received_events_url":"https://api.github.com/users/SadatAnwar/received_events","type":"User","site_admin":false},"repo":{"id":66214393,"name":"lunch-mator","full_name":"SadatAnwar/lunch-mator","owner":{"login":"SadatAnwar","id":9266547,"avatar_url":"https://avatars.githubusercontent.com/u/9266547?v=3","gravatar_id":"","url":"https://api.github.com/users/SadatAnwar","html_url":"https://github.com/SadatAnwar","followers_url":"https://api.github.com/users/SadatAnwar/followers","following_url":"https://api.github.com/users/SadatAnwar/following{/other_user}","gists_url":"https://api.github.com/users/SadatAnwar/gists{/gist_id}","starred_url":"https://api.github.com/users/SadatAnwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SadatAnwar/subscriptions","organizations_url":"https://api.github.com/users/SadatAnwar/orgs","repos_url":"https://api.github.com/users/SadatAnwar/repos","events_url":"https://api.github.com/users/SadatAnwar/events{/privacy}","received_events_url":"https://api.github.com/users/SadatAnwar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SadatAnwar/lunch-mator","description":"alone for lunch? use lunch-mator to team up!","fork":false,"url":"https://api.github.com/repos/SadatAnwar/lunch-mator","forks_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/forks","keys_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/teams","hooks_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/hooks","issue_events_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/issues/events{/number}","events_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/events","assignees_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/assignees{/user}","branches_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/branches{/branch}","tags_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/tags","blobs_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/git/refs{/sha}","trees_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/statuses/{sha}","languages_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/languages","stargazers_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/stargazers","contributors_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/contributors","subscribers_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/subscribers","subscription_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/subscription","commits_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/commits{/sha}","git_commits_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/git/commits{/sha}","comments_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/comments{/number}","issue_comment_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/issues/comments{/number}","contents_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/contents/{+path}","compare_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/merges","archive_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/downloads","issues_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/issues{/number}","pulls_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/pulls{/number}","milestones_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/milestones{/number}","notifications_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/labels{/name}","releases_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/releases{/id}","deployments_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/deployments","created_at":"2016-08-21T18:34:38Z","updated_at":"2016-10-07T20:35:01Z","pushed_at":"2016-10-09T20:48:29Z","git_url":"git://github.com/SadatAnwar/lunch-mator.git","ssh_url":"git@github.com:SadatAnwar/lunch-mator.git","clone_url":"https://github.com/SadatAnwar/lunch-mator.git","svn_url":"https://github.com/SadatAnwar/lunch-mator","homepage":"","size":309,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":20,"forks":0,"open_issues":20,"watchers":1,"default_branch":"master"}},"base":{"label":"SadatAnwar:master","ref":"master","sha":"bd9061edd26c0ed2b9d4d43204e703a1d9ab6732","user":{"login":"SadatAnwar","id":9266547,"avatar_url":"https://avatars.githubusercontent.com/u/9266547?v=3","gravatar_id":"","url":"https://api.github.com/users/SadatAnwar","html_url":"https://github.com/SadatAnwar","followers_url":"https://api.github.com/users/SadatAnwar/followers","following_url":"https://api.github.com/users/SadatAnwar/following{/other_user}","gists_url":"https://api.github.com/users/SadatAnwar/gists{/gist_id}","starred_url":"https://api.github.com/users/SadatAnwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SadatAnwar/subscriptions","organizations_url":"https://api.github.com/users/SadatAnwar/orgs","repos_url":"https://api.github.com/users/SadatAnwar/repos","events_url":"https://api.github.com/users/SadatAnwar/events{/privacy}","received_events_url":"https://api.github.com/users/SadatAnwar/received_events","type":"User","site_admin":false},"repo":{"id":66214393,"name":"lunch-mator","full_name":"SadatAnwar/lunch-mator","owner":{"login":"SadatAnwar","id":9266547,"avatar_url":"https://avatars.githubusercontent.com/u/9266547?v=3","gravatar_id":"","url":"https://api.github.com/users/SadatAnwar","html_url":"https://github.com/SadatAnwar","followers_url":"https://api.github.com/users/SadatAnwar/followers","following_url":"https://api.github.com/users/SadatAnwar/following{/other_user}","gists_url":"https://api.github.com/users/SadatAnwar/gists{/gist_id}","starred_url":"https://api.github.com/users/SadatAnwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SadatAnwar/subscriptions","organizations_url":"https://api.github.com/users/SadatAnwar/orgs","repos_url":"https://api.github.com/users/SadatAnwar/repos","events_url":"https://api.github.com/users/SadatAnwar/events{/privacy}","received_events_url":"https://api.github.com/users/SadatAnwar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SadatAnwar/lunch-mator","description":"alone for lunch? use lunch-mator to team up!","fork":false,"url":"https://api.github.com/repos/SadatAnwar/lunch-mator","forks_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/forks","keys_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/teams","hooks_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/hooks","issue_events_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/issues/events{/number}","events_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/events","assignees_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/assignees{/user}","branches_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/branches{/branch}","tags_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/tags","blobs_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/git/refs{/sha}","trees_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/statuses/{sha}","languages_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/languages","stargazers_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/stargazers","contributors_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/contributors","subscribers_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/subscribers","subscription_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/subscription","commits_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/commits{/sha}","git_commits_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/git/commits{/sha}","comments_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/comments{/number}","issue_comment_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/issues/comments{/number}","contents_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/contents/{+path}","compare_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/merges","archive_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/downloads","issues_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/issues{/number}","pulls_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/pulls{/number}","milestones_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/milestones{/number}","notifications_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/labels{/name}","releases_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/releases{/id}","deployments_url":"https://api.github.com/repos/SadatAnwar/lunch-mator/deployments","created_at":"2016-08-21T18:34:38Z","updated_at":"2016-10-07T20:35:01Z","pushed_at":"2016-10-09T20:48:29Z","git_url":"git://github.com/SadatAnwar/lunch-mator.git","ssh_url":"git@github.com:SadatAnwar/lunch-mator.git","clone_url":"https://github.com/SadatAnwar/lunch-mator.git","svn_url":"https://github.com/SadatAnwar/lunch-mator","homepage":"","size":309,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":20,"forks":0,"open_issues":20,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SadatAnwar/lunch-mator/pulls/50"},"html":{"href":"https://github.com/SadatAnwar/lunch-mator/pull/50"},"issue":{"href":"https://api.github.com/repos/SadatAnwar/lunch-mator/issues/50"},"comments":{"href":"https://api.github.com/repos/SadatAnwar/lunch-mator/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/SadatAnwar/lunch-mator/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/SadatAnwar/lunch-mator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SadatAnwar/lunch-mator/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/SadatAnwar/lunch-mator/statuses/442d97339ec49dd489861cb775e4227e16cac3d9"}}}}
{"actor":{"display_login":"wassertim"}}