Skip to content

Rename `spammable` to `target`

charlie ablett requested to merge akismet-spammable-rename into master

What does this MR do?

Part of a general tidying of spam logic.

Spammable describes a type of object that can possibly be Spam.

AkismetMethods uses spammable as a name for the target object, but SpamLogs are not spammables - they are auxilliary objects. This MR renames spammable to target, but only in the context of direct usage with Akismet.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team
Edited by Peter Leitzen

Merge request reports