Page MenuHomePhabricator

Allow deletion of images via API
Closed, ResolvedPublic

Description

Author: Bryan.TongMinh

Description:
The API currently does not allow deleting of images.

To enable deleting old images, the imageinfo prop must be expanded to get the old file name.

I will take this bug tomorrow if nobody else does.


Version: 1.13.x
Severity: enhancement

Details

Reference
bz13606

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:04 PM
bzimport set Reference to bz13606.

(In reply to comment #0)

The API currently does not allow deleting of images.

To enable deleting old images, the imageinfo prop must be expanded to get the
old file name.

What do you mean by "old file name"?

I will take this bug tomorrow if nobody else does.

It's yours as far as I'm concerned, I'm gonna work on uploading files in the first place. Please commit your stuff to the vodafone branch first, though (I'll svnmerge it right now).

Bryan.TongMinh wrote:

(In reply to comment #1)

(In reply to comment #0)

The API currently does not allow deleting of images.

To enable deleting old images, the imageinfo prop must be expanded to get the
old file name.

What do you mean by "old file name"?

$file->getArchiveName(). Has been added now.

Bryan.TongMinh wrote:

Done in r32768. Requires includes/FileDeleteForm.php to be merged from trunk.

Bryan.TongMinh wrote:

That should be r32786