{"action":"opened","number":135,"pull_request":{"url":"https://api.github.com/repos/brijeshb42/medium-draft/pulls/135","id":196832336,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2ODMyMzM2","html_url":"https://github.com/brijeshb42/medium-draft/pull/135","diff_url":"https://github.com/brijeshb42/medium-draft/pull/135.diff","patch_url":"https://github.com/brijeshb42/medium-draft/pull/135.patch","issue_url":"https://api.github.com/repos/brijeshb42/medium-draft/issues/135","number":135,"state":"open","locked":false,"title":"Fix url handling","user":{"login":"odinuge","id":1467188,"node_id":"MDQ6VXNlcjE0NjcxODg=","avatar_url":"https://avatars2.githubusercontent.com/u/1467188?v=4","gravatar_id":"","url":"https://api.github.com/users/odinuge","html_url":"https://github.com/odinuge","followers_url":"https://api.github.com/users/odinuge/followers","following_url":"https://api.github.com/users/odinuge/following{/other_user}","gists_url":"https://api.github.com/users/odinuge/gists{/gist_id}","starred_url":"https://api.github.com/users/odinuge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odinuge/subscriptions","organizations_url":"https://api.github.com/users/odinuge/orgs","repos_url":"https://api.github.com/users/odinuge/repos","events_url":"https://api.github.com/users/odinuge/events{/privacy}","received_events_url":"https://api.github.com/users/odinuge/received_events","type":"User","site_admin":false},"body":"Small change to the link handling.\r\n\r\nWith this PR:\r\n* Links with without the prefix 'http', but with 'http' inside the\r\nlink/text will now be prefixed with 'http://'\r\n* Links with the prefix 'mailto:' will not get another 'mailto:' after\r\nbeing edited. *PS*: This bug is very annoying :laughing: \r\n\r\nThis algorithm (if we can call it that) should probably be tested, but then it have to be extracted into a separate function. Ill let that be up to the maintainers. :smile:\r\n\r\n\r\nOtherwise, awesome editor! Thanks for your work :beer: ","created_at":"2018-06-22T20:01:38Z","updated_at":"2018-06-22T20:01:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/brijeshb42/medium-draft/pulls/135/commits","review_comments_url":"https://api.github.com/repos/brijeshb42/medium-draft/pulls/135/comments","review_comment_url":"https://api.github.com/repos/brijeshb42/medium-draft/pulls/comments{/number}","comments_url":"https://api.github.com/repos/brijeshb42/medium-draft/issues/135/comments","statuses_url":"https://api.github.com/repos/brijeshb42/medium-draft/statuses/8abcb401f4ba1bd181b5c42be3450107f6c73d82","head":{"label":"odinuge:url-edit","ref":"url-edit","sha":"8abcb401f4ba1bd181b5c42be3450107f6c73d82","user":{"login":"odinuge","id":1467188,"node_id":"MDQ6VXNlcjE0NjcxODg=","avatar_url":"https://avatars2.githubusercontent.com/u/1467188?v=4","gravatar_id":"","url":"https://api.github.com/users/odinuge","html_url":"https://github.com/odinuge","followers_url":"https://api.github.com/users/odinuge/followers","following_url":"https://api.github.com/users/odinuge/following{/other_user}","gists_url":"https://api.github.com/users/odinuge/gists{/gist_id}","starred_url":"https://api.github.com/users/odinuge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odinuge/subscriptions","organizations_url":"https://api.github.com/users/odinuge/orgs","repos_url":"https://api.github.com/users/odinuge/repos","events_url":"https://api.github.com/users/odinuge/events{/privacy}","received_events_url":"https://api.github.com/users/odinuge/received_events","type":"User","site_admin":false},"repo":{"id":137120414,"node_id":"MDEwOlJlcG9zaXRvcnkxMzcxMjA0MTQ=","name":"medium-draft","full_name":"odinuge/medium-draft","owner":{"login":"odinuge","id":1467188,"node_id":"MDQ6VXNlcjE0NjcxODg=","avatar_url":"https://avatars2.githubusercontent.com/u/1467188?v=4","gravatar_id":"","url":"https://api.github.com/users/odinuge","html_url":"https://github.com/odinuge","followers_url":"https://api.github.com/users/odinuge/followers","following_url":"https://api.github.com/users/odinuge/following{/other_user}","gists_url":"https://api.github.com/users/odinuge/gists{/gist_id}","starred_url":"https://api.github.com/users/odinuge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odinuge/subscriptions","organizations_url":"https://api.github.com/users/odinuge/orgs","repos_url":"https://api.github.com/users/odinuge/repos","events_url":"https://api.github.com/users/odinuge/events{/privacy}","received_events_url":"https://api.github.com/users/odinuge/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/odinuge/medium-draft","description":"📝 A medium like Rich Text Editor built on draft-js with a focus on keyboard shortcuts.","fork":true,"url":"https://api.github.com/repos/odinuge/medium-draft","forks_url":"https://api.github.com/repos/odinuge/medium-draft/forks","keys_url":"https://api.github.com/repos/odinuge/medium-draft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odinuge/medium-draft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odinuge/medium-draft/teams","hooks_url":"https://api.github.com/repos/odinuge/medium-draft/hooks","issue_events_url":"https://api.github.com/repos/odinuge/medium-draft/issues/events{/number}","events_url":"https://api.github.com/repos/odinuge/medium-draft/events","assignees_url":"https://api.github.com/repos/odinuge/medium-draft/assignees{/user}","branches_url":"https://api.github.com/repos/odinuge/medium-draft/branches{/branch}","tags_url":"https://api.github.com/repos/odinuge/medium-draft/tags","blobs_url":"https://api.github.com/repos/odinuge/medium-draft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odinuge/medium-draft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odinuge/medium-draft/git/refs{/sha}","trees_url":"https://api.github.com/repos/odinuge/medium-draft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odinuge/medium-draft/statuses/{sha}","languages_url":"https://api.github.com/repos/odinuge/medium-draft/languages","stargazers_url":"https://api.github.com/repos/odinuge/medium-draft/stargazers","contributors_url":"https://api.github.com/repos/odinuge/medium-draft/contributors","subscribers_url":"https://api.github.com/repos/odinuge/medium-draft/subscribers","subscription_url":"https://api.github.com/repos/odinuge/medium-draft/subscription","commits_url":"https://api.github.com/repos/odinuge/medium-draft/commits{/sha}","git_commits_url":"https://api.github.com/repos/odinuge/medium-draft/git/commits{/sha}","comments_url":"https://api.github.com/repos/odinuge/medium-draft/comments{/number}","issue_comment_url":"https://api.github.com/repos/odinuge/medium-draft/issues/comments{/number}","contents_url":"https://api.github.com/repos/odinuge/medium-draft/contents/{+path}","compare_url":"https://api.github.com/repos/odinuge/medium-draft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odinuge/medium-draft/merges","archive_url":"https://api.github.com/repos/odinuge/medium-draft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odinuge/medium-draft/downloads","issues_url":"https://api.github.com/repos/odinuge/medium-draft/issues{/number}","pulls_url":"https://api.github.com/repos/odinuge/medium-draft/pulls{/number}","milestones_url":"https://api.github.com/repos/odinuge/medium-draft/milestones{/number}","notifications_url":"https://api.github.com/repos/odinuge/medium-draft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odinuge/medium-draft/labels{/name}","releases_url":"https://api.github.com/repos/odinuge/medium-draft/releases{/id}","deployments_url":"https://api.github.com/repos/odinuge/medium-draft/deployments","created_at":"2018-06-12T19:50:55Z","updated_at":"2018-06-12T19:50:57Z","pushed_at":"2018-06-22T19:58:30Z","git_url":"git://github.com/odinuge/medium-draft.git","ssh_url":"git@github.com:odinuge/medium-draft.git","clone_url":"https://github.com/odinuge/medium-draft.git","svn_url":"https://github.com/odinuge/medium-draft","homepage":"http://bitwiser.in/medium-draft/","size":439,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"brijeshb42:master","ref":"master","sha":"0fd69124d1795500fbf8fcc23acace85b04fca25","user":{"login":"brijeshb42","id":717550,"node_id":"MDQ6VXNlcjcxNzU1MA==","avatar_url":"https://avatars0.githubusercontent.com/u/717550?v=4","gravatar_id":"","url":"https://api.github.com/users/brijeshb42","html_url":"https://github.com/brijeshb42","followers_url":"https://api.github.com/users/brijeshb42/followers","following_url":"https://api.github.com/users/brijeshb42/following{/other_user}","gists_url":"https://api.github.com/users/brijeshb42/gists{/gist_id}","starred_url":"https://api.github.com/users/brijeshb42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brijeshb42/subscriptions","organizations_url":"https://api.github.com/users/brijeshb42/orgs","repos_url":"https://api.github.com/users/brijeshb42/repos","events_url":"https://api.github.com/users/brijeshb42/events{/privacy}","received_events_url":"https://api.github.com/users/brijeshb42/received_events","type":"User","site_admin":false},"repo":{"id":56425325,"node_id":"MDEwOlJlcG9zaXRvcnk1NjQyNTMyNQ==","name":"medium-draft","full_name":"brijeshb42/medium-draft","owner":{"login":"brijeshb42","id":717550,"node_id":"MDQ6VXNlcjcxNzU1MA==","avatar_url":"https://avatars0.githubusercontent.com/u/717550?v=4","gravatar_id":"","url":"https://api.github.com/users/brijeshb42","html_url":"https://github.com/brijeshb42","followers_url":"https://api.github.com/users/brijeshb42/followers","following_url":"https://api.github.com/users/brijeshb42/following{/other_user}","gists_url":"https://api.github.com/users/brijeshb42/gists{/gist_id}","starred_url":"https://api.github.com/users/brijeshb42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brijeshb42/subscriptions","organizations_url":"https://api.github.com/users/brijeshb42/orgs","repos_url":"https://api.github.com/users/brijeshb42/repos","events_url":"https://api.github.com/users/brijeshb42/events{/privacy}","received_events_url":"https://api.github.com/users/brijeshb42/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brijeshb42/medium-draft","description":"📝 A medium like Rich Text Editor built on draft-js with a focus on keyboard shortcuts.","fork":false,"url":"https://api.github.com/repos/brijeshb42/medium-draft","forks_url":"https://api.github.com/repos/brijeshb42/medium-draft/forks","keys_url":"https://api.github.com/repos/brijeshb42/medium-draft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brijeshb42/medium-draft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brijeshb42/medium-draft/teams","hooks_url":"https://api.github.com/repos/brijeshb42/medium-draft/hooks","issue_events_url":"https://api.github.com/repos/brijeshb42/medium-draft/issues/events{/number}","events_url":"https://api.github.com/repos/brijeshb42/medium-draft/events","assignees_url":"https://api.github.com/repos/brijeshb42/medium-draft/assignees{/user}","branches_url":"https://api.github.com/repos/brijeshb42/medium-draft/branches{/branch}","tags_url":"https://api.github.com/repos/brijeshb42/medium-draft/tags","blobs_url":"https://api.github.com/repos/brijeshb42/medium-draft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brijeshb42/medium-draft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brijeshb42/medium-draft/git/refs{/sha}","trees_url":"https://api.github.com/repos/brijeshb42/medium-draft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brijeshb42/medium-draft/statuses/{sha}","languages_url":"https://api.github.com/repos/brijeshb42/medium-draft/languages","stargazers_url":"https://api.github.com/repos/brijeshb42/medium-draft/stargazers","contributors_url":"https://api.github.com/repos/brijeshb42/medium-draft/contributors","subscribers_url":"https://api.github.com/repos/brijeshb42/medium-draft/subscribers","subscription_url":"https://api.github.com/repos/brijeshb42/medium-draft/subscription","commits_url":"https://api.github.com/repos/brijeshb42/medium-draft/commits{/sha}","git_commits_url":"https://api.github.com/repos/brijeshb42/medium-draft/git/commits{/sha}","comments_url":"https://api.github.com/repos/brijeshb42/medium-draft/comments{/number}","issue_comment_url":"https://api.github.com/repos/brijeshb42/medium-draft/issues/comments{/number}","contents_url":"https://api.github.com/repos/brijeshb42/medium-draft/contents/{+path}","compare_url":"https://api.github.com/repos/brijeshb42/medium-draft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brijeshb42/medium-draft/merges","archive_url":"https://api.github.com/repos/brijeshb42/medium-draft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brijeshb42/medium-draft/downloads","issues_url":"https://api.github.com/repos/brijeshb42/medium-draft/issues{/number}","pulls_url":"https://api.github.com/repos/brijeshb42/medium-draft/pulls{/number}","milestones_url":"https://api.github.com/repos/brijeshb42/medium-draft/milestones{/number}","notifications_url":"https://api.github.com/repos/brijeshb42/medium-draft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brijeshb42/medium-draft/labels{/name}","releases_url":"https://api.github.com/repos/brijeshb42/medium-draft/releases{/id}","deployments_url":"https://api.github.com/repos/brijeshb42/medium-draft/deployments","created_at":"2016-04-17T07:53:56Z","updated_at":"2018-06-22T11:27:00Z","pushed_at":"2018-06-16T19:39:04Z","git_url":"git://github.com/brijeshb42/medium-draft.git","ssh_url":"git@github.com:brijeshb42/medium-draft.git","clone_url":"https://github.com/brijeshb42/medium-draft.git","svn_url":"https://github.com/brijeshb42/medium-draft","homepage":"http://bitwiser.in/medium-draft/","size":439,"stargazers_count":1138,"watchers_count":1138,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":158,"mirror_url":null,"archived":false,"open_issues_count":24,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":158,"open_issues":24,"watchers":1138,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/brijeshb42/medium-draft/pulls/135"},"html":{"href":"https://github.com/brijeshb42/medium-draft/pull/135"},"issue":{"href":"https://api.github.com/repos/brijeshb42/medium-draft/issues/135"},"comments":{"href":"https://api.github.com/repos/brijeshb42/medium-draft/issues/135/comments"},"review_comments":{"href":"https://api.github.com/repos/brijeshb42/medium-draft/pulls/135/comments"},"review_comment":{"href":"https://api.github.com/repos/brijeshb42/medium-draft/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/brijeshb42/medium-draft/pulls/135/commits"},"statuses":{"href":"https://api.github.com/repos/brijeshb42/medium-draft/statuses/8abcb401f4ba1bd181b5c42be3450107f6c73d82"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"odinuge"}}