{"action":"created","comment":{"url":"https://api.github.com/repos/guh/guh/pulls/comments/26514841","id":26514841,"diff_hunk":"@@ -38,6 +38,11 @@ class RulesHandler : public JsonHandler\n \n     Q_INVOKABLE JsonReply* EnableRule(const QVariantMap &params);\n     Q_INVOKABLE JsonReply* DisableRule(const QVariantMap &params);\n+\n+private:\n+    QVariant::Type getActionParamType(const ActionTypeId &actionTypeId, const QString &paramName);\n+    QVariant::Type getEventParamType(const EventTypeId &eventTypeId, const QString &paramName);","path":"server/jsonrpc/ruleshandler.h","position":7,"original_position":7,"commit_id":"cbcbe19e9565a509aa84af1d5199dc3b6cc17675","original_commit_id":"cbcbe19e9565a509aa84af1d5199dc3b6cc17675","user":{"login":"mzanetti","id":102573,"avatar_url":"https://avatars.githubusercontent.com/u/102573?v=3","gravatar_id":"","url":"https://api.github.com/users/mzanetti","html_url":"https://github.com/mzanetti","followers_url":"https://api.github.com/users/mzanetti/followers","following_url":"https://api.github.com/users/mzanetti/following{/other_user}","gists_url":"https://api.github.com/users/mzanetti/gists{/gist_id}","starred_url":"https://api.github.com/users/mzanetti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzanetti/subscriptions","organizations_url":"https://api.github.com/users/mzanetti/orgs","repos_url":"https://api.github.com/users/mzanetti/repos","events_url":"https://api.github.com/users/mzanetti/events{/privacy}","received_events_url":"https://api.github.com/users/mzanetti/received_events","type":"User","site_admin":false},"body":"and this one in the Events namespace","created_at":"2015-03-16T18:41:46Z","updated_at":"2015-03-16T18:41:46Z","html_url":"https://github.com/guh/guh/pull/136#discussion_r26514841","pull_request_url":"https://api.github.com/repos/guh/guh/pulls/136","_links":{"self":{"href":"https://api.github.com/repos/guh/guh/pulls/comments/26514841"},"html":{"href":"https://github.com/guh/guh/pull/136#discussion_r26514841"},"pull_request":{"href":"https://api.github.com/repos/guh/guh/pulls/136"}}},"pull_request":{"url":"https://api.github.com/repos/guh/guh/pulls/136","id":30983591,"html_url":"https://github.com/guh/guh/pull/136","diff_url":"https://github.com/guh/guh/pull/136.diff","patch_url":"https://github.com/guh/guh/pull/136.patch","issue_url":"https://api.github.com/repos/guh/guh/issues/136","number":136,"state":"open","locked":false,"title":"Rule action params","user":{"login":"t-mon","id":6507449,"avatar_url":"https://avatars.githubusercontent.com/u/6507449?v=3","gravatar_id":"","url":"https://api.github.com/users/t-mon","html_url":"https://github.com/t-mon","followers_url":"https://api.github.com/users/t-mon/followers","following_url":"https://api.github.com/users/t-mon/following{/other_user}","gists_url":"https://api.github.com/users/t-mon/gists{/gist_id}","starred_url":"https://api.github.com/users/t-mon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t-mon/subscriptions","organizations_url":"https://api.github.com/users/t-mon/orgs","repos_url":"https://api.github.com/users/t-mon/repos","events_url":"https://api.github.com/users/t-mon/events{/privacy}","received_events_url":"https://api.github.com/users/t-mon/received_events","type":"User","site_admin":false},"body":"added RuleAction and RuleActionParam to RuleEngine\r\n\r\nallows to user event params in an ruleaction","created_at":"2015-03-11T20:48:01Z","updated_at":"2015-03-16T18:41:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ac560bd9830eb4cbcdc0a302310d5800725ea45f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/guh/guh/pulls/136/commits","review_comments_url":"https://api.github.com/repos/guh/guh/pulls/136/comments","review_comment_url":"https://api.github.com/repos/guh/guh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guh/guh/issues/136/comments","statuses_url":"https://api.github.com/repos/guh/guh/statuses/cbcbe19e9565a509aa84af1d5199dc3b6cc17675","head":{"label":"t-mon:rule-action-params","ref":"rule-action-params","sha":"cbcbe19e9565a509aa84af1d5199dc3b6cc17675","user":{"login":"t-mon","id":6507449,"avatar_url":"https://avatars.githubusercontent.com/u/6507449?v=3","gravatar_id":"","url":"https://api.github.com/users/t-mon","html_url":"https://github.com/t-mon","followers_url":"https://api.github.com/users/t-mon/followers","following_url":"https://api.github.com/users/t-mon/following{/other_user}","gists_url":"https://api.github.com/users/t-mon/gists{/gist_id}","starred_url":"https://api.github.com/users/t-mon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t-mon/subscriptions","organizations_url":"https://api.github.com/users/t-mon/orgs","repos_url":"https://api.github.com/users/t-mon/repos","events_url":"https://api.github.com/users/t-mon/events{/privacy}","received_events_url":"https://api.github.com/users/t-mon/received_events","type":"User","site_admin":false},"repo":{"id":22575681,"name":"guh","full_name":"t-mon/guh","owner":{"login":"t-mon","id":6507449,"avatar_url":"https://avatars.githubusercontent.com/u/6507449?v=3","gravatar_id":"","url":"https://api.github.com/users/t-mon","html_url":"https://github.com/t-mon","followers_url":"https://api.github.com/users/t-mon/followers","following_url":"https://api.github.com/users/t-mon/following{/other_user}","gists_url":"https://api.github.com/users/t-mon/gists{/gist_id}","starred_url":"https://api.github.com/users/t-mon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t-mon/subscriptions","organizations_url":"https://api.github.com/users/t-mon/orgs","repos_url":"https://api.github.com/users/t-mon/repos","events_url":"https://api.github.com/users/t-mon/events{/privacy}","received_events_url":"https://api.github.com/users/t-mon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/t-mon/guh","description":"","fork":true,"url":"https://api.github.com/repos/t-mon/guh","forks_url":"https://api.github.com/repos/t-mon/guh/forks","keys_url":"https://api.github.com/repos/t-mon/guh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/t-mon/guh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/t-mon/guh/teams","hooks_url":"https://api.github.com/repos/t-mon/guh/hooks","issue_events_url":"https://api.github.com/repos/t-mon/guh/issues/events{/number}","events_url":"https://api.github.com/repos/t-mon/guh/events","assignees_url":"https://api.github.com/repos/t-mon/guh/assignees{/user}","branches_url":"https://api.github.com/repos/t-mon/guh/branches{/branch}","tags_url":"https://api.github.com/repos/t-mon/guh/tags","blobs_url":"https://api.github.com/repos/t-mon/guh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/t-mon/guh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/t-mon/guh/git/refs{/sha}","trees_url":"https://api.github.com/repos/t-mon/guh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/t-mon/guh/statuses/{sha}","languages_url":"https://api.github.com/repos/t-mon/guh/languages","stargazers_url":"https://api.github.com/repos/t-mon/guh/stargazers","contributors_url":"https://api.github.com/repos/t-mon/guh/contributors","subscribers_url":"https://api.github.com/repos/t-mon/guh/subscribers","subscription_url":"https://api.github.com/repos/t-mon/guh/subscription","commits_url":"https://api.github.com/repos/t-mon/guh/commits{/sha}","git_commits_url":"https://api.github.com/repos/t-mon/guh/git/commits{/sha}","comments_url":"https://api.github.com/repos/t-mon/guh/comments{/number}","issue_comment_url":"https://api.github.com/repos/t-mon/guh/issues/comments{/number}","contents_url":"https://api.github.com/repos/t-mon/guh/contents/{+path}","compare_url":"https://api.github.com/repos/t-mon/guh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/t-mon/guh/merges","archive_url":"https://api.github.com/repos/t-mon/guh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/t-mon/guh/downloads","issues_url":"https://api.github.com/repos/t-mon/guh/issues{/number}","pulls_url":"https://api.github.com/repos/t-mon/guh/pulls{/number}","milestones_url":"https://api.github.com/repos/t-mon/guh/milestones{/number}","notifications_url":"https://api.github.com/repos/t-mon/guh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/t-mon/guh/labels{/name}","releases_url":"https://api.github.com/repos/t-mon/guh/releases{/id}","created_at":"2014-08-03T13:46:26Z","updated_at":"2015-03-05T10:03:20Z","pushed_at":"2015-03-16T09:15:35Z","git_url":"git://github.com/t-mon/guh.git","ssh_url":"git@github.com:t-mon/guh.git","clone_url":"https://github.com/t-mon/guh.git","svn_url":"https://github.com/t-mon/guh","homepage":null,"size":5027,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"guh:master","ref":"master","sha":"cc32c4bf25654a5736cbc45be515b06b95060712","user":{"login":"guh","id":5237262,"avatar_url":"https://avatars.githubusercontent.com/u/5237262?v=3","gravatar_id":"","url":"https://api.github.com/users/guh","html_url":"https://github.com/guh","followers_url":"https://api.github.com/users/guh/followers","following_url":"https://api.github.com/users/guh/following{/other_user}","gists_url":"https://api.github.com/users/guh/gists{/gist_id}","starred_url":"https://api.github.com/users/guh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guh/subscriptions","organizations_url":"https://api.github.com/users/guh/orgs","repos_url":"https://api.github.com/users/guh/repos","events_url":"https://api.github.com/users/guh/events{/privacy}","received_events_url":"https://api.github.com/users/guh/received_events","type":"Organization","site_admin":false},"repo":{"id":12134385,"name":"guh","full_name":"guh/guh","owner":{"login":"guh","id":5237262,"avatar_url":"https://avatars.githubusercontent.com/u/5237262?v=3","gravatar_id":"","url":"https://api.github.com/users/guh","html_url":"https://github.com/guh","followers_url":"https://api.github.com/users/guh/followers","following_url":"https://api.github.com/users/guh/following{/other_user}","gists_url":"https://api.github.com/users/guh/gists{/gist_id}","starred_url":"https://api.github.com/users/guh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guh/subscriptions","organizations_url":"https://api.github.com/users/guh/orgs","repos_url":"https://api.github.com/users/guh/repos","events_url":"https://api.github.com/users/guh/events{/privacy}","received_events_url":"https://api.github.com/users/guh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guh/guh","description":"","fork":false,"url":"https://api.github.com/repos/guh/guh","forks_url":"https://api.github.com/repos/guh/guh/forks","keys_url":"https://api.github.com/repos/guh/guh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guh/guh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guh/guh/teams","hooks_url":"https://api.github.com/repos/guh/guh/hooks","issue_events_url":"https://api.github.com/repos/guh/guh/issues/events{/number}","events_url":"https://api.github.com/repos/guh/guh/events","assignees_url":"https://api.github.com/repos/guh/guh/assignees{/user}","branches_url":"https://api.github.com/repos/guh/guh/branches{/branch}","tags_url":"https://api.github.com/repos/guh/guh/tags","blobs_url":"https://api.github.com/repos/guh/guh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guh/guh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guh/guh/git/refs{/sha}","trees_url":"https://api.github.com/repos/guh/guh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guh/guh/statuses/{sha}","languages_url":"https://api.github.com/repos/guh/guh/languages","stargazers_url":"https://api.github.com/repos/guh/guh/stargazers","contributors_url":"https://api.github.com/repos/guh/guh/contributors","subscribers_url":"https://api.github.com/repos/guh/guh/subscribers","subscription_url":"https://api.github.com/repos/guh/guh/subscription","commits_url":"https://api.github.com/repos/guh/guh/commits{/sha}","git_commits_url":"https://api.github.com/repos/guh/guh/git/commits{/sha}","comments_url":"https://api.github.com/repos/guh/guh/comments{/number}","issue_comment_url":"https://api.github.com/repos/guh/guh/issues/comments{/number}","contents_url":"https://api.github.com/repos/guh/guh/contents/{+path}","compare_url":"https://api.github.com/repos/guh/guh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guh/guh/merges","archive_url":"https://api.github.com/repos/guh/guh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guh/guh/downloads","issues_url":"https://api.github.com/repos/guh/guh/issues{/number}","pulls_url":"https://api.github.com/repos/guh/guh/pulls{/number}","milestones_url":"https://api.github.com/repos/guh/guh/milestones{/number}","notifications_url":"https://api.github.com/repos/guh/guh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guh/guh/labels{/name}","releases_url":"https://api.github.com/repos/guh/guh/releases{/id}","created_at":"2013-08-15T12:58:58Z","updated_at":"2015-03-16T08:23:10Z","pushed_at":"2015-03-16T08:23:09Z","git_url":"git://github.com/guh/guh.git","ssh_url":"git@github.com:guh/guh.git","clone_url":"https://github.com/guh/guh.git","svn_url":"https://github.com/guh/guh","homepage":"dev.guh.guru","size":7566,"stargazers_count":11,"watchers_count":11,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":13,"forks":3,"open_issues":13,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/guh/guh/pulls/136"},"html":{"href":"https://github.com/guh/guh/pull/136"},"issue":{"href":"https://api.github.com/repos/guh/guh/issues/136"},"comments":{"href":"https://api.github.com/repos/guh/guh/issues/136/comments"},"review_comments":{"href":"https://api.github.com/repos/guh/guh/pulls/136/comments"},"review_comment":{"href":"https://api.github.com/repos/guh/guh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guh/guh/pulls/136/commits"},"statuses":{"href":"https://api.github.com/repos/guh/guh/statuses/cbcbe19e9565a509aa84af1d5199dc3b6cc17675"}}}}