{"action":"created","comment":{"url":"https://api.github.com/repos/CodeForPoznan/volontulo/pulls/comments/167452669","pull_request_review_id":95672556,"id":167452669,"diff_hunk":"@@ -0,0 +1,83 @@\n+import { Component, OnInit } from '@angular/core';\n+import { Offer } from 'app/homepage-offer/offers.model';\n+import { AuthService } from 'app/auth.service';\n+import { User } from 'app/user';\n+import { Observable } from 'rxjs/Observable';\n+import 'rxjs/add/operator/map';\n+import { OffersService } from 'app/homepage-offer/offers.service';\n+import { ActivatedRoute, Params } from '@angular/router';\n+import { environment } from 'environments/environment';\n+\n+@Component({\n+  selector: 'volontulo-create-offer',\n+  templateUrl: './create-offer.component.html',\n+  styleUrls: ['./create-offer.component.scss']\n+})\n+export class CreateOfferComponent implements OnInit {\n+  createOrEdit = 'Tworzenie';\n+  djangoRoot: string;\n+  edit = false;\n+  offer: Offer = new Offer;\n+  user: User;\n+  isAdmin = false;\n+  hasOrganization = false;\n+\n+  constructor(\n+    private authService: AuthService,","path":"frontend/src/app/offers/create-offer/create-offer.component.ts","position":26,"original_position":26,"commit_id":"9662d59a7657663eec0b7a65ce542378ca87c0b1","original_commit_id":"9662d59a7657663eec0b7a65ce542378ca87c0b1","user":{"login":"CorneeSean","id":15725585,"avatar_url":"https://avatars0.githubusercontent.com/u/15725585?v=4","gravatar_id":"","url":"https://api.github.com/users/CorneeSean","html_url":"https://github.com/CorneeSean","followers_url":"https://api.github.com/users/CorneeSean/followers","following_url":"https://api.github.com/users/CorneeSean/following{/other_user}","gists_url":"https://api.github.com/users/CorneeSean/gists{/gist_id}","starred_url":"https://api.github.com/users/CorneeSean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CorneeSean/subscriptions","organizations_url":"https://api.github.com/users/CorneeSean/orgs","repos_url":"https://api.github.com/users/CorneeSean/repos","events_url":"https://api.github.com/users/CorneeSean/events{/privacy}","received_events_url":"https://api.github.com/users/CorneeSean/received_events","type":"User","site_admin":false},"body":"Also @jacol12345 thinks we shouldn't use it. I really think underscores increase readability, but Angular styleguide also discourages them. https://angular.io/guide/styleguide#properties-and-methods\r\n\r\nLet's just make a decision on that and do not allow a new code which does not stick to what we agree on ;)","created_at":"2018-02-11T22:31:19Z","updated_at":"2018-02-11T22:31:19Z","html_url":"https://github.com/CodeForPoznan/volontulo/pull/831#discussion_r167452669","pull_request_url":"https://api.github.com/repos/CodeForPoznan/volontulo/pulls/831","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/CodeForPoznan/volontulo/pulls/comments/167452669"},"html":{"href":"https://github.com/CodeForPoznan/volontulo/pull/831#discussion_r167452669"},"pull_request":{"href":"https://api.github.com/repos/CodeForPoznan/volontulo/pulls/831"}},"in_reply_to_id":166802134},"pull_request":{"url":"https://api.github.com/repos/CodeForPoznan/volontulo/pulls/831","id":167751842,"html_url":"https://github.com/CodeForPoznan/volontulo/pull/831","diff_url":"https://github.com/CodeForPoznan/volontulo/pull/831.diff","patch_url":"https://github.com/CodeForPoznan/volontulo/pull/831.patch","issue_url":"https://api.github.com/repos/CodeForPoznan/volontulo/issues/831","number":831,"state":"open","locked":false,"title":"Creating and editing offers in Angular #825","user":{"login":"weronikafelczak","id":32519132,"avatar_url":"https://avatars3.githubusercontent.com/u/32519132?v=4","gravatar_id":"","url":"https://api.github.com/users/weronikafelczak","html_url":"https://github.com/weronikafelczak","followers_url":"https://api.github.com/users/weronikafelczak/followers","following_url":"https://api.github.com/users/weronikafelczak/following{/other_user}","gists_url":"https://api.github.com/users/weronikafelczak/gists{/gist_id}","starred_url":"https://api.github.com/users/weronikafelczak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weronikafelczak/subscriptions","organizations_url":"https://api.github.com/users/weronikafelczak/orgs","repos_url":"https://api.github.com/users/weronikafelczak/repos","events_url":"https://api.github.com/users/weronikafelczak/events{/privacy}","received_events_url":"https://api.github.com/users/weronikafelczak/received_events","type":"User","site_admin":false},"body":"__Description:__\r\n\r\nCreating and editing offers are handled by Angular.\r\n\r\n__New imports / dependencies:__\r\n\r\n* `package`\r\n\r\n__Unit Tests:__\r\n\r\n* `apps/volontulo/tests/views/test_auth.py`\r\n\r\n__What tests do I need to run to validate this change:__\r\n\r\nDescription of testing workflow and potential affected places.\r\n","created_at":"2018-02-07T17:02:58Z","updated_at":"2018-02-11T22:31:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1150165d2a594d0764edbc2581e5cd6d7ff25e06","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CodeForPoznan/volontulo/pulls/831/commits","review_comments_url":"https://api.github.com/repos/CodeForPoznan/volontulo/pulls/831/comments","review_comment_url":"https://api.github.com/repos/CodeForPoznan/volontulo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CodeForPoznan/volontulo/issues/831/comments","statuses_url":"https://api.github.com/repos/CodeForPoznan/volontulo/statuses/9662d59a7657663eec0b7a65ce542378ca87c0b1","head":{"label":"weronikafelczak:create_offer","ref":"create_offer","sha":"9662d59a7657663eec0b7a65ce542378ca87c0b1","user":{"login":"weronikafelczak","id":32519132,"avatar_url":"https://avatars3.githubusercontent.com/u/32519132?v=4","gravatar_id":"","url":"https://api.github.com/users/weronikafelczak","html_url":"https://github.com/weronikafelczak","followers_url":"https://api.github.com/users/weronikafelczak/followers","following_url":"https://api.github.com/users/weronikafelczak/following{/other_user}","gists_url":"https://api.github.com/users/weronikafelczak/gists{/gist_id}","starred_url":"https://api.github.com/users/weronikafelczak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weronikafelczak/subscriptions","organizations_url":"https://api.github.com/users/weronikafelczak/orgs","repos_url":"https://api.github.com/users/weronikafelczak/repos","events_url":"https://api.github.com/users/weronikafelczak/events{/privacy}","received_events_url":"https://api.github.com/users/weronikafelczak/received_events","type":"User","site_admin":false},"repo":{"id":105787077,"name":"volontulo","full_name":"weronikafelczak/volontulo","owner":{"login":"weronikafelczak","id":32519132,"avatar_url":"https://avatars3.githubusercontent.com/u/32519132?v=4","gravatar_id":"","url":"https://api.github.com/users/weronikafelczak","html_url":"https://github.com/weronikafelczak","followers_url":"https://api.github.com/users/weronikafelczak/followers","following_url":"https://api.github.com/users/weronikafelczak/following{/other_user}","gists_url":"https://api.github.com/users/weronikafelczak/gists{/gist_id}","starred_url":"https://api.github.com/users/weronikafelczak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weronikafelczak/subscriptions","organizations_url":"https://api.github.com/users/weronikafelczak/orgs","repos_url":"https://api.github.com/users/weronikafelczak/repos","events_url":"https://api.github.com/users/weronikafelczak/events{/privacy}","received_events_url":"https://api.github.com/users/weronikafelczak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/weronikafelczak/volontulo","description":"Web portal for collaboration of community volunteers with organizations and institutions.","fork":true,"url":"https://api.github.com/repos/weronikafelczak/volontulo","forks_url":"https://api.github.com/repos/weronikafelczak/volontulo/forks","keys_url":"https://api.github.com/repos/weronikafelczak/volontulo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/weronikafelczak/volontulo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/weronikafelczak/volontulo/teams","hooks_url":"https://api.github.com/repos/weronikafelczak/volontulo/hooks","issue_events_url":"https://api.github.com/repos/weronikafelczak/volontulo/issues/events{/number}","events_url":"https://api.github.com/repos/weronikafelczak/volontulo/events","assignees_url":"https://api.github.com/repos/weronikafelczak/volontulo/assignees{/user}","branches_url":"https://api.github.com/repos/weronikafelczak/volontulo/branches{/branch}","tags_url":"https://api.github.com/repos/weronikafelczak/volontulo/tags","blobs_url":"https://api.github.com/repos/weronikafelczak/volontulo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/weronikafelczak/volontulo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/weronikafelczak/volontulo/git/refs{/sha}","trees_url":"https://api.github.com/repos/weronikafelczak/volontulo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/weronikafelczak/volontulo/statuses/{sha}","languages_url":"https://api.github.com/repos/weronikafelczak/volontulo/languages","stargazers_url":"https://api.github.com/repos/weronikafelczak/volontulo/stargazers","contributors_url":"https://api.github.com/repos/weronikafelczak/volontulo/contributors","subscribers_url":"https://api.github.com/repos/weronikafelczak/volontulo/subscribers","subscription_url":"https://api.github.com/repos/weronikafelczak/volontulo/subscription","commits_url":"https://api.github.com/repos/weronikafelczak/volontulo/commits{/sha}","git_commits_url":"https://api.github.com/repos/weronikafelczak/volontulo/git/commits{/sha}","comments_url":"https://api.github.com/repos/weronikafelczak/volontulo/comments{/number}","issue_comment_url":"https://api.github.com/repos/weronikafelczak/volontulo/issues/comments{/number}","contents_url":"https://api.github.com/repos/weronikafelczak/volontulo/contents/{+path}","compare_url":"https://api.github.com/repos/weronikafelczak/volontulo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/weronikafelczak/volontulo/merges","archive_url":"https://api.github.com/repos/weronikafelczak/volontulo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/weronikafelczak/volontulo/downloads","issues_url":"https://api.github.com/repos/weronikafelczak/volontulo/issues{/number}","pulls_url":"https://api.github.com/repos/weronikafelczak/volontulo/pulls{/number}","milestones_url":"https://api.github.com/repos/weronikafelczak/volontulo/milestones{/number}","notifications_url":"https://api.github.com/repos/weronikafelczak/volontulo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/weronikafelczak/volontulo/labels{/name}","releases_url":"https://api.github.com/repos/weronikafelczak/volontulo/releases{/id}","deployments_url":"https://api.github.com/repos/weronikafelczak/volontulo/deployments","created_at":"2017-10-04T15:48:04Z","updated_at":"2017-10-04T15:48:06Z","pushed_at":"2018-02-07T22:01:35Z","git_url":"git://github.com/weronikafelczak/volontulo.git","ssh_url":"git@github.com:weronikafelczak/volontulo.git","clone_url":"https://github.com/weronikafelczak/volontulo.git","svn_url":"https://github.com/weronikafelczak/volontulo","homepage":"","size":15468,"stargazers_count":0,"watchers_count":0,"language":"Python","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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"CodeForPoznan:master","ref":"master","sha":"3a4c65a5a275af9e9ec32671f03340e3f48f2ee4","user":{"login":"CodeForPoznan","id":22869943,"avatar_url":"https://avatars2.githubusercontent.com/u/22869943?v=4","gravatar_id":"","url":"https://api.github.com/users/CodeForPoznan","html_url":"https://github.com/CodeForPoznan","followers_url":"https://api.github.com/users/CodeForPoznan/followers","following_url":"https://api.github.com/users/CodeForPoznan/following{/other_user}","gists_url":"https://api.github.com/users/CodeForPoznan/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeForPoznan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeForPoznan/subscriptions","organizations_url":"https://api.github.com/users/CodeForPoznan/orgs","repos_url":"https://api.github.com/users/CodeForPoznan/repos","events_url":"https://api.github.com/users/CodeForPoznan/events{/privacy}","received_events_url":"https://api.github.com/users/CodeForPoznan/received_events","type":"Organization","site_admin":false},"repo":{"id":71266781,"name":"volontulo","full_name":"CodeForPoznan/volontulo","owner":{"login":"CodeForPoznan","id":22869943,"avatar_url":"https://avatars2.githubusercontent.com/u/22869943?v=4","gravatar_id":"","url":"https://api.github.com/users/CodeForPoznan","html_url":"https://github.com/CodeForPoznan","followers_url":"https://api.github.com/users/CodeForPoznan/followers","following_url":"https://api.github.com/users/CodeForPoznan/following{/other_user}","gists_url":"https://api.github.com/users/CodeForPoznan/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeForPoznan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeForPoznan/subscriptions","organizations_url":"https://api.github.com/users/CodeForPoznan/orgs","repos_url":"https://api.github.com/users/CodeForPoznan/repos","events_url":"https://api.github.com/users/CodeForPoznan/events{/privacy}","received_events_url":"https://api.github.com/users/CodeForPoznan/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CodeForPoznan/volontulo","description":"Web portal for collaboration of community volunteers with organizations and institutions.","fork":true,"url":"https://api.github.com/repos/CodeForPoznan/volontulo","forks_url":"https://api.github.com/repos/CodeForPoznan/volontulo/forks","keys_url":"https://api.github.com/repos/CodeForPoznan/volontulo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodeForPoznan/volontulo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodeForPoznan/volontulo/teams","hooks_url":"https://api.github.com/repos/CodeForPoznan/volontulo/hooks","issue_events_url":"https://api.github.com/repos/CodeForPoznan/volontulo/issues/events{/number}","events_url":"https://api.github.com/repos/CodeForPoznan/volontulo/events","assignees_url":"https://api.github.com/repos/CodeForPoznan/volontulo/assignees{/user}","branches_url":"https://api.github.com/repos/CodeForPoznan/volontulo/branches{/branch}","tags_url":"https://api.github.com/repos/CodeForPoznan/volontulo/tags","blobs_url":"https://api.github.com/repos/CodeForPoznan/volontulo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodeForPoznan/volontulo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodeForPoznan/volontulo/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodeForPoznan/volontulo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodeForPoznan/volontulo/statuses/{sha}","languages_url":"https://api.github.com/repos/CodeForPoznan/volontulo/languages","stargazers_url":"https://api.github.com/repos/CodeForPoznan/volontulo/stargazers","contributors_url":"https://api.github.com/repos/CodeForPoznan/volontulo/contributors","subscribers_url":"https://api.github.com/repos/CodeForPoznan/volontulo/subscribers","subscription_url":"https://api.github.com/repos/CodeForPoznan/volontulo/subscription","commits_url":"https://api.github.com/repos/CodeForPoznan/volontulo/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodeForPoznan/volontulo/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodeForPoznan/volontulo/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodeForPoznan/volontulo/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodeForPoznan/volontulo/contents/{+path}","compare_url":"https://api.github.com/repos/CodeForPoznan/volontulo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodeForPoznan/volontulo/merges","archive_url":"https://api.github.com/repos/CodeForPoznan/volontulo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodeForPoznan/volontulo/downloads","issues_url":"https://api.github.com/repos/CodeForPoznan/volontulo/issues{/number}","pulls_url":"https://api.github.com/repos/CodeForPoznan/volontulo/pulls{/number}","milestones_url":"https://api.github.com/repos/CodeForPoznan/volontulo/milestones{/number}","notifications_url":"https://api.github.com/repos/CodeForPoznan/volontulo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodeForPoznan/volontulo/labels{/name}","releases_url":"https://api.github.com/repos/CodeForPoznan/volontulo/releases{/id}","deployments_url":"https://api.github.com/repos/CodeForPoznan/volontulo/deployments","created_at":"2016-10-18T16:09:52Z","updated_at":"2018-02-05T09:09:24Z","pushed_at":"2018-02-11T20:48:52Z","git_url":"git://github.com/CodeForPoznan/volontulo.git","ssh_url":"git@github.com:CodeForPoznan/volontulo.git","clone_url":"https://github.com/CodeForPoznan/volontulo.git","svn_url":"https://github.com/CodeForPoznan/volontulo","homepage":"","size":15378,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"archived":false,"open_issues_count":44,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":35,"open_issues":44,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CodeForPoznan/volontulo/pulls/831"},"html":{"href":"https://github.com/CodeForPoznan/volontulo/pull/831"},"issue":{"href":"https://api.github.com/repos/CodeForPoznan/volontulo/issues/831"},"comments":{"href":"https://api.github.com/repos/CodeForPoznan/volontulo/issues/831/comments"},"review_comments":{"href":"https://api.github.com/repos/CodeForPoznan/volontulo/pulls/831/comments"},"review_comment":{"href":"https://api.github.com/repos/CodeForPoznan/volontulo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CodeForPoznan/volontulo/pulls/831/commits"},"statuses":{"href":"https://api.github.com/repos/CodeForPoznan/volontulo/statuses/9662d59a7657663eec0b7a65ce542378ca87c0b1"}},"author_association":"NONE"}}
{"actor":{"display_login":"CorneeSean"}}