{"action":"opened","number":498,"pull_request":{"url":"https://api.github.com/repos/ryanhowdy/fcms/pulls/498","id":36586342,"html_url":"https://github.com/ryanhowdy/fcms/pull/498","diff_url":"https://github.com/ryanhowdy/fcms/pull/498.diff","patch_url":"https://github.com/ryanhowdy/fcms/pull/498.patch","issue_url":"https://api.github.com/repos/ryanhowdy/fcms/issues/498","number":498,"state":"open","locked":false,"title":"Add support for default avatar when using protected photos","user":{"login":"colml","id":2428769,"avatar_url":"https://avatars.githubusercontent.com/u/2428769?v=3","gravatar_id":"","url":"https://api.github.com/users/colml","html_url":"https://github.com/colml","followers_url":"https://api.github.com/users/colml/followers","following_url":"https://api.github.com/users/colml/following{/other_user}","gists_url":"https://api.github.com/users/colml/gists{/gist_id}","starred_url":"https://api.github.com/users/colml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colml/subscriptions","organizations_url":"https://api.github.com/users/colml/orgs","repos_url":"https://api.github.com/users/colml/repos","events_url":"https://api.github.com/users/colml/events{/privacy}","received_events_url":"https://api.github.com/users/colml/received_events","type":"User","site_admin":false},"body":"When using the protected photos feature the default avatar image links are not always correct as the link is hard-coded to the old location (URL_PREFIX.'uploads/avatar/no_avatar.jpg) in most cases. \r\n\r\nThis PR updates the getAvatarPath() function and changes the hard-coded URLs to call that function instead.\r\n","created_at":"2015-05-31T18:06:36Z","updated_at":"2015-05-31T18:06:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c77c36eb12c97b2d393a5d588fe768878af2eb39","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ryanhowdy/fcms/pulls/498/commits","review_comments_url":"https://api.github.com/repos/ryanhowdy/fcms/pulls/498/comments","review_comment_url":"https://api.github.com/repos/ryanhowdy/fcms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ryanhowdy/fcms/issues/498/comments","statuses_url":"https://api.github.com/repos/ryanhowdy/fcms/statuses/ea4fb380efade1e61370e17310118ba622edcf0d","head":{"label":"colml:3.5.1","ref":"3.5.1","sha":"ea4fb380efade1e61370e17310118ba622edcf0d","user":{"login":"colml","id":2428769,"avatar_url":"https://avatars.githubusercontent.com/u/2428769?v=3","gravatar_id":"","url":"https://api.github.com/users/colml","html_url":"https://github.com/colml","followers_url":"https://api.github.com/users/colml/followers","following_url":"https://api.github.com/users/colml/following{/other_user}","gists_url":"https://api.github.com/users/colml/gists{/gist_id}","starred_url":"https://api.github.com/users/colml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colml/subscriptions","organizations_url":"https://api.github.com/users/colml/orgs","repos_url":"https://api.github.com/users/colml/repos","events_url":"https://api.github.com/users/colml/events{/privacy}","received_events_url":"https://api.github.com/users/colml/received_events","type":"User","site_admin":false},"repo":{"id":36221522,"name":"fcms","full_name":"colml/fcms","owner":{"login":"colml","id":2428769,"avatar_url":"https://avatars.githubusercontent.com/u/2428769?v=3","gravatar_id":"","url":"https://api.github.com/users/colml","html_url":"https://github.com/colml","followers_url":"https://api.github.com/users/colml/followers","following_url":"https://api.github.com/users/colml/following{/other_user}","gists_url":"https://api.github.com/users/colml/gists{/gist_id}","starred_url":"https://api.github.com/users/colml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colml/subscriptions","organizations_url":"https://api.github.com/users/colml/orgs","repos_url":"https://api.github.com/users/colml/repos","events_url":"https://api.github.com/users/colml/events{/privacy}","received_events_url":"https://api.github.com/users/colml/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/colml/fcms","description":"Family Connections - Create a private family website.","fork":true,"url":"https://api.github.com/repos/colml/fcms","forks_url":"https://api.github.com/repos/colml/fcms/forks","keys_url":"https://api.github.com/repos/colml/fcms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/colml/fcms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/colml/fcms/teams","hooks_url":"https://api.github.com/repos/colml/fcms/hooks","issue_events_url":"https://api.github.com/repos/colml/fcms/issues/events{/number}","events_url":"https://api.github.com/repos/colml/fcms/events","assignees_url":"https://api.github.com/repos/colml/fcms/assignees{/user}","branches_url":"https://api.github.com/repos/colml/fcms/branches{/branch}","tags_url":"https://api.github.com/repos/colml/fcms/tags","blobs_url":"https://api.github.com/repos/colml/fcms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/colml/fcms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/colml/fcms/git/refs{/sha}","trees_url":"https://api.github.com/repos/colml/fcms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/colml/fcms/statuses/{sha}","languages_url":"https://api.github.com/repos/colml/fcms/languages","stargazers_url":"https://api.github.com/repos/colml/fcms/stargazers","contributors_url":"https://api.github.com/repos/colml/fcms/contributors","subscribers_url":"https://api.github.com/repos/colml/fcms/subscribers","subscription_url":"https://api.github.com/repos/colml/fcms/subscription","commits_url":"https://api.github.com/repos/colml/fcms/commits{/sha}","git_commits_url":"https://api.github.com/repos/colml/fcms/git/commits{/sha}","comments_url":"https://api.github.com/repos/colml/fcms/comments{/number}","issue_comment_url":"https://api.github.com/repos/colml/fcms/issues/comments{/number}","contents_url":"https://api.github.com/repos/colml/fcms/contents/{+path}","compare_url":"https://api.github.com/repos/colml/fcms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/colml/fcms/merges","archive_url":"https://api.github.com/repos/colml/fcms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/colml/fcms/downloads","issues_url":"https://api.github.com/repos/colml/fcms/issues{/number}","pulls_url":"https://api.github.com/repos/colml/fcms/pulls{/number}","milestones_url":"https://api.github.com/repos/colml/fcms/milestones{/number}","notifications_url":"https://api.github.com/repos/colml/fcms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/colml/fcms/labels{/name}","releases_url":"https://api.github.com/repos/colml/fcms/releases{/id}","created_at":"2015-05-25T09:14:30Z","updated_at":"2015-05-25T09:14:32Z","pushed_at":"2015-05-31T18:00:22Z","git_url":"git://github.com/colml/fcms.git","ssh_url":"git@github.com:colml/fcms.git","clone_url":"https://github.com/colml/fcms.git","svn_url":"https://github.com/colml/fcms","homepage":"http://www.familycms.com","size":10452,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ryanhowdy:3.5.1","ref":"3.5.1","sha":"8918fc0d122199e5f6a46db4f5764524b9545244","user":{"login":"ryanhowdy","id":119044,"avatar_url":"https://avatars.githubusercontent.com/u/119044?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanhowdy","html_url":"https://github.com/ryanhowdy","followers_url":"https://api.github.com/users/ryanhowdy/followers","following_url":"https://api.github.com/users/ryanhowdy/following{/other_user}","gists_url":"https://api.github.com/users/ryanhowdy/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanhowdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanhowdy/subscriptions","organizations_url":"https://api.github.com/users/ryanhowdy/orgs","repos_url":"https://api.github.com/users/ryanhowdy/repos","events_url":"https://api.github.com/users/ryanhowdy/events{/privacy}","received_events_url":"https://api.github.com/users/ryanhowdy/received_events","type":"User","site_admin":false},"repo":{"id":7969872,"name":"fcms","full_name":"ryanhowdy/fcms","owner":{"login":"ryanhowdy","id":119044,"avatar_url":"https://avatars.githubusercontent.com/u/119044?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanhowdy","html_url":"https://github.com/ryanhowdy","followers_url":"https://api.github.com/users/ryanhowdy/followers","following_url":"https://api.github.com/users/ryanhowdy/following{/other_user}","gists_url":"https://api.github.com/users/ryanhowdy/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanhowdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanhowdy/subscriptions","organizations_url":"https://api.github.com/users/ryanhowdy/orgs","repos_url":"https://api.github.com/users/ryanhowdy/repos","events_url":"https://api.github.com/users/ryanhowdy/events{/privacy}","received_events_url":"https://api.github.com/users/ryanhowdy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryanhowdy/fcms","description":"Family Connections - Create a private family website.","fork":false,"url":"https://api.github.com/repos/ryanhowdy/fcms","forks_url":"https://api.github.com/repos/ryanhowdy/fcms/forks","keys_url":"https://api.github.com/repos/ryanhowdy/fcms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryanhowdy/fcms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryanhowdy/fcms/teams","hooks_url":"https://api.github.com/repos/ryanhowdy/fcms/hooks","issue_events_url":"https://api.github.com/repos/ryanhowdy/fcms/issues/events{/number}","events_url":"https://api.github.com/repos/ryanhowdy/fcms/events","assignees_url":"https://api.github.com/repos/ryanhowdy/fcms/assignees{/user}","branches_url":"https://api.github.com/repos/ryanhowdy/fcms/branches{/branch}","tags_url":"https://api.github.com/repos/ryanhowdy/fcms/tags","blobs_url":"https://api.github.com/repos/ryanhowdy/fcms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryanhowdy/fcms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryanhowdy/fcms/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryanhowdy/fcms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryanhowdy/fcms/statuses/{sha}","languages_url":"https://api.github.com/repos/ryanhowdy/fcms/languages","stargazers_url":"https://api.github.com/repos/ryanhowdy/fcms/stargazers","contributors_url":"https://api.github.com/repos/ryanhowdy/fcms/contributors","subscribers_url":"https://api.github.com/repos/ryanhowdy/fcms/subscribers","subscription_url":"https://api.github.com/repos/ryanhowdy/fcms/subscription","commits_url":"https://api.github.com/repos/ryanhowdy/fcms/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryanhowdy/fcms/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryanhowdy/fcms/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryanhowdy/fcms/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryanhowdy/fcms/contents/{+path}","compare_url":"https://api.github.com/repos/ryanhowdy/fcms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryanhowdy/fcms/merges","archive_url":"https://api.github.com/repos/ryanhowdy/fcms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryanhowdy/fcms/downloads","issues_url":"https://api.github.com/repos/ryanhowdy/fcms/issues{/number}","pulls_url":"https://api.github.com/repos/ryanhowdy/fcms/pulls{/number}","milestones_url":"https://api.github.com/repos/ryanhowdy/fcms/milestones{/number}","notifications_url":"https://api.github.com/repos/ryanhowdy/fcms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryanhowdy/fcms/labels{/name}","releases_url":"https://api.github.com/repos/ryanhowdy/fcms/releases{/id}","created_at":"2013-02-02T01:19:24Z","updated_at":"2015-04-28T14:26:12Z","pushed_at":"2015-05-31T18:06:36Z","git_url":"git://github.com/ryanhowdy/fcms.git","ssh_url":"git@github.com:ryanhowdy/fcms.git","clone_url":"https://github.com/ryanhowdy/fcms.git","svn_url":"https://github.com/ryanhowdy/fcms","homepage":"http://www.familycms.com","size":11802,"stargazers_count":17,"watchers_count":17,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":46,"forks":20,"open_issues":46,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ryanhowdy/fcms/pulls/498"},"html":{"href":"https://github.com/ryanhowdy/fcms/pull/498"},"issue":{"href":"https://api.github.com/repos/ryanhowdy/fcms/issues/498"},"comments":{"href":"https://api.github.com/repos/ryanhowdy/fcms/issues/498/comments"},"review_comments":{"href":"https://api.github.com/repos/ryanhowdy/fcms/pulls/498/comments"},"review_comment":{"href":"https://api.github.com/repos/ryanhowdy/fcms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ryanhowdy/fcms/pulls/498/commits"},"statuses":{"href":"https://api.github.com/repos/ryanhowdy/fcms/statuses/ea4fb380efade1e61370e17310118ba622edcf0d"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":10,"deletions":3,"changed_files":3}}