{"action":"created","comment":{"url":"https://api.github.com/repos/Marri/glowfic/pulls/comments/237720292","pull_request_review_id":180091640,"id":237720292,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNzcyMDI5Mg==","diff_hunk":"@@ -0,0 +1,16 @@\n+class AddHttpsToIcons < ActiveRecord::Migration[5.2]\n+  def up\n+    Icon.where(\"url LIKE ''\").where(\"url LIKE ''\").find_each do |icon|\n+      icon.url = icon.url.gsub(\"http:\", \"https:\")\n+      icon.save\n+    end\n+\n+    Icon.where(\"url like '%dreamwidth%'\").where(\"url like 'http:%'\").find_each do |icon|","path":"db/migrate/20181127010456_add_https_to_icons.rb","position":8,"original_position":8,"commit_id":"8f8f322a86d98ec6a5e9e16485797292a5ae6ca4","original_commit_id":"8f8f322a86d98ec6a5e9e16485797292a5ae6ca4","user":{"login":"Throne3d","id":577128,"node_id":"MDQ6VXNlcjU3NzEyOA==","avatar_url":"https://avatars1.githubusercontent.com/u/577128?v=4","gravatar_id":"","url":"https://api.github.com/users/Throne3d","html_url":"https://github.com/Throne3d","followers_url":"https://api.github.com/users/Throne3d/followers","following_url":"https://api.github.com/users/Throne3d/following{/other_user}","gists_url":"https://api.github.com/users/Throne3d/gists{/gist_id}","starred_url":"https://api.github.com/users/Throne3d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Throne3d/subscriptions","organizations_url":"https://api.github.com/users/Throne3d/orgs","repos_url":"https://api.github.com/users/Throne3d/repos","events_url":"https://api.github.com/users/Throne3d/events{/privacy}","received_events_url":"https://api.github.com/users/Throne3d/received_events","type":"User","site_admin":false},"body":"Can we check against `dreamwidth.org` instead of just `dreamwidth`? Probably not an issue, but just to be consistent with the Ruby code.","created_at":"2018-11-30T01:32:49Z","updated_at":"2018-11-30T01:32:49Z","html_url":"https://github.com/Marri/glowfic/pull/948#discussion_r237720292","pull_request_url":"https://api.github.com/repos/Marri/glowfic/pulls/948","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Marri/glowfic/pulls/comments/237720292"},"html":{"href":"https://github.com/Marri/glowfic/pull/948#discussion_r237720292"},"pull_request":{"href":"https://api.github.com/repos/Marri/glowfic/pulls/948"}}},"pull_request":{"url":"https://api.github.com/repos/Marri/glowfic/pulls/948","id":233752308,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzNzUyMzA4","html_url":"https://github.com/Marri/glowfic/pull/948","diff_url":"https://github.com/Marri/glowfic/pull/948.diff","patch_url":"https://github.com/Marri/glowfic/pull/948.patch","issue_url":"https://api.github.com/repos/Marri/glowfic/issues/948","number":948,"state":"open","locked":false,"title":"Automatically convert Dreamwidth and Imgur URLs to HTTPS","user":{"login":"Marri","id":735954,"node_id":"MDQ6VXNlcjczNTk1NA==","avatar_url":"https://avatars3.githubusercontent.com/u/735954?v=4","gravatar_id":"","url":"https://api.github.com/users/Marri","html_url":"https://github.com/Marri","followers_url":"https://api.github.com/users/Marri/followers","following_url":"https://api.github.com/users/Marri/following{/other_user}","gists_url":"https://api.github.com/users/Marri/gists{/gist_id}","starred_url":"https://api.github.com/users/Marri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marri/subscriptions","organizations_url":"https://api.github.com/users/Marri/orgs","repos_url":"https://api.github.com/users/Marri/repos","events_url":"https://api.github.com/users/Marri/events{/privacy}","received_events_url":"https://api.github.com/users/Marri/received_events","type":"User","site_admin":false},"body":"We know Dreamwidth and Imgur support HTTPS cleanly; we should force HTTPS at least for icons from those sites, to reduce mixed content issues.","created_at":"2018-11-27T01:40:51Z","updated_at":"2018-11-30T01:32:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d3fc30764914de1101480e34ad00a00d2798bfec","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Marri/glowfic/pulls/948/commits","review_comments_url":"https://api.github.com/repos/Marri/glowfic/pulls/948/comments","review_comment_url":"https://api.github.com/repos/Marri/glowfic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Marri/glowfic/issues/948/comments","statuses_url":"https://api.github.com/repos/Marri/glowfic/statuses/8f8f322a86d98ec6a5e9e16485797292a5ae6ca4","head":{"label":"Marri:https","ref":"https","sha":"8f8f322a86d98ec6a5e9e16485797292a5ae6ca4","user":{"login":"Marri","id":735954,"node_id":"MDQ6VXNlcjczNTk1NA==","avatar_url":"https://avatars3.githubusercontent.com/u/735954?v=4","gravatar_id":"","url":"https://api.github.com/users/Marri","html_url":"https://github.com/Marri","followers_url":"https://api.github.com/users/Marri/followers","following_url":"https://api.github.com/users/Marri/following{/other_user}","gists_url":"https://api.github.com/users/Marri/gists{/gist_id}","starred_url":"https://api.github.com/users/Marri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marri/subscriptions","organizations_url":"https://api.github.com/users/Marri/orgs","repos_url":"https://api.github.com/users/Marri/repos","events_url":"https://api.github.com/users/Marri/events{/privacy}","received_events_url":"https://api.github.com/users/Marri/received_events","type":"User","site_admin":false},"repo":{"id":80946864,"node_id":"MDEwOlJlcG9zaXRvcnk4MDk0Njg2NA==","name":"glowfic","full_name":"Marri/glowfic","private":false,"owner":{"login":"Marri","id":735954,"node_id":"MDQ6VXNlcjczNTk1NA==","avatar_url":"https://avatars3.githubusercontent.com/u/735954?v=4","gravatar_id":"","url":"https://api.github.com/users/Marri","html_url":"https://github.com/Marri","followers_url":"https://api.github.com/users/Marri/followers","following_url":"https://api.github.com/users/Marri/following{/other_user}","gists_url":"https://api.github.com/users/Marri/gists{/gist_id}","starred_url":"https://api.github.com/users/Marri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marri/subscriptions","organizations_url":"https://api.github.com/users/Marri/orgs","repos_url":"https://api.github.com/users/Marri/repos","events_url":"https://api.github.com/users/Marri/events{/privacy}","received_events_url":"https://api.github.com/users/Marri/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Marri/glowfic","description":"The Glowfic Constellation","fork":false,"url":"https://api.github.com/repos/Marri/glowfic","forks_url":"https://api.github.com/repos/Marri/glowfic/forks","keys_url":"https://api.github.com/repos/Marri/glowfic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Marri/glowfic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Marri/glowfic/teams","hooks_url":"https://api.github.com/repos/Marri/glowfic/hooks","issue_events_url":"https://api.github.com/repos/Marri/glowfic/issues/events{/number}","events_url":"https://api.github.com/repos/Marri/glowfic/events","assignees_url":"https://api.github.com/repos/Marri/glowfic/assignees{/user}","branches_url":"https://api.github.com/repos/Marri/glowfic/branches{/branch}","tags_url":"https://api.github.com/repos/Marri/glowfic/tags","blobs_url":"https://api.github.com/repos/Marri/glowfic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Marri/glowfic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Marri/glowfic/git/refs{/sha}","trees_url":"https://api.github.com/repos/Marri/glowfic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Marri/glowfic/statuses/{sha}","languages_url":"https://api.github.com/repos/Marri/glowfic/languages","stargazers_url":"https://api.github.com/repos/Marri/glowfic/stargazers","contributors_url":"https://api.github.com/repos/Marri/glowfic/contributors","subscribers_url":"https://api.github.com/repos/Marri/glowfic/subscribers","subscription_url":"https://api.github.com/repos/Marri/glowfic/subscription","commits_url":"https://api.github.com/repos/Marri/glowfic/commits{/sha}","git_commits_url":"https://api.github.com/repos/Marri/glowfic/git/commits{/sha}","comments_url":"https://api.github.com/repos/Marri/glowfic/comments{/number}","issue_comment_url":"https://api.github.com/repos/Marri/glowfic/issues/comments{/number}","contents_url":"https://api.github.com/repos/Marri/glowfic/contents/{+path}","compare_url":"https://api.github.com/repos/Marri/glowfic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Marri/glowfic/merges","archive_url":"https://api.github.com/repos/Marri/glowfic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Marri/glowfic/downloads","issues_url":"https://api.github.com/repos/Marri/glowfic/issues{/number}","pulls_url":"https://api.github.com/repos/Marri/glowfic/pulls{/number}","milestones_url":"https://api.github.com/repos/Marri/glowfic/milestones{/number}","notifications_url":"https://api.github.com/repos/Marri/glowfic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Marri/glowfic/labels{/name}","releases_url":"https://api.github.com/repos/Marri/glowfic/releases{/id}","deployments_url":"https://api.github.com/repos/Marri/glowfic/deployments","created_at":"2017-02-04T20:37:13Z","updated_at":"2018-11-26T11:13:31Z","pushed_at":"2018-11-30T01:24:30Z","git_url":"git://github.com/Marri/glowfic.git","ssh_url":"git@github.com:Marri/glowfic.git","clone_url":"https://github.com/Marri/glowfic.git","svn_url":"https://github.com/Marri/glowfic","homepage":"https://www.glowfic.com","size":41980,"stargazers_count":7,"watchers_count":7,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":347,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4,"open_issues":347,"watchers":7,"default_branch":"master"}},"base":{"label":"Marri:master","ref":"master","sha":"93fe364097d8df190ba6c423444982b13b4b82c8","user":{"login":"Marri","id":735954,"node_id":"MDQ6VXNlcjczNTk1NA==","avatar_url":"https://avatars3.githubusercontent.com/u/735954?v=4","gravatar_id":"","url":"https://api.github.com/users/Marri","html_url":"https://github.com/Marri","followers_url":"https://api.github.com/users/Marri/followers","following_url":"https://api.github.com/users/Marri/following{/other_user}","gists_url":"https://api.github.com/users/Marri/gists{/gist_id}","starred_url":"https://api.github.com/users/Marri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marri/subscriptions","organizations_url":"https://api.github.com/users/Marri/orgs","repos_url":"https://api.github.com/users/Marri/repos","events_url":"https://api.github.com/users/Marri/events{/privacy}","received_events_url":"https://api.github.com/users/Marri/received_events","type":"User","site_admin":false},"repo":{"id":80946864,"node_id":"MDEwOlJlcG9zaXRvcnk4MDk0Njg2NA==","name":"glowfic","full_name":"Marri/glowfic","private":false,"owner":{"login":"Marri","id":735954,"node_id":"MDQ6VXNlcjczNTk1NA==","avatar_url":"https://avatars3.githubusercontent.com/u/735954?v=4","gravatar_id":"","url":"https://api.github.com/users/Marri","html_url":"https://github.com/Marri","followers_url":"https://api.github.com/users/Marri/followers","following_url":"https://api.github.com/users/Marri/following{/other_user}","gists_url":"https://api.github.com/users/Marri/gists{/gist_id}","starred_url":"https://api.github.com/users/Marri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marri/subscriptions","organizations_url":"https://api.github.com/users/Marri/orgs","repos_url":"https://api.github.com/users/Marri/repos","events_url":"https://api.github.com/users/Marri/events{/privacy}","received_events_url":"https://api.github.com/users/Marri/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Marri/glowfic","description":"The Glowfic Constellation","fork":false,"url":"https://api.github.com/repos/Marri/glowfic","forks_url":"https://api.github.com/repos/Marri/glowfic/forks","keys_url":"https://api.github.com/repos/Marri/glowfic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Marri/glowfic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Marri/glowfic/teams","hooks_url":"https://api.github.com/repos/Marri/glowfic/hooks","issue_events_url":"https://api.github.com/repos/Marri/glowfic/issues/events{/number}","events_url":"https://api.github.com/repos/Marri/glowfic/events","assignees_url":"https://api.github.com/repos/Marri/glowfic/assignees{/user}","branches_url":"https://api.github.com/repos/Marri/glowfic/branches{/branch}","tags_url":"https://api.github.com/repos/Marri/glowfic/tags","blobs_url":"https://api.github.com/repos/Marri/glowfic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Marri/glowfic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Marri/glowfic/git/refs{/sha}","trees_url":"https://api.github.com/repos/Marri/glowfic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Marri/glowfic/statuses/{sha}","languages_url":"https://api.github.com/repos/Marri/glowfic/languages","stargazers_url":"https://api.github.com/repos/Marri/glowfic/stargazers","contributors_url":"https://api.github.com/repos/Marri/glowfic/contributors","subscribers_url":"https://api.github.com/repos/Marri/glowfic/subscribers","subscription_url":"https://api.github.com/repos/Marri/glowfic/subscription","commits_url":"https://api.github.com/repos/Marri/glowfic/commits{/sha}","git_commits_url":"https://api.github.com/repos/Marri/glowfic/git/commits{/sha}","comments_url":"https://api.github.com/repos/Marri/glowfic/comments{/number}","issue_comment_url":"https://api.github.com/repos/Marri/glowfic/issues/comments{/number}","contents_url":"https://api.github.com/repos/Marri/glowfic/contents/{+path}","compare_url":"https://api.github.com/repos/Marri/glowfic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Marri/glowfic/merges","archive_url":"https://api.github.com/repos/Marri/glowfic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Marri/glowfic/downloads","issues_url":"https://api.github.com/repos/Marri/glowfic/issues{/number}","pulls_url":"https://api.github.com/repos/Marri/glowfic/pulls{/number}","milestones_url":"https://api.github.com/repos/Marri/glowfic/milestones{/number}","notifications_url":"https://api.github.com/repos/Marri/glowfic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Marri/glowfic/labels{/name}","releases_url":"https://api.github.com/repos/Marri/glowfic/releases{/id}","deployments_url":"https://api.github.com/repos/Marri/glowfic/deployments","created_at":"2017-02-04T20:37:13Z","updated_at":"2018-11-26T11:13:31Z","pushed_at":"2018-11-30T01:24:30Z","git_url":"git://github.com/Marri/glowfic.git","ssh_url":"git@github.com:Marri/glowfic.git","clone_url":"https://github.com/Marri/glowfic.git","svn_url":"https://github.com/Marri/glowfic","homepage":"https://www.glowfic.com","size":41980,"stargazers_count":7,"watchers_count":7,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":347,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4,"open_issues":347,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Marri/glowfic/pulls/948"},"html":{"href":"https://github.com/Marri/glowfic/pull/948"},"issue":{"href":"https://api.github.com/repos/Marri/glowfic/issues/948"},"comments":{"href":"https://api.github.com/repos/Marri/glowfic/issues/948/comments"},"review_comments":{"href":"https://api.github.com/repos/Marri/glowfic/pulls/948/comments"},"review_comment":{"href":"https://api.github.com/repos/Marri/glowfic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Marri/glowfic/pulls/948/commits"},"statuses":{"href":"https://api.github.com/repos/Marri/glowfic/statuses/8f8f322a86d98ec6a5e9e16485797292a5ae6ca4"}},"author_association":"OWNER"}}
{"actor":{"display_login":"Throne3d"}}