{"action":"opened","number":5312,"pull_request":{"url":"https://api.github.com/repos/fossasia/open-event-server/pulls/5312","id":207039592,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3MDM5NTky","html_url":"https://github.com/fossasia/open-event-server/pull/5312","diff_url":"https://github.com/fossasia/open-event-server/pull/5312.diff","patch_url":"https://github.com/fossasia/open-event-server/pull/5312.patch","issue_url":"https://api.github.com/repos/fossasia/open-event-server/issues/5312","number":5312,"state":"open","locked":false,"title":"Fixes #5205 feat: Load local image default_system_image.png for default system image","user":{"login":"bhaveshAn","id":22936570,"node_id":"MDQ6VXNlcjIyOTM2NTcw","avatar_url":"https://avatars1.githubusercontent.com/u/22936570?v=4","gravatar_id":"","url":"https://api.github.com/users/bhaveshAn","html_url":"https://github.com/bhaveshAn","followers_url":"https://api.github.com/users/bhaveshAn/followers","following_url":"https://api.github.com/users/bhaveshAn/following{/other_user}","gists_url":"https://api.github.com/users/bhaveshAn/gists{/gist_id}","starred_url":"https://api.github.com/users/bhaveshAn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhaveshAn/subscriptions","organizations_url":"https://api.github.com/users/bhaveshAn/orgs","repos_url":"https://api.github.com/users/bhaveshAn/repos","events_url":"https://api.github.com/users/bhaveshAn/events{/privacy}","received_events_url":"https://api.github.com/users/bhaveshAn/received_events","type":"User","site_admin":false},"body":"<!--\r\n(Thanks for sending a pull request! Please make sure you click the link above to view the contribution guidelines, then fill out the blanks below.)\r\n-->\r\n<!-- Add the issue number that is fixed by this PR (In the form Fixes #123) -->\r\n\r\nFixes #5205 feat: Load local image default_system_image.png for default system image\r\n\r\n#### Checklist\r\n\r\n- [x] I have read the [Contribution & Best practices Guide](https://blog.fossasia.org/open-source-developer-guide-and-best-practices-at-fossasia) and my PR follows them.\r\n- [x] My branch is up-to-date with the Upstream `development` branch.\r\n- [ ] The unit tests pass locally with my changes <!-- use `nosetests tests/unittests` to run all the tests -->\r\n- [x] I have added tests that prove my fix is effective or that my feature works\r\n- [ ] I have added necessary documentation (if appropriate)\r\n<!-- If an existing function does not have a docstring, please add one -->\r\n- [ ] All the functions created/modified in this PR contain relevant docstrings.\r\n\r\n#### Short description of what this resolves:\r\n\r\nFixes #5205 feat: Load local image default_system_image.png for default system image\r\n\r\n#### Changes proposed in this pull request:\r\n\r\n- Fixes #5205 feat: Load local image default_system_image.png for default system image\r\n\r\n**CASE 1 : If No image is provided then use the one stored locally**\r\n![screenshot from 2018-08-08 19-31-55](https://user-images.githubusercontent.com/22936570/43845563-e90bb1a8-9b49-11e8-823e-5c04993a7dee.png)\r\n**CASE 2 : If Valid Image URL is provided**\r\n![screenshot from 2018-08-08 19-32-15](https://user-images.githubusercontent.com/22936570/43845566-e97a1396-9b49-11e8-8397-f943e0d752e3.png)\r\n**CASE 3 : If Invalid Image URL is provided**\r\n![screenshot from 2018-08-08 19-32-55](https://user-images.githubusercontent.com/22936570/43845567-e9ccef76-9b49-11e8-8dff-e505fb0327ed.png)\r\n","created_at":"2018-08-08T15:04:02Z","updated_at":"2018-08-08T15:04:02Z","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/fossasia/open-event-server/pulls/5312/commits","review_comments_url":"https://api.github.com/repos/fossasia/open-event-server/pulls/5312/comments","review_comment_url":"https://api.github.com/repos/fossasia/open-event-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fossasia/open-event-server/issues/5312/comments","statuses_url":"https://api.github.com/repos/fossasia/open-event-server/statuses/2b40c48e7fe996b2abc058bc7371009b133bdf4f","head":{"label":"bhaveshAn:local-sys-image","ref":"local-sys-image","sha":"2b40c48e7fe996b2abc058bc7371009b133bdf4f","user":{"login":"bhaveshAn","id":22936570,"node_id":"MDQ6VXNlcjIyOTM2NTcw","avatar_url":"https://avatars1.githubusercontent.com/u/22936570?v=4","gravatar_id":"","url":"https://api.github.com/users/bhaveshAn","html_url":"https://github.com/bhaveshAn","followers_url":"https://api.github.com/users/bhaveshAn/followers","following_url":"https://api.github.com/users/bhaveshAn/following{/other_user}","gists_url":"https://api.github.com/users/bhaveshAn/gists{/gist_id}","starred_url":"https://api.github.com/users/bhaveshAn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhaveshAn/subscriptions","organizations_url":"https://api.github.com/users/bhaveshAn/orgs","repos_url":"https://api.github.com/users/bhaveshAn/repos","events_url":"https://api.github.com/users/bhaveshAn/events{/privacy}","received_events_url":"https://api.github.com/users/bhaveshAn/received_events","type":"User","site_admin":false},"repo":{"id":112874183,"node_id":"MDEwOlJlcG9zaXRvcnkxMTI4NzQxODM=","name":"open-event-server","full_name":"bhaveshAn/open-event-server","owner":{"login":"bhaveshAn","id":22936570,"node_id":"MDQ6VXNlcjIyOTM2NTcw","avatar_url":"https://avatars1.githubusercontent.com/u/22936570?v=4","gravatar_id":"","url":"https://api.github.com/users/bhaveshAn","html_url":"https://github.com/bhaveshAn","followers_url":"https://api.github.com/users/bhaveshAn/followers","following_url":"https://api.github.com/users/bhaveshAn/following{/other_user}","gists_url":"https://api.github.com/users/bhaveshAn/gists{/gist_id}","starred_url":"https://api.github.com/users/bhaveshAn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhaveshAn/subscriptions","organizations_url":"https://api.github.com/users/bhaveshAn/orgs","repos_url":"https://api.github.com/users/bhaveshAn/repos","events_url":"https://api.github.com/users/bhaveshAn/events{/privacy}","received_events_url":"https://api.github.com/users/bhaveshAn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bhaveshAn/open-event-server","description":"The Open Event Organizer Server to Manage Events","fork":true,"url":"https://api.github.com/repos/bhaveshAn/open-event-server","forks_url":"https://api.github.com/repos/bhaveshAn/open-event-server/forks","keys_url":"https://api.github.com/repos/bhaveshAn/open-event-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bhaveshAn/open-event-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bhaveshAn/open-event-server/teams","hooks_url":"https://api.github.com/repos/bhaveshAn/open-event-server/hooks","issue_events_url":"https://api.github.com/repos/bhaveshAn/open-event-server/issues/events{/number}","events_url":"https://api.github.com/repos/bhaveshAn/open-event-server/events","assignees_url":"https://api.github.com/repos/bhaveshAn/open-event-server/assignees{/user}","branches_url":"https://api.github.com/repos/bhaveshAn/open-event-server/branches{/branch}","tags_url":"https://api.github.com/repos/bhaveshAn/open-event-server/tags","blobs_url":"https://api.github.com/repos/bhaveshAn/open-event-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bhaveshAn/open-event-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bhaveshAn/open-event-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/bhaveshAn/open-event-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bhaveshAn/open-event-server/statuses/{sha}","languages_url":"https://api.github.com/repos/bhaveshAn/open-event-server/languages","stargazers_url":"https://api.github.com/repos/bhaveshAn/open-event-server/stargazers","contributors_url":"https://api.github.com/repos/bhaveshAn/open-event-server/contributors","subscribers_url":"https://api.github.com/repos/bhaveshAn/open-event-server/subscribers","subscription_url":"https://api.github.com/repos/bhaveshAn/open-event-server/subscription","commits_url":"https://api.github.com/repos/bhaveshAn/open-event-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/bhaveshAn/open-event-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/bhaveshAn/open-event-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/bhaveshAn/open-event-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/bhaveshAn/open-event-server/contents/{+path}","compare_url":"https://api.github.com/repos/bhaveshAn/open-event-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bhaveshAn/open-event-server/merges","archive_url":"https://api.github.com/repos/bhaveshAn/open-event-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bhaveshAn/open-event-server/downloads","issues_url":"https://api.github.com/repos/bhaveshAn/open-event-server/issues{/number}","pulls_url":"https://api.github.com/repos/bhaveshAn/open-event-server/pulls{/number}","milestones_url":"https://api.github.com/repos/bhaveshAn/open-event-server/milestones{/number}","notifications_url":"https://api.github.com/repos/bhaveshAn/open-event-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bhaveshAn/open-event-server/labels{/name}","releases_url":"https://api.github.com/repos/bhaveshAn/open-event-server/releases{/id}","deployments_url":"https://api.github.com/repos/bhaveshAn/open-event-server/deployments","created_at":"2017-12-02T20:23:42Z","updated_at":"2018-08-05T14:08:20Z","pushed_at":"2018-08-08T14:34:58Z","git_url":"git://github.com/bhaveshAn/open-event-server.git","ssh_url":"git@github.com:bhaveshAn/open-event-server.git","clone_url":"https://github.com/bhaveshAn/open-event-server.git","svn_url":"https://github.com/bhaveshAn/open-event-server","homepage":"http://open-event-api.herokuapp.com/","size":45824,"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":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"development"}},"base":{"label":"fossasia:development","ref":"development","sha":"8806e32e0bbcc32ea070bcb805b7012e1f5e8824","user":{"login":"fossasia","id":6295529,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyOTU1Mjk=","avatar_url":"https://avatars3.githubusercontent.com/u/6295529?v=4","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"repo":{"id":35270176,"node_id":"MDEwOlJlcG9zaXRvcnkzNTI3MDE3Ng==","name":"open-event-server","full_name":"fossasia/open-event-server","owner":{"login":"fossasia","id":6295529,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyOTU1Mjk=","avatar_url":"https://avatars3.githubusercontent.com/u/6295529?v=4","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fossasia/open-event-server","description":"The Open Event Organizer Server to Manage Events","fork":false,"url":"https://api.github.com/repos/fossasia/open-event-server","forks_url":"https://api.github.com/repos/fossasia/open-event-server/forks","keys_url":"https://api.github.com/repos/fossasia/open-event-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fossasia/open-event-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fossasia/open-event-server/teams","hooks_url":"https://api.github.com/repos/fossasia/open-event-server/hooks","issue_events_url":"https://api.github.com/repos/fossasia/open-event-server/issues/events{/number}","events_url":"https://api.github.com/repos/fossasia/open-event-server/events","assignees_url":"https://api.github.com/repos/fossasia/open-event-server/assignees{/user}","branches_url":"https://api.github.com/repos/fossasia/open-event-server/branches{/branch}","tags_url":"https://api.github.com/repos/fossasia/open-event-server/tags","blobs_url":"https://api.github.com/repos/fossasia/open-event-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fossasia/open-event-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fossasia/open-event-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/fossasia/open-event-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fossasia/open-event-server/statuses/{sha}","languages_url":"https://api.github.com/repos/fossasia/open-event-server/languages","stargazers_url":"https://api.github.com/repos/fossasia/open-event-server/stargazers","contributors_url":"https://api.github.com/repos/fossasia/open-event-server/contributors","subscribers_url":"https://api.github.com/repos/fossasia/open-event-server/subscribers","subscription_url":"https://api.github.com/repos/fossasia/open-event-server/subscription","commits_url":"https://api.github.com/repos/fossasia/open-event-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/fossasia/open-event-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/fossasia/open-event-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/fossasia/open-event-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/fossasia/open-event-server/contents/{+path}","compare_url":"https://api.github.com/repos/fossasia/open-event-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fossasia/open-event-server/merges","archive_url":"https://api.github.com/repos/fossasia/open-event-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fossasia/open-event-server/downloads","issues_url":"https://api.github.com/repos/fossasia/open-event-server/issues{/number}","pulls_url":"https://api.github.com/repos/fossasia/open-event-server/pulls{/number}","milestones_url":"https://api.github.com/repos/fossasia/open-event-server/milestones{/number}","notifications_url":"https://api.github.com/repos/fossasia/open-event-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fossasia/open-event-server/labels{/name}","releases_url":"https://api.github.com/repos/fossasia/open-event-server/releases{/id}","deployments_url":"https://api.github.com/repos/fossasia/open-event-server/deployments","created_at":"2015-05-08T09:16:19Z","updated_at":"2018-08-08T05:37:28Z","pushed_at":"2018-08-08T09:09:35Z","git_url":"git://github.com/fossasia/open-event-server.git","ssh_url":"git@github.com:fossasia/open-event-server.git","clone_url":"https://github.com/fossasia/open-event-server.git","svn_url":"https://github.com/fossasia/open-event-server","homepage":"http://open-event-api.herokuapp.com/","size":45908,"stargazers_count":1037,"watchers_count":1037,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":930,"mirror_url":null,"archived":false,"open_issues_count":53,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":930,"open_issues":53,"watchers":1037,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-server/pulls/5312"},"html":{"href":"https://github.com/fossasia/open-event-server/pull/5312"},"issue":{"href":"https://api.github.com/repos/fossasia/open-event-server/issues/5312"},"comments":{"href":"https://api.github.com/repos/fossasia/open-event-server/issues/5312/comments"},"review_comments":{"href":"https://api.github.com/repos/fossasia/open-event-server/pulls/5312/comments"},"review_comment":{"href":"https://api.github.com/repos/fossasia/open-event-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fossasia/open-event-server/pulls/5312/commits"},"statuses":{"href":"https://api.github.com/repos/fossasia/open-event-server/statuses/2b40c48e7fe996b2abc058bc7371009b133bdf4f"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":123,"deletions":11,"changed_files":8}}
{"actor":{"display_login":"bhaveshAn"}}