{"action":"created","comment":{"url":"https://api.github.com/repos/obiba/mica-drupal7/pulls/comments/77029051","id":77029051,"diff_hunk":"@@ -47,4 +47,30 @@ class MicaDataAccessRequests extends MicaDataAccessRequestResources {\n     return $this->execute($request);\n   }\n \n+  public function downloadCsvExport($lang) {\n+\n+    $url_studies_person = $this->micaUrl . '/data-access-requests/csv?lang=' . $lang;","path":"obiba_mica_data_access_request/includes/obiba_mica_data_access_requests.inc","position":6,"original_position":6,"commit_id":"4171d3bc141f76a279084aaf8e9e471bb445e1e8","original_commit_id":"4171d3bc141f76a279084aaf8e9e471bb445e1e8","user":{"login":"ymarcon","id":2581149,"avatar_url":"https://avatars.githubusercontent.com/u/2581149?v=3","gravatar_id":"","url":"https://api.github.com/users/ymarcon","html_url":"https://github.com/ymarcon","followers_url":"https://api.github.com/users/ymarcon/followers","following_url":"https://api.github.com/users/ymarcon/following{/other_user}","gists_url":"https://api.github.com/users/ymarcon/gists{/gist_id}","starred_url":"https://api.github.com/users/ymarcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ymarcon/subscriptions","organizations_url":"https://api.github.com/users/ymarcon/orgs","repos_url":"https://api.github.com/users/ymarcon/repos","events_url":"https://api.github.com/users/ymarcon/events{/privacy}","received_events_url":"https://api.github.com/users/ymarcon/received_events","type":"User","site_admin":false},"body":"Variable naming not correct: $url_studies_person","created_at":"2016-08-31T17:07:22Z","updated_at":"2016-08-31T17:07:22Z","html_url":"https://github.com/obiba/mica-drupal7/pull/1041#discussion_r77029051","pull_request_url":"https://api.github.com/repos/obiba/mica-drupal7/pulls/1041","_links":{"self":{"href":"https://api.github.com/repos/obiba/mica-drupal7/pulls/comments/77029051"},"html":{"href":"https://github.com/obiba/mica-drupal7/pull/1041#discussion_r77029051"},"pull_request":{"href":"https://api.github.com/repos/obiba/mica-drupal7/pulls/1041"}}},"pull_request":{"url":"https://api.github.com/repos/obiba/mica-drupal7/pulls/1041","id":83337029,"html_url":"https://github.com/obiba/mica-drupal7/pull/1041","diff_url":"https://github.com/obiba/mica-drupal7/pull/1041.diff","patch_url":"https://github.com/obiba/mica-drupal7/pull/1041.patch","issue_url":"https://api.github.com/repos/obiba/mica-drupal7/issues/1041","number":1041,"state":"open","locked":false,"title":"Add mechanism to download csv export of data access request","user":{"login":"firone","id":1081187,"avatar_url":"https://avatars.githubusercontent.com/u/1081187?v=3","gravatar_id":"","url":"https://api.github.com/users/firone","html_url":"https://github.com/firone","followers_url":"https://api.github.com/users/firone/followers","following_url":"https://api.github.com/users/firone/following{/other_user}","gists_url":"https://api.github.com/users/firone/gists{/gist_id}","starred_url":"https://api.github.com/users/firone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firone/subscriptions","organizations_url":"https://api.github.com/users/firone/orgs","repos_url":"https://api.github.com/users/firone/repos","events_url":"https://api.github.com/users/firone/events{/privacy}","received_events_url":"https://api.github.com/users/firone/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-30T20:01:32Z","updated_at":"2016-08-31T17:07:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3a309949afa4238c18ff58f9decab29ec03d2b64","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/obiba/mica-drupal7/pulls/1041/commits","review_comments_url":"https://api.github.com/repos/obiba/mica-drupal7/pulls/1041/comments","review_comment_url":"https://api.github.com/repos/obiba/mica-drupal7/pulls/comments{/number}","comments_url":"https://api.github.com/repos/obiba/mica-drupal7/issues/1041/comments","statuses_url":"https://api.github.com/repos/obiba/mica-drupal7/statuses/4171d3bc141f76a279084aaf8e9e471bb445e1e8","head":{"label":"obiba:feature/dev-romain","ref":"feature/dev-romain","sha":"4171d3bc141f76a279084aaf8e9e471bb445e1e8","user":{"login":"obiba","id":2547522,"avatar_url":"https://avatars.githubusercontent.com/u/2547522?v=3","gravatar_id":"","url":"https://api.github.com/users/obiba","html_url":"https://github.com/obiba","followers_url":"https://api.github.com/users/obiba/followers","following_url":"https://api.github.com/users/obiba/following{/other_user}","gists_url":"https://api.github.com/users/obiba/gists{/gist_id}","starred_url":"https://api.github.com/users/obiba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obiba/subscriptions","organizations_url":"https://api.github.com/users/obiba/orgs","repos_url":"https://api.github.com/users/obiba/repos","events_url":"https://api.github.com/users/obiba/events{/privacy}","received_events_url":"https://api.github.com/users/obiba/received_events","type":"Organization","site_admin":false},"repo":{"id":18802989,"name":"mica-drupal7","full_name":"obiba/mica-drupal7","owner":{"login":"obiba","id":2547522,"avatar_url":"https://avatars.githubusercontent.com/u/2547522?v=3","gravatar_id":"","url":"https://api.github.com/users/obiba","html_url":"https://github.com/obiba","followers_url":"https://api.github.com/users/obiba/followers","following_url":"https://api.github.com/users/obiba/following{/other_user}","gists_url":"https://api.github.com/users/obiba/gists{/gist_id}","starred_url":"https://api.github.com/users/obiba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obiba/subscriptions","organizations_url":"https://api.github.com/users/obiba/orgs","repos_url":"https://api.github.com/users/obiba/repos","events_url":"https://api.github.com/users/obiba/events{/privacy}","received_events_url":"https://api.github.com/users/obiba/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/obiba/mica-drupal7","description":"Mica Drupal 7 client for Mica Server","fork":false,"url":"https://api.github.com/repos/obiba/mica-drupal7","forks_url":"https://api.github.com/repos/obiba/mica-drupal7/forks","keys_url":"https://api.github.com/repos/obiba/mica-drupal7/keys{/key_id}","collaborators_url":"https://api.github.com/repos/obiba/mica-drupal7/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/obiba/mica-drupal7/teams","hooks_url":"https://api.github.com/repos/obiba/mica-drupal7/hooks","issue_events_url":"https://api.github.com/repos/obiba/mica-drupal7/issues/events{/number}","events_url":"https://api.github.com/repos/obiba/mica-drupal7/events","assignees_url":"https://api.github.com/repos/obiba/mica-drupal7/assignees{/user}","branches_url":"https://api.github.com/repos/obiba/mica-drupal7/branches{/branch}","tags_url":"https://api.github.com/repos/obiba/mica-drupal7/tags","blobs_url":"https://api.github.com/repos/obiba/mica-drupal7/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/obiba/mica-drupal7/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/obiba/mica-drupal7/git/refs{/sha}","trees_url":"https://api.github.com/repos/obiba/mica-drupal7/git/trees{/sha}","statuses_url":"https://api.github.com/repos/obiba/mica-drupal7/statuses/{sha}","languages_url":"https://api.github.com/repos/obiba/mica-drupal7/languages","stargazers_url":"https://api.github.com/repos/obiba/mica-drupal7/stargazers","contributors_url":"https://api.github.com/repos/obiba/mica-drupal7/contributors","subscribers_url":"https://api.github.com/repos/obiba/mica-drupal7/subscribers","subscription_url":"https://api.github.com/repos/obiba/mica-drupal7/subscription","commits_url":"https://api.github.com/repos/obiba/mica-drupal7/commits{/sha}","git_commits_url":"https://api.github.com/repos/obiba/mica-drupal7/git/commits{/sha}","comments_url":"https://api.github.com/repos/obiba/mica-drupal7/comments{/number}","issue_comment_url":"https://api.github.com/repos/obiba/mica-drupal7/issues/comments{/number}","contents_url":"https://api.github.com/repos/obiba/mica-drupal7/contents/{+path}","compare_url":"https://api.github.com/repos/obiba/mica-drupal7/compare/{base}...{head}","merges_url":"https://api.github.com/repos/obiba/mica-drupal7/merges","archive_url":"https://api.github.com/repos/obiba/mica-drupal7/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/obiba/mica-drupal7/downloads","issues_url":"https://api.github.com/repos/obiba/mica-drupal7/issues{/number}","pulls_url":"https://api.github.com/repos/obiba/mica-drupal7/pulls{/number}","milestones_url":"https://api.github.com/repos/obiba/mica-drupal7/milestones{/number}","notifications_url":"https://api.github.com/repos/obiba/mica-drupal7/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/obiba/mica-drupal7/labels{/name}","releases_url":"https://api.github.com/repos/obiba/mica-drupal7/releases{/id}","deployments_url":"https://api.github.com/repos/obiba/mica-drupal7/deployments","created_at":"2014-04-15T14:26:20Z","updated_at":"2016-02-01T22:06:39Z","pushed_at":"2016-08-31T15:53:31Z","git_url":"git://github.com/obiba/mica-drupal7.git","ssh_url":"git@github.com:obiba/mica-drupal7.git","clone_url":"https://github.com/obiba/mica-drupal7.git","svn_url":"https://github.com/obiba/mica-drupal7","homepage":"","size":38275,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":3,"forks":5,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"obiba:master","ref":"master","sha":"2b6d33233b117b549c3a3bc0222da9f2fc64624c","user":{"login":"obiba","id":2547522,"avatar_url":"https://avatars.githubusercontent.com/u/2547522?v=3","gravatar_id":"","url":"https://api.github.com/users/obiba","html_url":"https://github.com/obiba","followers_url":"https://api.github.com/users/obiba/followers","following_url":"https://api.github.com/users/obiba/following{/other_user}","gists_url":"https://api.github.com/users/obiba/gists{/gist_id}","starred_url":"https://api.github.com/users/obiba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obiba/subscriptions","organizations_url":"https://api.github.com/users/obiba/orgs","repos_url":"https://api.github.com/users/obiba/repos","events_url":"https://api.github.com/users/obiba/events{/privacy}","received_events_url":"https://api.github.com/users/obiba/received_events","type":"Organization","site_admin":false},"repo":{"id":18802989,"name":"mica-drupal7","full_name":"obiba/mica-drupal7","owner":{"login":"obiba","id":2547522,"avatar_url":"https://avatars.githubusercontent.com/u/2547522?v=3","gravatar_id":"","url":"https://api.github.com/users/obiba","html_url":"https://github.com/obiba","followers_url":"https://api.github.com/users/obiba/followers","following_url":"https://api.github.com/users/obiba/following{/other_user}","gists_url":"https://api.github.com/users/obiba/gists{/gist_id}","starred_url":"https://api.github.com/users/obiba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obiba/subscriptions","organizations_url":"https://api.github.com/users/obiba/orgs","repos_url":"https://api.github.com/users/obiba/repos","events_url":"https://api.github.com/users/obiba/events{/privacy}","received_events_url":"https://api.github.com/users/obiba/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/obiba/mica-drupal7","description":"Mica Drupal 7 client for Mica Server","fork":false,"url":"https://api.github.com/repos/obiba/mica-drupal7","forks_url":"https://api.github.com/repos/obiba/mica-drupal7/forks","keys_url":"https://api.github.com/repos/obiba/mica-drupal7/keys{/key_id}","collaborators_url":"https://api.github.com/repos/obiba/mica-drupal7/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/obiba/mica-drupal7/teams","hooks_url":"https://api.github.com/repos/obiba/mica-drupal7/hooks","issue_events_url":"https://api.github.com/repos/obiba/mica-drupal7/issues/events{/number}","events_url":"https://api.github.com/repos/obiba/mica-drupal7/events","assignees_url":"https://api.github.com/repos/obiba/mica-drupal7/assignees{/user}","branches_url":"https://api.github.com/repos/obiba/mica-drupal7/branches{/branch}","tags_url":"https://api.github.com/repos/obiba/mica-drupal7/tags","blobs_url":"https://api.github.com/repos/obiba/mica-drupal7/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/obiba/mica-drupal7/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/obiba/mica-drupal7/git/refs{/sha}","trees_url":"https://api.github.com/repos/obiba/mica-drupal7/git/trees{/sha}","statuses_url":"https://api.github.com/repos/obiba/mica-drupal7/statuses/{sha}","languages_url":"https://api.github.com/repos/obiba/mica-drupal7/languages","stargazers_url":"https://api.github.com/repos/obiba/mica-drupal7/stargazers","contributors_url":"https://api.github.com/repos/obiba/mica-drupal7/contributors","subscribers_url":"https://api.github.com/repos/obiba/mica-drupal7/subscribers","subscription_url":"https://api.github.com/repos/obiba/mica-drupal7/subscription","commits_url":"https://api.github.com/repos/obiba/mica-drupal7/commits{/sha}","git_commits_url":"https://api.github.com/repos/obiba/mica-drupal7/git/commits{/sha}","comments_url":"https://api.github.com/repos/obiba/mica-drupal7/comments{/number}","issue_comment_url":"https://api.github.com/repos/obiba/mica-drupal7/issues/comments{/number}","contents_url":"https://api.github.com/repos/obiba/mica-drupal7/contents/{+path}","compare_url":"https://api.github.com/repos/obiba/mica-drupal7/compare/{base}...{head}","merges_url":"https://api.github.com/repos/obiba/mica-drupal7/merges","archive_url":"https://api.github.com/repos/obiba/mica-drupal7/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/obiba/mica-drupal7/downloads","issues_url":"https://api.github.com/repos/obiba/mica-drupal7/issues{/number}","pulls_url":"https://api.github.com/repos/obiba/mica-drupal7/pulls{/number}","milestones_url":"https://api.github.com/repos/obiba/mica-drupal7/milestones{/number}","notifications_url":"https://api.github.com/repos/obiba/mica-drupal7/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/obiba/mica-drupal7/labels{/name}","releases_url":"https://api.github.com/repos/obiba/mica-drupal7/releases{/id}","deployments_url":"https://api.github.com/repos/obiba/mica-drupal7/deployments","created_at":"2014-04-15T14:26:20Z","updated_at":"2016-02-01T22:06:39Z","pushed_at":"2016-08-31T15:53:31Z","git_url":"git://github.com/obiba/mica-drupal7.git","ssh_url":"git@github.com:obiba/mica-drupal7.git","clone_url":"https://github.com/obiba/mica-drupal7.git","svn_url":"https://github.com/obiba/mica-drupal7","homepage":"","size":38275,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":3,"forks":5,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/obiba/mica-drupal7/pulls/1041"},"html":{"href":"https://github.com/obiba/mica-drupal7/pull/1041"},"issue":{"href":"https://api.github.com/repos/obiba/mica-drupal7/issues/1041"},"comments":{"href":"https://api.github.com/repos/obiba/mica-drupal7/issues/1041/comments"},"review_comments":{"href":"https://api.github.com/repos/obiba/mica-drupal7/pulls/1041/comments"},"review_comment":{"href":"https://api.github.com/repos/obiba/mica-drupal7/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/obiba/mica-drupal7/pulls/1041/commits"},"statuses":{"href":"https://api.github.com/repos/obiba/mica-drupal7/statuses/4171d3bc141f76a279084aaf8e9e471bb445e1e8"}}}}
{"actor":{"display_login":"ymarcon"}}