{"action":"created","issue":{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/4189","labels_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/4189/labels{/name}","comments_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/4189/comments","events_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/4189/events","html_url":"https://github.com/silverstripe/silverstripe-framework/pull/4189","id":76597395,"number":4189,"title":"API Replace Page Delete with new Page Archive action","user":{"login":"tractorcow","id":936064,"avatar_url":"https://avatars.githubusercontent.com/u/936064?v=3","gravatar_id":"","url":"https://api.github.com/users/tractorcow","html_url":"https://github.com/tractorcow","followers_url":"https://api.github.com/users/tractorcow/followers","following_url":"https://api.github.com/users/tractorcow/following{/other_user}","gists_url":"https://api.github.com/users/tractorcow/gists{/gist_id}","starred_url":"https://api.github.com/users/tractorcow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tractorcow/subscriptions","organizations_url":"https://api.github.com/users/tractorcow/orgs","repos_url":"https://api.github.com/users/tractorcow/repos","events_url":"https://api.github.com/users/tractorcow/events{/privacy}","received_events_url":"https://api.github.com/users/tractorcow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/labels/effort/medium","name":"effort/medium","color":"fad8c7"},{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/labels/in%20progress","name":"in progress","color":"ededed"},{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/labels/type/enhancement","name":"type/enhancement","color":"02e10c"},{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/labels/type/frontend","name":"type/frontend","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/milestones/6","html_url":"https://github.com/silverstripe/silverstripe-framework/milestones/3.2%20alpha%201","labels_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/milestones/6/labels","id":598743,"number":6,"title":"3.2 alpha 1","description":"Things that we want to have fixed/added in time for the first alpha of 3.2.","creator":{"login":"simonwelsh","id":125915,"avatar_url":"https://avatars.githubusercontent.com/u/125915?v=3","gravatar_id":"","url":"https://api.github.com/users/simonwelsh","html_url":"https://github.com/simonwelsh","followers_url":"https://api.github.com/users/simonwelsh/followers","following_url":"https://api.github.com/users/simonwelsh/following{/other_user}","gists_url":"https://api.github.com/users/simonwelsh/gists{/gist_id}","starred_url":"https://api.github.com/users/simonwelsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonwelsh/subscriptions","organizations_url":"https://api.github.com/users/simonwelsh/orgs","repos_url":"https://api.github.com/users/simonwelsh/repos","events_url":"https://api.github.com/users/simonwelsh/events{/privacy}","received_events_url":"https://api.github.com/users/simonwelsh/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":30,"state":"open","created_at":"2014-03-15T20:45:38Z","updated_at":"2015-05-19T04:16:45Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2015-05-15T05:12:17Z","updated_at":"2015-05-21T22:50:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/pulls/4189","html_url":"https://github.com/silverstripe/silverstripe-framework/pull/4189","diff_url":"https://github.com/silverstripe/silverstripe-framework/pull/4189.diff","patch_url":"https://github.com/silverstripe/silverstripe-framework/pull/4189.patch"},"body":"The major distinction between archiving and deleting is that \"deleting\" only deletes from stage (which is practically pretty useless), but archiving removes both live and stage, but informs the user that the page is safely recorded in the archive.\r\n\r\n\"delete\" gives the false impression that the page is lost forever, which has never been the case.\r\n\r\nThis PR must be merged and reviewed alongside a CMS pull request incoming.\r\n\r\nLots of old code has been updated and fixed; Some which hasn't worked since 3.0 (e.g. batch action confirmations).\r\n\r\n![image](https://cloud.githubusercontent.com/assets/936064/7647228/2bfa2ea4-fb25-11e4-938c-b302dae9a4ad.png)\r\n"},"comment":{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/comments/104443641","html_url":"https://github.com/silverstripe/silverstripe-framework/pull/4189#issuecomment-104443641","issue_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/4189","id":104443641,"user":{"login":"tractorcow","id":936064,"avatar_url":"https://avatars.githubusercontent.com/u/936064?v=3","gravatar_id":"","url":"https://api.github.com/users/tractorcow","html_url":"https://github.com/tractorcow","followers_url":"https://api.github.com/users/tractorcow/followers","following_url":"https://api.github.com/users/tractorcow/following{/other_user}","gists_url":"https://api.github.com/users/tractorcow/gists{/gist_id}","starred_url":"https://api.github.com/users/tractorcow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tractorcow/subscriptions","organizations_url":"https://api.github.com/users/tractorcow/orgs","repos_url":"https://api.github.com/users/tractorcow/repos","events_url":"https://api.github.com/users/tractorcow/events{/privacy}","received_events_url":"https://api.github.com/users/tractorcow/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T22:50:30Z","updated_at":"2015-05-21T22:50:30Z","body":"Rebased with new colours / hover behaviours. :D\r\n\r\n![image](https://cloud.githubusercontent.com/assets/936064/7760496/4c5564c0-0070-11e5-8f86-ceba141f1dc9.png)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/936064/7760498/5a6e95ea-0070-11e5-94c4-108d965062fe.png)\r\n"}}