{"action":"created","comment":{"url":"https://api.github.com/repos/InkubatorTieto/melvil/pulls/comments/193722857","pull_request_review_id":126750565,"id":193722857,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MzcyMjg1Nw==","diff_hunk":"@@ -250,3 +292,19 @@ def reset_with_token(token):\n                            form=form,\n                            token=token,\n                            error=form.errors)\n+\n+@library.errorhandler(405)\n+def method_not_allowed(error):\n+    message_body = 'Method not allowed!'\n+    message_title = 'Error!'\n+    return render_template('message.html',\n+                           message_title=message_title,\n+                           message_body=message_body), 405\n+\n+@library.errorhandler(500)\n+def server_error(error):\n+    message_body = 'but something went wrong.'\n+    message_title = 'Don\\'t panic!'\n+    return render_template('message.html',\n+                           message_title=message_title,\n+                           message_body=message_body), 500","path":"views/index.py","position":105,"original_position":105,"commit_id":"0cd094360c3f69c65c3a6db999fa37f17535a08a","original_commit_id":"0cd094360c3f69c65c3a6db999fa37f17535a08a","user":{"login":"stickler-ci","id":16011037,"node_id":"MDQ6VXNlcjE2MDExMDM3","avatar_url":"https://avatars3.githubusercontent.com/u/16011037?v=4","gravatar_id":"","url":"https://api.github.com/users/stickler-ci","html_url":"https://github.com/stickler-ci","followers_url":"https://api.github.com/users/stickler-ci/followers","following_url":"https://api.github.com/users/stickler-ci/following{/other_user}","gists_url":"https://api.github.com/users/stickler-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/stickler-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stickler-ci/subscriptions","organizations_url":"https://api.github.com/users/stickler-ci/orgs","repos_url":"https://api.github.com/users/stickler-ci/repos","events_url":"https://api.github.com/users/stickler-ci/events{/privacy}","received_events_url":"https://api.github.com/users/stickler-ci/received_events","type":"User","site_admin":false},"body":"W292 no newline at end of file","created_at":"2018-06-07T12:09:42Z","updated_at":"2018-06-07T12:09:42Z","html_url":"https://github.com/InkubatorTieto/melvil/pull/34#discussion_r193722857","pull_request_url":"https://api.github.com/repos/InkubatorTieto/melvil/pulls/34","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/InkubatorTieto/melvil/pulls/comments/193722857"},"html":{"href":"https://github.com/InkubatorTieto/melvil/pull/34#discussion_r193722857"},"pull_request":{"href":"https://api.github.com/repos/InkubatorTieto/melvil/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/InkubatorTieto/melvil/pulls/34","id":192632169,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyNjMyMTY5","html_url":"https://github.com/InkubatorTieto/melvil/pull/34","diff_url":"https://github.com/InkubatorTieto/melvil/pull/34.diff","patch_url":"https://github.com/InkubatorTieto/melvil/pull/34.patch","issue_url":"https://api.github.com/repos/InkubatorTieto/melvil/issues/34","number":34,"state":"open","locked":false,"title":"feature/DL-54","user":{"login":"wojwarych","id":29739306,"node_id":"MDQ6VXNlcjI5NzM5MzA2","avatar_url":"https://avatars0.githubusercontent.com/u/29739306?v=4","gravatar_id":"","url":"https://api.github.com/users/wojwarych","html_url":"https://github.com/wojwarych","followers_url":"https://api.github.com/users/wojwarych/followers","following_url":"https://api.github.com/users/wojwarych/following{/other_user}","gists_url":"https://api.github.com/users/wojwarych/gists{/gist_id}","starred_url":"https://api.github.com/users/wojwarych/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wojwarych/subscriptions","organizations_url":"https://api.github.com/users/wojwarych/orgs","repos_url":"https://api.github.com/users/wojwarych/repos","events_url":"https://api.github.com/users/wojwarych/events{/privacy}","received_events_url":"https://api.github.com/users/wojwarych/received_events","type":"User","site_admin":false},"body":"1. Powershell and *nix scripts to clear cache from ```*.pyc``` files (if something goes wrong with running tests on docker)\r\n2. Added logic for ```search()``` func in ```index.py``` in order to get books data (```book.id```, ```book.original_title``` and ```book.authors```) and show it as a sorted list (by last names of authors) of links to books in ```search.html``` -> each link redirect to url with book details via ```book.id```\r\n3. Some changes in stylesheets, added ```search.css``` stylesheet for proper layout of logic\r\n4. Added js script ```search.min.js``` in new folder ```static/js/``` which handles with filtering data in list so that ```SearchForm``` in view is unnecessary\r\n5. Clean up order of imports in ```*.py``` files\r\n6. Tests in progress","created_at":"2018-06-05T08:48:19Z","updated_at":"2018-06-07T12:09:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"094f8840e8bf6dc19161f3f3e542b0e79eb2f92d","assignee":null,"assignees":[],"requested_reviewers":[{"login":"etude-ist","id":5578427,"node_id":"MDQ6VXNlcjU1Nzg0Mjc=","avatar_url":"https://avatars1.githubusercontent.com/u/5578427?v=4","gravatar_id":"","url":"https://api.github.com/users/etude-ist","html_url":"https://github.com/etude-ist","followers_url":"https://api.github.com/users/etude-ist/followers","following_url":"https://api.github.com/users/etude-ist/following{/other_user}","gists_url":"https://api.github.com/users/etude-ist/gists{/gist_id}","starred_url":"https://api.github.com/users/etude-ist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etude-ist/subscriptions","organizations_url":"https://api.github.com/users/etude-ist/orgs","repos_url":"https://api.github.com/users/etude-ist/repos","events_url":"https://api.github.com/users/etude-ist/events{/privacy}","received_events_url":"https://api.github.com/users/etude-ist/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/InkubatorTieto/melvil/pulls/34/commits","review_comments_url":"https://api.github.com/repos/InkubatorTieto/melvil/pulls/34/comments","review_comment_url":"https://api.github.com/repos/InkubatorTieto/melvil/pulls/comments{/number}","comments_url":"https://api.github.com/repos/InkubatorTieto/melvil/issues/34/comments","statuses_url":"https://api.github.com/repos/InkubatorTieto/melvil/statuses/0cd094360c3f69c65c3a6db999fa37f17535a08a","head":{"label":"InkubatorTieto:feature/DL-54","ref":"feature/DL-54","sha":"0cd094360c3f69c65c3a6db999fa37f17535a08a","user":{"login":"InkubatorTieto","id":38905594,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4OTA1NTk0","avatar_url":"https://avatars0.githubusercontent.com/u/38905594?v=4","gravatar_id":"","url":"https://api.github.com/users/InkubatorTieto","html_url":"https://github.com/InkubatorTieto","followers_url":"https://api.github.com/users/InkubatorTieto/followers","following_url":"https://api.github.com/users/InkubatorTieto/following{/other_user}","gists_url":"https://api.github.com/users/InkubatorTieto/gists{/gist_id}","starred_url":"https://api.github.com/users/InkubatorTieto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InkubatorTieto/subscriptions","organizations_url":"https://api.github.com/users/InkubatorTieto/orgs","repos_url":"https://api.github.com/users/InkubatorTieto/repos","events_url":"https://api.github.com/users/InkubatorTieto/events{/privacy}","received_events_url":"https://api.github.com/users/InkubatorTieto/received_events","type":"Organization","site_admin":false},"repo":{"id":131816331,"node_id":"MDEwOlJlcG9zaXRvcnkxMzE4MTYzMzE=","name":"melvil","full_name":"InkubatorTieto/melvil","owner":{"login":"InkubatorTieto","id":38905594,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4OTA1NTk0","avatar_url":"https://avatars0.githubusercontent.com/u/38905594?v=4","gravatar_id":"","url":"https://api.github.com/users/InkubatorTieto","html_url":"https://github.com/InkubatorTieto","followers_url":"https://api.github.com/users/InkubatorTieto/followers","following_url":"https://api.github.com/users/InkubatorTieto/following{/other_user}","gists_url":"https://api.github.com/users/InkubatorTieto/gists{/gist_id}","starred_url":"https://api.github.com/users/InkubatorTieto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InkubatorTieto/subscriptions","organizations_url":"https://api.github.com/users/InkubatorTieto/orgs","repos_url":"https://api.github.com/users/InkubatorTieto/repos","events_url":"https://api.github.com/users/InkubatorTieto/events{/privacy}","received_events_url":"https://api.github.com/users/InkubatorTieto/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/InkubatorTieto/melvil","description":null,"fork":false,"url":"https://api.github.com/repos/InkubatorTieto/melvil","forks_url":"https://api.github.com/repos/InkubatorTieto/melvil/forks","keys_url":"https://api.github.com/repos/InkubatorTieto/melvil/keys{/key_id}","collaborators_url":"https://api.github.com/repos/InkubatorTieto/melvil/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/InkubatorTieto/melvil/teams","hooks_url":"https://api.github.com/repos/InkubatorTieto/melvil/hooks","issue_events_url":"https://api.github.com/repos/InkubatorTieto/melvil/issues/events{/number}","events_url":"https://api.github.com/repos/InkubatorTieto/melvil/events","assignees_url":"https://api.github.com/repos/InkubatorTieto/melvil/assignees{/user}","branches_url":"https://api.github.com/repos/InkubatorTieto/melvil/branches{/branch}","tags_url":"https://api.github.com/repos/InkubatorTieto/melvil/tags","blobs_url":"https://api.github.com/repos/InkubatorTieto/melvil/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/InkubatorTieto/melvil/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/InkubatorTieto/melvil/git/refs{/sha}","trees_url":"https://api.github.com/repos/InkubatorTieto/melvil/git/trees{/sha}","statuses_url":"https://api.github.com/repos/InkubatorTieto/melvil/statuses/{sha}","languages_url":"https://api.github.com/repos/InkubatorTieto/melvil/languages","stargazers_url":"https://api.github.com/repos/InkubatorTieto/melvil/stargazers","contributors_url":"https://api.github.com/repos/InkubatorTieto/melvil/contributors","subscribers_url":"https://api.github.com/repos/InkubatorTieto/melvil/subscribers","subscription_url":"https://api.github.com/repos/InkubatorTieto/melvil/subscription","commits_url":"https://api.github.com/repos/InkubatorTieto/melvil/commits{/sha}","git_commits_url":"https://api.github.com/repos/InkubatorTieto/melvil/git/commits{/sha}","comments_url":"https://api.github.com/repos/InkubatorTieto/melvil/comments{/number}","issue_comment_url":"https://api.github.com/repos/InkubatorTieto/melvil/issues/comments{/number}","contents_url":"https://api.github.com/repos/InkubatorTieto/melvil/contents/{+path}","compare_url":"https://api.github.com/repos/InkubatorTieto/melvil/compare/{base}...{head}","merges_url":"https://api.github.com/repos/InkubatorTieto/melvil/merges","archive_url":"https://api.github.com/repos/InkubatorTieto/melvil/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/InkubatorTieto/melvil/downloads","issues_url":"https://api.github.com/repos/InkubatorTieto/melvil/issues{/number}","pulls_url":"https://api.github.com/repos/InkubatorTieto/melvil/pulls{/number}","milestones_url":"https://api.github.com/repos/InkubatorTieto/melvil/milestones{/number}","notifications_url":"https://api.github.com/repos/InkubatorTieto/melvil/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/InkubatorTieto/melvil/labels{/name}","releases_url":"https://api.github.com/repos/InkubatorTieto/melvil/releases{/id}","deployments_url":"https://api.github.com/repos/InkubatorTieto/melvil/deployments","created_at":"2018-05-02T07:46:34Z","updated_at":"2018-05-30T14:31:29Z","pushed_at":"2018-06-07T12:09:33Z","git_url":"git://github.com/InkubatorTieto/melvil.git","ssh_url":"git@github.com:InkubatorTieto/melvil.git","clone_url":"https://github.com/InkubatorTieto/melvil.git","svn_url":"https://github.com/InkubatorTieto/melvil","homepage":null,"size":4493,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":11,"license":null,"forks":1,"open_issues":11,"watchers":1,"default_branch":"master"}},"base":{"label":"InkubatorTieto:release/110618","ref":"release/110618","sha":"b752fca0db3d0be1049852341d8a7e3aee8c442f","user":{"login":"InkubatorTieto","id":38905594,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4OTA1NTk0","avatar_url":"https://avatars0.githubusercontent.com/u/38905594?v=4","gravatar_id":"","url":"https://api.github.com/users/InkubatorTieto","html_url":"https://github.com/InkubatorTieto","followers_url":"https://api.github.com/users/InkubatorTieto/followers","following_url":"https://api.github.com/users/InkubatorTieto/following{/other_user}","gists_url":"https://api.github.com/users/InkubatorTieto/gists{/gist_id}","starred_url":"https://api.github.com/users/InkubatorTieto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InkubatorTieto/subscriptions","organizations_url":"https://api.github.com/users/InkubatorTieto/orgs","repos_url":"https://api.github.com/users/InkubatorTieto/repos","events_url":"https://api.github.com/users/InkubatorTieto/events{/privacy}","received_events_url":"https://api.github.com/users/InkubatorTieto/received_events","type":"Organization","site_admin":false},"repo":{"id":131816331,"node_id":"MDEwOlJlcG9zaXRvcnkxMzE4MTYzMzE=","name":"melvil","full_name":"InkubatorTieto/melvil","owner":{"login":"InkubatorTieto","id":38905594,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4OTA1NTk0","avatar_url":"https://avatars0.githubusercontent.com/u/38905594?v=4","gravatar_id":"","url":"https://api.github.com/users/InkubatorTieto","html_url":"https://github.com/InkubatorTieto","followers_url":"https://api.github.com/users/InkubatorTieto/followers","following_url":"https://api.github.com/users/InkubatorTieto/following{/other_user}","gists_url":"https://api.github.com/users/InkubatorTieto/gists{/gist_id}","starred_url":"https://api.github.com/users/InkubatorTieto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InkubatorTieto/subscriptions","organizations_url":"https://api.github.com/users/InkubatorTieto/orgs","repos_url":"https://api.github.com/users/InkubatorTieto/repos","events_url":"https://api.github.com/users/InkubatorTieto/events{/privacy}","received_events_url":"https://api.github.com/users/InkubatorTieto/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/InkubatorTieto/melvil","description":null,"fork":false,"url":"https://api.github.com/repos/InkubatorTieto/melvil","forks_url":"https://api.github.com/repos/InkubatorTieto/melvil/forks","keys_url":"https://api.github.com/repos/InkubatorTieto/melvil/keys{/key_id}","collaborators_url":"https://api.github.com/repos/InkubatorTieto/melvil/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/InkubatorTieto/melvil/teams","hooks_url":"https://api.github.com/repos/InkubatorTieto/melvil/hooks","issue_events_url":"https://api.github.com/repos/InkubatorTieto/melvil/issues/events{/number}","events_url":"https://api.github.com/repos/InkubatorTieto/melvil/events","assignees_url":"https://api.github.com/repos/InkubatorTieto/melvil/assignees{/user}","branches_url":"https://api.github.com/repos/InkubatorTieto/melvil/branches{/branch}","tags_url":"https://api.github.com/repos/InkubatorTieto/melvil/tags","blobs_url":"https://api.github.com/repos/InkubatorTieto/melvil/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/InkubatorTieto/melvil/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/InkubatorTieto/melvil/git/refs{/sha}","trees_url":"https://api.github.com/repos/InkubatorTieto/melvil/git/trees{/sha}","statuses_url":"https://api.github.com/repos/InkubatorTieto/melvil/statuses/{sha}","languages_url":"https://api.github.com/repos/InkubatorTieto/melvil/languages","stargazers_url":"https://api.github.com/repos/InkubatorTieto/melvil/stargazers","contributors_url":"https://api.github.com/repos/InkubatorTieto/melvil/contributors","subscribers_url":"https://api.github.com/repos/InkubatorTieto/melvil/subscribers","subscription_url":"https://api.github.com/repos/InkubatorTieto/melvil/subscription","commits_url":"https://api.github.com/repos/InkubatorTieto/melvil/commits{/sha}","git_commits_url":"https://api.github.com/repos/InkubatorTieto/melvil/git/commits{/sha}","comments_url":"https://api.github.com/repos/InkubatorTieto/melvil/comments{/number}","issue_comment_url":"https://api.github.com/repos/InkubatorTieto/melvil/issues/comments{/number}","contents_url":"https://api.github.com/repos/InkubatorTieto/melvil/contents/{+path}","compare_url":"https://api.github.com/repos/InkubatorTieto/melvil/compare/{base}...{head}","merges_url":"https://api.github.com/repos/InkubatorTieto/melvil/merges","archive_url":"https://api.github.com/repos/InkubatorTieto/melvil/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/InkubatorTieto/melvil/downloads","issues_url":"https://api.github.com/repos/InkubatorTieto/melvil/issues{/number}","pulls_url":"https://api.github.com/repos/InkubatorTieto/melvil/pulls{/number}","milestones_url":"https://api.github.com/repos/InkubatorTieto/melvil/milestones{/number}","notifications_url":"https://api.github.com/repos/InkubatorTieto/melvil/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/InkubatorTieto/melvil/labels{/name}","releases_url":"https://api.github.com/repos/InkubatorTieto/melvil/releases{/id}","deployments_url":"https://api.github.com/repos/InkubatorTieto/melvil/deployments","created_at":"2018-05-02T07:46:34Z","updated_at":"2018-05-30T14:31:29Z","pushed_at":"2018-06-07T12:09:33Z","git_url":"git://github.com/InkubatorTieto/melvil.git","ssh_url":"git@github.com:InkubatorTieto/melvil.git","clone_url":"https://github.com/InkubatorTieto/melvil.git","svn_url":"https://github.com/InkubatorTieto/melvil","homepage":null,"size":4493,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":11,"license":null,"forks":1,"open_issues":11,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/InkubatorTieto/melvil/pulls/34"},"html":{"href":"https://github.com/InkubatorTieto/melvil/pull/34"},"issue":{"href":"https://api.github.com/repos/InkubatorTieto/melvil/issues/34"},"comments":{"href":"https://api.github.com/repos/InkubatorTieto/melvil/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/InkubatorTieto/melvil/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/InkubatorTieto/melvil/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/InkubatorTieto/melvil/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/InkubatorTieto/melvil/statuses/0cd094360c3f69c65c3a6db999fa37f17535a08a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"stickler-ci"}}