{"action":"created","comment":{"url":"https://api.github.com/repos/sahana/eden/pulls/comments/65341286","id":65341286,"diff_hunk":"@@ -1391,4 +1403,106 @@ def cap_AreaRowOptionsBuilder(alert_id, caller=None):\n \n         return cap_area_options\n \n+# -----------------------------------------------------------------------------\n+def compose():\n+\n+    if settings.has_module(\"msg\") and \\\n+       settings.get_cap_show_notification_menu() and \\\n+       auth.permission.has_permission(\"update\", c=\"cap\", f=\"alert\"):\n+        if request.get_vars.option == \"notify_subscribers\":","path":"controllers/cap.py","position":79,"original_position":79,"commit_id":"723496f47298075fef9f6161717b7adcad5ff72a","original_commit_id":"723496f47298075fef9f6161717b7adcad5ff72a","user":{"login":"flavour","id":389592,"avatar_url":"https://avatars.githubusercontent.com/u/389592?v=3","gravatar_id":"","url":"https://api.github.com/users/flavour","html_url":"https://github.com/flavour","followers_url":"https://api.github.com/users/flavour/followers","following_url":"https://api.github.com/users/flavour/following{/other_user}","gists_url":"https://api.github.com/users/flavour/gists{/gist_id}","starred_url":"https://api.github.com/users/flavour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flavour/subscriptions","organizations_url":"https://api.github.com/users/flavour/orgs","repos_url":"https://api.github.com/users/flavour/repos","events_url":"https://api.github.com/users/flavour/events{/privacy}","received_events_url":"https://api.github.com/users/flavour/received_events","type":"User","site_admin":false},"body":"Can just use get_vars in the controller context :)","created_at":"2016-06-01T11:07:40Z","updated_at":"2016-06-01T11:07:40Z","html_url":"https://github.com/sahana/eden/pull/1290#discussion_r65341286","pull_request_url":"https://api.github.com/repos/sahana/eden/pulls/1290","_links":{"self":{"href":"https://api.github.com/repos/sahana/eden/pulls/comments/65341286"},"html":{"href":"https://github.com/sahana/eden/pull/1290#discussion_r65341286"},"pull_request":{"href":"https://api.github.com/repos/sahana/eden/pulls/1290"}}},"pull_request":{"url":"https://api.github.com/repos/sahana/eden/pulls/1290","id":72133196,"html_url":"https://github.com/sahana/eden/pull/1290","diff_url":"https://github.com/sahana/eden/pull/1290.diff","patch_url":"https://github.com/sahana/eden/pull/1290.patch","issue_url":"https://api.github.com/repos/sahana/eden/issues/1290","number":1290,"state":"open","locked":false,"title":"SAMBRO: CAP History Model + SAMBRO: send email about new priority + fixes","user":{"login":"biplovbhandari","id":4207677,"avatar_url":"https://avatars.githubusercontent.com/u/4207677?v=3","gravatar_id":"","url":"https://api.github.com/users/biplovbhandari","html_url":"https://github.com/biplovbhandari","followers_url":"https://api.github.com/users/biplovbhandari/followers","following_url":"https://api.github.com/users/biplovbhandari/following{/other_user}","gists_url":"https://api.github.com/users/biplovbhandari/gists{/gist_id}","starred_url":"https://api.github.com/users/biplovbhandari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biplovbhandari/subscriptions","organizations_url":"https://api.github.com/users/biplovbhandari/orgs","repos_url":"https://api.github.com/users/biplovbhandari/repos","events_url":"https://api.github.com/users/biplovbhandari/events{/privacy}","received_events_url":"https://api.github.com/users/biplovbhandari/received_events","type":"User","site_admin":false},"body":"@flavour Please merge","created_at":"2016-06-01T07:17:32Z","updated_at":"2016-06-01T11:07:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a2323caebbbed32380833365eca1b793bc48293b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sahana/eden/pulls/1290/commits","review_comments_url":"https://api.github.com/repos/sahana/eden/pulls/1290/comments","review_comment_url":"https://api.github.com/repos/sahana/eden/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sahana/eden/issues/1290/comments","statuses_url":"https://api.github.com/repos/sahana/eden/statuses/723496f47298075fef9f6161717b7adcad5ff72a","head":{"label":"biplovbhandari:info_parameter","ref":"info_parameter","sha":"723496f47298075fef9f6161717b7adcad5ff72a","user":{"login":"biplovbhandari","id":4207677,"avatar_url":"https://avatars.githubusercontent.com/u/4207677?v=3","gravatar_id":"","url":"https://api.github.com/users/biplovbhandari","html_url":"https://github.com/biplovbhandari","followers_url":"https://api.github.com/users/biplovbhandari/followers","following_url":"https://api.github.com/users/biplovbhandari/following{/other_user}","gists_url":"https://api.github.com/users/biplovbhandari/gists{/gist_id}","starred_url":"https://api.github.com/users/biplovbhandari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biplovbhandari/subscriptions","organizations_url":"https://api.github.com/users/biplovbhandari/orgs","repos_url":"https://api.github.com/users/biplovbhandari/repos","events_url":"https://api.github.com/users/biplovbhandari/events{/privacy}","received_events_url":"https://api.github.com/users/biplovbhandari/received_events","type":"User","site_admin":false},"repo":{"id":37774689,"name":"eden","full_name":"biplovbhandari/eden","owner":{"login":"biplovbhandari","id":4207677,"avatar_url":"https://avatars.githubusercontent.com/u/4207677?v=3","gravatar_id":"","url":"https://api.github.com/users/biplovbhandari","html_url":"https://github.com/biplovbhandari","followers_url":"https://api.github.com/users/biplovbhandari/followers","following_url":"https://api.github.com/users/biplovbhandari/following{/other_user}","gists_url":"https://api.github.com/users/biplovbhandari/gists{/gist_id}","starred_url":"https://api.github.com/users/biplovbhandari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biplovbhandari/subscriptions","organizations_url":"https://api.github.com/users/biplovbhandari/orgs","repos_url":"https://api.github.com/users/biplovbhandari/repos","events_url":"https://api.github.com/users/biplovbhandari/events{/privacy}","received_events_url":"https://api.github.com/users/biplovbhandari/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/biplovbhandari/eden","description":"Sahana Eden is an Open Source Humanitarian Platform which can be used to provide solutions for Disaster Management, Development, and Environmental Management sectors.. Please sign CLA when submitting pull requests: http://bit.ly/SSF-eCLA","fork":true,"url":"https://api.github.com/repos/biplovbhandari/eden","forks_url":"https://api.github.com/repos/biplovbhandari/eden/forks","keys_url":"https://api.github.com/repos/biplovbhandari/eden/keys{/key_id}","collaborators_url":"https://api.github.com/repos/biplovbhandari/eden/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/biplovbhandari/eden/teams","hooks_url":"https://api.github.com/repos/biplovbhandari/eden/hooks","issue_events_url":"https://api.github.com/repos/biplovbhandari/eden/issues/events{/number}","events_url":"https://api.github.com/repos/biplovbhandari/eden/events","assignees_url":"https://api.github.com/repos/biplovbhandari/eden/assignees{/user}","branches_url":"https://api.github.com/repos/biplovbhandari/eden/branches{/branch}","tags_url":"https://api.github.com/repos/biplovbhandari/eden/tags","blobs_url":"https://api.github.com/repos/biplovbhandari/eden/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/biplovbhandari/eden/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/biplovbhandari/eden/git/refs{/sha}","trees_url":"https://api.github.com/repos/biplovbhandari/eden/git/trees{/sha}","statuses_url":"https://api.github.com/repos/biplovbhandari/eden/statuses/{sha}","languages_url":"https://api.github.com/repos/biplovbhandari/eden/languages","stargazers_url":"https://api.github.com/repos/biplovbhandari/eden/stargazers","contributors_url":"https://api.github.com/repos/biplovbhandari/eden/contributors","subscribers_url":"https://api.github.com/repos/biplovbhandari/eden/subscribers","subscription_url":"https://api.github.com/repos/biplovbhandari/eden/subscription","commits_url":"https://api.github.com/repos/biplovbhandari/eden/commits{/sha}","git_commits_url":"https://api.github.com/repos/biplovbhandari/eden/git/commits{/sha}","comments_url":"https://api.github.com/repos/biplovbhandari/eden/comments{/number}","issue_comment_url":"https://api.github.com/repos/biplovbhandari/eden/issues/comments{/number}","contents_url":"https://api.github.com/repos/biplovbhandari/eden/contents/{+path}","compare_url":"https://api.github.com/repos/biplovbhandari/eden/compare/{base}...{head}","merges_url":"https://api.github.com/repos/biplovbhandari/eden/merges","archive_url":"https://api.github.com/repos/biplovbhandari/eden/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/biplovbhandari/eden/downloads","issues_url":"https://api.github.com/repos/biplovbhandari/eden/issues{/number}","pulls_url":"https://api.github.com/repos/biplovbhandari/eden/pulls{/number}","milestones_url":"https://api.github.com/repos/biplovbhandari/eden/milestones{/number}","notifications_url":"https://api.github.com/repos/biplovbhandari/eden/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/biplovbhandari/eden/labels{/name}","releases_url":"https://api.github.com/repos/biplovbhandari/eden/releases{/id}","deployments_url":"https://api.github.com/repos/biplovbhandari/eden/deployments","created_at":"2015-06-20T15:32:51Z","updated_at":"2016-01-18T02:18:09Z","pushed_at":"2016-06-01T09:33:03Z","git_url":"git://github.com/biplovbhandari/eden.git","ssh_url":"git@github.com:biplovbhandari/eden.git","clone_url":"https://github.com/biplovbhandari/eden.git","svn_url":"https://github.com/biplovbhandari/eden","homepage":"http://eden.sahanafoundation.org","size":149529,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"sahana:master","ref":"master","sha":"efe8081205cd5f4a894d60ae00154a3dbfcecd48","user":{"login":"sahana","id":4512248,"avatar_url":"https://avatars.githubusercontent.com/u/4512248?v=3","gravatar_id":"","url":"https://api.github.com/users/sahana","html_url":"https://github.com/sahana","followers_url":"https://api.github.com/users/sahana/followers","following_url":"https://api.github.com/users/sahana/following{/other_user}","gists_url":"https://api.github.com/users/sahana/gists{/gist_id}","starred_url":"https://api.github.com/users/sahana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahana/subscriptions","organizations_url":"https://api.github.com/users/sahana/orgs","repos_url":"https://api.github.com/users/sahana/repos","events_url":"https://api.github.com/users/sahana/events{/privacy}","received_events_url":"https://api.github.com/users/sahana/received_events","type":"Organization","site_admin":false},"repo":{"id":3021325,"name":"eden","full_name":"sahana/eden","owner":{"login":"sahana","id":4512248,"avatar_url":"https://avatars.githubusercontent.com/u/4512248?v=3","gravatar_id":"","url":"https://api.github.com/users/sahana","html_url":"https://github.com/sahana","followers_url":"https://api.github.com/users/sahana/followers","following_url":"https://api.github.com/users/sahana/following{/other_user}","gists_url":"https://api.github.com/users/sahana/gists{/gist_id}","starred_url":"https://api.github.com/users/sahana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahana/subscriptions","organizations_url":"https://api.github.com/users/sahana/orgs","repos_url":"https://api.github.com/users/sahana/repos","events_url":"https://api.github.com/users/sahana/events{/privacy}","received_events_url":"https://api.github.com/users/sahana/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sahana/eden","description":"Sahana Eden is an Open Source Humanitarian Platform which can be used to provide solutions for Disaster Management, Development, and Environmental Management sectors.. Please sign CLA when submitting pull requests: http://bit.ly/SSF-eCLA","fork":false,"url":"https://api.github.com/repos/sahana/eden","forks_url":"https://api.github.com/repos/sahana/eden/forks","keys_url":"https://api.github.com/repos/sahana/eden/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sahana/eden/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sahana/eden/teams","hooks_url":"https://api.github.com/repos/sahana/eden/hooks","issue_events_url":"https://api.github.com/repos/sahana/eden/issues/events{/number}","events_url":"https://api.github.com/repos/sahana/eden/events","assignees_url":"https://api.github.com/repos/sahana/eden/assignees{/user}","branches_url":"https://api.github.com/repos/sahana/eden/branches{/branch}","tags_url":"https://api.github.com/repos/sahana/eden/tags","blobs_url":"https://api.github.com/repos/sahana/eden/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sahana/eden/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sahana/eden/git/refs{/sha}","trees_url":"https://api.github.com/repos/sahana/eden/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sahana/eden/statuses/{sha}","languages_url":"https://api.github.com/repos/sahana/eden/languages","stargazers_url":"https://api.github.com/repos/sahana/eden/stargazers","contributors_url":"https://api.github.com/repos/sahana/eden/contributors","subscribers_url":"https://api.github.com/repos/sahana/eden/subscribers","subscription_url":"https://api.github.com/repos/sahana/eden/subscription","commits_url":"https://api.github.com/repos/sahana/eden/commits{/sha}","git_commits_url":"https://api.github.com/repos/sahana/eden/git/commits{/sha}","comments_url":"https://api.github.com/repos/sahana/eden/comments{/number}","issue_comment_url":"https://api.github.com/repos/sahana/eden/issues/comments{/number}","contents_url":"https://api.github.com/repos/sahana/eden/contents/{+path}","compare_url":"https://api.github.com/repos/sahana/eden/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sahana/eden/merges","archive_url":"https://api.github.com/repos/sahana/eden/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sahana/eden/downloads","issues_url":"https://api.github.com/repos/sahana/eden/issues{/number}","pulls_url":"https://api.github.com/repos/sahana/eden/pulls{/number}","milestones_url":"https://api.github.com/repos/sahana/eden/milestones{/number}","notifications_url":"https://api.github.com/repos/sahana/eden/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sahana/eden/labels{/name}","releases_url":"https://api.github.com/repos/sahana/eden/releases{/id}","deployments_url":"https://api.github.com/repos/sahana/eden/deployments","created_at":"2011-12-20T17:49:16Z","updated_at":"2016-06-01T03:12:58Z","pushed_at":"2016-06-01T09:57:48Z","git_url":"git://github.com/sahana/eden.git","ssh_url":"git@github.com:sahana/eden.git","clone_url":"https://github.com/sahana/eden.git","svn_url":"https://github.com/sahana/eden","homepage":"http://eden.sahanafoundation.org","size":180167,"stargazers_count":185,"watchers_count":185,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":446,"mirror_url":null,"open_issues_count":81,"forks":446,"open_issues":81,"watchers":185,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sahana/eden/pulls/1290"},"html":{"href":"https://github.com/sahana/eden/pull/1290"},"issue":{"href":"https://api.github.com/repos/sahana/eden/issues/1290"},"comments":{"href":"https://api.github.com/repos/sahana/eden/issues/1290/comments"},"review_comments":{"href":"https://api.github.com/repos/sahana/eden/pulls/1290/comments"},"review_comment":{"href":"https://api.github.com/repos/sahana/eden/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sahana/eden/pulls/1290/commits"},"statuses":{"href":"https://api.github.com/repos/sahana/eden/statuses/723496f47298075fef9f6161717b7adcad5ff72a"}}}}
{"actor":{"display_login":"flavour"}}