{"action":"opened","number":141,"pull_request":{"url":"https://api.github.com/repos/emqtt/emqttd/pulls/141","id":36259117,"html_url":"https://github.com/emqtt/emqttd/pull/141","diff_url":"https://github.com/emqtt/emqttd/pull/141.diff","patch_url":"https://github.com/emqtt/emqttd/pull/141.patch","issue_url":"https://api.github.com/repos/emqtt/emqttd/issues/141","number":141,"state":"open","locked":false,"title":"add mysql acl, auth plugin","user":{"login":"kimiscircle","id":3824119,"avatar_url":"https://avatars.githubusercontent.com/u/3824119?v=3","gravatar_id":"","url":"https://api.github.com/users/kimiscircle","html_url":"https://github.com/kimiscircle","followers_url":"https://api.github.com/users/kimiscircle/followers","following_url":"https://api.github.com/users/kimiscircle/following{/other_user}","gists_url":"https://api.github.com/users/kimiscircle/gists{/gist_id}","starred_url":"https://api.github.com/users/kimiscircle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimiscircle/subscriptions","organizations_url":"https://api.github.com/users/kimiscircle/orgs","repos_url":"https://api.github.com/users/kimiscircle/repos","events_url":"https://api.github.com/users/kimiscircle/events{/privacy}","received_events_url":"https://api.github.com/users/kimiscircle/received_events","type":"User","site_admin":false},"body":"add mysql acl, auth plugin\r\n\r\n1. add pbkdf2 secure password hasher\r\n2. acl table should like |username|topic|rw| in mysql where rw=1 means\r\nread, rw=2 means write, where username = '*' means any user's username  in this\r\nchange\r\n3. note plugin.config  no work here, but this is a working\r\ndiff when default value is right\r\n\r\nadd >= <= mysql where encoding","created_at":"2015-05-27T00:30:44Z","updated_at":"2015-05-27T00:30:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/emqtt/emqttd/pulls/141/commits","review_comments_url":"https://api.github.com/repos/emqtt/emqttd/pulls/141/comments","review_comment_url":"https://api.github.com/repos/emqtt/emqttd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/emqtt/emqttd/issues/141/comments","statuses_url":"https://api.github.com/repos/emqtt/emqttd/statuses/f54337d6b03ce7f28e0e4a2836b7ec795d13c931","head":{"label":"kimiscircle:master","ref":"master","sha":"f54337d6b03ce7f28e0e4a2836b7ec795d13c931","user":{"login":"kimiscircle","id":3824119,"avatar_url":"https://avatars.githubusercontent.com/u/3824119?v=3","gravatar_id":"","url":"https://api.github.com/users/kimiscircle","html_url":"https://github.com/kimiscircle","followers_url":"https://api.github.com/users/kimiscircle/followers","following_url":"https://api.github.com/users/kimiscircle/following{/other_user}","gists_url":"https://api.github.com/users/kimiscircle/gists{/gist_id}","starred_url":"https://api.github.com/users/kimiscircle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimiscircle/subscriptions","organizations_url":"https://api.github.com/users/kimiscircle/orgs","repos_url":"https://api.github.com/users/kimiscircle/repos","events_url":"https://api.github.com/users/kimiscircle/events{/privacy}","received_events_url":"https://api.github.com/users/kimiscircle/received_events","type":"User","site_admin":false},"repo":{"id":33855007,"name":"emqttd","full_name":"kimiscircle/emqttd","owner":{"login":"kimiscircle","id":3824119,"avatar_url":"https://avatars.githubusercontent.com/u/3824119?v=3","gravatar_id":"","url":"https://api.github.com/users/kimiscircle","html_url":"https://github.com/kimiscircle","followers_url":"https://api.github.com/users/kimiscircle/followers","following_url":"https://api.github.com/users/kimiscircle/following{/other_user}","gists_url":"https://api.github.com/users/kimiscircle/gists{/gist_id}","starred_url":"https://api.github.com/users/kimiscircle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimiscircle/subscriptions","organizations_url":"https://api.github.com/users/kimiscircle/orgs","repos_url":"https://api.github.com/users/kimiscircle/repos","events_url":"https://api.github.com/users/kimiscircle/events{/privacy}","received_events_url":"https://api.github.com/users/kimiscircle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kimiscircle/emqttd","description":"Erlang MQTT Broker","fork":true,"url":"https://api.github.com/repos/kimiscircle/emqttd","forks_url":"https://api.github.com/repos/kimiscircle/emqttd/forks","keys_url":"https://api.github.com/repos/kimiscircle/emqttd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kimiscircle/emqttd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kimiscircle/emqttd/teams","hooks_url":"https://api.github.com/repos/kimiscircle/emqttd/hooks","issue_events_url":"https://api.github.com/repos/kimiscircle/emqttd/issues/events{/number}","events_url":"https://api.github.com/repos/kimiscircle/emqttd/events","assignees_url":"https://api.github.com/repos/kimiscircle/emqttd/assignees{/user}","branches_url":"https://api.github.com/repos/kimiscircle/emqttd/branches{/branch}","tags_url":"https://api.github.com/repos/kimiscircle/emqttd/tags","blobs_url":"https://api.github.com/repos/kimiscircle/emqttd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kimiscircle/emqttd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kimiscircle/emqttd/git/refs{/sha}","trees_url":"https://api.github.com/repos/kimiscircle/emqttd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kimiscircle/emqttd/statuses/{sha}","languages_url":"https://api.github.com/repos/kimiscircle/emqttd/languages","stargazers_url":"https://api.github.com/repos/kimiscircle/emqttd/stargazers","contributors_url":"https://api.github.com/repos/kimiscircle/emqttd/contributors","subscribers_url":"https://api.github.com/repos/kimiscircle/emqttd/subscribers","subscription_url":"https://api.github.com/repos/kimiscircle/emqttd/subscription","commits_url":"https://api.github.com/repos/kimiscircle/emqttd/commits{/sha}","git_commits_url":"https://api.github.com/repos/kimiscircle/emqttd/git/commits{/sha}","comments_url":"https://api.github.com/repos/kimiscircle/emqttd/comments{/number}","issue_comment_url":"https://api.github.com/repos/kimiscircle/emqttd/issues/comments{/number}","contents_url":"https://api.github.com/repos/kimiscircle/emqttd/contents/{+path}","compare_url":"https://api.github.com/repos/kimiscircle/emqttd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kimiscircle/emqttd/merges","archive_url":"https://api.github.com/repos/kimiscircle/emqttd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kimiscircle/emqttd/downloads","issues_url":"https://api.github.com/repos/kimiscircle/emqttd/issues{/number}","pulls_url":"https://api.github.com/repos/kimiscircle/emqttd/pulls{/number}","milestones_url":"https://api.github.com/repos/kimiscircle/emqttd/milestones{/number}","notifications_url":"https://api.github.com/repos/kimiscircle/emqttd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kimiscircle/emqttd/labels{/name}","releases_url":"https://api.github.com/repos/kimiscircle/emqttd/releases{/id}","created_at":"2015-04-13T07:49:22Z","updated_at":"2015-04-20T00:08:51Z","pushed_at":"2015-05-27T00:27:41Z","git_url":"git://github.com/kimiscircle/emqttd.git","ssh_url":"git@github.com:kimiscircle/emqttd.git","clone_url":"https://github.com/kimiscircle/emqttd.git","svn_url":"https://github.com/kimiscircle/emqttd","homepage":"http://emqtt.io","size":2073,"stargazers_count":0,"watchers_count":0,"language":"Erlang","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"emqtt:plugins","ref":"plugins","sha":"897d38c2648f405fd12d8d5408061bbdb4e0b240","user":{"login":"emqtt","id":3062055,"avatar_url":"https://avatars.githubusercontent.com/u/3062055?v=3","gravatar_id":"","url":"https://api.github.com/users/emqtt","html_url":"https://github.com/emqtt","followers_url":"https://api.github.com/users/emqtt/followers","following_url":"https://api.github.com/users/emqtt/following{/other_user}","gists_url":"https://api.github.com/users/emqtt/gists{/gist_id}","starred_url":"https://api.github.com/users/emqtt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emqtt/subscriptions","organizations_url":"https://api.github.com/users/emqtt/orgs","repos_url":"https://api.github.com/users/emqtt/repos","events_url":"https://api.github.com/users/emqtt/events{/privacy}","received_events_url":"https://api.github.com/users/emqtt/received_events","type":"Organization","site_admin":false},"repo":{"id":7202769,"name":"emqttd","full_name":"emqtt/emqttd","owner":{"login":"emqtt","id":3062055,"avatar_url":"https://avatars.githubusercontent.com/u/3062055?v=3","gravatar_id":"","url":"https://api.github.com/users/emqtt","html_url":"https://github.com/emqtt","followers_url":"https://api.github.com/users/emqtt/followers","following_url":"https://api.github.com/users/emqtt/following{/other_user}","gists_url":"https://api.github.com/users/emqtt/gists{/gist_id}","starred_url":"https://api.github.com/users/emqtt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emqtt/subscriptions","organizations_url":"https://api.github.com/users/emqtt/orgs","repos_url":"https://api.github.com/users/emqtt/repos","events_url":"https://api.github.com/users/emqtt/events{/privacy}","received_events_url":"https://api.github.com/users/emqtt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/emqtt/emqttd","description":"Erlang MQTT Broker","fork":false,"url":"https://api.github.com/repos/emqtt/emqttd","forks_url":"https://api.github.com/repos/emqtt/emqttd/forks","keys_url":"https://api.github.com/repos/emqtt/emqttd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emqtt/emqttd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emqtt/emqttd/teams","hooks_url":"https://api.github.com/repos/emqtt/emqttd/hooks","issue_events_url":"https://api.github.com/repos/emqtt/emqttd/issues/events{/number}","events_url":"https://api.github.com/repos/emqtt/emqttd/events","assignees_url":"https://api.github.com/repos/emqtt/emqttd/assignees{/user}","branches_url":"https://api.github.com/repos/emqtt/emqttd/branches{/branch}","tags_url":"https://api.github.com/repos/emqtt/emqttd/tags","blobs_url":"https://api.github.com/repos/emqtt/emqttd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emqtt/emqttd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emqtt/emqttd/git/refs{/sha}","trees_url":"https://api.github.com/repos/emqtt/emqttd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emqtt/emqttd/statuses/{sha}","languages_url":"https://api.github.com/repos/emqtt/emqttd/languages","stargazers_url":"https://api.github.com/repos/emqtt/emqttd/stargazers","contributors_url":"https://api.github.com/repos/emqtt/emqttd/contributors","subscribers_url":"https://api.github.com/repos/emqtt/emqttd/subscribers","subscription_url":"https://api.github.com/repos/emqtt/emqttd/subscription","commits_url":"https://api.github.com/repos/emqtt/emqttd/commits{/sha}","git_commits_url":"https://api.github.com/repos/emqtt/emqttd/git/commits{/sha}","comments_url":"https://api.github.com/repos/emqtt/emqttd/comments{/number}","issue_comment_url":"https://api.github.com/repos/emqtt/emqttd/issues/comments{/number}","contents_url":"https://api.github.com/repos/emqtt/emqttd/contents/{+path}","compare_url":"https://api.github.com/repos/emqtt/emqttd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emqtt/emqttd/merges","archive_url":"https://api.github.com/repos/emqtt/emqttd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emqtt/emqttd/downloads","issues_url":"https://api.github.com/repos/emqtt/emqttd/issues{/number}","pulls_url":"https://api.github.com/repos/emqtt/emqttd/pulls{/number}","milestones_url":"https://api.github.com/repos/emqtt/emqttd/milestones{/number}","notifications_url":"https://api.github.com/repos/emqtt/emqttd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emqtt/emqttd/labels{/name}","releases_url":"https://api.github.com/repos/emqtt/emqttd/releases{/id}","created_at":"2012-12-17T10:07:44Z","updated_at":"2015-05-26T13:11:32Z","pushed_at":"2015-05-26T07:40:39Z","git_url":"git://github.com/emqtt/emqttd.git","ssh_url":"git@github.com:emqtt/emqttd.git","clone_url":"https://github.com/emqtt/emqttd.git","svn_url":"https://github.com/emqtt/emqttd","homepage":"http://emqtt.io","size":5723,"stargazers_count":244,"watchers_count":244,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":72,"mirror_url":null,"open_issues_count":12,"forks":72,"open_issues":12,"watchers":244,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/emqtt/emqttd/pulls/141"},"html":{"href":"https://github.com/emqtt/emqttd/pull/141"},"issue":{"href":"https://api.github.com/repos/emqtt/emqttd/issues/141"},"comments":{"href":"https://api.github.com/repos/emqtt/emqttd/issues/141/comments"},"review_comments":{"href":"https://api.github.com/repos/emqtt/emqttd/pulls/141/comments"},"review_comment":{"href":"https://api.github.com/repos/emqtt/emqttd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/emqtt/emqttd/pulls/141/commits"},"statuses":{"href":"https://api.github.com/repos/emqtt/emqttd/statuses/f54337d6b03ce7f28e0e4a2836b7ec795d13c931"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":48,"additions":2126,"deletions":391,"changed_files":68}}