{"action":"opened","number":133,"pull_request":{"url":"https://api.github.com/repos/IDR/deployment/pulls/133","id":212721087,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyNzIxMDg3","html_url":"https://github.com/IDR/deployment/pull/133","diff_url":"https://github.com/IDR/deployment/pull/133.diff","patch_url":"https://github.com/IDR/deployment/pull/133.patch","issue_url":"https://api.github.com/repos/IDR/deployment/issues/133","number":133,"state":"open","locked":false,"title":"Install and config for django-cors-headers","user":{"login":"will-moore","id":900055,"node_id":"MDQ6VXNlcjkwMDA1NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/900055?v=4","gravatar_id":"","url":"https://api.github.com/users/will-moore","html_url":"https://github.com/will-moore","followers_url":"https://api.github.com/users/will-moore/followers","following_url":"https://api.github.com/users/will-moore/following{/other_user}","gists_url":"https://api.github.com/users/will-moore/gists{/gist_id}","starred_url":"https://api.github.com/users/will-moore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/will-moore/subscriptions","organizations_url":"https://api.github.com/users/will-moore/orgs","repos_url":"https://api.github.com/users/will-moore/repos","events_url":"https://api.github.com/users/will-moore/events{/privacy}","received_events_url":"https://api.github.com/users/will-moore/received_events","type":"User","site_admin":false},"body":"See https://trello.com/c/EpmQzvoy/2-json-api-publicly-accessible-with-cors\r\n\r\nTrying to add CORS support as described at https://docs.openmicroscopy.org/omero/5.4.7/sysadmins/unix/install-web.html#setting-up-cors\r\n\r\nNot sure I quite understand how to perform these append steps:\r\n```\r\n$ bin/omero config append omero.web.middleware '{\"index\": 0.5, \"class\": \"corsheaders.middleware.CorsMiddleware\"}'\r\n$ bin/omero config append omero.web.middleware '{\"index\": 10, \"class\": \"corsheaders.middleware.CorsPostCsrfMiddleware\"}'\r\n```\r\nsince all the other configs seem to be \"set\" but I uncommented out the ```omero_web_apps_config_append``` and added yml there which I hope will be appended as JSON, but I don't really know if/how this works or how to test it.\r\n\r\ncc @manics @sbesson ","created_at":"2018-09-03T11:34:22Z","updated_at":"2018-09-03T11:34:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/IDR/deployment/pulls/133/commits","review_comments_url":"https://api.github.com/repos/IDR/deployment/pulls/133/comments","review_comment_url":"https://api.github.com/repos/IDR/deployment/pulls/comments{/number}","comments_url":"https://api.github.com/repos/IDR/deployment/issues/133/comments","statuses_url":"https://api.github.com/repos/IDR/deployment/statuses/93aabe209b9e4846930931c98e12e8946f551b0f","head":{"label":"will-moore:cors_headers_install_config","ref":"cors_headers_install_config","sha":"93aabe209b9e4846930931c98e12e8946f551b0f","user":{"login":"will-moore","id":900055,"node_id":"MDQ6VXNlcjkwMDA1NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/900055?v=4","gravatar_id":"","url":"https://api.github.com/users/will-moore","html_url":"https://github.com/will-moore","followers_url":"https://api.github.com/users/will-moore/followers","following_url":"https://api.github.com/users/will-moore/following{/other_user}","gists_url":"https://api.github.com/users/will-moore/gists{/gist_id}","starred_url":"https://api.github.com/users/will-moore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/will-moore/subscriptions","organizations_url":"https://api.github.com/users/will-moore/orgs","repos_url":"https://api.github.com/users/will-moore/repos","events_url":"https://api.github.com/users/will-moore/events{/privacy}","received_events_url":"https://api.github.com/users/will-moore/received_events","type":"User","site_admin":false},"repo":{"id":147178058,"node_id":"MDEwOlJlcG9zaXRvcnkxNDcxNzgwNTg=","name":"deployment","full_name":"will-moore/deployment","owner":{"login":"will-moore","id":900055,"node_id":"MDQ6VXNlcjkwMDA1NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/900055?v=4","gravatar_id":"","url":"https://api.github.com/users/will-moore","html_url":"https://github.com/will-moore","followers_url":"https://api.github.com/users/will-moore/followers","following_url":"https://api.github.com/users/will-moore/following{/other_user}","gists_url":"https://api.github.com/users/will-moore/gists{/gist_id}","starred_url":"https://api.github.com/users/will-moore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/will-moore/subscriptions","organizations_url":"https://api.github.com/users/will-moore/orgs","repos_url":"https://api.github.com/users/will-moore/repos","events_url":"https://api.github.com/users/will-moore/events{/privacy}","received_events_url":"https://api.github.com/users/will-moore/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/will-moore/deployment","description":"Deployment infrastructure for the Image Data Resource","fork":true,"url":"https://api.github.com/repos/will-moore/deployment","forks_url":"https://api.github.com/repos/will-moore/deployment/forks","keys_url":"https://api.github.com/repos/will-moore/deployment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/will-moore/deployment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/will-moore/deployment/teams","hooks_url":"https://api.github.com/repos/will-moore/deployment/hooks","issue_events_url":"https://api.github.com/repos/will-moore/deployment/issues/events{/number}","events_url":"https://api.github.com/repos/will-moore/deployment/events","assignees_url":"https://api.github.com/repos/will-moore/deployment/assignees{/user}","branches_url":"https://api.github.com/repos/will-moore/deployment/branches{/branch}","tags_url":"https://api.github.com/repos/will-moore/deployment/tags","blobs_url":"https://api.github.com/repos/will-moore/deployment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/will-moore/deployment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/will-moore/deployment/git/refs{/sha}","trees_url":"https://api.github.com/repos/will-moore/deployment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/will-moore/deployment/statuses/{sha}","languages_url":"https://api.github.com/repos/will-moore/deployment/languages","stargazers_url":"https://api.github.com/repos/will-moore/deployment/stargazers","contributors_url":"https://api.github.com/repos/will-moore/deployment/contributors","subscribers_url":"https://api.github.com/repos/will-moore/deployment/subscribers","subscription_url":"https://api.github.com/repos/will-moore/deployment/subscription","commits_url":"https://api.github.com/repos/will-moore/deployment/commits{/sha}","git_commits_url":"https://api.github.com/repos/will-moore/deployment/git/commits{/sha}","comments_url":"https://api.github.com/repos/will-moore/deployment/comments{/number}","issue_comment_url":"https://api.github.com/repos/will-moore/deployment/issues/comments{/number}","contents_url":"https://api.github.com/repos/will-moore/deployment/contents/{+path}","compare_url":"https://api.github.com/repos/will-moore/deployment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/will-moore/deployment/merges","archive_url":"https://api.github.com/repos/will-moore/deployment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/will-moore/deployment/downloads","issues_url":"https://api.github.com/repos/will-moore/deployment/issues{/number}","pulls_url":"https://api.github.com/repos/will-moore/deployment/pulls{/number}","milestones_url":"https://api.github.com/repos/will-moore/deployment/milestones{/number}","notifications_url":"https://api.github.com/repos/will-moore/deployment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/will-moore/deployment/labels{/name}","releases_url":"https://api.github.com/repos/will-moore/deployment/releases{/id}","deployments_url":"https://api.github.com/repos/will-moore/deployment/deployments","created_at":"2018-09-03T08:55:35Z","updated_at":"2018-09-03T08:55:37Z","pushed_at":"2018-09-03T11:30:40Z","git_url":"git://github.com/will-moore/deployment.git","ssh_url":"git@github.com:will-moore/deployment.git","clone_url":"https://github.com/will-moore/deployment.git","svn_url":"https://github.com/will-moore/deployment","homepage":"https://idr.openmicroscopy.org/about/deployment.html","size":1487,"stargazers_count":0,"watchers_count":0,"language":"Python","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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"IDR:master","ref":"master","sha":"d141f6d92daf99a277470dca7dcbdc9b4bbe7d7f","user":{"login":"IDR","id":16244820,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MjQ0ODIw","avatar_url":"https://avatars3.githubusercontent.com/u/16244820?v=4","gravatar_id":"","url":"https://api.github.com/users/IDR","html_url":"https://github.com/IDR","followers_url":"https://api.github.com/users/IDR/followers","following_url":"https://api.github.com/users/IDR/following{/other_user}","gists_url":"https://api.github.com/users/IDR/gists{/gist_id}","starred_url":"https://api.github.com/users/IDR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IDR/subscriptions","organizations_url":"https://api.github.com/users/IDR/orgs","repos_url":"https://api.github.com/users/IDR/repos","events_url":"https://api.github.com/users/IDR/events{/privacy}","received_events_url":"https://api.github.com/users/IDR/received_events","type":"Organization","site_admin":false},"repo":{"id":74475128,"node_id":"MDEwOlJlcG9zaXRvcnk3NDQ3NTEyOA==","name":"deployment","full_name":"IDR/deployment","owner":{"login":"IDR","id":16244820,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MjQ0ODIw","avatar_url":"https://avatars3.githubusercontent.com/u/16244820?v=4","gravatar_id":"","url":"https://api.github.com/users/IDR","html_url":"https://github.com/IDR","followers_url":"https://api.github.com/users/IDR/followers","following_url":"https://api.github.com/users/IDR/following{/other_user}","gists_url":"https://api.github.com/users/IDR/gists{/gist_id}","starred_url":"https://api.github.com/users/IDR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IDR/subscriptions","organizations_url":"https://api.github.com/users/IDR/orgs","repos_url":"https://api.github.com/users/IDR/repos","events_url":"https://api.github.com/users/IDR/events{/privacy}","received_events_url":"https://api.github.com/users/IDR/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IDR/deployment","description":"Deployment infrastructure for the Image Data Resource","fork":false,"url":"https://api.github.com/repos/IDR/deployment","forks_url":"https://api.github.com/repos/IDR/deployment/forks","keys_url":"https://api.github.com/repos/IDR/deployment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IDR/deployment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IDR/deployment/teams","hooks_url":"https://api.github.com/repos/IDR/deployment/hooks","issue_events_url":"https://api.github.com/repos/IDR/deployment/issues/events{/number}","events_url":"https://api.github.com/repos/IDR/deployment/events","assignees_url":"https://api.github.com/repos/IDR/deployment/assignees{/user}","branches_url":"https://api.github.com/repos/IDR/deployment/branches{/branch}","tags_url":"https://api.github.com/repos/IDR/deployment/tags","blobs_url":"https://api.github.com/repos/IDR/deployment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IDR/deployment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IDR/deployment/git/refs{/sha}","trees_url":"https://api.github.com/repos/IDR/deployment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IDR/deployment/statuses/{sha}","languages_url":"https://api.github.com/repos/IDR/deployment/languages","stargazers_url":"https://api.github.com/repos/IDR/deployment/stargazers","contributors_url":"https://api.github.com/repos/IDR/deployment/contributors","subscribers_url":"https://api.github.com/repos/IDR/deployment/subscribers","subscription_url":"https://api.github.com/repos/IDR/deployment/subscription","commits_url":"https://api.github.com/repos/IDR/deployment/commits{/sha}","git_commits_url":"https://api.github.com/repos/IDR/deployment/git/commits{/sha}","comments_url":"https://api.github.com/repos/IDR/deployment/comments{/number}","issue_comment_url":"https://api.github.com/repos/IDR/deployment/issues/comments{/number}","contents_url":"https://api.github.com/repos/IDR/deployment/contents/{+path}","compare_url":"https://api.github.com/repos/IDR/deployment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IDR/deployment/merges","archive_url":"https://api.github.com/repos/IDR/deployment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IDR/deployment/downloads","issues_url":"https://api.github.com/repos/IDR/deployment/issues{/number}","pulls_url":"https://api.github.com/repos/IDR/deployment/pulls{/number}","milestones_url":"https://api.github.com/repos/IDR/deployment/milestones{/number}","notifications_url":"https://api.github.com/repos/IDR/deployment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IDR/deployment/labels{/name}","releases_url":"https://api.github.com/repos/IDR/deployment/releases{/id}","deployments_url":"https://api.github.com/repos/IDR/deployment/deployments","created_at":"2016-11-22T13:29:49Z","updated_at":"2018-08-21T09:12:16Z","pushed_at":"2018-08-30T19:23:53Z","git_url":"git://github.com/IDR/deployment.git","ssh_url":"git@github.com:IDR/deployment.git","clone_url":"https://github.com/IDR/deployment.git","svn_url":"https://github.com/IDR/deployment","homepage":"https://idr.openmicroscopy.org/about/deployment.html","size":1487,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":17,"license":null,"forks":8,"open_issues":17,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/IDR/deployment/pulls/133"},"html":{"href":"https://github.com/IDR/deployment/pull/133"},"issue":{"href":"https://api.github.com/repos/IDR/deployment/issues/133"},"comments":{"href":"https://api.github.com/repos/IDR/deployment/issues/133/comments"},"review_comments":{"href":"https://api.github.com/repos/IDR/deployment/pulls/133/comments"},"review_comment":{"href":"https://api.github.com/repos/IDR/deployment/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/IDR/deployment/pulls/133/commits"},"statuses":{"href":"https://api.github.com/repos/IDR/deployment/statuses/93aabe209b9e4846930931c98e12e8946f551b0f"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":11,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"will-moore"}}