{"action":"created","comment":{"url":"https://api.github.com/repos/monicahq/monica/pulls/comments/176924643","pull_request_review_id":106714702,"id":176924643,"diff_hunk":"@@ -0,0 +1,24 @@\n+<?php\n+\n+namespace App\\Helpers;\n+\n+use Vinkla\\Hashids\\Facades\\Hashids;\n+\n+class idHasher","path":"app/Helpers/idHasher.php","position":null,"original_position":7,"commit_id":"25ffb7a5ff8922028928053a5d2d53bad13198f2","original_commit_id":"0aac673d50160f1984de7d3bf784154c335b80d6","user":{"login":"turtles2","id":3653818,"avatar_url":"https://avatars2.githubusercontent.com/u/3653818?v=4","gravatar_id":"","url":"https://api.github.com/users/turtles2","html_url":"https://github.com/turtles2","followers_url":"https://api.github.com/users/turtles2/followers","following_url":"https://api.github.com/users/turtles2/following{/other_user}","gists_url":"https://api.github.com/users/turtles2/gists{/gist_id}","starred_url":"https://api.github.com/users/turtles2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turtles2/subscriptions","organizations_url":"https://api.github.com/users/turtles2/orgs","repos_url":"https://api.github.com/users/turtles2/repos","events_url":"https://api.github.com/users/turtles2/events{/privacy}","received_events_url":"https://api.github.com/users/turtles2/received_events","type":"User","site_admin":false},"body":"Done","created_at":"2018-03-25T01:00:12Z","updated_at":"2018-03-25T01:00:12Z","html_url":"https://github.com/monicahq/monica/pull/777#discussion_r176924643","pull_request_url":"https://api.github.com/repos/monicahq/monica/pulls/777","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/monicahq/monica/pulls/comments/176924643"},"html":{"href":"https://github.com/monicahq/monica/pull/777#discussion_r176924643"},"pull_request":{"href":"https://api.github.com/repos/monicahq/monica/pulls/777"}},"in_reply_to_id":173716786},"pull_request":{"url":"https://api.github.com/repos/monicahq/monica/pulls/777","id":161692069,"html_url":"https://github.com/monicahq/monica/pull/777","diff_url":"https://github.com/monicahq/monica/pull/777.diff","patch_url":"https://github.com/monicahq/monica/pull/777.patch","issue_url":"https://api.github.com/repos/monicahq/monica/issues/777","number":777,"state":"open","locked":false,"title":"Add #381 Add hash ids instead of actual ID for model routes [WIP]","user":{"login":"turtles2","id":3653818,"avatar_url":"https://avatars2.githubusercontent.com/u/3653818?v=4","gravatar_id":"","url":"https://api.github.com/users/turtles2","html_url":"https://github.com/turtles2","followers_url":"https://api.github.com/users/turtles2/followers","following_url":"https://api.github.com/users/turtles2/following{/other_user}","gists_url":"https://api.github.com/users/turtles2/gists{/gist_id}","starred_url":"https://api.github.com/users/turtles2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turtles2/subscriptions","organizations_url":"https://api.github.com/users/turtles2/orgs","repos_url":"https://api.github.com/users/turtles2/repos","events_url":"https://api.github.com/users/turtles2/events{/privacy}","received_events_url":"https://api.github.com/users/turtles2/received_events","type":"User","site_admin":false},"body":"This will add #381 . Its current state its a proof of concept it needs the following things which I will work on.  \r\n\r\n- [x] Extend to all Models \r\n- [x] Add Tests for added functions \r\n- [x] Modify Tests to Work with new URL structure \r\n- [x] Allow both old and new URLs to work\r\n- [x] Add HashIDs to URLs that don't use binding  (Add ones from review)","created_at":"2018-01-08T18:15:29Z","updated_at":"2018-03-25T01:00:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2b8cb6f9b8fb0b7ffb113eed1a9627a7e823e21e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/monicahq/monica/pulls/777/commits","review_comments_url":"https://api.github.com/repos/monicahq/monica/pulls/777/comments","review_comment_url":"https://api.github.com/repos/monicahq/monica/pulls/comments{/number}","comments_url":"https://api.github.com/repos/monicahq/monica/issues/777/comments","statuses_url":"https://api.github.com/repos/monicahq/monica/statuses/25ffb7a5ff8922028928053a5d2d53bad13198f2","head":{"label":"turtles2:381","ref":"381","sha":"25ffb7a5ff8922028928053a5d2d53bad13198f2","user":{"login":"turtles2","id":3653818,"avatar_url":"https://avatars2.githubusercontent.com/u/3653818?v=4","gravatar_id":"","url":"https://api.github.com/users/turtles2","html_url":"https://github.com/turtles2","followers_url":"https://api.github.com/users/turtles2/followers","following_url":"https://api.github.com/users/turtles2/following{/other_user}","gists_url":"https://api.github.com/users/turtles2/gists{/gist_id}","starred_url":"https://api.github.com/users/turtles2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turtles2/subscriptions","organizations_url":"https://api.github.com/users/turtles2/orgs","repos_url":"https://api.github.com/users/turtles2/repos","events_url":"https://api.github.com/users/turtles2/events{/privacy}","received_events_url":"https://api.github.com/users/turtles2/received_events","type":"User","site_admin":false},"repo":{"id":115372737,"name":"monica","full_name":"turtles2/monica","owner":{"login":"turtles2","id":3653818,"avatar_url":"https://avatars2.githubusercontent.com/u/3653818?v=4","gravatar_id":"","url":"https://api.github.com/users/turtles2","html_url":"https://github.com/turtles2","followers_url":"https://api.github.com/users/turtles2/followers","following_url":"https://api.github.com/users/turtles2/following{/other_user}","gists_url":"https://api.github.com/users/turtles2/gists{/gist_id}","starred_url":"https://api.github.com/users/turtles2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turtles2/subscriptions","organizations_url":"https://api.github.com/users/turtles2/orgs","repos_url":"https://api.github.com/users/turtles2/repos","events_url":"https://api.github.com/users/turtles2/events{/privacy}","received_events_url":"https://api.github.com/users/turtles2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/turtles2/monica","description":"Intuitive web application to remember everything about your friends and family.","fork":true,"url":"https://api.github.com/repos/turtles2/monica","forks_url":"https://api.github.com/repos/turtles2/monica/forks","keys_url":"https://api.github.com/repos/turtles2/monica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/turtles2/monica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/turtles2/monica/teams","hooks_url":"https://api.github.com/repos/turtles2/monica/hooks","issue_events_url":"https://api.github.com/repos/turtles2/monica/issues/events{/number}","events_url":"https://api.github.com/repos/turtles2/monica/events","assignees_url":"https://api.github.com/repos/turtles2/monica/assignees{/user}","branches_url":"https://api.github.com/repos/turtles2/monica/branches{/branch}","tags_url":"https://api.github.com/repos/turtles2/monica/tags","blobs_url":"https://api.github.com/repos/turtles2/monica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/turtles2/monica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/turtles2/monica/git/refs{/sha}","trees_url":"https://api.github.com/repos/turtles2/monica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/turtles2/monica/statuses/{sha}","languages_url":"https://api.github.com/repos/turtles2/monica/languages","stargazers_url":"https://api.github.com/repos/turtles2/monica/stargazers","contributors_url":"https://api.github.com/repos/turtles2/monica/contributors","subscribers_url":"https://api.github.com/repos/turtles2/monica/subscribers","subscription_url":"https://api.github.com/repos/turtles2/monica/subscription","commits_url":"https://api.github.com/repos/turtles2/monica/commits{/sha}","git_commits_url":"https://api.github.com/repos/turtles2/monica/git/commits{/sha}","comments_url":"https://api.github.com/repos/turtles2/monica/comments{/number}","issue_comment_url":"https://api.github.com/repos/turtles2/monica/issues/comments{/number}","contents_url":"https://api.github.com/repos/turtles2/monica/contents/{+path}","compare_url":"https://api.github.com/repos/turtles2/monica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/turtles2/monica/merges","archive_url":"https://api.github.com/repos/turtles2/monica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/turtles2/monica/downloads","issues_url":"https://api.github.com/repos/turtles2/monica/issues{/number}","pulls_url":"https://api.github.com/repos/turtles2/monica/pulls{/number}","milestones_url":"https://api.github.com/repos/turtles2/monica/milestones{/number}","notifications_url":"https://api.github.com/repos/turtles2/monica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/turtles2/monica/labels{/name}","releases_url":"https://api.github.com/repos/turtles2/monica/releases{/id}","deployments_url":"https://api.github.com/repos/turtles2/monica/deployments","created_at":"2017-12-26T01:13:28Z","updated_at":"2017-12-26T01:13:30Z","pushed_at":"2018-03-25T00:59:40Z","git_url":"git://github.com/turtles2/monica.git","ssh_url":"git@github.com:turtles2/monica.git","clone_url":"https://github.com/turtles2/monica.git","svn_url":"https://github.com/turtles2/monica","homepage":"https://monicahq.com","size":34058,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"monicahq:master","ref":"master","sha":"ce7ecf5adcef51af15eab1fc13814827d7a15c58","user":{"login":"monicahq","id":25832602,"avatar_url":"https://avatars3.githubusercontent.com/u/25832602?v=4","gravatar_id":"","url":"https://api.github.com/users/monicahq","html_url":"https://github.com/monicahq","followers_url":"https://api.github.com/users/monicahq/followers","following_url":"https://api.github.com/users/monicahq/following{/other_user}","gists_url":"https://api.github.com/users/monicahq/gists{/gist_id}","starred_url":"https://api.github.com/users/monicahq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monicahq/subscriptions","organizations_url":"https://api.github.com/users/monicahq/orgs","repos_url":"https://api.github.com/users/monicahq/repos","events_url":"https://api.github.com/users/monicahq/events{/privacy}","received_events_url":"https://api.github.com/users/monicahq/received_events","type":"Organization","site_admin":false},"repo":{"id":82238168,"name":"monica","full_name":"monicahq/monica","owner":{"login":"monicahq","id":25832602,"avatar_url":"https://avatars3.githubusercontent.com/u/25832602?v=4","gravatar_id":"","url":"https://api.github.com/users/monicahq","html_url":"https://github.com/monicahq","followers_url":"https://api.github.com/users/monicahq/followers","following_url":"https://api.github.com/users/monicahq/following{/other_user}","gists_url":"https://api.github.com/users/monicahq/gists{/gist_id}","starred_url":"https://api.github.com/users/monicahq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monicahq/subscriptions","organizations_url":"https://api.github.com/users/monicahq/orgs","repos_url":"https://api.github.com/users/monicahq/repos","events_url":"https://api.github.com/users/monicahq/events{/privacy}","received_events_url":"https://api.github.com/users/monicahq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/monicahq/monica","description":"Intuitive web application to remember everything about your friends and family.","fork":false,"url":"https://api.github.com/repos/monicahq/monica","forks_url":"https://api.github.com/repos/monicahq/monica/forks","keys_url":"https://api.github.com/repos/monicahq/monica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/monicahq/monica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/monicahq/monica/teams","hooks_url":"https://api.github.com/repos/monicahq/monica/hooks","issue_events_url":"https://api.github.com/repos/monicahq/monica/issues/events{/number}","events_url":"https://api.github.com/repos/monicahq/monica/events","assignees_url":"https://api.github.com/repos/monicahq/monica/assignees{/user}","branches_url":"https://api.github.com/repos/monicahq/monica/branches{/branch}","tags_url":"https://api.github.com/repos/monicahq/monica/tags","blobs_url":"https://api.github.com/repos/monicahq/monica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/monicahq/monica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/monicahq/monica/git/refs{/sha}","trees_url":"https://api.github.com/repos/monicahq/monica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/monicahq/monica/statuses/{sha}","languages_url":"https://api.github.com/repos/monicahq/monica/languages","stargazers_url":"https://api.github.com/repos/monicahq/monica/stargazers","contributors_url":"https://api.github.com/repos/monicahq/monica/contributors","subscribers_url":"https://api.github.com/repos/monicahq/monica/subscribers","subscription_url":"https://api.github.com/repos/monicahq/monica/subscription","commits_url":"https://api.github.com/repos/monicahq/monica/commits{/sha}","git_commits_url":"https://api.github.com/repos/monicahq/monica/git/commits{/sha}","comments_url":"https://api.github.com/repos/monicahq/monica/comments{/number}","issue_comment_url":"https://api.github.com/repos/monicahq/monica/issues/comments{/number}","contents_url":"https://api.github.com/repos/monicahq/monica/contents/{+path}","compare_url":"https://api.github.com/repos/monicahq/monica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/monicahq/monica/merges","archive_url":"https://api.github.com/repos/monicahq/monica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/monicahq/monica/downloads","issues_url":"https://api.github.com/repos/monicahq/monica/issues{/number}","pulls_url":"https://api.github.com/repos/monicahq/monica/pulls{/number}","milestones_url":"https://api.github.com/repos/monicahq/monica/milestones{/number}","notifications_url":"https://api.github.com/repos/monicahq/monica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/monicahq/monica/labels{/name}","releases_url":"https://api.github.com/repos/monicahq/monica/releases{/id}","deployments_url":"https://api.github.com/repos/monicahq/monica/deployments","created_at":"2017-02-17T00:02:58Z","updated_at":"2018-03-24T19:18:06Z","pushed_at":"2018-03-25T00:59:42Z","git_url":"git://github.com/monicahq/monica.git","ssh_url":"git@github.com:monicahq/monica.git","clone_url":"https://github.com/monicahq/monica.git","svn_url":"https://github.com/monicahq/monica","homepage":"https://monicahq.com","size":35583,"stargazers_count":4183,"watchers_count":4183,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":476,"mirror_url":null,"archived":false,"open_issues_count":221,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":476,"open_issues":221,"watchers":4183,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/monicahq/monica/pulls/777"},"html":{"href":"https://github.com/monicahq/monica/pull/777"},"issue":{"href":"https://api.github.com/repos/monicahq/monica/issues/777"},"comments":{"href":"https://api.github.com/repos/monicahq/monica/issues/777/comments"},"review_comments":{"href":"https://api.github.com/repos/monicahq/monica/pulls/777/comments"},"review_comment":{"href":"https://api.github.com/repos/monicahq/monica/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/monicahq/monica/pulls/777/commits"},"statuses":{"href":"https://api.github.com/repos/monicahq/monica/statuses/25ffb7a5ff8922028928053a5d2d53bad13198f2"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"turtles2"}}