{"action":"created","comment":{"url":"https://api.github.com/repos/qgis/QGIS/pulls/comments/48258472","id":48258472,"diff_hunk":"@@ -76,6 +76,17 @@ class QgsMapLayer : QObject\n      */\n     QString originalName() const;\n \n+    /** Set the short name of the layer\n+     *  used by QGIS Server to identified layer\n+     * @return the layer short name\n+     */\n+    void setShortName( const QString& shortName );\n+    /** Get the short name of the layer\n+     *  used by QGIS Server to identified layer","path":"python/core/qgsmaplayer.sip","position":10,"original_position":10,"commit_id":"7ecf0f9bedca6423e164d1f6c3381bdc8e96b371","original_commit_id":"0b89b5f1c666bafd5000e1ea298155e5678ffc81","user":{"login":"rldhont","id":1575538,"avatar_url":"https://avatars.githubusercontent.com/u/1575538?v=3","gravatar_id":"","url":"https://api.github.com/users/rldhont","html_url":"https://github.com/rldhont","followers_url":"https://api.github.com/users/rldhont/followers","following_url":"https://api.github.com/users/rldhont/following{/other_user}","gists_url":"https://api.github.com/users/rldhont/gists{/gist_id}","starred_url":"https://api.github.com/users/rldhont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rldhont/subscriptions","organizations_url":"https://api.github.com/users/rldhont/orgs","repos_url":"https://api.github.com/users/rldhont/repos","events_url":"https://api.github.com/users/rldhont/events{/privacy}","received_events_url":"https://api.github.com/users/rldhont/received_events","type":"User","site_admin":false},"body":"fixed thanks","created_at":"2015-12-22T14:41:34Z","updated_at":"2015-12-22T14:41:34Z","html_url":"https://github.com/qgis/QGIS/pull/2549#discussion_r48258472","pull_request_url":"https://api.github.com/repos/qgis/QGIS/pulls/2549","_links":{"self":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/comments/48258472"},"html":{"href":"https://github.com/qgis/QGIS/pull/2549#discussion_r48258472"},"pull_request":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/2549"}}},"pull_request":{"url":"https://api.github.com/repos/qgis/QGIS/pulls/2549","id":52878092,"html_url":"https://github.com/qgis/QGIS/pull/2549","diff_url":"https://github.com/qgis/QGIS/pull/2549.diff","patch_url":"https://github.com/qgis/QGIS/pull/2549.patch","issue_url":"https://api.github.com/repos/qgis/QGIS/issues/2549","number":2549,"state":"open","locked":false,"title":"[FEATURE][QGIS Server] Add short name to layers, groups and project","user":{"login":"rldhont","id":1575538,"avatar_url":"https://avatars.githubusercontent.com/u/1575538?v=3","gravatar_id":"","url":"https://api.github.com/users/rldhont","html_url":"https://github.com/rldhont","followers_url":"https://api.github.com/users/rldhont/followers","following_url":"https://api.github.com/users/rldhont/following{/other_user}","gists_url":"https://api.github.com/users/rldhont/gists{/gist_id}","starred_url":"https://api.github.com/users/rldhont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rldhont/subscriptions","organizations_url":"https://api.github.com/users/rldhont/orgs","repos_url":"https://api.github.com/users/rldhont/repos","events_url":"https://api.github.com/users/rldhont/events{/privacy}","received_events_url":"https://api.github.com/users/rldhont/received_events","type":"User","site_admin":false},"body":"A number of elements have both a \\<Name\\> and a \\<Title\\>. The Name is a text string used for machine-to-machine communication while the Title is for the benefit of humans. For example, a dataset might have the descriptive Title “Maximum Atmospheric Temperature” and be requested using the abbreviated Name “ATMAX”.\r\n\r\nUser can already set title for layers, groups and project. OWS name is based on the name used in layer tree. This name is more a label for humans than a name for machine-to-machine communication.\r\n\r\nTo add the capability to users to define Name as a text string for machine-to-machine communication, this pull-request adds:\r\n* short name line edits to layers properties\r\n* WMS data dialog to layer tree group\r\n* short name line edits to project properties\r\n* add a regexp validator \"^[A-Za-z][A-Za-z0-9\\._-]*\" to short name line edit\r\n\r\nIf a short name has been set for layers, groups and project it is used by QGIS Sever as the layer name.","created_at":"2015-12-07T17:55:46Z","updated_at":"2015-12-22T14:41:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c998404259e914867b0cb4cb47878296fac7589e","assignee":{"login":"mhugent","id":278939,"avatar_url":"https://avatars.githubusercontent.com/u/278939?v=3","gravatar_id":"","url":"https://api.github.com/users/mhugent","html_url":"https://github.com/mhugent","followers_url":"https://api.github.com/users/mhugent/followers","following_url":"https://api.github.com/users/mhugent/following{/other_user}","gists_url":"https://api.github.com/users/mhugent/gists{/gist_id}","starred_url":"https://api.github.com/users/mhugent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhugent/subscriptions","organizations_url":"https://api.github.com/users/mhugent/orgs","repos_url":"https://api.github.com/users/mhugent/repos","events_url":"https://api.github.com/users/mhugent/events{/privacy}","received_events_url":"https://api.github.com/users/mhugent/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/qgis/QGIS/milestones/8","html_url":"https://github.com/qgis/QGIS/milestones/2.14","labels_url":"https://api.github.com/repos/qgis/QGIS/milestones/8/labels","id":1324795,"number":8,"title":"2.14","description":"Feature Freeze: Dec 2015\r\nRelease: January 2016","creator":{"login":"m-kuhn","id":588407,"avatar_url":"https://avatars.githubusercontent.com/u/588407?v=3","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},"open_issues":13,"closed_issues":29,"state":"open","created_at":"2015-09-26T08:11:50Z","updated_at":"2015-12-22T10:22:13Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/qgis/QGIS/pulls/2549/commits","review_comments_url":"https://api.github.com/repos/qgis/QGIS/pulls/2549/comments","review_comment_url":"https://api.github.com/repos/qgis/QGIS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/qgis/QGIS/issues/2549/comments","statuses_url":"https://api.github.com/repos/qgis/QGIS/statuses/7ecf0f9bedca6423e164d1f6c3381bdc8e96b371","head":{"label":"rldhont:server_short_name","ref":"server_short_name","sha":"7ecf0f9bedca6423e164d1f6c3381bdc8e96b371","user":{"login":"rldhont","id":1575538,"avatar_url":"https://avatars.githubusercontent.com/u/1575538?v=3","gravatar_id":"","url":"https://api.github.com/users/rldhont","html_url":"https://github.com/rldhont","followers_url":"https://api.github.com/users/rldhont/followers","following_url":"https://api.github.com/users/rldhont/following{/other_user}","gists_url":"https://api.github.com/users/rldhont/gists{/gist_id}","starred_url":"https://api.github.com/users/rldhont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rldhont/subscriptions","organizations_url":"https://api.github.com/users/rldhont/orgs","repos_url":"https://api.github.com/users/rldhont/repos","events_url":"https://api.github.com/users/rldhont/events{/privacy}","received_events_url":"https://api.github.com/users/rldhont/received_events","type":"User","site_admin":false},"repo":{"id":5936603,"name":"Quantum-GIS","full_name":"rldhont/Quantum-GIS","owner":{"login":"rldhont","id":1575538,"avatar_url":"https://avatars.githubusercontent.com/u/1575538?v=3","gravatar_id":"","url":"https://api.github.com/users/rldhont","html_url":"https://github.com/rldhont","followers_url":"https://api.github.com/users/rldhont/followers","following_url":"https://api.github.com/users/rldhont/following{/other_user}","gists_url":"https://api.github.com/users/rldhont/gists{/gist_id}","starred_url":"https://api.github.com/users/rldhont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rldhont/subscriptions","organizations_url":"https://api.github.com/users/rldhont/orgs","repos_url":"https://api.github.com/users/rldhont/repos","events_url":"https://api.github.com/users/rldhont/events{/privacy}","received_events_url":"https://api.github.com/users/rldhont/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rldhont/Quantum-GIS","description":"QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)","fork":true,"url":"https://api.github.com/repos/rldhont/Quantum-GIS","forks_url":"https://api.github.com/repos/rldhont/Quantum-GIS/forks","keys_url":"https://api.github.com/repos/rldhont/Quantum-GIS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rldhont/Quantum-GIS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rldhont/Quantum-GIS/teams","hooks_url":"https://api.github.com/repos/rldhont/Quantum-GIS/hooks","issue_events_url":"https://api.github.com/repos/rldhont/Quantum-GIS/issues/events{/number}","events_url":"https://api.github.com/repos/rldhont/Quantum-GIS/events","assignees_url":"https://api.github.com/repos/rldhont/Quantum-GIS/assignees{/user}","branches_url":"https://api.github.com/repos/rldhont/Quantum-GIS/branches{/branch}","tags_url":"https://api.github.com/repos/rldhont/Quantum-GIS/tags","blobs_url":"https://api.github.com/repos/rldhont/Quantum-GIS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rldhont/Quantum-GIS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rldhont/Quantum-GIS/git/refs{/sha}","trees_url":"https://api.github.com/repos/rldhont/Quantum-GIS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rldhont/Quantum-GIS/statuses/{sha}","languages_url":"https://api.github.com/repos/rldhont/Quantum-GIS/languages","stargazers_url":"https://api.github.com/repos/rldhont/Quantum-GIS/stargazers","contributors_url":"https://api.github.com/repos/rldhont/Quantum-GIS/contributors","subscribers_url":"https://api.github.com/repos/rldhont/Quantum-GIS/subscribers","subscription_url":"https://api.github.com/repos/rldhont/Quantum-GIS/subscription","commits_url":"https://api.github.com/repos/rldhont/Quantum-GIS/commits{/sha}","git_commits_url":"https://api.github.com/repos/rldhont/Quantum-GIS/git/commits{/sha}","comments_url":"https://api.github.com/repos/rldhont/Quantum-GIS/comments{/number}","issue_comment_url":"https://api.github.com/repos/rldhont/Quantum-GIS/issues/comments{/number}","contents_url":"https://api.github.com/repos/rldhont/Quantum-GIS/contents/{+path}","compare_url":"https://api.github.com/repos/rldhont/Quantum-GIS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rldhont/Quantum-GIS/merges","archive_url":"https://api.github.com/repos/rldhont/Quantum-GIS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rldhont/Quantum-GIS/downloads","issues_url":"https://api.github.com/repos/rldhont/Quantum-GIS/issues{/number}","pulls_url":"https://api.github.com/repos/rldhont/Quantum-GIS/pulls{/number}","milestones_url":"https://api.github.com/repos/rldhont/Quantum-GIS/milestones{/number}","notifications_url":"https://api.github.com/repos/rldhont/Quantum-GIS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rldhont/Quantum-GIS/labels{/name}","releases_url":"https://api.github.com/repos/rldhont/Quantum-GIS/releases{/id}","created_at":"2012-09-24T15:30:29Z","updated_at":"2015-04-30T19:31:34Z","pushed_at":"2015-12-22T14:41:27Z","git_url":"git://github.com/rldhont/Quantum-GIS.git","ssh_url":"git@github.com:rldhont/Quantum-GIS.git","clone_url":"https://github.com/rldhont/Quantum-GIS.git","svn_url":"https://github.com/rldhont/Quantum-GIS","homepage":"http://qgis.org","size":1094383,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":0,"forks":4,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"qgis:master","ref":"master","sha":"ca37d004acf72e59ce03bbf81b6a7eaccaa34509","user":{"login":"qgis","id":483444,"avatar_url":"https://avatars.githubusercontent.com/u/483444?v=3","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,"name":"QGIS","full_name":"qgis/QGIS","owner":{"login":"qgis","id":483444,"avatar_url":"https://avatars.githubusercontent.com/u/483444?v=3","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},"private":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}","created_at":"2011-05-02T08:06:26Z","updated_at":"2015-12-21T13:55:44Z","pushed_at":"2015-12-22T14:41:27Z","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":1221546,"stargazers_count":826,"watchers_count":826,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":760,"mirror_url":null,"open_issues_count":56,"forks":760,"open_issues":56,"watchers":826,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/2549"},"html":{"href":"https://github.com/qgis/QGIS/pull/2549"},"issue":{"href":"https://api.github.com/repos/qgis/QGIS/issues/2549"},"comments":{"href":"https://api.github.com/repos/qgis/QGIS/issues/2549/comments"},"review_comments":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/2549/comments"},"review_comment":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/2549/commits"},"statuses":{"href":"https://api.github.com/repos/qgis/QGIS/statuses/7ecf0f9bedca6423e164d1f6c3381bdc8e96b371"}}}}