{"push_id":705403614,"size":8,"distinct_size":8,"ref":"refs/heads/separate-out-edit-response-in-admin","head":"8038d68b929a61429b489c86edc7178a4df72065","before":"5afe9a48ae2b9ada17525d64af1c1fd1a80cd0a7","commits":[{"sha":"5685943ceb278bbfc68509b5a9711354c6ef9469","author":{"email":"997b4ad147cdcc78b7eb8e20beba2a883e064b84@h-lame.com","name":"Murray Steele"},"message":"Update takedown feature with new flow\n\nThe Take down UI will appear on it's own view rather than nestled at the top of the edit response UI.","distinct":true,"url":"https://api.github.com/repos/alphagov/e-petitions/commits/5685943ceb278bbfc68509b5a9711354c6ef9469"},{"sha":"53a3d4e9ec9b52cb9553a676c1e2dd6144b8969e","author":{"email":"997b4ad147cdcc78b7eb8e20beba2a883e064b84@h-lame.com","name":"Murray Steele"},"message":"Add admin/take_down controller\n\nThis is responsible for showing the takedown UI for open petitions and responding to take down requests from that UI.  It's very similar to the reject path from the moderation controller, except it acts on a different set of petitions (open, not pending/validated/sponsored).","distinct":true,"url":"https://api.github.com/repos/alphagov/e-petitions/commits/53a3d4e9ec9b52cb9553a676c1e2dd6144b8969e"},{"sha":"63ada6aa7c146e132237245ad66889375550387b","author":{"email":"997b4ad147cdcc78b7eb8e20beba2a883e064b84@h-lame.com","name":"Murray Steele"},"message":"Add navigation for new take down UI\n\nWe also remove the old actions from the petitions controller while we're at it as by tidying up the navigation nothing remains that points to these.","distinct":true,"url":"https://api.github.com/repos/alphagov/e-petitions/commits/63ada6aa7c146e132237245ad66889375550387b"},{"sha":"38a6077b0eb17f90e579bde0f215fcac10962f07","author":{"email":"997b4ad147cdcc78b7eb8e20beba2a883e064b84@h-lame.com","name":"Murray Steele"},"message":"Make AuditLogger talk to NewRelic, not Airbrake\n\nWe removed Airbrake in 480b55289725eebd3cd15977f229f298c1cbdf7d but didn't stop the logger from talking to it.  We can achieve the same thing with the ``NewRelic::Agent.notice_error`` api (although we can't provide quite as much information).","distinct":true,"url":"https://api.github.com/repos/alphagov/e-petitions/commits/38a6077b0eb17f90e579bde0f215fcac10962f07"},{"sha":"ecf1b6ae7f834e0e69ca498814de45d73a225b3d","author":{"email":"997b4ad147cdcc78b7eb8e20beba2a883e064b84@h-lame.com","name":"Murray Steele"},"message":"Move the 'change rejection status' UI out of `edit_response`\n\nThe take down UI and the change rejection status UI are basically the same and target the same backend action.  It's easy enough to toggle the view in take_down/show based on if the petition is already ``.rejected?`` so let's just do that rather than having a separate action just for this UI.\n\nWe also remove the status guard on the take_down controller - the old action didn't have a guard so there's no reason for this new one to have it.  Particularly as we need it to work with rejected petitions too now.","distinct":true,"url":"https://api.github.com/repos/alphagov/e-petitions/commits/ecf1b6ae7f834e0e69ca498814de45d73a225b3d"},{"sha":"8dea5df28022a6fd6aceaa5de6aa6c5da3adc694","author":{"email":"997b4ad147cdcc78b7eb8e20beba2a883e064b84@h-lame.com","name":"Murray Steele"},"message":"Prefer [:admin, @petition] for redirects in admin\n\nIt's less typing and it'll do the url form, rather than the path form (see 8a6b4dbb54d05d909517f87c6d64ee282439b74d).","distinct":true,"url":"https://api.github.com/repos/alphagov/e-petitions/commits/8dea5df28022a6fd6aceaa5de6aa6c5da3adc694"},{"sha":"bb7716b95212a8ddcfae11c772a8cd8952ef0803","author":{"email":"997b4ad147cdcc78b7eb8e20beba2a883e064b84@h-lame.com","name":"Murray Steele"},"message":"Make sure we ``type`` our admin controller specs","distinct":true,"url":"https://api.github.com/repos/alphagov/e-petitions/commits/bb7716b95212a8ddcfae11c772a8cd8952ef0803"},{"sha":"8038d68b929a61429b489c86edc7178a4df72065","author":{"email":"997b4ad147cdcc78b7eb8e20beba2a883e064b84@h-lame.com","name":"Murray Steele"},"message":"Move edit_response and update_response to their own controller","distinct":true,"url":"https://api.github.com/repos/alphagov/e-petitions/commits/8038d68b929a61429b489c86edc7178a4df72065"}]}