{"action":"opened","number":146,"pull_request":{"url":"https://api.github.com/repos/gem/oq-irmt-qgis/pulls/146","id":92355831,"html_url":"https://github.com/gem/oq-irmt-qgis/pull/146","diff_url":"https://github.com/gem/oq-irmt-qgis/pull/146.diff","patch_url":"https://github.com/gem/oq-irmt-qgis/pull/146.patch","issue_url":"https://api.github.com/repos/gem/oq-irmt-qgis/issues/146","number":146,"state":"open","locked":false,"title":"Custom operator","user":{"login":"ptormene","id":350930,"avatar_url":"https://avatars.githubusercontent.com/u/350930?v=3","gravatar_id":"","url":"https://api.github.com/users/ptormene","html_url":"https://github.com/ptormene","followers_url":"https://api.github.com/users/ptormene/followers","following_url":"https://api.github.com/users/ptormene/following{/other_user}","gists_url":"https://api.github.com/users/ptormene/gists{/gist_id}","starred_url":"https://api.github.com/users/ptormene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptormene/subscriptions","organizations_url":"https://api.github.com/users/ptormene/orgs","repos_url":"https://api.github.com/users/ptormene/repos","events_url":"https://api.github.com/users/ptormene/events{/privacy}","received_events_url":"https://api.github.com/users/ptormene/received_events","type":"User","site_admin":false},"body":"This PR enables the user to include in the project definition also customized calculations that are not part of the set of operators defined in our plugin. When the \"custom\" operator is selected for a node, such node will not be recalculated by the tool, and the user will be able to select a layer's field where to store the results of customized calculations. It will also be possible to describe the custom calculation as free text. In the future, it would be better to leverage the QGIS field calculator at least for formulas that it supports.\r\n\r\nThere is also a platform-side companion PR, that enables the Integrated Risk Viewer (IRV) to visualize projects in which the concept of custom operator is used.","created_at":"2016-11-04T15:01:03Z","updated_at":"2016-11-04T15:01:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/gem/oq-irmt-qgis/pulls/146/commits","review_comments_url":"https://api.github.com/repos/gem/oq-irmt-qgis/pulls/146/comments","review_comment_url":"https://api.github.com/repos/gem/oq-irmt-qgis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gem/oq-irmt-qgis/issues/146/comments","statuses_url":"https://api.github.com/repos/gem/oq-irmt-qgis/statuses/a72daab92adc125db8d7b4d77fc6dae04b8e688a","head":{"label":"gem:custom-operator","ref":"custom-operator","sha":"a72daab92adc125db8d7b4d77fc6dae04b8e688a","user":{"login":"gem","id":316546,"avatar_url":"https://avatars.githubusercontent.com/u/316546?v=3","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"repo":{"id":29854750,"name":"oq-irmt-qgis","full_name":"gem/oq-irmt-qgis","owner":{"login":"gem","id":316546,"avatar_url":"https://avatars.githubusercontent.com/u/316546?v=3","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gem/oq-irmt-qgis","description":"QGIS plugin for social vulnerability and integrated risk","fork":false,"url":"https://api.github.com/repos/gem/oq-irmt-qgis","forks_url":"https://api.github.com/repos/gem/oq-irmt-qgis/forks","keys_url":"https://api.github.com/repos/gem/oq-irmt-qgis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gem/oq-irmt-qgis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gem/oq-irmt-qgis/teams","hooks_url":"https://api.github.com/repos/gem/oq-irmt-qgis/hooks","issue_events_url":"https://api.github.com/repos/gem/oq-irmt-qgis/issues/events{/number}","events_url":"https://api.github.com/repos/gem/oq-irmt-qgis/events","assignees_url":"https://api.github.com/repos/gem/oq-irmt-qgis/assignees{/user}","branches_url":"https://api.github.com/repos/gem/oq-irmt-qgis/branches{/branch}","tags_url":"https://api.github.com/repos/gem/oq-irmt-qgis/tags","blobs_url":"https://api.github.com/repos/gem/oq-irmt-qgis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gem/oq-irmt-qgis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gem/oq-irmt-qgis/git/refs{/sha}","trees_url":"https://api.github.com/repos/gem/oq-irmt-qgis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gem/oq-irmt-qgis/statuses/{sha}","languages_url":"https://api.github.com/repos/gem/oq-irmt-qgis/languages","stargazers_url":"https://api.github.com/repos/gem/oq-irmt-qgis/stargazers","contributors_url":"https://api.github.com/repos/gem/oq-irmt-qgis/contributors","subscribers_url":"https://api.github.com/repos/gem/oq-irmt-qgis/subscribers","subscription_url":"https://api.github.com/repos/gem/oq-irmt-qgis/subscription","commits_url":"https://api.github.com/repos/gem/oq-irmt-qgis/commits{/sha}","git_commits_url":"https://api.github.com/repos/gem/oq-irmt-qgis/git/commits{/sha}","comments_url":"https://api.github.com/repos/gem/oq-irmt-qgis/comments{/number}","issue_comment_url":"https://api.github.com/repos/gem/oq-irmt-qgis/issues/comments{/number}","contents_url":"https://api.github.com/repos/gem/oq-irmt-qgis/contents/{+path}","compare_url":"https://api.github.com/repos/gem/oq-irmt-qgis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gem/oq-irmt-qgis/merges","archive_url":"https://api.github.com/repos/gem/oq-irmt-qgis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gem/oq-irmt-qgis/downloads","issues_url":"https://api.github.com/repos/gem/oq-irmt-qgis/issues{/number}","pulls_url":"https://api.github.com/repos/gem/oq-irmt-qgis/pulls{/number}","milestones_url":"https://api.github.com/repos/gem/oq-irmt-qgis/milestones{/number}","notifications_url":"https://api.github.com/repos/gem/oq-irmt-qgis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gem/oq-irmt-qgis/labels{/name}","releases_url":"https://api.github.com/repos/gem/oq-irmt-qgis/releases{/id}","deployments_url":"https://api.github.com/repos/gem/oq-irmt-qgis/deployments","created_at":"2015-01-26T09:47:44Z","updated_at":"2016-07-25T09:17:08Z","pushed_at":"2016-11-04T15:01:03Z","git_url":"git://github.com/gem/oq-irmt-qgis.git","ssh_url":"git@github.com:gem/oq-irmt-qgis.git","clone_url":"https://github.com/gem/oq-irmt-qgis.git","svn_url":"https://github.com/gem/oq-irmt-qgis","homepage":null,"size":13812,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":1,"default_branch":"master"}},"base":{"label":"gem:master","ref":"master","sha":"005f589d5ccc0b57fa2968da290590f11113aeea","user":{"login":"gem","id":316546,"avatar_url":"https://avatars.githubusercontent.com/u/316546?v=3","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"repo":{"id":29854750,"name":"oq-irmt-qgis","full_name":"gem/oq-irmt-qgis","owner":{"login":"gem","id":316546,"avatar_url":"https://avatars.githubusercontent.com/u/316546?v=3","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gem/oq-irmt-qgis","description":"QGIS plugin for social vulnerability and integrated risk","fork":false,"url":"https://api.github.com/repos/gem/oq-irmt-qgis","forks_url":"https://api.github.com/repos/gem/oq-irmt-qgis/forks","keys_url":"https://api.github.com/repos/gem/oq-irmt-qgis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gem/oq-irmt-qgis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gem/oq-irmt-qgis/teams","hooks_url":"https://api.github.com/repos/gem/oq-irmt-qgis/hooks","issue_events_url":"https://api.github.com/repos/gem/oq-irmt-qgis/issues/events{/number}","events_url":"https://api.github.com/repos/gem/oq-irmt-qgis/events","assignees_url":"https://api.github.com/repos/gem/oq-irmt-qgis/assignees{/user}","branches_url":"https://api.github.com/repos/gem/oq-irmt-qgis/branches{/branch}","tags_url":"https://api.github.com/repos/gem/oq-irmt-qgis/tags","blobs_url":"https://api.github.com/repos/gem/oq-irmt-qgis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gem/oq-irmt-qgis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gem/oq-irmt-qgis/git/refs{/sha}","trees_url":"https://api.github.com/repos/gem/oq-irmt-qgis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gem/oq-irmt-qgis/statuses/{sha}","languages_url":"https://api.github.com/repos/gem/oq-irmt-qgis/languages","stargazers_url":"https://api.github.com/repos/gem/oq-irmt-qgis/stargazers","contributors_url":"https://api.github.com/repos/gem/oq-irmt-qgis/contributors","subscribers_url":"https://api.github.com/repos/gem/oq-irmt-qgis/subscribers","subscription_url":"https://api.github.com/repos/gem/oq-irmt-qgis/subscription","commits_url":"https://api.github.com/repos/gem/oq-irmt-qgis/commits{/sha}","git_commits_url":"https://api.github.com/repos/gem/oq-irmt-qgis/git/commits{/sha}","comments_url":"https://api.github.com/repos/gem/oq-irmt-qgis/comments{/number}","issue_comment_url":"https://api.github.com/repos/gem/oq-irmt-qgis/issues/comments{/number}","contents_url":"https://api.github.com/repos/gem/oq-irmt-qgis/contents/{+path}","compare_url":"https://api.github.com/repos/gem/oq-irmt-qgis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gem/oq-irmt-qgis/merges","archive_url":"https://api.github.com/repos/gem/oq-irmt-qgis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gem/oq-irmt-qgis/downloads","issues_url":"https://api.github.com/repos/gem/oq-irmt-qgis/issues{/number}","pulls_url":"https://api.github.com/repos/gem/oq-irmt-qgis/pulls{/number}","milestones_url":"https://api.github.com/repos/gem/oq-irmt-qgis/milestones{/number}","notifications_url":"https://api.github.com/repos/gem/oq-irmt-qgis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gem/oq-irmt-qgis/labels{/name}","releases_url":"https://api.github.com/repos/gem/oq-irmt-qgis/releases{/id}","deployments_url":"https://api.github.com/repos/gem/oq-irmt-qgis/deployments","created_at":"2015-01-26T09:47:44Z","updated_at":"2016-07-25T09:17:08Z","pushed_at":"2016-11-04T15:01:03Z","git_url":"git://github.com/gem/oq-irmt-qgis.git","ssh_url":"git@github.com:gem/oq-irmt-qgis.git","clone_url":"https://github.com/gem/oq-irmt-qgis.git","svn_url":"https://github.com/gem/oq-irmt-qgis","homepage":null,"size":13812,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gem/oq-irmt-qgis/pulls/146"},"html":{"href":"https://github.com/gem/oq-irmt-qgis/pull/146"},"issue":{"href":"https://api.github.com/repos/gem/oq-irmt-qgis/issues/146"},"comments":{"href":"https://api.github.com/repos/gem/oq-irmt-qgis/issues/146/comments"},"review_comments":{"href":"https://api.github.com/repos/gem/oq-irmt-qgis/pulls/146/comments"},"review_comment":{"href":"https://api.github.com/repos/gem/oq-irmt-qgis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gem/oq-irmt-qgis/pulls/146/commits"},"statuses":{"href":"https://api.github.com/repos/gem/oq-irmt-qgis/statuses/a72daab92adc125db8d7b4d77fc6dae04b8e688a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":9,"additions":823,"deletions":696,"changed_files":10}}
{"actor":{"display_login":"ptormene"}}