On 21.08.2013 10:04, sebb wrote:
On 21 August 2013 06:31, Rainer Bielefeld <[email protected]> wrote:
This query
<https://issues.apache.org/ooo/buglist.cgi?f1=attachments.submitter&o1=equals&query_format=advanced&resolution=---&v1=non-migrated%40openoffice.org&list_id=82681>

shows 201 Bugs with attachments created by user "Unknown", a small sample
mostly showed SPAM contents in these attachments (Bugs 57603, 17954, 34866).

There are plenty more spammers, e.g. issue 115575, 115595, etc.

But some might contain appropriate sample documents (Bug 9231, 13394, ...),
so unfortunately any of these attachments will have to be checked manually.

SPAM should be deleted!

Not sure any but super users have permission to delete attachments.
But administrators should be able to mark them as obsolete, which
would stop them showing up by default.
That would be a start.

Every member with "editbugs" rights can set the status of attachments to obsolete. Try it yourself.

Removing spam attachments is possible for members with "admin" rights but this adds one "content of attachment has been deleted" comment per deleted attachment to the issue. That is distracting so I'd advise against it for now and suggest that their description is set to "SPAM" to help for future automation and set their status to "obsoleted" to prevent casual users from accidentally opening them.

Unfortunately bugzilla doesn't offer a WebService to update attachment details automatically yet. One could do something like that via screen scraping though. As mentioned all members with "editbugs" rights can try that. If anyone is interested in doing it I'd be happy to help e.g. by disabling notification mails during an automatic run that marks the many spam attachments as obsolete.

Herbert

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to