{"action":"created","comment":{"url":"https://api.github.com/repos/qgis/QGIS/pulls/comments/244351402","pull_request_review_id":188318866,"id":244351402,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDM1MTQwMg==","diff_hunk":"@@ -369,6 +368,11 @@ def accept(self):\n         if self.chkSpatialIndex.isEnabled() and self.chkSpatialIndex.isChecked():\n             self.db.connector.createSpatialIndex((schema, table), geom)\n \n+        # add comment on table\n+        if self.chkCom.isEnabled() and self.chkCom.isChecked():","path":"python/plugins/db_manager/dlg_import_vector.py","position":13,"original_position":13,"commit_id":"805646dd7f46edff9ba0fdf956346b3a02751312","original_commit_id":"805646dd7f46edff9ba0fdf956346b3a02751312","user":{"login":"m-kuhn","id":588407,"node_id":"MDQ6VXNlcjU4ODQwNw==","avatar_url":"https://avatars1.githubusercontent.com/u/588407?v=4","gravatar_id":"","url":"https://api.github.com/users/m-kuhn","html_url":"https://github.com/m-kuhn","followers_url":"https://api.github.com/users/m-kuhn/followers","following_url":"https://api.github.com/users/m-kuhn/following{/other_user}","gists_url":"https://api.github.com/users/m-kuhn/gists{/gist_id}","starred_url":"https://api.github.com/users/m-kuhn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-kuhn/subscriptions","organizations_url":"https://api.github.com/users/m-kuhn/orgs","repos_url":"https://api.github.com/users/m-kuhn/repos","events_url":"https://api.github.com/users/m-kuhn/events{/privacy}","received_events_url":"https://api.github.com/users/m-kuhn/received_events","type":"User","site_admin":false},"body":"If it's disabled the checked state should be set correctly by the app. Otherwise it's a miscommunication of the real effect towards the user.","created_at":"2018-12-28T15:59:51Z","updated_at":"2018-12-28T15:59:51Z","html_url":"https://github.com/qgis/QGIS/pull/8734#discussion_r244351402","pull_request_url":"https://api.github.com/repos/qgis/QGIS/pulls/8734","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/comments/244351402"},"html":{"href":"https://github.com/qgis/QGIS/pull/8734#discussion_r244351402"},"pull_request":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/8734"}},"in_reply_to_id":244282742},"pull_request":{"url":"https://api.github.com/repos/qgis/QGIS/pulls/8734","id":240506185,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwNTA2MTg1","html_url":"https://github.com/qgis/QGIS/pull/8734","diff_url":"https://github.com/qgis/QGIS/pull/8734.diff","patch_url":"https://github.com/qgis/QGIS/pull/8734.patch","issue_url":"https://api.github.com/repos/qgis/QGIS/issues/8734","number":8734,"state":"open","locked":false,"title":"Add comment option on db_manager pluging postgis tables","user":{"login":"Ailurupoda","id":10120833,"node_id":"MDQ6VXNlcjEwMTIwODMz","avatar_url":"https://avatars2.githubusercontent.com/u/10120833?v=4","gravatar_id":"","url":"https://api.github.com/users/Ailurupoda","html_url":"https://github.com/Ailurupoda","followers_url":"https://api.github.com/users/Ailurupoda/followers","following_url":"https://api.github.com/users/Ailurupoda/following{/other_user}","gists_url":"https://api.github.com/users/Ailurupoda/gists{/gist_id}","starred_url":"https://api.github.com/users/Ailurupoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ailurupoda/subscriptions","organizations_url":"https://api.github.com/users/Ailurupoda/orgs","repos_url":"https://api.github.com/users/Ailurupoda/repos","events_url":"https://api.github.com/users/Ailurupoda/events{/privacy}","received_events_url":"https://api.github.com/users/Ailurupoda/received_events","type":"User","site_admin":false},"body":"## Description\r\nAdd possibility to create a comment on a postgres table when import or using the alter table button from db_manager.\r\n\r\n## Checklist\r\nAdding an item during db_manager postgres import : \r\n- Checkbox to specify that we want to comment the table after we import it\r\n- LineEdit to specify the comment once we specified that we wanted to\r\n\r\n![import_with_comment](https://user-images.githubusercontent.com/10120833/50350072-234ef880-053e-11e9-99c2-e118b0aa23b7.png)\r\n\r\nAdding a new tab on the Table properties window:\r\n- Display comment on a line edit\r\n- Modify the comment directly and confirm using the AddComment button\r\n- Delete the comment using the Delete Comment (Adding a None comment has the same effect)\r\n\r\n![add_comment](https://user-images.githubusercontent.com/10120833/50350153-71fc9280-053e-11e9-878c-67406ddbe17f.png)\r\n\r\n","created_at":"2018-12-21T15:36:23Z","updated_at":"2018-12-28T15:59:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"00f345027796394fb38839f15c6f55514bc73375","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":310142278,"node_id":"MDU6TGFiZWwzMTAxNDIyNzg=","url":"https://api.github.com/repos/qgis/QGIS/labels/Feature","name":"Feature","color":"bfd4f2","default":false}],"milestone":{"url":"https://api.github.com/repos/qgis/QGIS/milestones/20","html_url":"https://github.com/qgis/QGIS/milestone/20","labels_url":"https://api.github.com/repos/qgis/QGIS/milestones/20/labels","id":3655620,"node_id":"MDk6TWlsZXN0b25lMzY1NTYyMA==","number":20,"title":"3.6","description":"","creator":{"login":"nyalldawson","id":1829991,"node_id":"MDQ6VXNlcjE4Mjk5OTE=","avatar_url":"https://avatars1.githubusercontent.com/u/1829991?v=4","gravatar_id":"","url":"https://api.github.com/users/nyalldawson","html_url":"https://github.com/nyalldawson","followers_url":"https://api.github.com/users/nyalldawson/followers","following_url":"https://api.github.com/users/nyalldawson/following{/other_user}","gists_url":"https://api.github.com/users/nyalldawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nyalldawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyalldawson/subscriptions","organizations_url":"https://api.github.com/users/nyalldawson/orgs","repos_url":"https://api.github.com/users/nyalldawson/repos","events_url":"https://api.github.com/users/nyalldawson/events{/privacy}","received_events_url":"https://api.github.com/users/nyalldawson/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":142,"state":"open","created_at":"2018-09-14T19:17:33Z","updated_at":"2018-12-27T16:20:55Z","due_on":"2019-01-18T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/qgis/QGIS/pulls/8734/commits","review_comments_url":"https://api.github.com/repos/qgis/QGIS/pulls/8734/comments","review_comment_url":"https://api.github.com/repos/qgis/QGIS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/qgis/QGIS/issues/8734/comments","statuses_url":"https://api.github.com/repos/qgis/QGIS/statuses/805646dd7f46edff9ba0fdf956346b3a02751312","head":{"label":"SIRS-CLS:sirs_db_manager","ref":"sirs_db_manager","sha":"805646dd7f46edff9ba0fdf956346b3a02751312","user":{"login":"SIRS-CLS","id":46047820,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2MDQ3ODIw","avatar_url":"https://avatars1.githubusercontent.com/u/46047820?v=4","gravatar_id":"","url":"https://api.github.com/users/SIRS-CLS","html_url":"https://github.com/SIRS-CLS","followers_url":"https://api.github.com/users/SIRS-CLS/followers","following_url":"https://api.github.com/users/SIRS-CLS/following{/other_user}","gists_url":"https://api.github.com/users/SIRS-CLS/gists{/gist_id}","starred_url":"https://api.github.com/users/SIRS-CLS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SIRS-CLS/subscriptions","organizations_url":"https://api.github.com/users/SIRS-CLS/orgs","repos_url":"https://api.github.com/users/SIRS-CLS/repos","events_url":"https://api.github.com/users/SIRS-CLS/events{/privacy}","received_events_url":"https://api.github.com/users/SIRS-CLS/received_events","type":"Organization","site_admin":false},"repo":{"id":162727058,"node_id":"MDEwOlJlcG9zaXRvcnkxNjI3MjcwNTg=","name":"QGIS","full_name":"SIRS-CLS/QGIS","private":false,"owner":{"login":"SIRS-CLS","id":46047820,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2MDQ3ODIw","avatar_url":"https://avatars1.githubusercontent.com/u/46047820?v=4","gravatar_id":"","url":"https://api.github.com/users/SIRS-CLS","html_url":"https://github.com/SIRS-CLS","followers_url":"https://api.github.com/users/SIRS-CLS/followers","following_url":"https://api.github.com/users/SIRS-CLS/following{/other_user}","gists_url":"https://api.github.com/users/SIRS-CLS/gists{/gist_id}","starred_url":"https://api.github.com/users/SIRS-CLS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SIRS-CLS/subscriptions","organizations_url":"https://api.github.com/users/SIRS-CLS/orgs","repos_url":"https://api.github.com/users/SIRS-CLS/repos","events_url":"https://api.github.com/users/SIRS-CLS/events{/privacy}","received_events_url":"https://api.github.com/users/SIRS-CLS/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/SIRS-CLS/QGIS","description":"QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)","fork":true,"url":"https://api.github.com/repos/SIRS-CLS/QGIS","forks_url":"https://api.github.com/repos/SIRS-CLS/QGIS/forks","keys_url":"https://api.github.com/repos/SIRS-CLS/QGIS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SIRS-CLS/QGIS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SIRS-CLS/QGIS/teams","hooks_url":"https://api.github.com/repos/SIRS-CLS/QGIS/hooks","issue_events_url":"https://api.github.com/repos/SIRS-CLS/QGIS/issues/events{/number}","events_url":"https://api.github.com/repos/SIRS-CLS/QGIS/events","assignees_url":"https://api.github.com/repos/SIRS-CLS/QGIS/assignees{/user}","branches_url":"https://api.github.com/repos/SIRS-CLS/QGIS/branches{/branch}","tags_url":"https://api.github.com/repos/SIRS-CLS/QGIS/tags","blobs_url":"https://api.github.com/repos/SIRS-CLS/QGIS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SIRS-CLS/QGIS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SIRS-CLS/QGIS/git/refs{/sha}","trees_url":"https://api.github.com/repos/SIRS-CLS/QGIS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SIRS-CLS/QGIS/statuses/{sha}","languages_url":"https://api.github.com/repos/SIRS-CLS/QGIS/languages","stargazers_url":"https://api.github.com/repos/SIRS-CLS/QGIS/stargazers","contributors_url":"https://api.github.com/repos/SIRS-CLS/QGIS/contributors","subscribers_url":"https://api.github.com/repos/SIRS-CLS/QGIS/subscribers","subscription_url":"https://api.github.com/repos/SIRS-CLS/QGIS/subscription","commits_url":"https://api.github.com/repos/SIRS-CLS/QGIS/commits{/sha}","git_commits_url":"https://api.github.com/repos/SIRS-CLS/QGIS/git/commits{/sha}","comments_url":"https://api.github.com/repos/SIRS-CLS/QGIS/comments{/number}","issue_comment_url":"https://api.github.com/repos/SIRS-CLS/QGIS/issues/comments{/number}","contents_url":"https://api.github.com/repos/SIRS-CLS/QGIS/contents/{+path}","compare_url":"https://api.github.com/repos/SIRS-CLS/QGIS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SIRS-CLS/QGIS/merges","archive_url":"https://api.github.com/repos/SIRS-CLS/QGIS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SIRS-CLS/QGIS/downloads","issues_url":"https://api.github.com/repos/SIRS-CLS/QGIS/issues{/number}","pulls_url":"https://api.github.com/repos/SIRS-CLS/QGIS/pulls{/number}","milestones_url":"https://api.github.com/repos/SIRS-CLS/QGIS/milestones{/number}","notifications_url":"https://api.github.com/repos/SIRS-CLS/QGIS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SIRS-CLS/QGIS/labels{/name}","releases_url":"https://api.github.com/repos/SIRS-CLS/QGIS/releases{/id}","deployments_url":"https://api.github.com/repos/SIRS-CLS/QGIS/deployments","created_at":"2018-12-21T15:04:23Z","updated_at":"2018-12-21T15:05:05Z","pushed_at":"2018-12-27T08:31:39Z","git_url":"git://github.com/SIRS-CLS/QGIS.git","ssh_url":"git@github.com:SIRS-CLS/QGIS.git","clone_url":"https://github.com/SIRS-CLS/QGIS.git","svn_url":"https://github.com/SIRS-CLS/QGIS","homepage":"http://qgis.org","size":1493999,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"qgis:master","ref":"master","sha":"9200f538e9104927c6f77ca1e9514f90e49a4fbc","user":{"login":"qgis","id":483444,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ4MzQ0NA==","avatar_url":"https://avatars3.githubusercontent.com/u/483444?v=4","gravatar_id":"","url":"https://api.github.com/users/qgis","html_url":"https://github.com/qgis","followers_url":"https://api.github.com/users/qgis/followers","following_url":"https://api.github.com/users/qgis/following{/other_user}","gists_url":"https://api.github.com/users/qgis/gists{/gist_id}","starred_url":"https://api.github.com/users/qgis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qgis/subscriptions","organizations_url":"https://api.github.com/users/qgis/orgs","repos_url":"https://api.github.com/users/qgis/repos","events_url":"https://api.github.com/users/qgis/events{/privacy}","received_events_url":"https://api.github.com/users/qgis/received_events","type":"Organization","site_admin":false},"repo":{"id":1690480,"node_id":"MDEwOlJlcG9zaXRvcnkxNjkwNDgw","name":"QGIS","full_name":"qgis/QGIS","private":false,"owner":{"login":"qgis","id":483444,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ4MzQ0NA==","avatar_url":"https://avatars3.githubusercontent.com/u/483444?v=4","gravatar_id":"","url":"https://api.github.com/users/qgis","html_url":"https://github.com/qgis","followers_url":"https://api.github.com/users/qgis/followers","following_url":"https://api.github.com/users/qgis/following{/other_user}","gists_url":"https://api.github.com/users/qgis/gists{/gist_id}","starred_url":"https://api.github.com/users/qgis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qgis/subscriptions","organizations_url":"https://api.github.com/users/qgis/orgs","repos_url":"https://api.github.com/users/qgis/repos","events_url":"https://api.github.com/users/qgis/events{/privacy}","received_events_url":"https://api.github.com/users/qgis/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/qgis/QGIS","description":"QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)","fork":false,"url":"https://api.github.com/repos/qgis/QGIS","forks_url":"https://api.github.com/repos/qgis/QGIS/forks","keys_url":"https://api.github.com/repos/qgis/QGIS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qgis/QGIS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qgis/QGIS/teams","hooks_url":"https://api.github.com/repos/qgis/QGIS/hooks","issue_events_url":"https://api.github.com/repos/qgis/QGIS/issues/events{/number}","events_url":"https://api.github.com/repos/qgis/QGIS/events","assignees_url":"https://api.github.com/repos/qgis/QGIS/assignees{/user}","branches_url":"https://api.github.com/repos/qgis/QGIS/branches{/branch}","tags_url":"https://api.github.com/repos/qgis/QGIS/tags","blobs_url":"https://api.github.com/repos/qgis/QGIS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qgis/QGIS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qgis/QGIS/git/refs{/sha}","trees_url":"https://api.github.com/repos/qgis/QGIS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qgis/QGIS/statuses/{sha}","languages_url":"https://api.github.com/repos/qgis/QGIS/languages","stargazers_url":"https://api.github.com/repos/qgis/QGIS/stargazers","contributors_url":"https://api.github.com/repos/qgis/QGIS/contributors","subscribers_url":"https://api.github.com/repos/qgis/QGIS/subscribers","subscription_url":"https://api.github.com/repos/qgis/QGIS/subscription","commits_url":"https://api.github.com/repos/qgis/QGIS/commits{/sha}","git_commits_url":"https://api.github.com/repos/qgis/QGIS/git/commits{/sha}","comments_url":"https://api.github.com/repos/qgis/QGIS/comments{/number}","issue_comment_url":"https://api.github.com/repos/qgis/QGIS/issues/comments{/number}","contents_url":"https://api.github.com/repos/qgis/QGIS/contents/{+path}","compare_url":"https://api.github.com/repos/qgis/QGIS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qgis/QGIS/merges","archive_url":"https://api.github.com/repos/qgis/QGIS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qgis/QGIS/downloads","issues_url":"https://api.github.com/repos/qgis/QGIS/issues{/number}","pulls_url":"https://api.github.com/repos/qgis/QGIS/pulls{/number}","milestones_url":"https://api.github.com/repos/qgis/QGIS/milestones{/number}","notifications_url":"https://api.github.com/repos/qgis/QGIS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qgis/QGIS/labels{/name}","releases_url":"https://api.github.com/repos/qgis/QGIS/releases{/id}","deployments_url":"https://api.github.com/repos/qgis/QGIS/deployments","created_at":"2011-05-02T08:06:26Z","updated_at":"2018-12-28T12:58:18Z","pushed_at":"2018-12-28T08:47:10Z","git_url":"git://github.com/qgis/QGIS.git","ssh_url":"git@github.com:qgis/QGIS.git","clone_url":"https://github.com/qgis/QGIS.git","svn_url":"https://github.com/qgis/QGIS","homepage":"http://qgis.org","size":1494196,"stargazers_count":2401,"watchers_count":2401,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1380,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":1380,"open_issues":14,"watchers":2401,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/8734"},"html":{"href":"https://github.com/qgis/QGIS/pull/8734"},"issue":{"href":"https://api.github.com/repos/qgis/QGIS/issues/8734"},"comments":{"href":"https://api.github.com/repos/qgis/QGIS/issues/8734/comments"},"review_comments":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/8734/comments"},"review_comment":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/8734/commits"},"statuses":{"href":"https://api.github.com/repos/qgis/QGIS/statuses/805646dd7f46edff9ba0fdf956346b3a02751312"}},"author_association":"NONE"}}
{"actor":{"display_login":"m-kuhn"}}