{"action":"closed","number":411,"pull_request":{"url":"https://api.github.com/repos/dradis/dradis-ce/pulls/411","id":240448671,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwNDQ4Njcx","html_url":"https://github.com/dradis/dradis-ce/pull/411","diff_url":"https://github.com/dradis/dradis-ce/pull/411.diff","patch_url":"https://github.com/dradis/dradis-ce/pull/411.patch","issue_url":"https://api.github.com/repos/dradis/dradis-ce/issues/411","number":411,"state":"closed","locked":false,"title":"Add sort to attachments","user":{"login":"aapomm","id":1908272,"node_id":"MDQ6VXNlcjE5MDgyNzI=","avatar_url":"https://avatars1.githubusercontent.com/u/1908272?v=4","gravatar_id":"","url":"https://api.github.com/users/aapomm","html_url":"https://github.com/aapomm","followers_url":"https://api.github.com/users/aapomm/followers","following_url":"https://api.github.com/users/aapomm/following{/other_user}","gists_url":"https://api.github.com/users/aapomm/gists{/gist_id}","starred_url":"https://api.github.com/users/aapomm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aapomm/subscriptions","organizations_url":"https://api.github.com/users/aapomm/orgs","repos_url":"https://api.github.com/users/aapomm/repos","events_url":"https://api.github.com/users/aapomm/events{/privacy}","received_events_url":"https://api.github.com/users/aapomm/received_events","type":"User","site_admin":false},"body":"### Spec\r\nCurrently, attachments are ordered arbitrarily in the attachments list in the nodes view.\r\n\r\n**Proposed solution**\r\nUse the `sort` method to sort the attachments.\r\n\r\n### How to test\r\n\r\n1. Visit a node\r\n2. Upload a number of attachments\r\n3. Assert that they are sorted alphabetically","created_at":"2018-12-21T11:34:34Z","updated_at":"2019-01-04T12:16:21Z","closed_at":"2019-01-04T12:16:21Z","merged_at":"2019-01-04T12:16:21Z","merge_commit_sha":"b13a57e6b21d335985954e758bbf66b8480e0bf4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dradis/dradis-ce/pulls/411/commits","review_comments_url":"https://api.github.com/repos/dradis/dradis-ce/pulls/411/comments","review_comment_url":"https://api.github.com/repos/dradis/dradis-ce/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dradis/dradis-ce/issues/411/comments","statuses_url":"https://api.github.com/repos/dradis/dradis-ce/statuses/aba7bc9b57749144821dac60ec4e8acf5aedcf22","head":{"label":"dradis:order-attachments","ref":"order-attachments","sha":"aba7bc9b57749144821dac60ec4e8acf5aedcf22","user":{"login":"dradis","id":369701,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2OTcwMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/369701?v=4","gravatar_id":"","url":"https://api.github.com/users/dradis","html_url":"https://github.com/dradis","followers_url":"https://api.github.com/users/dradis/followers","following_url":"https://api.github.com/users/dradis/following{/other_user}","gists_url":"https://api.github.com/users/dradis/gists{/gist_id}","starred_url":"https://api.github.com/users/dradis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dradis/subscriptions","organizations_url":"https://api.github.com/users/dradis/orgs","repos_url":"https://api.github.com/users/dradis/repos","events_url":"https://api.github.com/users/dradis/events{/privacy}","received_events_url":"https://api.github.com/users/dradis/received_events","type":"Organization","site_admin":false},"repo":{"id":50029969,"node_id":"MDEwOlJlcG9zaXRvcnk1MDAyOTk2OQ==","name":"dradis-ce","full_name":"dradis/dradis-ce","private":false,"owner":{"login":"dradis","id":369701,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2OTcwMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/369701?v=4","gravatar_id":"","url":"https://api.github.com/users/dradis","html_url":"https://github.com/dradis","followers_url":"https://api.github.com/users/dradis/followers","following_url":"https://api.github.com/users/dradis/following{/other_user}","gists_url":"https://api.github.com/users/dradis/gists{/gist_id}","starred_url":"https://api.github.com/users/dradis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dradis/subscriptions","organizations_url":"https://api.github.com/users/dradis/orgs","repos_url":"https://api.github.com/users/dradis/repos","events_url":"https://api.github.com/users/dradis/events{/privacy}","received_events_url":"https://api.github.com/users/dradis/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dradis/dradis-ce","description":"Dradis Framework: Colllaboration and reporting for IT Security teams","fork":false,"url":"https://api.github.com/repos/dradis/dradis-ce","forks_url":"https://api.github.com/repos/dradis/dradis-ce/forks","keys_url":"https://api.github.com/repos/dradis/dradis-ce/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dradis/dradis-ce/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dradis/dradis-ce/teams","hooks_url":"https://api.github.com/repos/dradis/dradis-ce/hooks","issue_events_url":"https://api.github.com/repos/dradis/dradis-ce/issues/events{/number}","events_url":"https://api.github.com/repos/dradis/dradis-ce/events","assignees_url":"https://api.github.com/repos/dradis/dradis-ce/assignees{/user}","branches_url":"https://api.github.com/repos/dradis/dradis-ce/branches{/branch}","tags_url":"https://api.github.com/repos/dradis/dradis-ce/tags","blobs_url":"https://api.github.com/repos/dradis/dradis-ce/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dradis/dradis-ce/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dradis/dradis-ce/git/refs{/sha}","trees_url":"https://api.github.com/repos/dradis/dradis-ce/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dradis/dradis-ce/statuses/{sha}","languages_url":"https://api.github.com/repos/dradis/dradis-ce/languages","stargazers_url":"https://api.github.com/repos/dradis/dradis-ce/stargazers","contributors_url":"https://api.github.com/repos/dradis/dradis-ce/contributors","subscribers_url":"https://api.github.com/repos/dradis/dradis-ce/subscribers","subscription_url":"https://api.github.com/repos/dradis/dradis-ce/subscription","commits_url":"https://api.github.com/repos/dradis/dradis-ce/commits{/sha}","git_commits_url":"https://api.github.com/repos/dradis/dradis-ce/git/commits{/sha}","comments_url":"https://api.github.com/repos/dradis/dradis-ce/comments{/number}","issue_comment_url":"https://api.github.com/repos/dradis/dradis-ce/issues/comments{/number}","contents_url":"https://api.github.com/repos/dradis/dradis-ce/contents/{+path}","compare_url":"https://api.github.com/repos/dradis/dradis-ce/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dradis/dradis-ce/merges","archive_url":"https://api.github.com/repos/dradis/dradis-ce/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dradis/dradis-ce/downloads","issues_url":"https://api.github.com/repos/dradis/dradis-ce/issues{/number}","pulls_url":"https://api.github.com/repos/dradis/dradis-ce/pulls{/number}","milestones_url":"https://api.github.com/repos/dradis/dradis-ce/milestones{/number}","notifications_url":"https://api.github.com/repos/dradis/dradis-ce/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dradis/dradis-ce/labels{/name}","releases_url":"https://api.github.com/repos/dradis/dradis-ce/releases{/id}","deployments_url":"https://api.github.com/repos/dradis/dradis-ce/deployments","created_at":"2016-01-20T12:54:45Z","updated_at":"2018-12-31T16:00:43Z","pushed_at":"2019-01-04T12:16:21Z","git_url":"git://github.com/dradis/dradis-ce.git","ssh_url":"git@github.com:dradis/dradis-ce.git","clone_url":"https://github.com/dradis/dradis-ce.git","svn_url":"https://github.com/dradis/dradis-ce","homepage":"http://dradisframework.org","size":2580,"stargazers_count":299,"watchers_count":299,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":99,"mirror_url":null,"archived":false,"open_issues_count":46,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":99,"open_issues":46,"watchers":299,"default_branch":"master"}},"base":{"label":"dradis:master","ref":"master","sha":"85c40cf1559873a4aaca4edd59def58b43c53b67","user":{"login":"dradis","id":369701,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2OTcwMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/369701?v=4","gravatar_id":"","url":"https://api.github.com/users/dradis","html_url":"https://github.com/dradis","followers_url":"https://api.github.com/users/dradis/followers","following_url":"https://api.github.com/users/dradis/following{/other_user}","gists_url":"https://api.github.com/users/dradis/gists{/gist_id}","starred_url":"https://api.github.com/users/dradis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dradis/subscriptions","organizations_url":"https://api.github.com/users/dradis/orgs","repos_url":"https://api.github.com/users/dradis/repos","events_url":"https://api.github.com/users/dradis/events{/privacy}","received_events_url":"https://api.github.com/users/dradis/received_events","type":"Organization","site_admin":false},"repo":{"id":50029969,"node_id":"MDEwOlJlcG9zaXRvcnk1MDAyOTk2OQ==","name":"dradis-ce","full_name":"dradis/dradis-ce","private":false,"owner":{"login":"dradis","id":369701,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2OTcwMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/369701?v=4","gravatar_id":"","url":"https://api.github.com/users/dradis","html_url":"https://github.com/dradis","followers_url":"https://api.github.com/users/dradis/followers","following_url":"https://api.github.com/users/dradis/following{/other_user}","gists_url":"https://api.github.com/users/dradis/gists{/gist_id}","starred_url":"https://api.github.com/users/dradis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dradis/subscriptions","organizations_url":"https://api.github.com/users/dradis/orgs","repos_url":"https://api.github.com/users/dradis/repos","events_url":"https://api.github.com/users/dradis/events{/privacy}","received_events_url":"https://api.github.com/users/dradis/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dradis/dradis-ce","description":"Dradis Framework: Colllaboration and reporting for IT Security teams","fork":false,"url":"https://api.github.com/repos/dradis/dradis-ce","forks_url":"https://api.github.com/repos/dradis/dradis-ce/forks","keys_url":"https://api.github.com/repos/dradis/dradis-ce/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dradis/dradis-ce/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dradis/dradis-ce/teams","hooks_url":"https://api.github.com/repos/dradis/dradis-ce/hooks","issue_events_url":"https://api.github.com/repos/dradis/dradis-ce/issues/events{/number}","events_url":"https://api.github.com/repos/dradis/dradis-ce/events","assignees_url":"https://api.github.com/repos/dradis/dradis-ce/assignees{/user}","branches_url":"https://api.github.com/repos/dradis/dradis-ce/branches{/branch}","tags_url":"https://api.github.com/repos/dradis/dradis-ce/tags","blobs_url":"https://api.github.com/repos/dradis/dradis-ce/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dradis/dradis-ce/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dradis/dradis-ce/git/refs{/sha}","trees_url":"https://api.github.com/repos/dradis/dradis-ce/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dradis/dradis-ce/statuses/{sha}","languages_url":"https://api.github.com/repos/dradis/dradis-ce/languages","stargazers_url":"https://api.github.com/repos/dradis/dradis-ce/stargazers","contributors_url":"https://api.github.com/repos/dradis/dradis-ce/contributors","subscribers_url":"https://api.github.com/repos/dradis/dradis-ce/subscribers","subscription_url":"https://api.github.com/repos/dradis/dradis-ce/subscription","commits_url":"https://api.github.com/repos/dradis/dradis-ce/commits{/sha}","git_commits_url":"https://api.github.com/repos/dradis/dradis-ce/git/commits{/sha}","comments_url":"https://api.github.com/repos/dradis/dradis-ce/comments{/number}","issue_comment_url":"https://api.github.com/repos/dradis/dradis-ce/issues/comments{/number}","contents_url":"https://api.github.com/repos/dradis/dradis-ce/contents/{+path}","compare_url":"https://api.github.com/repos/dradis/dradis-ce/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dradis/dradis-ce/merges","archive_url":"https://api.github.com/repos/dradis/dradis-ce/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dradis/dradis-ce/downloads","issues_url":"https://api.github.com/repos/dradis/dradis-ce/issues{/number}","pulls_url":"https://api.github.com/repos/dradis/dradis-ce/pulls{/number}","milestones_url":"https://api.github.com/repos/dradis/dradis-ce/milestones{/number}","notifications_url":"https://api.github.com/repos/dradis/dradis-ce/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dradis/dradis-ce/labels{/name}","releases_url":"https://api.github.com/repos/dradis/dradis-ce/releases{/id}","deployments_url":"https://api.github.com/repos/dradis/dradis-ce/deployments","created_at":"2016-01-20T12:54:45Z","updated_at":"2018-12-31T16:00:43Z","pushed_at":"2019-01-04T12:16:21Z","git_url":"git://github.com/dradis/dradis-ce.git","ssh_url":"git@github.com:dradis/dradis-ce.git","clone_url":"https://github.com/dradis/dradis-ce.git","svn_url":"https://github.com/dradis/dradis-ce","homepage":"http://dradisframework.org","size":2580,"stargazers_count":299,"watchers_count":299,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":99,"mirror_url":null,"archived":false,"open_issues_count":46,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":99,"open_issues":46,"watchers":299,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dradis/dradis-ce/pulls/411"},"html":{"href":"https://github.com/dradis/dradis-ce/pull/411"},"issue":{"href":"https://api.github.com/repos/dradis/dradis-ce/issues/411"},"comments":{"href":"https://api.github.com/repos/dradis/dradis-ce/issues/411/comments"},"review_comments":{"href":"https://api.github.com/repos/dradis/dradis-ce/pulls/411/comments"},"review_comment":{"href":"https://api.github.com/repos/dradis/dradis-ce/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dradis/dradis-ce/pulls/411/commits"},"statuses":{"href":"https://api.github.com/repos/dradis/dradis-ce/statuses/aba7bc9b57749144821dac60ec4e8acf5aedcf22"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"aapomm","id":1908272,"node_id":"MDQ6VXNlcjE5MDgyNzI=","avatar_url":"https://avatars1.githubusercontent.com/u/1908272?v=4","gravatar_id":"","url":"https://api.github.com/users/aapomm","html_url":"https://github.com/aapomm","followers_url":"https://api.github.com/users/aapomm/followers","following_url":"https://api.github.com/users/aapomm/following{/other_user}","gists_url":"https://api.github.com/users/aapomm/gists{/gist_id}","starred_url":"https://api.github.com/users/aapomm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aapomm/subscriptions","organizations_url":"https://api.github.com/users/aapomm/orgs","repos_url":"https://api.github.com/users/aapomm/repos","events_url":"https://api.github.com/users/aapomm/events{/privacy}","received_events_url":"https://api.github.com/users/aapomm/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":4,"deletions":3,"changed_files":2}}
{"actor":{"display_login":"aapomm"}}