{"action":"created","comment":{"url":"https://api.github.com/repos/metabrainz/listenbrainz-server/pulls/comments/174927080","pull_request_review_id":104374303,"id":174927080,"diff_hunk":"@@ -58,4 +58,16 @@ <h3>Import a Last.fm backup file</h3>\n       return false;\n     }\n   </script>\n+  <script type=\"text/javascript\">","path":"listenbrainz/webserver/templates/user/import.html","position":15,"original_position":15,"commit_id":"2b355efdc6f18192b2836e69180822712ed4b5af","original_commit_id":"2b355efdc6f18192b2836e69180822712ed4b5af","user":{"login":"paramsingh","id":1837631,"avatar_url":"https://avatars3.githubusercontent.com/u/1837631?v=4","gravatar_id":"","url":"https://api.github.com/users/paramsingh","html_url":"https://github.com/paramsingh","followers_url":"https://api.github.com/users/paramsingh/followers","following_url":"https://api.github.com/users/paramsingh/following{/other_user}","gists_url":"https://api.github.com/users/paramsingh/gists{/gist_id}","starred_url":"https://api.github.com/users/paramsingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paramsingh/subscriptions","organizations_url":"https://api.github.com/users/paramsingh/orgs","repos_url":"https://api.github.com/users/paramsingh/repos","events_url":"https://api.github.com/users/paramsingh/events{/privacy}","received_events_url":"https://api.github.com/users/paramsingh/received_events","type":"User","site_admin":false},"body":"Should probably add a one line comment explaining the need for this script.","created_at":"2018-03-15T20:47:03Z","updated_at":"2018-03-15T20:47:03Z","html_url":"https://github.com/metabrainz/listenbrainz-server/pull/373#discussion_r174927080","pull_request_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/pulls/373","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/metabrainz/listenbrainz-server/pulls/comments/174927080"},"html":{"href":"https://github.com/metabrainz/listenbrainz-server/pull/373#discussion_r174927080"},"pull_request":{"href":"https://api.github.com/repos/metabrainz/listenbrainz-server/pulls/373"}}},"pull_request":{"url":"https://api.github.com/repos/metabrainz/listenbrainz-server/pulls/373","id":174072721,"html_url":"https://github.com/metabrainz/listenbrainz-server/pull/373","diff_url":"https://github.com/metabrainz/listenbrainz-server/pull/373.diff","patch_url":"https://github.com/metabrainz/listenbrainz-server/pull/373.patch","issue_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/issues/373","number":373,"state":"open","locked":false,"title":"LB-325: Disable import button if no input","user":{"login":"Uditgulati","id":21101801,"avatar_url":"https://avatars0.githubusercontent.com/u/21101801?v=4","gravatar_id":"","url":"https://api.github.com/users/Uditgulati","html_url":"https://github.com/Uditgulati","followers_url":"https://api.github.com/users/Uditgulati/followers","following_url":"https://api.github.com/users/Uditgulati/following{/other_user}","gists_url":"https://api.github.com/users/Uditgulati/gists{/gist_id}","starred_url":"https://api.github.com/users/Uditgulati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Uditgulati/subscriptions","organizations_url":"https://api.github.com/users/Uditgulati/orgs","repos_url":"https://api.github.com/users/Uditgulati/repos","events_url":"https://api.github.com/users/Uditgulati/events{/privacy}","received_events_url":"https://api.github.com/users/Uditgulati/received_events","type":"User","site_admin":false},"body":"<!--\r\n    Hello! Thanks for submitting a pull request to ListenBrainz. We appreciate\r\n    your time and interest in helping our project!\r\n\r\n    Use this template to help us review your change. Not everything is required,\r\n    depending on your change. Keep or delete what is relevant for your change.\r\n    Remember that it helps us review if you give more helpful info for us to\r\n    understand your change.\r\n    \r\n    Ensure that you've read through and followed the Contributing Guidelines, in\r\n    ./github/CONTRIBUTING.md.\r\n-->\r\n\r\n# Summary\r\n\r\n<!--\r\n    Update the checkbox with an [x] for the type of contribution you are making.\r\n-->\r\n\r\n* This is a…\r\n    * [ ] Bug fix\r\n    * [ ] Feature addition\r\n    * [ ] Refactoring\r\n    * [x] Minor / simple change (like a typo)\r\n    * [ ] Other\r\n\r\n# Problem\r\n\r\n<!-- \r\n    Anything that helps us understand why you are making this change goes here.\r\n    What problem are you trying to fix? What does this change address?\r\n-->\r\n\r\n* JIRA ticket (_optional_): [LB-325](https://tickets.metabrainz.org/browse/LB-325)\r\n\r\nStarting Last.fm import without entering a username breaks the page.\r\n\r\n# Solution\r\n\r\n<!--\r\n    The details of your change. Talk about technical details, considerations, or\r\n    other interesting points. If you have a lot to say, be more detailed in this\r\n    section.\r\n-->\r\n\r\nDisable the submit button if input is blank.\r\n","created_at":"2018-03-09T18:14:10Z","updated_at":"2018-03-15T20:47:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e3686eedfeedd851093fa64b276b3e70a7e3cfe0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/pulls/373/commits","review_comments_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/pulls/373/comments","review_comment_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/issues/373/comments","statuses_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/statuses/2b355efdc6f18192b2836e69180822712ed4b5af","head":{"label":"Uditgulati:LB-325","ref":"LB-325","sha":"2b355efdc6f18192b2836e69180822712ed4b5af","user":{"login":"Uditgulati","id":21101801,"avatar_url":"https://avatars0.githubusercontent.com/u/21101801?v=4","gravatar_id":"","url":"https://api.github.com/users/Uditgulati","html_url":"https://github.com/Uditgulati","followers_url":"https://api.github.com/users/Uditgulati/followers","following_url":"https://api.github.com/users/Uditgulati/following{/other_user}","gists_url":"https://api.github.com/users/Uditgulati/gists{/gist_id}","starred_url":"https://api.github.com/users/Uditgulati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Uditgulati/subscriptions","organizations_url":"https://api.github.com/users/Uditgulati/orgs","repos_url":"https://api.github.com/users/Uditgulati/repos","events_url":"https://api.github.com/users/Uditgulati/events{/privacy}","received_events_url":"https://api.github.com/users/Uditgulati/received_events","type":"User","site_admin":false},"repo":{"id":118568395,"name":"listenbrainz-server","full_name":"Uditgulati/listenbrainz-server","owner":{"login":"Uditgulati","id":21101801,"avatar_url":"https://avatars0.githubusercontent.com/u/21101801?v=4","gravatar_id":"","url":"https://api.github.com/users/Uditgulati","html_url":"https://github.com/Uditgulati","followers_url":"https://api.github.com/users/Uditgulati/followers","following_url":"https://api.github.com/users/Uditgulati/following{/other_user}","gists_url":"https://api.github.com/users/Uditgulati/gists{/gist_id}","starred_url":"https://api.github.com/users/Uditgulati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Uditgulati/subscriptions","organizations_url":"https://api.github.com/users/Uditgulati/orgs","repos_url":"https://api.github.com/users/Uditgulati/repos","events_url":"https://api.github.com/users/Uditgulati/events{/privacy}","received_events_url":"https://api.github.com/users/Uditgulati/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Uditgulati/listenbrainz-server","description":"Server for the ListenBrainz project","fork":true,"url":"https://api.github.com/repos/Uditgulati/listenbrainz-server","forks_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/forks","keys_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/teams","hooks_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/hooks","issue_events_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/issues/events{/number}","events_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/events","assignees_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/assignees{/user}","branches_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/branches{/branch}","tags_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/tags","blobs_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/statuses/{sha}","languages_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/languages","stargazers_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/stargazers","contributors_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/contributors","subscribers_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/subscribers","subscription_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/subscription","commits_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/contents/{+path}","compare_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/merges","archive_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/downloads","issues_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/issues{/number}","pulls_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/pulls{/number}","milestones_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/milestones{/number}","notifications_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/labels{/name}","releases_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/releases{/id}","deployments_url":"https://api.github.com/repos/Uditgulati/listenbrainz-server/deployments","created_at":"2018-01-23T06:33:46Z","updated_at":"2018-01-23T06:33:48Z","pushed_at":"2018-03-15T07:39:18Z","git_url":"git://github.com/Uditgulati/listenbrainz-server.git","ssh_url":"git@github.com:Uditgulati/listenbrainz-server.git","clone_url":"https://github.com/Uditgulati/listenbrainz-server.git","svn_url":"https://github.com/Uditgulati/listenbrainz-server","homepage":"https://listenbrainz.org/","size":2867,"stargazers_count":0,"watchers_count":0,"language":"Python","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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"metabrainz:master","ref":"master","sha":"fb8430210c8b41a3fb7c590f0b4188e374969dab","user":{"login":"metabrainz","id":293421,"avatar_url":"https://avatars2.githubusercontent.com/u/293421?v=4","gravatar_id":"","url":"https://api.github.com/users/metabrainz","html_url":"https://github.com/metabrainz","followers_url":"https://api.github.com/users/metabrainz/followers","following_url":"https://api.github.com/users/metabrainz/following{/other_user}","gists_url":"https://api.github.com/users/metabrainz/gists{/gist_id}","starred_url":"https://api.github.com/users/metabrainz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metabrainz/subscriptions","organizations_url":"https://api.github.com/users/metabrainz/orgs","repos_url":"https://api.github.com/users/metabrainz/repos","events_url":"https://api.github.com/users/metabrainz/events{/privacy}","received_events_url":"https://api.github.com/users/metabrainz/received_events","type":"Organization","site_admin":false},"repo":{"id":41960013,"name":"listenbrainz-server","full_name":"metabrainz/listenbrainz-server","owner":{"login":"metabrainz","id":293421,"avatar_url":"https://avatars2.githubusercontent.com/u/293421?v=4","gravatar_id":"","url":"https://api.github.com/users/metabrainz","html_url":"https://github.com/metabrainz","followers_url":"https://api.github.com/users/metabrainz/followers","following_url":"https://api.github.com/users/metabrainz/following{/other_user}","gists_url":"https://api.github.com/users/metabrainz/gists{/gist_id}","starred_url":"https://api.github.com/users/metabrainz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metabrainz/subscriptions","organizations_url":"https://api.github.com/users/metabrainz/orgs","repos_url":"https://api.github.com/users/metabrainz/repos","events_url":"https://api.github.com/users/metabrainz/events{/privacy}","received_events_url":"https://api.github.com/users/metabrainz/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/metabrainz/listenbrainz-server","description":"Server for the ListenBrainz project","fork":false,"url":"https://api.github.com/repos/metabrainz/listenbrainz-server","forks_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/forks","keys_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/teams","hooks_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/hooks","issue_events_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/issues/events{/number}","events_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/events","assignees_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/assignees{/user}","branches_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/branches{/branch}","tags_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/tags","blobs_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/statuses/{sha}","languages_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/languages","stargazers_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/stargazers","contributors_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/contributors","subscribers_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/subscribers","subscription_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/subscription","commits_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/contents/{+path}","compare_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/merges","archive_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/downloads","issues_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/issues{/number}","pulls_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/pulls{/number}","milestones_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/milestones{/number}","notifications_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/labels{/name}","releases_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/releases{/id}","deployments_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/deployments","created_at":"2015-09-05T12:30:49Z","updated_at":"2018-03-15T19:33:27Z","pushed_at":"2018-03-15T20:44:10Z","git_url":"git://github.com/metabrainz/listenbrainz-server.git","ssh_url":"git@github.com:metabrainz/listenbrainz-server.git","clone_url":"https://github.com/metabrainz/listenbrainz-server.git","svn_url":"https://github.com/metabrainz/listenbrainz-server","homepage":"https://listenbrainz.org/","size":2881,"stargazers_count":168,"watchers_count":168,"language":"Python","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":39,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":39,"open_issues":5,"watchers":168,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/metabrainz/listenbrainz-server/pulls/373"},"html":{"href":"https://github.com/metabrainz/listenbrainz-server/pull/373"},"issue":{"href":"https://api.github.com/repos/metabrainz/listenbrainz-server/issues/373"},"comments":{"href":"https://api.github.com/repos/metabrainz/listenbrainz-server/issues/373/comments"},"review_comments":{"href":"https://api.github.com/repos/metabrainz/listenbrainz-server/pulls/373/comments"},"review_comment":{"href":"https://api.github.com/repos/metabrainz/listenbrainz-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/metabrainz/listenbrainz-server/pulls/373/commits"},"statuses":{"href":"https://api.github.com/repos/metabrainz/listenbrainz-server/statuses/2b355efdc6f18192b2836e69180822712ed4b5af"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"paramsingh"}}