GitHub PullRequestReviewCommentEvent at 2014-12-17 09:34:49
Repository: c2cgeoportal
Actor: sbrunner
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/comments/21961098","id":21961098,"diff_hunk":"@@ -8,19 +8,65 @@ The administration interface is located at ``http://<server>/<project>/admin``.\n Authentication for the administration interface is done through the main application interface. Role ``role_admin`` is\n required.\n \n-*To Be Done*\n+Layers\n+------\n \n-Layer\n------\n+In the version 2 we split the layer table in 3 tables: 'layer_internal_wms',\n+'layer_external_wms', 'layer_wmts', and we copy the previous layer table in 'layerv1'.\n \n-The layers in the admin interface has the following attributes:\n+And the 'order' will be moved int the relation of the tree.\n+\n+layer\n+~~~~~\n+\n+All the layers in the admin interface has the following attributes:\n  *  ``Name``: the name of the WMS layer/group, or he WMTS layer.\n     It also used throw OpenLayers.i18n to display the name on the layers tree.\n- *  ``Order``: used to order the layers and group on the layer tree.\n- *  ``Metadata URL``: optional, with WMTS if it's empty it will\n-    be get throw the capabilities.\n  *  ``Public``: make the layer public, also it is accessible\n     throw the ``Restriction areas``.\n+ *  ``Restrictions area``: the areas throw witch the user can see the layer.\n+ *  ``Related Postgres table``: the related postgres table,\n+    used by the :ref:`administrator_editing`.\n+ *  ``Attributes to exclude``: the list of attributes that shouldn't appear in\n+    the :ref:`administrator_editing` so that they cannot be modified by end\n+    user.\n+ *  ``Parents``: the groups and theme in witch the layer is.\n+ *  ``UI Metadata``: Additional metadata used by the UI.\n+\n+layer_internal_wms\n+~~~~~~~~~~~~~~~~~~\n+On internal WMS layers we have the following specific attributes:\n+ *  ``layer``: the WMS layers.","path":"doc/administrator/administrate.rst","position":39,"original_position":39,"commit_id":"9da9ae5d69223164551990a5d037495445245e1e","original_commit_id":"7903f84499dcfcb6717d68237dfb8217601fd689","user":{"login":"sbrunner","id":353872,"avatar_url":"https://avatars.githubusercontent.com/u/353872?v=3","gravatar_id":"","url":"https://api.github.com/users/sbrunner","html_url":"https://github.com/sbrunner","followers_url":"https://api.github.com/users/sbrunner/followers","following_url":"https://api.github.com/users/sbrunner/following{/other_user}","gists_url":"https://api.github.com/users/sbrunner/gists{/gist_id}","starred_url":"https://api.github.com/users/sbrunner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbrunner/subscriptions","organizations_url":"https://api.github.com/users/sbrunner/orgs","repos_url":"https://api.github.com/users/sbrunner/repos","events_url":"https://api.github.com/users/sbrunner/events{/privacy}","received_events_url":"https://api.github.com/users/sbrunner/received_events","type":"User","site_admin":false},"body":"no, your right it's wrong !","created_at":"2014-12-17T09:34:49Z","updated_at":"2014-12-17T09:34:49Z","html_url":"https://github.com/camptocamp/c2cgeoportal/pull/1161#discussion_r21961098","pull_request_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/1161","_links":{"self":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/comments/21961098"},"html":{"href":"https://github.com/camptocamp/c2cgeoportal/pull/1161#discussion_r21961098"},"pull_request":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/1161"}}},"pull_request":{"url":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/1161","id":26142852,"html_url":"https://github.com/camptocamp/c2cgeoportal/pull/1161","diff_url":"https://github.com/camptocamp/c2cgeoportal/pull/1161.diff","patch_url":"https://github.com/camptocamp/c2cgeoportal/pull/1161.patch","issue_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/1161","number":1161,"state":"open","locked":false,"title":"Configurable servers","user":{"login":"sbrunner","id":353872,"avatar_url":"https://avatars.githubusercontent.com/u/353872?v=3","gravatar_id":"","url":"https://api.github.com/users/sbrunner","html_url":"https://github.com/sbrunner","followers_url":"https://api.github.com/users/sbrunner/followers","following_url":"https://api.github.com/users/sbrunner/following{/other_user}","gists_url":"https://api.github.com/users/sbrunner/gists{/gist_id}","starred_url":"https://api.github.com/users/sbrunner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbrunner/subscriptions","organizations_url":"https://api.github.com/users/sbrunner/orgs","repos_url":"https://api.github.com/users/sbrunner/repos","events_url":"https://api.github.com/users/sbrunner/events{/privacy}","received_events_url":"https://api.github.com/users/sbrunner/received_events","type":"User","site_admin":false},"body":"Be able to configure server of URL present in the database","created_at":"2014-12-16T12:32:42Z","updated_at":"2014-12-17T09:34:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4984528eeb56ae33ec1da43cec693e5e81b45ed0","assignee":null,"milestone":{"url":"https://api.github.com/repos/camptocamp/c2cgeoportal/milestones/24","labels_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/milestones/24/labels","id":692448,"number":24,"title":"1.6","description":null,"creator":{"login":"sbrunner","id":353872,"avatar_url":"https://avatars.githubusercontent.com/u/353872?v=3","gravatar_id":"","url":"https://api.github.com/users/sbrunner","html_url":"https://github.com/sbrunner","followers_url":"https://api.github.com/users/sbrunner/followers","following_url":"https://api.github.com/users/sbrunner/following{/other_user}","gists_url":"https://api.github.com/users/sbrunner/gists{/gist_id}","starred_url":"https://api.github.com/users/sbrunner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbrunner/subscriptions","organizations_url":"https://api.github.com/users/sbrunner/orgs","repos_url":"https://api.github.com/users/sbrunner/repos","events_url":"https://api.github.com/users/sbrunner/events{/privacy}","received_events_url":"https://api.github.com/users/sbrunner/received_events","type":"User","site_admin":false},"open_issues":27,"closed_issues":18,"state":"open","created_at":"2014-06-16T15:50:09Z","updated_at":"2014-12-16T17:24:33Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/1161/commits","review_comments_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/1161/comments","review_comment_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/comments/{number}","comments_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/1161/comments","statuses_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/statuses/9da9ae5d69223164551990a5d037495445245e1e","head":{"label":"camptocamp:configurable_servers","ref":"configurable_servers","sha":"9da9ae5d69223164551990a5d037495445245e1e","user":{"login":"camptocamp","id":28109,"avatar_url":"https://avatars.githubusercontent.com/u/28109?v=3","gravatar_id":"","url":"https://api.github.com/users/camptocamp","html_url":"https://github.com/camptocamp","followers_url":"https://api.github.com/users/camptocamp/followers","following_url":"https://api.github.com/users/camptocamp/following{/other_user}","gists_url":"https://api.github.com/users/camptocamp/gists{/gist_id}","starred_url":"https://api.github.com/users/camptocamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camptocamp/subscriptions","organizations_url":"https://api.github.com/users/camptocamp/orgs","repos_url":"https://api.github.com/users/camptocamp/repos","events_url":"https://api.github.com/users/camptocamp/events{/privacy}","received_events_url":"https://api.github.com/users/camptocamp/received_events","type":"Organization","site_admin":false},"repo":{"id":2932773,"name":"c2cgeoportal","full_name":"camptocamp/c2cgeoportal","owner":{"login":"camptocamp","id":28109,"avatar_url":"https://avatars.githubusercontent.com/u/28109?v=3","gravatar_id":"","url":"https://api.github.com/users/camptocamp","html_url":"https://github.com/camptocamp","followers_url":"https://api.github.com/users/camptocamp/followers","following_url":"https://api.github.com/users/camptocamp/following{/other_user}","gists_url":"https://api.github.com/users/camptocamp/gists{/gist_id}","starred_url":"https://api.github.com/users/camptocamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camptocamp/subscriptions","organizations_url":"https://api.github.com/users/camptocamp/orgs","repos_url":"https://api.github.com/users/camptocamp/repos","events_url":"https://api.github.com/users/camptocamp/events{/privacy}","received_events_url":"https://api.github.com/users/camptocamp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/camptocamp/c2cgeoportal","description":"c2cgeoportal application","fork":false,"url":"https://api.github.com/repos/camptocamp/c2cgeoportal","forks_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/forks","keys_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/teams","hooks_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/hooks","issue_events_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/events{/number}","events_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/events","assignees_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/assignees{/user}","branches_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/branches{/branch}","tags_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/tags","blobs_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/git/refs{/sha}","trees_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/statuses/{sha}","languages_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/languages","stargazers_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/stargazers","contributors_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/contributors","subscribers_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/subscribers","subscription_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/subscription","commits_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/commits{/sha}","git_commits_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/git/commits{/sha}","comments_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/comments{/number}","issue_comment_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/comments/{number}","contents_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/contents/{+path}","compare_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/merges","archive_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/downloads","issues_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues{/number}","pulls_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls{/number}","milestones_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/milestones{/number}","notifications_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/labels{/name}","releases_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/releases{/id}","created_at":"2011-12-07T13:42:59Z","updated_at":"2014-12-11T16:11:12Z","pushed_at":"2014-12-17T09:28:44Z","git_url":"git://github.com/camptocamp/c2cgeoportal.git","ssh_url":"git@github.com:camptocamp/c2cgeoportal.git","clone_url":"https://github.com/camptocamp/c2cgeoportal.git","svn_url":"https://github.com/camptocamp/c2cgeoportal","homepage":"","size":136768,"stargazers_count":18,"watchers_count":18,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":50,"forks":12,"open_issues":50,"watchers":18,"default_branch":"master"}},"base":{"label":"camptocamp:master","ref":"master","sha":"2d18ca3604ef06bd2b0b5f07e2c90abfa5f64929","user":{"login":"camptocamp","id":28109,"avatar_url":"https://avatars.githubusercontent.com/u/28109?v=3","gravatar_id":"","url":"https://api.github.com/users/camptocamp","html_url":"https://github.com/camptocamp","followers_url":"https://api.github.com/users/camptocamp/followers","following_url":"https://api.github.com/users/camptocamp/following{/other_user}","gists_url":"https://api.github.com/users/camptocamp/gists{/gist_id}","starred_url":"https://api.github.com/users/camptocamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camptocamp/subscriptions","organizations_url":"https://api.github.com/users/camptocamp/orgs","repos_url":"https://api.github.com/users/camptocamp/repos","events_url":"https://api.github.com/users/camptocamp/events{/privacy}","received_events_url":"https://api.github.com/users/camptocamp/received_events","type":"Organization","site_admin":false},"repo":{"id":2932773,"name":"c2cgeoportal","full_name":"camptocamp/c2cgeoportal","owner":{"login":"camptocamp","id":28109,"avatar_url":"https://avatars.githubusercontent.com/u/28109?v=3","gravatar_id":"","url":"https://api.github.com/users/camptocamp","html_url":"https://github.com/camptocamp","followers_url":"https://api.github.com/users/camptocamp/followers","following_url":"https://api.github.com/users/camptocamp/following{/other_user}","gists_url":"https://api.github.com/users/camptocamp/gists{/gist_id}","starred_url":"https://api.github.com/users/camptocamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camptocamp/subscriptions","organizations_url":"https://api.github.com/users/camptocamp/orgs","repos_url":"https://api.github.com/users/camptocamp/repos","events_url":"https://api.github.com/users/camptocamp/events{/privacy}","received_events_url":"https://api.github.com/users/camptocamp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/camptocamp/c2cgeoportal","description":"c2cgeoportal application","fork":false,"url":"https://api.github.com/repos/camptocamp/c2cgeoportal","forks_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/forks","keys_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/teams","hooks_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/hooks","issue_events_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/events{/number}","events_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/events","assignees_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/assignees{/user}","branches_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/branches{/branch}","tags_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/tags","blobs_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/git/refs{/sha}","trees_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/statuses/{sha}","languages_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/languages","stargazers_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/stargazers","contributors_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/contributors","subscribers_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/subscribers","subscription_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/subscription","commits_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/commits{/sha}","git_commits_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/git/commits{/sha}","comments_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/comments{/number}","issue_comment_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/comments/{number}","contents_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/contents/{+path}","compare_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/merges","archive_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/downloads","issues_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues{/number}","pulls_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls{/number}","milestones_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/milestones{/number}","notifications_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/labels{/name}","releases_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/releases{/id}","created_at":"2011-12-07T13:42:59Z","updated_at":"2014-12-11T16:11:12Z","pushed_at":"2014-12-17T09:28:44Z","git_url":"git://github.com/camptocamp/c2cgeoportal.git","ssh_url":"git@github.com:camptocamp/c2cgeoportal.git","clone_url":"https://github.com/camptocamp/c2cgeoportal.git","svn_url":"https://github.com/camptocamp/c2cgeoportal","homepage":"","size":136768,"stargazers_count":18,"watchers_count":18,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":50,"forks":12,"open_issues":50,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/1161"},"html":{"href":"https://github.com/camptocamp/c2cgeoportal/pull/1161"},"issue":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/1161"},"comments":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/1161/comments"},"review_comments":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/1161/comments"},"review_comment":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/1161/commits"},"statuses":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/statuses/9da9ae5d69223164551990a5d037495445245e1e"}}}}