Add 'suspend notes' for antispam team

By request of @azurelunatic: this will allow the SEO spammer suspend squad of the antispam team to leave notes on particular accounts that are borderline or frequently reported, so we don't have to keep lists of "we decided that account was legit, even if it's high-volume" to give to new people.
I totally copied that "I'm afraid I can't let you do that" from @zorkian's bonus_icons console command :)

On Jun 25, 2014, at 12:24 AM, Afuna <notifications@github.com> wrote:

> In cgi-bin/DW/Console/Command/Note.pm:
> 
> > +    [
> > +        'command' => 'Subcommand: add, remove.',
> > +        'username' => 'Username to act on.',
> > +        'note' => 'Text of note to add. To remove, leave blank.',
> > +    ]
> > +}
> > +sub usage { '<username> [<subcommand> <note>]' }
> > +sub can_execute { 1 }
> > +
> > +sub execute {
> > +    my ( $self, $user, $cmd, $note ) = @_;
> > +
> > +    my $remote = LJ::get_remote();
> > +    return $self->error( 'You must be logged in!' )
> > +        unless $remote;
> > +    return $self->error( 'I\'m afraid I can\'t let you do that.' )
> 
> haha
> 
> —
> Reply to this email directly or view it on GitHub.
> 

-- 
Denise Paolucci
denise@dreamwidth.org
Dreamwidth Studios: Open Source, open expression, open operations. Join us: www.dreamwidth.org