{"action":"created","comment":{"url":"https://api.github.com/repos/scattm/DanceCat/pulls/comments/78573588","id":78573588,"diff_hunk":"@@ -233,8 +233,8 @@ def db_config_generator(self):\n \n                 # Update password field to current version.\n                 if not not self.connection_id:\n-                    self.password = Helpers.aes_encrypt(\n-                        db_config['password'], config['DB_ENCRYPT_KEY']\n+                    self.encrypt_password(","path":"DanceCat/Models.py","position":6,"original_position":6,"commit_id":"972a04ab7f6a65dfa1f26ad6a2ecb98390272391","original_commit_id":"972a04ab7f6a65dfa1f26ad6a2ecb98390272391","user":{"login":"scattm","id":1098350,"avatar_url":"https://avatars.githubusercontent.com/u/1098350?v=3","gravatar_id":"","url":"https://api.github.com/users/scattm","html_url":"https://github.com/scattm","followers_url":"https://api.github.com/users/scattm/followers","following_url":"https://api.github.com/users/scattm/following{/other_user}","gists_url":"https://api.github.com/users/scattm/gists{/gist_id}","starred_url":"https://api.github.com/users/scattm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scattm/subscriptions","organizations_url":"https://api.github.com/users/scattm/orgs","repos_url":"https://api.github.com/users/scattm/repos","events_url":"https://api.github.com/users/scattm/events{/privacy}","received_events_url":"https://api.github.com/users/scattm/received_events","type":"User","site_admin":false},"body":"sure","created_at":"2016-09-13T14:42:45Z","updated_at":"2016-09-13T14:42:45Z","html_url":"https://github.com/scattm/DanceCat/pull/94#discussion_r78573588","pull_request_url":"https://api.github.com/repos/scattm/DanceCat/pulls/94","_links":{"self":{"href":"https://api.github.com/repos/scattm/DanceCat/pulls/comments/78573588"},"html":{"href":"https://github.com/scattm/DanceCat/pull/94#discussion_r78573588"},"pull_request":{"href":"https://api.github.com/repos/scattm/DanceCat/pulls/94"}}},"pull_request":{"url":"https://api.github.com/repos/scattm/DanceCat/pulls/94","id":85044990,"html_url":"https://github.com/scattm/DanceCat/pull/94","diff_url":"https://github.com/scattm/DanceCat/pull/94.diff","patch_url":"https://github.com/scattm/DanceCat/pull/94.patch","issue_url":"https://api.github.com/repos/scattm/DanceCat/issues/94","number":94,"state":"open","locked":false,"title":"0.1.3.93.FixBug - Fix Helpers.aes_raw_pad","user":{"login":"scattm","id":1098350,"avatar_url":"https://avatars.githubusercontent.com/u/1098350?v=3","gravatar_id":"","url":"https://api.github.com/users/scattm","html_url":"https://github.com/scattm","followers_url":"https://api.github.com/users/scattm/followers","following_url":"https://api.github.com/users/scattm/following{/other_user}","gists_url":"https://api.github.com/users/scattm/gists{/gist_id}","starred_url":"https://api.github.com/users/scattm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scattm/subscriptions","organizations_url":"https://api.github.com/users/scattm/orgs","repos_url":"https://api.github.com/users/scattm/repos","events_url":"https://api.github.com/users/scattm/events{/privacy}","received_events_url":"https://api.github.com/users/scattm/received_events","type":"User","site_admin":false},"body":"This PR fix bug in #93 \r\n- Fix wrong output from `Helpers.aes_raw_pad`\r\n- Update related test cases","created_at":"2016-09-13T13:10:55Z","updated_at":"2016-09-13T14:42:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"adac21b3cb492293ea8ea450a9fd40dd62fcf63d","assignee":{"login":"caohhung","id":9817552,"avatar_url":"https://avatars.githubusercontent.com/u/9817552?v=3","gravatar_id":"","url":"https://api.github.com/users/caohhung","html_url":"https://github.com/caohhung","followers_url":"https://api.github.com/users/caohhung/followers","following_url":"https://api.github.com/users/caohhung/following{/other_user}","gists_url":"https://api.github.com/users/caohhung/gists{/gist_id}","starred_url":"https://api.github.com/users/caohhung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caohhung/subscriptions","organizations_url":"https://api.github.com/users/caohhung/orgs","repos_url":"https://api.github.com/users/caohhung/repos","events_url":"https://api.github.com/users/caohhung/events{/privacy}","received_events_url":"https://api.github.com/users/caohhung/received_events","type":"User","site_admin":false},"assignees":[{"login":"caohhung","id":9817552,"avatar_url":"https://avatars.githubusercontent.com/u/9817552?v=3","gravatar_id":"","url":"https://api.github.com/users/caohhung","html_url":"https://github.com/caohhung","followers_url":"https://api.github.com/users/caohhung/followers","following_url":"https://api.github.com/users/caohhung/following{/other_user}","gists_url":"https://api.github.com/users/caohhung/gists{/gist_id}","starred_url":"https://api.github.com/users/caohhung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caohhung/subscriptions","organizations_url":"https://api.github.com/users/caohhung/orgs","repos_url":"https://api.github.com/users/caohhung/repos","events_url":"https://api.github.com/users/caohhung/events{/privacy}","received_events_url":"https://api.github.com/users/caohhung/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/scattm/DanceCat/pulls/94/commits","review_comments_url":"https://api.github.com/repos/scattm/DanceCat/pulls/94/comments","review_comment_url":"https://api.github.com/repos/scattm/DanceCat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scattm/DanceCat/issues/94/comments","statuses_url":"https://api.github.com/repos/scattm/DanceCat/statuses/972a04ab7f6a65dfa1f26ad6a2ecb98390272391","head":{"label":"scattm:0.1.3.93.FixBug.AESRawPad","ref":"0.1.3.93.FixBug.AESRawPad","sha":"972a04ab7f6a65dfa1f26ad6a2ecb98390272391","user":{"login":"scattm","id":1098350,"avatar_url":"https://avatars.githubusercontent.com/u/1098350?v=3","gravatar_id":"","url":"https://api.github.com/users/scattm","html_url":"https://github.com/scattm","followers_url":"https://api.github.com/users/scattm/followers","following_url":"https://api.github.com/users/scattm/following{/other_user}","gists_url":"https://api.github.com/users/scattm/gists{/gist_id}","starred_url":"https://api.github.com/users/scattm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scattm/subscriptions","organizations_url":"https://api.github.com/users/scattm/orgs","repos_url":"https://api.github.com/users/scattm/repos","events_url":"https://api.github.com/users/scattm/events{/privacy}","received_events_url":"https://api.github.com/users/scattm/received_events","type":"User","site_admin":false},"repo":{"id":61656867,"name":"DanceCat","full_name":"scattm/DanceCat","owner":{"login":"scattm","id":1098350,"avatar_url":"https://avatars.githubusercontent.com/u/1098350?v=3","gravatar_id":"","url":"https://api.github.com/users/scattm","html_url":"https://github.com/scattm","followers_url":"https://api.github.com/users/scattm/followers","following_url":"https://api.github.com/users/scattm/following{/other_user}","gists_url":"https://api.github.com/users/scattm/gists{/gist_id}","starred_url":"https://api.github.com/users/scattm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scattm/subscriptions","organizations_url":"https://api.github.com/users/scattm/orgs","repos_url":"https://api.github.com/users/scattm/repos","events_url":"https://api.github.com/users/scattm/events{/privacy}","received_events_url":"https://api.github.com/users/scattm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/scattm/DanceCat","description":"A Data Reporting tool by Flask","fork":false,"url":"https://api.github.com/repos/scattm/DanceCat","forks_url":"https://api.github.com/repos/scattm/DanceCat/forks","keys_url":"https://api.github.com/repos/scattm/DanceCat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scattm/DanceCat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scattm/DanceCat/teams","hooks_url":"https://api.github.com/repos/scattm/DanceCat/hooks","issue_events_url":"https://api.github.com/repos/scattm/DanceCat/issues/events{/number}","events_url":"https://api.github.com/repos/scattm/DanceCat/events","assignees_url":"https://api.github.com/repos/scattm/DanceCat/assignees{/user}","branches_url":"https://api.github.com/repos/scattm/DanceCat/branches{/branch}","tags_url":"https://api.github.com/repos/scattm/DanceCat/tags","blobs_url":"https://api.github.com/repos/scattm/DanceCat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scattm/DanceCat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scattm/DanceCat/git/refs{/sha}","trees_url":"https://api.github.com/repos/scattm/DanceCat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scattm/DanceCat/statuses/{sha}","languages_url":"https://api.github.com/repos/scattm/DanceCat/languages","stargazers_url":"https://api.github.com/repos/scattm/DanceCat/stargazers","contributors_url":"https://api.github.com/repos/scattm/DanceCat/contributors","subscribers_url":"https://api.github.com/repos/scattm/DanceCat/subscribers","subscription_url":"https://api.github.com/repos/scattm/DanceCat/subscription","commits_url":"https://api.github.com/repos/scattm/DanceCat/commits{/sha}","git_commits_url":"https://api.github.com/repos/scattm/DanceCat/git/commits{/sha}","comments_url":"https://api.github.com/repos/scattm/DanceCat/comments{/number}","issue_comment_url":"https://api.github.com/repos/scattm/DanceCat/issues/comments{/number}","contents_url":"https://api.github.com/repos/scattm/DanceCat/contents/{+path}","compare_url":"https://api.github.com/repos/scattm/DanceCat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scattm/DanceCat/merges","archive_url":"https://api.github.com/repos/scattm/DanceCat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scattm/DanceCat/downloads","issues_url":"https://api.github.com/repos/scattm/DanceCat/issues{/number}","pulls_url":"https://api.github.com/repos/scattm/DanceCat/pulls{/number}","milestones_url":"https://api.github.com/repos/scattm/DanceCat/milestones{/number}","notifications_url":"https://api.github.com/repos/scattm/DanceCat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scattm/DanceCat/labels{/name}","releases_url":"https://api.github.com/repos/scattm/DanceCat/releases{/id}","deployments_url":"https://api.github.com/repos/scattm/DanceCat/deployments","created_at":"2016-06-21T18:23:02Z","updated_at":"2016-09-01T03:56:30Z","pushed_at":"2016-09-13T13:10:56Z","git_url":"git://github.com/scattm/DanceCat.git","ssh_url":"git@github.com:scattm/DanceCat.git","clone_url":"https://github.com/scattm/DanceCat.git","svn_url":"https://github.com/scattm/DanceCat","homepage":null,"size":2993,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":18,"forks":2,"open_issues":18,"watchers":7,"default_branch":"master"}},"base":{"label":"scattm:dev","ref":"dev","sha":"722465b5f68fadfb861f553a995c3440f01217fe","user":{"login":"scattm","id":1098350,"avatar_url":"https://avatars.githubusercontent.com/u/1098350?v=3","gravatar_id":"","url":"https://api.github.com/users/scattm","html_url":"https://github.com/scattm","followers_url":"https://api.github.com/users/scattm/followers","following_url":"https://api.github.com/users/scattm/following{/other_user}","gists_url":"https://api.github.com/users/scattm/gists{/gist_id}","starred_url":"https://api.github.com/users/scattm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scattm/subscriptions","organizations_url":"https://api.github.com/users/scattm/orgs","repos_url":"https://api.github.com/users/scattm/repos","events_url":"https://api.github.com/users/scattm/events{/privacy}","received_events_url":"https://api.github.com/users/scattm/received_events","type":"User","site_admin":false},"repo":{"id":61656867,"name":"DanceCat","full_name":"scattm/DanceCat","owner":{"login":"scattm","id":1098350,"avatar_url":"https://avatars.githubusercontent.com/u/1098350?v=3","gravatar_id":"","url":"https://api.github.com/users/scattm","html_url":"https://github.com/scattm","followers_url":"https://api.github.com/users/scattm/followers","following_url":"https://api.github.com/users/scattm/following{/other_user}","gists_url":"https://api.github.com/users/scattm/gists{/gist_id}","starred_url":"https://api.github.com/users/scattm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scattm/subscriptions","organizations_url":"https://api.github.com/users/scattm/orgs","repos_url":"https://api.github.com/users/scattm/repos","events_url":"https://api.github.com/users/scattm/events{/privacy}","received_events_url":"https://api.github.com/users/scattm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/scattm/DanceCat","description":"A Data Reporting tool by Flask","fork":false,"url":"https://api.github.com/repos/scattm/DanceCat","forks_url":"https://api.github.com/repos/scattm/DanceCat/forks","keys_url":"https://api.github.com/repos/scattm/DanceCat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scattm/DanceCat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scattm/DanceCat/teams","hooks_url":"https://api.github.com/repos/scattm/DanceCat/hooks","issue_events_url":"https://api.github.com/repos/scattm/DanceCat/issues/events{/number}","events_url":"https://api.github.com/repos/scattm/DanceCat/events","assignees_url":"https://api.github.com/repos/scattm/DanceCat/assignees{/user}","branches_url":"https://api.github.com/repos/scattm/DanceCat/branches{/branch}","tags_url":"https://api.github.com/repos/scattm/DanceCat/tags","blobs_url":"https://api.github.com/repos/scattm/DanceCat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scattm/DanceCat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scattm/DanceCat/git/refs{/sha}","trees_url":"https://api.github.com/repos/scattm/DanceCat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scattm/DanceCat/statuses/{sha}","languages_url":"https://api.github.com/repos/scattm/DanceCat/languages","stargazers_url":"https://api.github.com/repos/scattm/DanceCat/stargazers","contributors_url":"https://api.github.com/repos/scattm/DanceCat/contributors","subscribers_url":"https://api.github.com/repos/scattm/DanceCat/subscribers","subscription_url":"https://api.github.com/repos/scattm/DanceCat/subscription","commits_url":"https://api.github.com/repos/scattm/DanceCat/commits{/sha}","git_commits_url":"https://api.github.com/repos/scattm/DanceCat/git/commits{/sha}","comments_url":"https://api.github.com/repos/scattm/DanceCat/comments{/number}","issue_comment_url":"https://api.github.com/repos/scattm/DanceCat/issues/comments{/number}","contents_url":"https://api.github.com/repos/scattm/DanceCat/contents/{+path}","compare_url":"https://api.github.com/repos/scattm/DanceCat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scattm/DanceCat/merges","archive_url":"https://api.github.com/repos/scattm/DanceCat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scattm/DanceCat/downloads","issues_url":"https://api.github.com/repos/scattm/DanceCat/issues{/number}","pulls_url":"https://api.github.com/repos/scattm/DanceCat/pulls{/number}","milestones_url":"https://api.github.com/repos/scattm/DanceCat/milestones{/number}","notifications_url":"https://api.github.com/repos/scattm/DanceCat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scattm/DanceCat/labels{/name}","releases_url":"https://api.github.com/repos/scattm/DanceCat/releases{/id}","deployments_url":"https://api.github.com/repos/scattm/DanceCat/deployments","created_at":"2016-06-21T18:23:02Z","updated_at":"2016-09-01T03:56:30Z","pushed_at":"2016-09-13T13:10:56Z","git_url":"git://github.com/scattm/DanceCat.git","ssh_url":"git@github.com:scattm/DanceCat.git","clone_url":"https://github.com/scattm/DanceCat.git","svn_url":"https://github.com/scattm/DanceCat","homepage":null,"size":2993,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":18,"forks":2,"open_issues":18,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scattm/DanceCat/pulls/94"},"html":{"href":"https://github.com/scattm/DanceCat/pull/94"},"issue":{"href":"https://api.github.com/repos/scattm/DanceCat/issues/94"},"comments":{"href":"https://api.github.com/repos/scattm/DanceCat/issues/94/comments"},"review_comments":{"href":"https://api.github.com/repos/scattm/DanceCat/pulls/94/comments"},"review_comment":{"href":"https://api.github.com/repos/scattm/DanceCat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scattm/DanceCat/pulls/94/commits"},"statuses":{"href":"https://api.github.com/repos/scattm/DanceCat/statuses/972a04ab7f6a65dfa1f26ad6a2ecb98390272391"}}}}
{"actor":{"display_login":"scattm"}}