Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block contact form spam #371

Open
waldoj opened this issue Jan 5, 2020 · 3 comments
Open

Block contact form spam #371

waldoj opened this issue Jan 5, 2020 · 3 comments

Comments

@waldoj
Copy link
Member

waldoj commented Jan 5, 2020

Spam on the contact form has gotten really annoying — 3–5 items a day. And since they all originate from my own authenticated domain, Gmail spam filtering (reasonably) lets them all through.

Add spam filtering. Probably Akismet.

@waldoj
Copy link
Member Author

waldoj commented Jan 5, 2020

Yup, Akismet is the way to go.

  • set up an Akismet account
  • store the API key in Travis CI
  • add a new constant in settings.inc.php
  • populate the constant within the deploy process
  • select a PHP Akismet library
  • add PHP Akismet library to deploy process
  • modify feedback-sending functionality to filter via Akismet

@waldoj
Copy link
Member Author

waldoj commented Jan 5, 2020

This seems like a reasonable, maintained library to use.

waldoj added a commit that referenced this issue Jan 6, 2020
waldoj added a commit that referenced this issue Jan 6, 2020
@waldoj
Copy link
Member Author

waldoj commented Jan 6, 2020

D'oh — it is reasonable and maintained, but it requires PHP v7.2, and the code base isn't ready to make that leap yet (see #240).

waldoj added a commit that referenced this issue Jan 11, 2020
waldoj added a commit that referenced this issue May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant