{"action":"created","comment":{"url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/pulls/comments/328411870","pull_request_review_id":293454671,"id":328411870,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMyODQxMTg3MA==","diff_hunk":"@@ -412,6 +431,7 @@ protected function getPopoverActions($record)\n             // add the unpublish and replace file actions to the start of the array\n             array_unshift($actions, $this->getUnpublishAction($record));\n             array_unshift($actions, $this->getReplaceFileAction($record));\n+            array_unshift($actions, $this->getDownloadFileAction($record));","path":"code/Forms/FileFormFactory.php","position":30,"original_position":30,"commit_id":"afd23e5604a374c9f53fa476d4609d809544aa34","original_commit_id":"afd23e5604a374c9f53fa476d4609d809544aa34","user":{"login":"sachajudd","id":24258161,"node_id":"MDQ6VXNlcjI0MjU4MTYx","avatar_url":"https://avatars3.githubusercontent.com/u/24258161?v=4","gravatar_id":"","url":"https://api.github.com/users/sachajudd","html_url":"https://github.com/sachajudd","followers_url":"https://api.github.com/users/sachajudd/followers","following_url":"https://api.github.com/users/sachajudd/following{/other_user}","gists_url":"https://api.github.com/users/sachajudd/gists{/gist_id}","starred_url":"https://api.github.com/users/sachajudd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sachajudd/subscriptions","organizations_url":"https://api.github.com/users/sachajudd/orgs","repos_url":"https://api.github.com/users/sachajudd/repos","events_url":"https://api.github.com/users/sachajudd/events{/privacy}","received_events_url":"https://api.github.com/users/sachajudd/received_events","type":"User","site_admin":false},"body":"I think potentially 'Replace file' and 'Download file' could be swapped around.","created_at":"2019-09-26T02:25:18Z","updated_at":"2019-09-26T02:25:19Z","html_url":"https://github.com/silverstripe/silverstripe-asset-admin/pull/1011#discussion_r328411870","pull_request_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/pulls/1011","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/pulls/comments/328411870"},"html":{"href":"https://github.com/silverstripe/silverstripe-asset-admin/pull/1011#discussion_r328411870"},"pull_request":{"href":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/pulls/1011"}},"in_reply_to_id":328393280},"pull_request":{"url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/pulls/1011","id":321072825,"node_id":"MDExOlB1bGxSZXF1ZXN0MzIxMDcyODI1","html_url":"https://github.com/silverstripe/silverstripe-asset-admin/pull/1011","diff_url":"https://github.com/silverstripe/silverstripe-asset-admin/pull/1011.diff","patch_url":"https://github.com/silverstripe/silverstripe-asset-admin/pull/1011.patch","issue_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/issues/1011","number":1011,"state":"open","locked":false,"title":"Add `Download file` action to file meatballs button","user":{"login":"bergice","id":541886,"node_id":"MDQ6VXNlcjU0MTg4Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/541886?v=4","gravatar_id":"","url":"https://api.github.com/users/bergice","html_url":"https://github.com/bergice","followers_url":"https://api.github.com/users/bergice/followers","following_url":"https://api.github.com/users/bergice/following{/other_user}","gists_url":"https://api.github.com/users/bergice/gists{/gist_id}","starred_url":"https://api.github.com/users/bergice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bergice/subscriptions","organizations_url":"https://api.github.com/users/bergice/orgs","repos_url":"https://api.github.com/users/bergice/repos","events_url":"https://api.github.com/users/bergice/events{/privacy}","received_events_url":"https://api.github.com/users/bergice/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-09-25T05:55:23Z","updated_at":"2019-09-26T02:25:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"257efdb5eac434ac32ce31f6600aef92602654ae","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/pulls/1011/commits","review_comments_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/pulls/1011/comments","review_comment_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/issues/1011/comments","statuses_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/statuses/afd23e5604a374c9f53fa476d4609d809544aa34","head":{"label":"open-sausages:pulls/1/add-download","ref":"pulls/1/add-download","sha":"afd23e5604a374c9f53fa476d4609d809544aa34","user":{"login":"open-sausages","id":12824172,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyODI0MTcy","avatar_url":"https://avatars2.githubusercontent.com/u/12824172?v=4","gravatar_id":"","url":"https://api.github.com/users/open-sausages","html_url":"https://github.com/open-sausages","followers_url":"https://api.github.com/users/open-sausages/followers","following_url":"https://api.github.com/users/open-sausages/following{/other_user}","gists_url":"https://api.github.com/users/open-sausages/gists{/gist_id}","starred_url":"https://api.github.com/users/open-sausages/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-sausages/subscriptions","organizations_url":"https://api.github.com/users/open-sausages/orgs","repos_url":"https://api.github.com/users/open-sausages/repos","events_url":"https://api.github.com/users/open-sausages/events{/privacy}","received_events_url":"https://api.github.com/users/open-sausages/received_events","type":"Organization","site_admin":false},"repo":{"id":55116207,"node_id":"MDEwOlJlcG9zaXRvcnk1NTExNjIwNw==","name":"silverstripe-asset-admin","full_name":"open-sausages/silverstripe-asset-admin","private":false,"owner":{"login":"open-sausages","id":12824172,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyODI0MTcy","avatar_url":"https://avatars2.githubusercontent.com/u/12824172?v=4","gravatar_id":"","url":"https://api.github.com/users/open-sausages","html_url":"https://github.com/open-sausages","followers_url":"https://api.github.com/users/open-sausages/followers","following_url":"https://api.github.com/users/open-sausages/following{/other_user}","gists_url":"https://api.github.com/users/open-sausages/gists{/gist_id}","starred_url":"https://api.github.com/users/open-sausages/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-sausages/subscriptions","organizations_url":"https://api.github.com/users/open-sausages/orgs","repos_url":"https://api.github.com/users/open-sausages/repos","events_url":"https://api.github.com/users/open-sausages/events{/privacy}","received_events_url":"https://api.github.com/users/open-sausages/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/open-sausages/silverstripe-asset-admin","description":"SilverStripe assets gallery","fork":true,"url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin","forks_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/forks","keys_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/teams","hooks_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/hooks","issue_events_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/issues/events{/number}","events_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/events","assignees_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/assignees{/user}","branches_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/branches{/branch}","tags_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/tags","blobs_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/languages","stargazers_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/stargazers","contributors_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/contributors","subscribers_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/subscribers","subscription_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/subscription","commits_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/contents/{+path}","compare_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/merges","archive_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/downloads","issues_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/issues{/number}","pulls_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/labels{/name}","releases_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/releases{/id}","deployments_url":"https://api.github.com/repos/open-sausages/silverstripe-asset-admin/deployments","created_at":"2016-03-31T03:10:13Z","updated_at":"2019-07-11T23:35:01Z","pushed_at":"2019-09-25T05:59:26Z","git_url":"git://github.com/open-sausages/silverstripe-asset-admin.git","ssh_url":"git@github.com:open-sausages/silverstripe-asset-admin.git","clone_url":"https://github.com/open-sausages/silverstripe-asset-admin.git","svn_url":"https://github.com/open-sausages/silverstripe-asset-admin","homepage":"","size":10321,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"silverstripe:1","ref":"1","sha":"301872d69824e9444b6c9636446c8b7ec8cfca27","user":{"login":"silverstripe","id":379348,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3OTM0OA==","avatar_url":"https://avatars0.githubusercontent.com/u/379348?v=4","gravatar_id":"","url":"https://api.github.com/users/silverstripe","html_url":"https://github.com/silverstripe","followers_url":"https://api.github.com/users/silverstripe/followers","following_url":"https://api.github.com/users/silverstripe/following{/other_user}","gists_url":"https://api.github.com/users/silverstripe/gists{/gist_id}","starred_url":"https://api.github.com/users/silverstripe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silverstripe/subscriptions","organizations_url":"https://api.github.com/users/silverstripe/orgs","repos_url":"https://api.github.com/users/silverstripe/repos","events_url":"https://api.github.com/users/silverstripe/events{/privacy}","received_events_url":"https://api.github.com/users/silverstripe/received_events","type":"Organization","site_admin":false},"repo":{"id":42913926,"node_id":"MDEwOlJlcG9zaXRvcnk0MjkxMzkyNg==","name":"silverstripe-asset-admin","full_name":"silverstripe/silverstripe-asset-admin","private":false,"owner":{"login":"silverstripe","id":379348,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3OTM0OA==","avatar_url":"https://avatars0.githubusercontent.com/u/379348?v=4","gravatar_id":"","url":"https://api.github.com/users/silverstripe","html_url":"https://github.com/silverstripe","followers_url":"https://api.github.com/users/silverstripe/followers","following_url":"https://api.github.com/users/silverstripe/following{/other_user}","gists_url":"https://api.github.com/users/silverstripe/gists{/gist_id}","starred_url":"https://api.github.com/users/silverstripe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silverstripe/subscriptions","organizations_url":"https://api.github.com/users/silverstripe/orgs","repos_url":"https://api.github.com/users/silverstripe/repos","events_url":"https://api.github.com/users/silverstripe/events{/privacy}","received_events_url":"https://api.github.com/users/silverstripe/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/silverstripe/silverstripe-asset-admin","description":"SilverStripe assets gallery for asset management","fork":false,"url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin","forks_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/forks","keys_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/teams","hooks_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/hooks","issue_events_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/issues/events{/number}","events_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/events","assignees_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/assignees{/user}","branches_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/branches{/branch}","tags_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/tags","blobs_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/languages","stargazers_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/stargazers","contributors_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/contributors","subscribers_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/subscribers","subscription_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/subscription","commits_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/contents/{+path}","compare_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/merges","archive_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/downloads","issues_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/issues{/number}","pulls_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/labels{/name}","releases_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/releases{/id}","deployments_url":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/deployments","created_at":"2015-09-22T05:44:24Z","updated_at":"2019-09-23T03:56:49Z","pushed_at":"2019-09-25T05:59:27Z","git_url":"git://github.com/silverstripe/silverstripe-asset-admin.git","ssh_url":"git@github.com:silverstripe/silverstripe-asset-admin.git","clone_url":"https://github.com/silverstripe/silverstripe-asset-admin.git","svn_url":"https://github.com/silverstripe/silverstripe-asset-admin","homepage":"","size":10012,"stargazers_count":12,"watchers_count":12,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":127,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":51,"open_issues":127,"watchers":12,"default_branch":"1"}},"_links":{"self":{"href":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/pulls/1011"},"html":{"href":"https://github.com/silverstripe/silverstripe-asset-admin/pull/1011"},"issue":{"href":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/issues/1011"},"comments":{"href":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/issues/1011/comments"},"review_comments":{"href":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/pulls/1011/comments"},"review_comment":{"href":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/pulls/1011/commits"},"statuses":{"href":"https://api.github.com/repos/silverstripe/silverstripe-asset-admin/statuses/afd23e5604a374c9f53fa476d4609d809544aa34"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"sachajudd"}}